/* Brand v3.0 applied to the existing FGS layout. The supplied stylesheet
   owns the palette/font; these rules map the site's existing components. */
:root {
  --ink: var(--fgs-ink); --ink-soft: var(--fgs-muted);
  --paper: var(--fgs-white); --warm: var(--fgs-ivory); --warm-2: var(--fgs-sage);
  --white: var(--fgs-white); --blue: var(--fgs-evergreen);
  --blue-dark: var(--fgs-evergreen-hover); --blue-soft: var(--fgs-sage);
  --teal: var(--fgs-evergreen); --teal-soft: var(--fgs-sage); --gold: var(--fgs-sage);
  --text: var(--fgs-ink); --muted: var(--fgs-muted);
  --line: var(--fgs-border); --line-warm: var(--fgs-border); --success: var(--fgs-evergreen);
  --max: var(--fgs-max-width); --radius-sm: 8px; --radius: 12px; --radius-lg: 12px;
  --shadow-sm: 0 4px 18px rgb(20 36 29 / 5%);
  --shadow-lg: 0 12px 32px rgb(20 36 29 / 10%); --header-height: 72px;
}
.fgs-site {font-family:var(--fgs-font);font-size:18px;line-height:1.6;}
.fgs-site :is(h1,h2,h3,h4) {font-family:var(--fgs-font);font-weight:800;color:var(--fgs-ink);}
.fgs-site h1 {font-size:clamp(36px,4.5vw,56px);line-height:1.1;letter-spacing:-.025em;}
.fgs-site h2 {font-size:clamp(28px,3.5vw,40px);line-height:1.2;letter-spacing:-.02em;}
.fgs-site h3 {font-size:24px;line-height:1.25;letter-spacing:-.015em;}
.fgs-site h4 {font-size:20px;line-height:1.3;letter-spacing:-.01em;}
.fgs-site :is(p,li) {line-height:1.6;}
.fgs-site :is(.offer-summary,.offer-list li,.case-column p,.case-column li,.fit-list li,.trust-point p,.problem-card p,.plate-card p,.detail-card p,.deliverable p,.process-list p,.faq-answer,.tool-description) {font-size:18px;}
.fgs-site :is(.lede,.hero-copy .lede) {font-size:20px;line-height:1.6;}
.fgs-site :is(.container,#faq .narrow) {width:min(calc(100% - 48px),var(--fgs-max-width));}
.fgs-site .narrow {width:min(calc(100% - 48px),820px);}
.fgs-site :is(.section,.section-tight) {padding-block:clamp(48px,6vw,88px);}
.fgs-site .hero {padding-block:48px 64px;background:var(--fgs-white);}
.fgs-site :is(.section-warm,.detail-hero) {background:var(--fgs-ivory);}
.fgs-site .site-header {background:var(--fgs-white);border-color:var(--fgs-border);backdrop-filter:none;}
.fgs-site .header-inner {gap:20px;min-height:var(--header-height);}
.fgs-site .brand {min-width:0;flex:0 0 auto;gap:0;padding-block:2px;}
.fgs-site .brand picture {display:block;}
.fgs-site .brand .brand-logo {display:block;width:144px;height:auto;max-width:none;object-fit:contain;}
.fgs-site .site-nav {gap:2px;}
.fgs-site .nav-link {display:inline-flex;align-items:center;min-height:44px;padding:10px 8px;color:var(--fgs-ink);font-size:16px;font-weight:700;border-radius:8px;text-decoration:none;}
.fgs-site .nav-link:hover {color:var(--fgs-evergreen-hover);background:var(--fgs-ivory);text-decoration:underline;text-underline-offset:.25em;}
.fgs-site .nav-link[aria-current] {color:var(--fgs-evergreen);background:var(--fgs-sage);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.25em;}
.fgs-site .menu-toggle {flex:0 0 44px;border-radius:8px;border-color:var(--fgs-border);}
.fgs-site .menu-toggle:hover {background:var(--fgs-ivory);}
.fgs-site a {text-underline-offset:.2em;}
.fgs-site a:not(.button,.brand,.nav-link,.tool-card,.back-to-top,.skip-link,.mobile-cta-bar):hover {color:var(--fgs-evergreen-hover);text-decoration-thickness:2px;}
.fgs-site :is(.text-link,.footer-links a,.footer-service-links a,.breadcrumbs a,.page-jumps a) {text-decoration:underline;}
.fgs-site :is(.button,.button-white) {min-height:44px;padding:12px 20px;border:2px solid var(--fgs-evergreen);border-radius:8px;background:var(--fgs-evergreen);color:var(--fgs-white);font-family:var(--fgs-font);font-size:16px;font-weight:700;line-height:1.3;box-shadow:none;transform:none;}
.fgs-site :is(.button,.button-white):hover {background:var(--fgs-evergreen-hover);border-color:var(--fgs-evergreen-hover);color:var(--fgs-white);box-shadow:none;transform:none;}
.fgs-site .button-secondary {background:var(--fgs-white);color:var(--fgs-evergreen);}
.fgs-site .button-secondary:hover {background:var(--fgs-ivory);color:var(--fgs-evergreen-hover);}
.fgs-site .header-cta {padding:10px 12px;margin-left:4px;white-space:nowrap;}
.fgs-site .button:active {background:var(--fgs-evergreen-hover);border-color:var(--fgs-ink);}
.fgs-site .button-secondary:active {color:var(--fgs-white);}
.fgs-site .mobile-cta-bar {color:var(--fgs-white);background:var(--fgs-evergreen);}
.fgs-site .mobile-cta-bar:is(:hover,:active) {color:var(--fgs-white);background:var(--fgs-evergreen-hover);}
.fgs-site .mobile-cta-bar:focus-visible {outline:3px solid var(--fgs-white);outline-offset:1px;box-shadow:0 0 0 6px var(--fgs-ink);}
.fgs-site :is(.offer-card,.problem-card,.plate-card,.journey-card,.fit-card,.about-principle,.trust-point,.faq-item,.detail-summary,.detail-card,.deliverable,.utility-card,.tool-card,.comparison-table,.case-study) {border-radius:12px;border-color:var(--fgs-border);box-shadow:var(--shadow-sm);}
.fgs-site :is(.journey-card,.offer-card,.problem-card,.plate-card,.fit-card,.about-principle,.trust-point,.faq-item,.detail-summary,.detail-card,.deliverable,.utility-card) {background:var(--fgs-white);}
.fgs-site .offer-card-primary {border:2px solid var(--fgs-evergreen);background:var(--fgs-ivory);}
.fgs-site .offer-card-primary :is(.offer-summary,.offer-list li) {color:var(--fgs-ink);}
.fgs-site .offer-card-primary .service-detail-link a {color:var(--fgs-evergreen);}
.fgs-site .journey-card {color:var(--fgs-ink);}
.fgs-site .journey-card-label,.fgs-site .journey-card .status-dot,.fgs-site .journey-state {color:var(--fgs-evergreen);}
.fgs-site .journey-list li {color:var(--fgs-ink);background:var(--fgs-ivory);border-color:var(--fgs-border);}
.fgs-site .journey-list .journey-number {color:var(--fgs-evergreen);background:var(--fgs-sage);}
.fgs-site .fit-card :is(.fit-label,.fit-list li) {color:var(--fgs-ink);}
.fgs-site .fit-card .fit-label {color:var(--fgs-evergreen);}
.fgs-site .case-header {background:var(--fgs-evergreen);}
.fgs-site .case-header :is(h3,.case-kicker,span,strong) {color:var(--fgs-white);}
.fgs-site .deliverable :is(strong,p) {color:var(--fgs-ink);}
.fgs-site .portrait-caption {background:var(--fgs-evergreen);border-color:var(--fgs-border);border-radius:12px;}
.fgs-site .portrait-caption strong {color:var(--fgs-white);}
.fgs-site .portrait-caption span {color:var(--fgs-sage);}
.fgs-site .comparison-before {background:var(--fgs-ivory);color:#99453d;}
.fgs-site :is(.offer-stage,.check,.system-step-number,.plate-icon,.detail-card-number,.trust-point-number,.journey-status) {color:var(--fgs-evergreen);background:var(--fgs-sage);}
.fgs-site :is(.contact-shell,.section-dark) {background:var(--fgs-evergreen);color:var(--fgs-white);border-radius:12px;}
.fgs-site :is(.contact-shell,.section-dark) :is(h2,h3,h4,.lede,.eyebrow,.contact-trust-line,.next-steps,.next-steps li) {color:var(--fgs-white);}
.fgs-site .section-dark .deliverable :is(h3,strong,p) {color:var(--fgs-ink);}
.fgs-site .contact-shell::before {content:none;}
.fgs-site .contact-shell a {color:var(--fgs-white);}
.fgs-site .contact-shell a:hover {color:var(--fgs-sage);}
.fgs-site .review-form {background:var(--fgs-white);color:var(--fgs-ink);border:1px solid var(--fgs-border);border-radius:12px;backdrop-filter:none;}
.fgs-site .review-form,.fgs-site .review-form .field {min-width:0;}
.fgs-site .review-form :is(.form-note,.form-status,.interest-context) {overflow-wrap:anywhere;}
.fgs-site .review-form :is(legend,label,.field-label,.inquiry-intro,.field-hint,.field-meta,.character-count,.form-note,.captcha-help,.interest-context,.inquiry-privacy,.optional-label) {color:var(--fgs-muted);}
.fgs-site .review-form :is(legend,label,.field-label) {color:var(--fgs-ink);font-weight:700;}
.fgs-site .review-form :is(input,select,textarea) {min-height:44px;border:1px solid var(--fgs-muted);border-radius:8px;background:var(--fgs-white);color:var(--fgs-ink);font-family:var(--fgs-font);font-size:18px;line-height:1.6;}
.fgs-site .review-form :is(input,textarea)::placeholder {color:var(--fgs-muted);opacity:1;}
.fgs-site .review-form a {color:var(--fgs-evergreen);}
.fgs-site .review-form a:hover {color:var(--fgs-evergreen-hover);}
.fgs-site .review-form .button {background:var(--fgs-evergreen);color:var(--fgs-white);}
.fgs-site .review-form .button:hover {background:var(--fgs-evergreen-hover);}
.fgs-site .review-form :is(.field-error,.required-marker,.error) {color:#99453d;}
.fgs-site .review-form [aria-invalid=true] {border-color:#99453d;}
.fgs-site .form-status {background:var(--fgs-ivory);color:var(--fgs-ink);border-color:var(--fgs-border);}
.fgs-site .form-status.is-error {color:#7b302a;background:#fff3f1;border-color:#99453d;}
.fgs-site .form-status.is-success {color:var(--fgs-evergreen-hover);background:var(--fgs-sage);border-color:var(--fgs-evergreen);}
.fgs-site :focus-visible,.fgs-site .form-status:focus {outline:3px solid var(--fgs-ink);outline-offset:4px;}
.fgs-site .skip-link {background:var(--fgs-ink);color:var(--fgs-white);}
.fgs-site :is(.section-dark,.contact-shell,.site-footer) :focus-visible {outline-color:var(--fgs-white);}
.fgs-site .review-form :focus-visible,.fgs-site .review-form .form-status:focus {outline-color:var(--fgs-ink);}
.fgs-site .site-footer {background:var(--fgs-ink);color:var(--fgs-sage);font-size:16px;padding-block:40px;}
.fgs-site .footer-brand {display:block;line-height:0;margin-bottom:16px;}
.fgs-site .footer-brand img {width:280px;height:auto;max-width:100%;filter:none;opacity:1;object-fit:contain;}
.fgs-site .site-footer :is(a,.footer-links a,.footer-service-links a) {color:var(--fgs-white);}
.fgs-site .site-footer a:hover {color:var(--fgs-sage);}
.fgs-site .tool-card {color:var(--fgs-ink);}
.fgs-site .tool-art {background:var(--fgs-evergreen);color:var(--fgs-white);}
.fgs-site .tool-art-label {color:var(--fgs-sage);}
.fgs-site .tool-open {color:var(--fgs-evergreen);font-weight:700;text-decoration:underline;text-underline-offset:.2em;}
.fgs-site .tool-features span {background:var(--fgs-ivory);color:var(--fgs-muted);}
.fgs-site :is(.policy-content,.utility-card,.tool-copy) {min-width:0;}
@media(max-width:1100px) and (min-width:1041px) {.fgs-site .nav-link{padding-inline:5px;font-size:15px}.fgs-site .header-inner{gap:12px}.fgs-site .header-cta{font-size:15px;padding-inline:10px}}
@media(max-width:1040px) {
  :root{--header-height:84px;}
  .fgs-site .brand{padding-block:4px;}
  .fgs-site .brand .brand-logo{width:160px;}
  .fgs-site .site-nav{background:var(--fgs-white);border-color:var(--fgs-border);}
  .fgs-site .nav-link{width:100%;padding:12px 16px;}
  .fgs-site .site-nav .header-cta{margin-left:0;}
}
@media(max-width:600px) {
  .fgs-site :is(.container,#faq .narrow){width:min(calc(100% - 40px),var(--fgs-max-width));}
  .fgs-site .narrow{width:min(calc(100% - 40px),820px);}
  .fgs-site .header-inner{gap:16px;}
  .fgs-site :is(.lede,.hero-copy .lede){font-size:18px;}
  .fgs-site .contact-shell{padding:24px 16px;}
  .fgs-site .review-form{padding:20px 16px;}
  .fgs-site .footer-grid{grid-template-columns:minmax(0,1fr);}
  .fgs-site .trust-points{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:359px) {
  :root{--header-height:64px;}
  .fgs-site .brand .brand-logo{width:120px;}
  .fgs-site .review-form{padding:18px 12px;}
}
@media(min-width:360px) and (max-width:1040px) and (max-height:480px) {
  :root{--header-height:64px;}
  .fgs-site .brand .brand-logo{width:120px;}
}
@media(forced-colors:active) {.fgs-site :focus-visible{outline-color:Highlight}.fgs-site .button{border-color:ButtonText}}
@media print {.fgs-site{font-size:11pt}.fgs-site :is(.contact-shell,.section-dark){background:white;color:black}}


/* Footer v4: white artwork on ink, grouped links and a shared copyright row. */
.fgs-site .site-footer{padding-block:32px 20px;}
.fgs-site .footer-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(400px,1fr);gap:40px;align-items:start;}
.fgs-site .footer-identity{min-width:0;}
.fgs-site .footer-brand{display:block;width:240px;max-width:100%;margin:0 0 12px;padding:0;background:none;border:0;border-radius:0;box-sizing:border-box;line-height:0;}
.fgs-site .footer-brand img{display:block;width:240px;max-width:100%;height:auto;filter:none;opacity:1;}
.fgs-site .footer-sub{max-width:36ch;margin:0;color:var(--fgs-sage);font-size:14px;line-height:1.6;}
.fgs-site .footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-content:start;min-width:0;}
.fgs-site .site-footer .footer-heading{margin:0 0 8px;color:var(--fgs-sage);font-size:14px;font-weight:700;line-height:1.4;letter-spacing:.02em;}
.fgs-site .footer-links,.fgs-site .footer-service-links{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:2px;margin:0;}
.fgs-site .footer-links a,.fgs-site .footer-service-links a{display:block;width:fit-content;max-width:100%;min-height:32px;padding:5px 0;color:var(--fgs-white);font-size:15px;line-height:1.4;}
.fgs-site .footer-bottom{margin-top:24px;padding-top:16px;border-top:1px solid rgb(220 232 223 / 22%);}
.fgs-site .footer-bottom p{margin:0;color:var(--fgs-sage);font-size:13px;line-height:1.5;}
@media(max-width:800px){.fgs-site .footer-grid{grid-template-columns:minmax(0,1fr);gap:24px;}.fgs-site .footer-brand,.fgs-site .footer-brand img{width:220px;}.fgs-site .footer-nav{max-width:600px;}.fgs-site .footer-bottom{margin-top:24px;}}
@media(max-width:420px){.fgs-site .footer-nav{gap:20px;}.fgs-site .footer-links a,.fgs-site .footer-service-links a{min-height:44px;padding-block:8px;font-size:14px;}}

.fgs-site .site-footer a.back-to-top {color:var(--fgs-evergreen);background:var(--fgs-white);}
.fgs-site .site-footer a.back-to-top:hover {color:var(--fgs-evergreen-hover);background:var(--fgs-ivory);}
.back-to-top-label {display:none;}
@media(max-width:800px) {
  .fgs-site .footer-links a,.fgs-site .footer-service-links a {min-height:44px;padding-block:8px;}
}
@media(max-width:760px) {
  html:has(.mobile-cta-bar.is-visible) {scroll-padding-bottom:calc(78px + env(safe-area-inset-bottom));}
  .fgs-site .mobile-cta-bar {font-size:16px;line-height:1.3;}
  .fgs-site .site-footer {padding-bottom:calc(20px + env(safe-area-inset-bottom));}
  .fgs-site .footer-bottom {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;}
  .fgs-site .site-footer a.back-to-top {
    position:static;display:inline-flex;width:auto;height:auto;min-height:44px;align-items:center;
    gap:8px;padding:8px 14px;border-radius:8px;font-size:15px;font-weight:700;
    opacity:1;pointer-events:auto;transform:none;box-shadow:none;
  }
  .back-to-top-label {display:inline;}
}
