:root {
  --ink: #08233a;
  --ink-soft: #385066;
  --navy: #0a4978;
  --navy-deep: #06283f;
  --blue: #0d6ba7;
  --green: #249d57;
  --orange: #f47712;
  --paper: #f7f8f5;
  --white: #ffffff;
  --mist: #e9eef0;
  --line: rgba(8, 35, 58, .16);
  --shadow: 0 28px 70px rgba(6, 40, 63, .12);
  --radius-sm: .45rem;
  --radius-md: .85rem;
  --radius-lg: 1.3rem;
  --space-1: .5rem;
  --space-2: .8rem;
  --space-3: 1.2rem;
  --space-4: 1.8rem;
  --space-5: 2.8rem;
  --space-6: 4.5rem;
  --space-7: 7rem;
  --content: 1180px;
  --reading: 760px;
  --font-display: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-intro-space: clamp(3.5rem, 5vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -6rem; background: var(--white); color: var(--ink); padding: .7rem 1rem; border: 2px solid var(--orange); }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2.5rem), var(--content)); margin-inline: auto; }
.reading { width: min(100%, var(--reading)); }
.eyebrow { margin: 0 0 var(--space-2); color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -.025em; }
h1 { max-width: 920px; font-size: clamp(2.7rem, 7vw, 6.7rem); font-weight: 750; }
h2 { font-size: clamp(2rem, 4vw, 4rem); font-weight: 720; }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
p { margin: 0; }
.lede { max-width: 760px; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid var(--line); background: rgba(247, 248, 245, .94); backdrop-filter: blur(16px); }
.nav-shell { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: inline-flex; align-items: center; color: var(--navy-deep); text-decoration: none; }
.brand-logo { display: block; max-width: none; height: auto; aspect-ratio: 1; object-fit: contain; flex: 0 0 auto; }
.site-header .brand-logo { width: clamp(5.625rem, 7.1vw, 6.375rem); }
.nav-links { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav-links a { color: var(--ink-soft); font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--ink); }
.nav-toggle-icon { display: block; width: 22px; height: 22px; overflow: visible; }
.nav-toggle-icon path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.language-selector { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .35rem; white-space: nowrap; }
.language-option { min-height: 32px; padding: .15rem .1rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ink-soft); font-size: .72rem; font-weight: 750; letter-spacing: .04em; cursor: pointer; }
.language-option[aria-pressed="true"] { border-bottom-color: var(--orange); color: var(--ink); }
.language-divider { color: var(--ink-soft); font-size: .72rem; }
.legal-header-actions { display: flex; min-width: 0; align-items: center; gap: clamp(.6rem, 2vw, 1.2rem); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 1px solid var(--navy); border-radius: var(--radius-sm); background: var(--navy); color: var(--white); font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--navy-deep); }
.button.light { border-color: rgba(255,255,255,.55); background: transparent; }
.button.light:hover { background: var(--white); color: var(--navy-deep); }
.text-link { color: var(--navy); font-weight: 800; }
.hero, .page-hero { padding-top: var(--page-intro-space); }
.hero { position: relative; overflow: hidden; min-height: min(780px, calc(100vh - 78px)); display: grid; align-items: start; padding-bottom: var(--space-7); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(115deg, transparent 57%, rgba(13,107,167,.08) 57%), linear-gradient(104deg, transparent 68%, rgba(36,157,87,.10) 68%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 54vw; height: 5px; right: -9vw; top: 32%; background: var(--orange); transform: rotate(-19deg); }
.hero-copy { display: grid; gap: var(--space-4); }
.hero h1 span { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-note { color: var(--ink-soft); font-size: .84rem; font-weight: 650; letter-spacing: .04em; }
.section { padding: var(--space-7) 0; }
.section.compact { padding: var(--space-6) 0; }
.section.dark { background: var(--navy-deep); color: var(--white); }
.section.dark .lede, .section.dark .muted { color: #c5d3dc; }
.section.tint { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .6fr); gap: var(--space-5); align-items: end; margin-bottom: var(--space-5); }
.rule { width: 72px; height: 4px; margin-bottom: var(--space-3); background: var(--orange); }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.capability { min-height: 280px; padding: var(--space-5); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability:nth-child(2n) { border-right: 0; }
.capability-index { display: block; margin-bottom: var(--space-5); color: var(--orange); font-size: .8rem; font-weight: 800; letter-spacing: .15em; }
.capability p { margin-top: var(--space-3); color: var(--ink-soft); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.25); }
.product-slot { min-height: 265px; padding: var(--space-4); background: var(--navy-deep); display: flex; flex-direction: column; justify-content: space-between; }
.product-slot .slot-number { color: #8db1c9; font-size: .8rem; letter-spacing: .15em; }
.product-slot h3 { color: var(--white); }
.product-slot p { color: #c5d3dc; }
.status { display: inline-block; width: fit-content; padding: .35rem .55rem; border: 1px solid rgba(255,255,255,.35); color: #d8e4eb; font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.product-card { min-height: 390px; display: flex; flex-direction: column; padding: var(--space-4); border-top: 4px solid var(--green); background: var(--white); box-shadow: 0 14px 40px rgba(6,40,63,.07); }
.product-card:nth-child(2), .product-card[data-product-key="local-visibility-reputation"] { border-top-color: var(--blue); }
.product-card:nth-child(3), .product-card[data-product-key="ai-lead-response-follow-up"] { border-top-color: var(--orange); }
.product-card .capability-index { margin-bottom: var(--space-3); }
.product-card > p { margin-top: var(--space-3); color: var(--ink-soft); }
.product-metadata { display: grid; gap: .35rem; margin-top: auto; padding: var(--space-3) 0 var(--space-4); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; }
.product-metadata span { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-metadata strong { color: var(--ink); font-size: .95rem; }
.product-metadata strong + span { margin-top: var(--space-2); }
.product-action { width: 100%; margin-top: var(--space-3); }
.product-action:disabled { border-color: var(--line); background: var(--mist); color: var(--ink-soft); cursor: not-allowed; }
.product-action:disabled:hover { transform: none; background: var(--mist); }
.product-detail-grid { max-width: 28rem; grid-template-columns: minmax(0, 1fr); margin-inline: auto; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); counter-reset: steps; }
.process article { position: relative; padding-top: var(--space-5); border-top: 1px solid var(--line); counter-increment: steps; }
.process article::before { content: "0" counter(steps); position: absolute; top: .8rem; right: 0; color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.process p { margin-top: var(--space-3); color: var(--ink-soft); }
.value-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-panel > div { padding: var(--space-5); background: var(--paper); }
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 750; }
.cta-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-5); }
.page-hero { padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.7rem, 6vw, 5.6rem); }
.page-hero .lede { margin-top: var(--space-4); }
.prose { width: min(100%, 820px); }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose ul { margin-top: 1rem; color: var(--ink-soft); }
.prose a { color: var(--navy); }
.legal-content.container.prose { width: min(calc(100% - 2.5rem), 820px); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.info-card { padding: var(--space-4); border-top: 4px solid var(--green); background: var(--white); box-shadow: 0 14px 40px rgba(6,40,63,.07); }
.info-card p { margin-top: 1rem; color: var(--ink-soft); }
.site-footer { padding: var(--space-6) 0 var(--space-4); background: #041e30; color: var(--white); }
.footer-brand { display: flex; justify-content: center; margin-bottom: var(--space-5); }
.footer-brand .brand-logo { width: clamp(9rem, 14vw, 11rem); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .9fr; gap: var(--space-5); }
.footer-grid h2 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { color: #b8cbd7; }
.footer-links { display: grid; gap: .6rem; margin-top: 1rem; }
.footer-links a { overflow-wrap: anywhere; }
.social-links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.social-link { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); text-decoration: none; }
.social-link:hover { border-color: rgba(255,255,255,.48); color: var(--white); }
.social-link svg { width: 20px; height: 20px; flex: 0 0 auto; }
.footer-social { justify-content: center; margin: 0 0 var(--space-4); }
.footer-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,.15); color: #91a9b8; font-size: .75rem; line-height: 1.5; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1rem; }
.footer-meta a { color: inherit; }

.intake-section { background: linear-gradient(180deg, var(--paper), var(--mist)); }
.intake-layout { display: grid; grid-template-columns: minmax(240px, .62fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.intake-intro { position: sticky; top: 118px; }
.intake-intro .rule { margin-bottom: var(--space-1); }
.intake-intro .lede { margin-top: var(--space-3); font-size: 1rem; }
.intake-panel { padding: clamp(1.4rem, 4vw, 2.8rem); border-top: 5px solid var(--blue); border-radius: 0 0 var(--radius-md) var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.intake-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.intake-fields > legend { width: 100%; margin-bottom: var(--space-3); padding: 0; color: var(--navy); font-family: var(--font-display); font-size: 1.1rem; font-weight: 750; }
.intake-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.intake-service-head { margin: var(--space-5) 0 var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.intake-service-head .eyebrow { margin-bottom: var(--space-1); }
.intake-service-head[hidden] { display: none; }
.form-field { display: grid; gap: .55rem; min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: .86rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: .8rem .9rem; border: 1px solid rgba(8, 35, 58, .28); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font: inherit; line-height: 1.4; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--navy); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(13, 107, 167, .18); outline-offset: 1px; }
.form-field input:disabled, .form-field select:disabled, .form-field textarea:disabled { background: var(--mist); color: var(--ink-soft); cursor: not-allowed; }
.required-mark { color: var(--orange); }
.intake-reference-alert { margin-bottom: var(--space-4); padding: var(--space-3); border-left: 4px solid var(--orange); background: #fff4e9; }
.intake-reference-alert[hidden] { display: none; }
.intake-reference-alert h3 { font-size: 1.05rem; }
.intake-reference-alert p { margin-top: .45rem; color: var(--ink-soft); }
.intake-submit-row { display: grid; justify-items: start; gap: var(--space-2); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.intake-submit:disabled { border-color: var(--line); background: var(--mist); color: var(--ink-soft); cursor: not-allowed; }
.intake-submit:disabled:hover { transform: none; background: var(--mist); }
.intake-status { color: var(--ink-soft); font-size: .82rem; }
[data-submission-status="success"] .intake-status { color: var(--green); font-weight: 750; }
[data-submission-status="error"] .intake-status { color: #9b3a14; font-weight: 700; }

.audit-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .38fr); gap: var(--space-5); align-items: end; }
.audit-offer { padding: var(--space-4); border-top: 4px solid var(--green); background: var(--white); box-shadow: 0 14px 40px rgba(6,40,63,.07); }
.audit-offer-label { color: var(--ink-soft); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.audit-price { margin-top: var(--space-1); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 750; line-height: 1.08; }
.audit-price span { display: block; margin-top: .35rem; color: var(--ink-soft); font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .04em; }
.audit-copy { display: grid; gap: var(--space-3); }
.audit-review-grid .capability { min-height: 230px; }
.audit-deliverable-note { margin-top: var(--space-3); color: var(--ink-soft); }
.audit-credit-note { margin-top: var(--space-3); color: var(--white); font-weight: 800; }
.audit-process-note { max-width: var(--reading); margin-top: var(--space-5); color: var(--ink-soft); }
.audit-final-action { display: grid; width: min(100%, 18rem); gap: var(--space-3); }
.audit-final-price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 750; }
.audit-callout-copy { margin-top: var(--space-3); }
.audit-callout-price { margin-top: var(--space-3); font-family: var(--font-display); font-size: 1.35rem; font-weight: 750; }
.audit-callout-note { max-width: var(--reading); margin-top: var(--space-2); color: #c5d3dc; font-size: .85rem; }

@media (max-width: 820px) {
  :root { --space-7: 5rem; --space-6: 3.5rem; --page-intro-space: 2.25rem; }
  .site-header .brand-logo { width: 5.25rem; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1rem 1.25rem 1.4rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links[data-open="true"] { display: grid; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .nav-links .language-selector { width: 100%; min-height: 44px; margin-top: .2rem; padding-top: .5rem; border-top: 1px solid var(--line); }
  .language-option { min-height: 44px; }
  .hero { min-height: auto; padding-bottom: clamp(3rem, 8vw, 4rem); }
  .hero::after { top: auto; bottom: 1.5rem; width: 42vw; right: -10vw; transform: rotate(-8deg); }
  .hero-actions { justify-content: center; }
  .hero-actions .button { width: min(100%, 18rem); }
  .hero-note { text-align: center; }
  .section-head, .value-panel, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { text-align: center; }
  .footer-links { justify-items: center; }
  .social-links, .footer-legal { justify-content: center; }
  .footer-meta { flex-wrap: wrap; justify-content: center; text-align: center; }
  .capability-grid, .products, .catalog-grid, .info-grid { grid-template-columns: 1fr; }
  .capability { min-height: 0; border-right: 0; }
  .process { grid-template-columns: 1fr; }
  .audit-hero-grid { grid-template-columns: 1fr; }
  .audit-final-action { width: 100%; }
  .intake-layout, .intake-form-grid { grid-template-columns: 1fr; }
  .intake-intro { position: static; }
  .form-field-wide { grid-column: auto; }
  .legal-section.section { padding-top: var(--space-5); }
  .legal-content > :first-child { margin-top: 0; }
}

@media (max-width: 420px) {
  .container { width: min(calc(100% - 1.5rem), var(--content)); }
  .legal-content.container.prose { width: min(calc(100% - 1.5rem), 820px); }
  .brand { font-size: .85rem; }
  .capability, .value-panel > div { padding: var(--space-4); }
  .footer-meta { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
