/* ==========================================================================
   Spokup Digital 4.3.0 — design system
   Palette: black · white · green. One consolidated layer (replaces the
   stacked QAVLA / v3.x override layers and their !important patches).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --black: #000;
  --white: #fff;
  --green: #2ee66b;          /* signal green: on black, on buttons */
  --green-deep: #087a35;     /* readable green on white (5.4:1) */
  --green-wash: #e9f9ee;
  --paper: #f4f7f4;
  --line: #dde5df;
  --line-strong: #b9c6bd;
  --line-dark: rgba(255, 255, 255, .16);
  --text: #2c362f;
  --muted: #56635a;
  --muted-dark: #aebbb2;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: Inter, "Helvetica Neue", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--black); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.03; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }
.q-dark :focus-visible, .dark :focus-visible, .site-footer :focus-visible { outline-color: var(--green); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; }
.skip-link:focus { left: 12px; top: 12px; background: var(--black); color: var(--white); padding: 12px 18px; border-radius: 8px; }

.shell, .q-container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.shell.narrow, .narrow { width: min(860px, calc(100% - 48px)); }
.q-main { overflow: clip; }

/* ---------- 3. Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
  color: var(--green-deep);
}
.eyebrow::before { content: ""; flex: none; width: 22px; height: 2px; background: currentColor; }
.eyebrow.blue { color: var(--green-deep); }
.q-dark .eyebrow, .dark .eyebrow, .site-footer .eyebrow { color: var(--green); }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.q-dark .lede, .dark .lede { color: var(--muted-dark); }
.muted, .meta { color: var(--muted); font-size: .9rem; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn b { font-weight: 700; display: inline-block; transition: transform .2s var(--ease); }
.btn:hover b { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn.primary, .btn-primary { background: var(--black); color: var(--white); }
.btn.primary:hover, .btn-primary:hover { background: var(--green); color: var(--black); }
.q-dark .btn.primary, .dark .btn.primary, .band-green .btn.primary { background: var(--green); color: var(--black); }
.q-dark .btn.primary:hover, .dark .btn.primary:hover { background: var(--white); }
.band-green .btn.primary { background: var(--black); color: var(--white); }
.band-green .btn.primary:hover { background: var(--white); color: var(--black); }
.btn.ghost { color: var(--black); border-color: var(--black); background: transparent; }
.btn.ghost:hover { background: var(--black); color: var(--white); }
.q-dark .btn.ghost, .dark .btn.ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.q-dark .btn.ghost:hover, .dark .btn.ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 1.75rem 0; }

/* ---------- 5. Header (white, black wordmark, green accents) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .07); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green-deep);
  transform: scaleX(var(--progress, 0)); transform-origin: 0 50%;
}
.nav-shell { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; margin-right: auto; flex: none; }
.brand img { width: 184px; height: auto; display: block; }
.primary-nav { display: flex; align-items: center; gap: 12px; }
.primary-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-menu a, .primary-menu > li > a.menu-link {
  position: relative; display: inline-flex; align-items: center; padding: 10px 14px;
  font-size: .9375rem; font-weight: 600; color: var(--black); text-decoration: none; border-radius: 8px;
}
.primary-menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--green-deep);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease);
}
.primary-menu a:hover::after, .primary-menu a:focus-visible::after,
.primary-menu .current-menu-item > a::after, .primary-menu .current_page_item > a::after, .primary-menu a[aria-current]::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--black); border-radius: 999px; background: var(--white); color: var(--black); font-weight: 700; font-size: .9375rem;
}
.nav-toggle-bars { position: relative; width: 16px; height: 2px; background: currentColor; transition: background-color .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }
.site-header.open .nav-toggle-bars { background: transparent; }
.site-header.open .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.site-header.open .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { width: 158px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, .12);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .site-header.open .primary-nav { display: flex; animation: drop .22s var(--ease); }
  .primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-menu a, .primary-menu > li > a.menu-link { display: flex; padding: 16px 2px; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .primary-menu a::after { left: 2px; right: auto; width: 28px; bottom: 11px; }
  .nav-cta { margin-top: 20px; width: 100%; min-height: 52px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 6. Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; background: var(--white); }
.soft, .section.soft { background: var(--paper); }
.q-dark, .dark { background: var(--black); color: var(--white); }
.q-dark h1, .q-dark h2, .q-dark h3, .dark h1, .dark h2, .dark h3 { color: var(--white); }
.band-green { background: var(--green); color: var(--black); }
.band-green .eyebrow { color: var(--black); }
.band-green .lede { color: #0d2916; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0 clamp(32px, 6vw, 88px); align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head > .eyebrow { grid-column: 1 / -1; }
.section-head > h2 { margin: 0; }
.section-head > h2:last-child { grid-column: 1 / -1; max-width: 22ch; }
.section-head > .lede, .section-head > .head-aside { margin: 0; padding-bottom: .35em; }
.head-aside .lede { margin-bottom: 1.25rem; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .section-head > .lede, .section-head > .head-aside { padding-bottom: 0; }
}

/* ---------- 7. Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.panel {
  position: relative; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease), transform .25s var(--ease), background-color .2s var(--ease);
}
.panel h3 { margin-bottom: .6em; }
.panel p { color: var(--muted); margin-bottom: 0; font-size: 1rem; }
.panel p + p { margin-top: .8em; }
.panel .tag { display: block; margin-bottom: 18px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.soft .panel { background: var(--white); }
.glass { box-shadow: 0 20px 50px rgba(0, 0, 0, .06); border-top: 3px solid var(--green-deep); }
.q-dark .panel, .dark .panel { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-color: var(--line-dark); }
.q-dark .panel p, .dark .panel p, .q-dark .panel li { color: var(--muted-dark); }
.q-dark .panel strong { color: var(--white); }

/* whole-card links */
.link-card { display: flex; flex-direction: column; }
.link-card .card-link {
  margin-top: auto; padding-top: 1.4rem; display: inline-flex; gap: .5em; align-items: center;
  font-weight: 700; font-size: .9375rem; color: var(--green-deep); text-decoration: none;
}
.q-dark .link-card .card-link { color: var(--green); }
.link-card .card-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.link-card .card-link span { transition: transform .2s var(--ease); }
.link-card:hover { border-color: var(--green-deep); transform: translateY(-3px); }
.link-card:hover .card-link span { transform: translateX(4px); }
.q-dark .link-card:hover { border-color: var(--green); }
.link-card:focus-within { outline: 3px solid var(--green-deep); outline-offset: 3px; }
.link-card .card-link:focus-visible { outline: none; }

/* approach: 3 + 2 hierarchy */
.approach-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.approach-grid > .panel { grid-column: span 2; display: flex; flex-direction: column; min-height: 250px; }
.approach-grid > .panel:nth-child(n+4) { grid-column: span 3; min-height: 210px; }
.approach-grid > .panel:first-child { background: var(--black); border-color: var(--black); }
.approach-grid > .panel:first-child h3 { color: var(--white); }
.approach-grid > .panel:first-child p { color: var(--muted-dark); }
.approach-grid > .panel:first-child .tag { color: var(--green); }
@media (max-width: 960px) { .approach-grid > .panel, .approach-grid > .panel:nth-child(n+4) { grid-column: span 3; } .approach-grid > .panel:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .approach-grid > .panel, .approach-grid > .panel:nth-child(n+4), .approach-grid > .panel:last-child { grid-column: 1 / -1; min-height: 0; } }

/* delivery model: a true sequence */
.steps { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps > li { counter-increment: step; }
.steps .panel { height: 100%; padding-top: 24px; border-top: 3px solid var(--green); }
.steps .panel::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 36px;
  font-size: 2.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--green);
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps .panel::before { margin-bottom: 20px; } }

.market-grid, .insight-grid { display: grid; gap: 16px; }
.market-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.market-grid .panel, .insight-grid .panel { min-height: 230px; }
.market-grid .cities { color: var(--black); font-weight: 600; font-size: .9375rem; }
@media (max-width: 1000px) { .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .insight-grid { grid-template-columns: 1fr; } .insight-grid .panel { min-height: 0; } }
@media (max-width: 560px) { .market-grid { grid-template-columns: 1fr; } .market-grid .panel { min-height: 0; } }

.verify-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.verify-grid ul { margin: 1.1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.verify-grid li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line-dark); position: relative; font-size: .9375rem; }
.verify-grid li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--green); }
@media (max-width: 860px) { .verify-grid { grid-template-columns: 1fr; } }

/* ---------- 8. Homepage hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 860px);
  padding: clamp(40px, 7vh, 96px) 0 clamp(56px, 8vh, 104px);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .42) 46%, rgba(0, 0, 0, 0) 74%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.hero-copy h1 { margin: 0 0 1.25rem; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.25rem); }
.hero-copy h1 .h1-line { display: block; }
.hero-copy h1 .h1-accent { color: var(--green); }
.hero-copy .lede { max-width: 54ch; }
.trustline { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 2.25rem 0 0; padding: 0; font-size: .875rem; font-weight: 600; color: var(--muted-dark); }
.trustline li { display: inline-flex; align-items: center; gap: .6em; }
.trustline li::before { content: ""; width: 7px; height: 7px; background: var(--green); border-radius: 50%; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .18s; }
  .hero-copy > :nth-child(4) { animation-delay: .26s; } .hero-copy > :nth-child(5) { animation-delay: .34s; }
  .hero-stage { animation: fade 1.4s .3s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* hero visual: AI discovery ecosystem */
.hero-stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: end; min-width: 0; }
.spokup-interactive-scene { position: absolute; inset: 0; }
.scene-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(46, 230, 107, .22); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); pointer-events: none; }
.scene-orbit-one { width: 88%; height: 56%; }
.scene-orbit-two { width: 62%; height: 84%; transform: translate(-50%, -50%) rotate(52deg); border-style: dashed; border-color: rgba(255, 255, 255, .14); }
.scene-core {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: #000; border: 1.5px solid rgba(46, 230, 107, .7);
  box-shadow: 0 0 0 10px rgba(46, 230, 107, .06), 0 0 90px rgba(46, 230, 107, .28);
}
.scene-core-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--green); color: #000; font-size: 28px; font-weight: 900; line-height: 1; }
.scene-core strong { font-size: .95rem; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.scene-core small { font-size: .625rem; letter-spacing: .06em; color: var(--green); font-weight: 700; }
.floating-platform {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; min-width: 150px; padding: 10px 14px 10px 10px;
  background: rgba(0, 0, 0, .78); border: 1px solid var(--line-dark); border-radius: 16px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); will-change: transform;
  transition: transform .3s var(--ease), border-color .2s, background-color .2s;
}
.floating-platform:hover { border-color: var(--green); background: rgba(0, 20, 8, .9); }
.floating-platform strong, .floating-platform small { display: block; white-space: nowrap; }
.floating-platform strong { font-size: .8125rem; color: #fff; line-height: 1.2; }
.floating-platform small { font-size: .6875rem; color: var(--muted-dark); }
.platform-symbol { width: 34px; height: 34px; flex: none; border-radius: 10px; object-fit: cover; display: block; }
.platform-chatgpt { left: 2%; top: 12%; } .platform-gemini { right: 0; top: 18%; }
.platform-perplexity { left: 0; bottom: 28%; } .platform-copilot { right: 3%; bottom: 33%; }
.metric-float { position: absolute; z-index: 4; right: 0; bottom: 0; width: min(260px, 72%); padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: none; border-top: 1px solid var(--line-dark); }
.metric-float small { display: block; font-size: .75rem; color: var(--muted-dark); }
.metric-float strong { display: block; margin: 4px 0 6px; font-size: 1.9rem; letter-spacing: -.04em; color: var(--green); line-height: 1.1; }
.metric-float p { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--muted-dark); }

@media (max-width: 900px) {
  .hero { min-height: 0; display: block; padding-top: 40px; }
  .hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2) 55%, transparent); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { justify-self: center; max-width: 480px; }
}
@media (max-width: 560px) {
  .hero-stage { margin-top: 8px; }
  .scene-core { width: 31%; } .scene-core-mark { width: 34px; height: 34px; font-size: 22px; border-radius: 11px; }
  .scene-core strong { font-size: .75rem; } .scene-core small { display: none; }
  .floating-platform { min-width: 0; padding: 7px 10px 7px 7px; gap: 8px; border-radius: 12px; }
  .floating-platform small { display: none; } .floating-platform strong { font-size: .75rem; }
  .platform-symbol { width: 26px; height: 26px; border-radius: 8px; }
  .platform-chatgpt { top: 6%; } .platform-gemini { top: 12%; } .platform-perplexity { bottom: 30%; } .platform-copilot { bottom: 36%; }
  .metric-float { width: 78%; padding: 14px 16px; } .metric-float strong { font-size: 1.5rem; } .metric-float p { display: none; }
}

/* ---------- 9. Motion hosts (engine canvas sits behind content) ---------- */
.spokup-motion-host { position: relative; isolation: isolate; overflow: hidden; }
.spokup-motion-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; pointer-events: none; }
.section.spokup-motion-host .spokup-motion-canvas { opacity: .9; }
@media (max-width: 760px) { .section.spokup-motion-host .spokup-motion-canvas { opacity: .6; } }

/* ---------- 10. FAQ ---------- */
.faq-list { display: grid; gap: 0; max-width: 880px; border-top: 1px solid var(--black); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: var(--black);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--black); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.faq-list summary:hover::after { background: var(--green); border-color: var(--green); }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--black); color: var(--green); }
.faq-list details > p { margin: 0; padding: 0 60px 26px 0; max-width: 70ch; color: var(--muted); }
@media (max-width: 560px) { .faq-list details > p { padding-right: 0; } }

/* ---------- 11. Closing CTA ---------- */
.cta-final .section-head { margin-bottom: 0; align-items: end; }
.cta-final h2 { font-size: clamp(2.25rem, 1.2rem + 4vw, 4.5rem); }
.cta-final .actions { margin-top: 0; }

/* ---------- 12. Section rail (homepage orientation) ---------- */
.section-rail { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 60; display: none; }
.section-rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.section-rail a { position: relative; display: grid; place-items: center; width: 24px; height: 24px; text-decoration: none; }
.section-rail i { width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--black); transition: transform .25s var(--ease), background-color .2s; }
.section-rail a:hover i, .section-rail a:focus-visible i { transform: scale(1.35); }
.section-rail a.is-active i { background: var(--green); transform: scale(1.45); }
.section-rail .rail-label {
  position: absolute; right: 30px; padding: 5px 11px; border-radius: 999px; background: var(--black); color: var(--white);
  font-size: .75rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s var(--ease);
}
.section-rail a:hover .rail-label, .section-rail a:focus-visible .rail-label { opacity: 1; transform: none; }
@media (min-width: 1280px) { .section-rail { display: block; } }

/* ---------- 13. Inner pages ---------- */
.page-hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); }
.page-hero.dark { background: var(--black); color: var(--white); }
.page-hero h1 { margin-bottom: 1rem; font-size: clamp(2.25rem, 1rem + 3.6vw, 3.75rem); }
.page-hero .lede { margin: 0; }
.page-hero .actions { margin-top: 1.75rem; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .15) 70%); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .875rem; color: var(--muted-dark); }
.breadcrumbs a { text-decoration: none; } .breadcrumbs a:hover { color: var(--green); text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; opacity: .5; }
.breadcrumbs [aria-current] { color: var(--white); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.prose { max-width: 72ch; line-height: 1.75; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); margin: 2.4em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .5em; }
.prose p, .prose li { font-size: 1.0625rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: .45em 0; } .prose li::marker { color: var(--green-deep); }
.prose a:not(.btn) { color: var(--green-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.prose a:not(.btn):hover { color: var(--black); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .65rem .85rem; text-align: left; }
.prose th { background: var(--paper); }
.prose code { background: var(--paper); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.15rem; margin-bottom: .35rem; }

/* forms */
label { font-weight: 600; font-size: .9375rem; color: var(--black); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select {
  width: 100%; margin-top: 6px; padding: .8rem 1rem; color: var(--black); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
input:hover, textarea:hover, select:hover { border-color: var(--black); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(8, 122, 53, .16); }
.form-grid { display: grid; gap: 1.1rem; }
.form-grid p { margin: 0; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 600; margin-bottom: 1rem; }
.form-status.ok { background: var(--green-wash); color: #064d22; border: 1px solid #a7e6bd; }
.form-status.err { background: #fdecec; color: #8a0f1f; border: 1px solid #f2b5bb; }
.notice { background: var(--green-wash); border: 1px solid #a7e6bd; color: #064d22; padding: 16px 18px; border-radius: 12px; margin: 0 0 24px; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-dark); padding: clamp(56px, 7vw, 88px) 0 28px; border-top: 1px solid rgba(46, 230, 107, .4); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-grid img { width: 210px; height: auto; display: block; margin-bottom: 1rem; }
.footer-grid p { font-size: .9375rem; max-width: 42ch; }
.footer-grid h2 { margin: 0 0 14px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); font-weight: 700; }
.footer-grid a { display: block; width: fit-content; padding: 5px 0; font-size: .9375rem; text-decoration: none; color: var(--muted-dark); transition: color .15s; }
.footer-grid a:hover, .spokup-address a:hover { color: var(--green); }
.spokup-address { font-style: normal; font-size: .875rem; }
.footer-grid .spokup-address a { display: inline; padding: 0; width: auto; }
.spokup-address a { color: var(--white); text-underline-offset: 3px; }
.headquarters { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.headquarters-intro h2 { font-size: 1.5rem; color: var(--white); margin: 0 0 8px; letter-spacing: -.03em; }
.headquarters-intro > p:last-child { font-size: .875rem; margin: 0; max-width: 52ch; }
.headquarters-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.headquarters-card { padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.headquarters-card .hq-region { display: block; margin-bottom: 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; color: var(--green); }
.headquarters-card h3 { margin: 0 0 6px; font-size: 1rem; color: var(--white); }
.headquarters-card p { margin: 0; font-size: .8125rem; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .8125rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } .headquarters { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .headquarters-grid { grid-template-columns: 1fr; } }

/* ---------- 15. Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) { .btn { border: 2px solid ButtonText; } }
