/* ==========================================================================
   ReTrails design system
   Quiet, clean product-site language: white canvas, neutral greys, inset
   rounded panels, softly animated mesh gradients in several colourways and
   product UI shown on gradient "aura" cards. Two typefaces only: Bricolage
   Grotesque (headings) and Geist (everything else).
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted from Google Fonts, SIL Open Font Licence) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url("/assets/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url("/assets/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --green: #16b364;
  --green-600: #0f9a55;
  --green-700: #0b7a43;
  --green-50: #effaf4;
  --green-100: #dcf3e6;
  --btn-green: #05df72;        /* logo-mark green */
  --btn-green-hover: #04cf6a;
  --btn-green-edge: #04c765;
  --btn-ink: #0a1f14;          /* near-black text on green buttons */

  /* Neutrals */
  --ink: #0a0a0a;
  --text: #171717;
  --text-2: #4a4a4a;
  --text-3: #636363;   /* 5.9:1 on white, 5.4:1 on --panel (WCAG AA) */
  --text-4: #6f6f6f;   /* 5.0:1 on white, 4.6:1 on --panel (WCAG AA) */
  --line: #eeeeee;
  --line-2: #e5e5e5;
  --panel: #f6f6f6;
  --panel-2: #fafafa;
  --white: #ffffff;

  /* Accent colourways (gradients and icon tints only) */
  --tint-green: #effaf4;  --ink-green: #0b7a43;
  --tint-blue: #e7f2fe;   --ink-blue: #2563eb;
  --tint-pink: #fff1ef;   --ink-pink: #d9485f;
  --tint-purple: #f5f3ff; --ink-purple: #7c5ce6;
  --tint-amber: #fef3c7;  --ink-amber: #b7791f;
  --tint-teal: #e3f9f6;   --ink-teal: #0f8f7e;

  /* Type */
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(2.5rem, 1.7rem + 2.8vw, 3.625rem);
  --fs-h2: clamp(2rem, 1.55rem + 1.6vw, 2.75rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --fs-h4: 1.25rem;
  --fs-lead: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --fs-body: 0.9375rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.8125rem;
  --fs-label: 0.71875rem;

  /* Spacing rhythm: one section step, one panel step, one head gap */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
  --section: clamp(2.5rem, 1.6rem + 2.4vw, 3rem);   /* 48px: vertical padding of every white section */
  --panel-pad: clamp(3rem, 2rem + 3.2vw, 5rem);     /* 80px: vertical padding inside grey/gradient panels */
  --head-gap: clamp(2rem, 1.6rem + 1.4vw, 3rem);    /* 48px: section head to content */
  --gap: 12px;                                      /* grid gap between cards */
  --inset: clamp(0.5rem, -0.2rem + 2.4vw, 2rem);    /* panel distance from viewport edge */
  --gutter: clamp(1rem, 0.5rem + 2vw, 1.5rem);
  --container: 1080px;

  /* Shape (matched to the reference: 28 hero, 24 panels, 12 cards, 10 inner) */
  --r-hero: 28px; --r-panel: 24px; --r-card: 12px; --r-inner: 10px; --r-sm: 8px; --r-xs: 6px; --r-pill: 9999px;

  /* Depth */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 18px 50px rgba(28, 42, 35, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animatable gradient positions */
@property --o1x { syntax: "<percentage>"; inherits: false; initial-value: 10%; }
@property --o1y { syntax: "<percentage>"; inherits: false; initial-value: 90%; }
@property --o2x { syntax: "<percentage>"; inherits: false; initial-value: 88%; }
@property --o2y { syntax: "<percentage>"; inherits: false; initial-value: 88%; }
@property --o3x { syntax: "<percentage>"; inherits: false; initial-value: 42%; }
@property --o3y { syntax: "<percentage>"; inherits: false; initial-value: 88%; }
@property --o4x { syntax: "<percentage>"; inherits: false; initial-value: 68%; }
@property --o4y { syntax: "<percentage>"; inherits: false; initial-value: 84%; }
@property --o5x { syntax: "<percentage>"; inherits: false; initial-value: 25%; }
@property --o5y { syntax: "<percentage>"; inherits: false; initial-value: 72%; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
/* Buttons aren't text to select; images aren't draggable or long-press targets */
button, .btn, .chip, .pill, .tab, .switch, .segmented, .faq-item summary { -webkit-user-select: none; user-select: none; }
img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--green-100); }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--text); letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; font-variation-settings: "opsz" 72; }
h1 { font-size: var(--fs-h1); color: var(--ink); }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.12; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 600; color: var(--text); }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }

/* ---------- 3. Layout rhythm ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(700px + var(--gutter) * 2); }

/* Every block in <main> is either a white .section or an inset .panel.
   White sections: --section padding. Panels: --section margin + --panel-pad inside.
   So the distance between any two neighbouring blocks is always 2 x --section. */
.section { padding-block: var(--section); }
.panel, .faq-wrap, .cta, .offer {
  position: relative; margin: var(--section) var(--inset); padding-block: var(--panel-pad);
  border-radius: var(--r-panel); overflow: clip; isolation: isolate;
}
.panel { background: var(--panel); }
/* Panel next to panel: margins collapse, so restore the full double step */
:is(.panel, .faq-wrap, .cta, .offer) + :is(.panel, .faq-wrap, .cta, .offer) { margin-top: calc(var(--section) * 2); }
.logos + .section { padding-top: var(--section); }
.panel > .container > :first-child { margin-top: 0; }

.head { max-width: 640px; margin-bottom: var(--head-gap); }
.head > * + * { margin-top: var(--s-4); }
.head--center { margin-inline: auto; text-align: center; }
.head--wide { max-width: 760px; }
.head-row { display: grid; gap: var(--s-5); align-items: end; margin-bottom: var(--head-gap); }
.head-row .head { margin-bottom: 0; }
.head-row > .btn { justify-self: start; }
@media (min-width: 900px) { .head-row { grid-template-columns: 1fr auto; } .head-row > .btn { justify-self: end; } }
.stack-gap { margin-top: var(--gap); }
.block-gap { margin-top: var(--head-gap); }

.lead { font-size: var(--fs-lead); line-height: 1.65; color: #525252; }
.muted { color: var(--text-3); }
.body-copy { color: var(--text-3); line-height: 1.85; }
.center { text-align: center; }

/* ---------- 4. Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 0.55em; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.eyebrow svg { width: 15px; height: 15px; flex: none; }
.eyebrow--green { color: var(--green-700); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22, 179, 100, 0.18); flex: none; }

/* ---------- 5. Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; height: 40px; padding: 0 1rem; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 500; line-height: 1; white-space: nowrap; color: var(--text-2); background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--shadow-xs); transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.25s var(--ease); }
.btn:hover { background: var(--panel-2); border-color: #d9d9d9; color: var(--text); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }
/* Primary buttons use the logo-mark green with near-black text (9.7:1 contrast) */
.btn--primary { color: var(--btn-ink); background: var(--btn-green); border-color: var(--btn-green-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(11, 122, 67, 0.2); }
.btn--primary:hover { background: var(--btn-green-hover); border-color: var(--btn-green-edge); color: var(--btn-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 16px -6px rgba(5, 180, 95, 0.55); }
.btn--lg { height: 44px; padding: 0 1.15rem; font-size: 0.9rem; }
.btn--sm { height: 34px; padding: 0 0.8rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.center .btn-row, .btn-row--center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--fs-sm); font-weight: 500; color: var(--text-2); transition: color 0.2s; }
.text-link:hover { color: var(--green-700); }
.text-link .arrow { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.text-link:hover .arrow { transform: translateX(2px); }
.text-link--muted { color: var(--text-3); font-weight: 400; }
.arrow { width: 1em; height: 1em; flex: none; }

/* ---------- 6. Announcement + header ---------- */
.announce { padding: 12px var(--inset) 0; view-transition-name: announce; }
.announce a { display: flex; justify-content: center; align-items: center; gap: 0.5em; flex-wrap: wrap; min-height: 36px; padding: 6px 16px; border-radius: var(--r-sm); background: var(--panel); font-size: var(--fs-xs); color: var(--text-3); text-align: center; transition: background 0.2s; }
.announce a:hover { background: #f0f0f0; }
.announce b { font-weight: 500; color: var(--text-2); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); transition: box-shadow 0.25s; view-transition-name: site-header; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; gap: var(--s-6); height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s-1); }
.nav-links a { display: block; padding: 6px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); color: #404040; transition: background 0.2s, color 0.2s; }
.nav-links a:hover { background: var(--panel); color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 500; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.nav-right .text-link { display: none; padding: 6px 10px; font-weight: 400; color: var(--text-3); font-size: var(--fs-xs); }
.nav-right .btn { display: none; }
.nav-toggle { margin-left: auto; width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 1.5px; background: var(--text); border-radius: 2px; position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-right .text-link, .nav-right .btn { display: inline-flex; } .nav-toggle { display: none; } }
.mobile-menu { position: fixed; inset: 64px 0 0; z-index: 90; background: var(--white); padding: var(--s-4) var(--gutter) var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; }
.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; }
.mobile-menu li a svg { width: 18px; color: var(--text-4); }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- 7. Animated mesh (hero, FAQ, CTA, offer) ---------- */
.mesh { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: inherit; pointer-events: none;
  --c1: rgba(22, 179, 100, 0.8); --c2: rgba(150, 228, 140, 0.9); --c3: rgba(127, 220, 176, 0.65); --c4: rgba(190, 220, 112, 0.6); --c5: rgba(205, 238, 222, 0.95); }
.mesh::before { content: ""; position: absolute; inset: -12% -8%;
  background:
    radial-gradient(34% 42% at var(--o1x) var(--o1y), var(--c1), transparent 70%),
    radial-gradient(30% 40% at var(--o2x) var(--o2y), var(--c2), transparent 70%),
    radial-gradient(28% 36% at var(--o3x) var(--o3y), var(--c3), transparent 70%),
    radial-gradient(30% 38% at var(--o4x) var(--o4y), var(--c4), transparent 70%),
    radial-gradient(26% 34% at var(--o5x) var(--o5y), var(--c5), transparent 70%);
  filter: blur(36px) saturate(1.05);
  animation: o1 19s ease-in-out infinite, o2 23s ease-in-out infinite, o3 17s ease-in-out infinite, o4 21s ease-in-out infinite, o5 25s ease-in-out infinite;
  animation-play-state: paused;
}
.mesh.is-visible::before { animation-play-state: running; }
.mesh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#fff 0%, rgba(255, 255, 255, 0.9) 24%, rgba(255, 255, 255, 0.35) 52%, rgba(255, 255, 255, 0.04) 82%); }
.mesh--blue { --c1: rgba(92, 157, 238, 0.7); --c2: rgba(106, 217, 232, 0.6); --c3: rgba(170, 205, 250, 0.8); --c4: rgba(127, 220, 176, 0.45); --c5: rgba(220, 236, 255, 0.95); }
.mesh--pink { --c1: rgba(239, 112, 124, 0.62); --c2: rgba(244, 166, 116, 0.6); --c3: rgba(250, 200, 210, 0.85); --c4: rgba(204, 143, 235, 0.4); --c5: rgba(255, 232, 226, 0.95); }
.mesh--purple { --c1: rgba(145, 116, 238, 0.62); --c2: rgba(204, 143, 235, 0.55); --c3: rgba(190, 210, 255, 0.75); --c4: rgba(127, 220, 176, 0.4); --c5: rgba(236, 228, 255, 0.95); }
.mesh--soft::after { background: linear-gradient(#fff 0%, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0.05)); }
@keyframes o1 { 0%, 100% { --o1x: 10%; --o1y: 86%; } 25% { --o1x: 22%; --o1y: 72%; } 50% { --o1x: 30%; --o1y: 84%; } 75% { --o1x: 8%; --o1y: 94%; } }
@keyframes o2 { 0%, 100% { --o2x: 86%; --o2y: 80%; } 25% { --o2x: 72%; --o2y: 66%; } 50% { --o2x: 64%; --o2y: 84%; } 75% { --o2x: 92%; --o2y: 92%; } }
@keyframes o3 { 0%, 100% { --o3x: 44%; --o3y: 88%; } 25% { --o3x: 34%; --o3y: 76%; } 50% { --o3x: 52%; --o3y: 70%; } 75% { --o3x: 58%; --o3y: 92%; } }
@keyframes o4 { 0%, 100% { --o4x: 68%; --o4y: 86%; } 25% { --o4x: 80%; --o4y: 72%; } 50% { --o4x: 66%; --o4y: 64%; } 75% { --o4x: 54%; --o4y: 80%; } }
@keyframes o5 { 0%, 100% { --o5x: 24%; --o5y: 74%; } 25% { --o5x: 36%; --o5y: 62%; } 50% { --o5x: 20%; --o5y: 78%; } 75% { --o5x: 30%; --o5y: 90%; } }

/* ---------- 8. Hero ---------- */
.hero { position: relative; margin: 8px var(--inset) 0; border-radius: var(--r-hero); overflow: clip; isolation: isolate; }
.hero { margin-bottom: var(--section); }               /* behaves like a panel in the rhythm */
.hero + .logos { margin-top: calc(var(--section) * -1); } /* ...except the logo row tucks right under it */
.hero--full { min-height: max(540px, calc(100svh - 230px)); display: grid; align-items: center; }
.hero-inner { padding: clamp(4rem, 2.5rem + 5vw, 7rem) var(--gutter); text-align: center; }
.hero-inner > * { margin-inline: auto; }
.hero h1 { max-width: 20ch; margin-top: var(--s-5); }
.hero h1:first-child { margin-top: 0; }
.hero .lead { max-width: 640px; margin-top: var(--s-5); }
.hero .btn-row { justify-content: center; margin-top: var(--s-6); }
.hero-media { position: relative; max-width: 960px; margin: 0 auto; padding-inline: var(--gutter); }
.hero--media .hero-inner { padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.hero-media .frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero-media--card { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-5); }
.chip { display: inline-flex; align-items: center; gap: 0.45em; height: 30px; padding: 0 10px; border-radius: var(--r-xs); background: rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(0, 0, 0, 0.05); font-size: var(--fs-xs); color: var(--text-2); }
.chip svg { width: 13px; height: 13px; color: var(--green-700); }

/* ---------- 9. Product frames ---------- */
.frame { position: relative; background: var(--white); border-radius: var(--r-card); border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e1e1e1; }
.frame-url { margin-left: 10px; height: 20px; padding: 0 10px; border-radius: var(--r-xs); background: var(--white); border: 1px solid var(--line); font-size: 11px; color: var(--text-3); display: inline-flex; align-items: center; }
.frame-view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.frame-view img { position: absolute; inset: 0; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; transition: opacity 0.6s var(--ease); }
.frame-view img.scroller { animation: storeScroll 20s ease-in-out infinite alternate; }
.frame-view img[data-hidden="true"] { opacity: 0; }
@keyframes storeScroll { 0%, 10% { transform: translateY(0); } 100% { transform: translateY(calc(-100% + var(--view-h, 400px))); } }
.frame--open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

.switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(0, 0, 0, 0.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: var(--s-4); }
.switch button { border: 0; background: transparent; height: 30px; padding: 0 12px; border-radius: var(--r-xs); font-size: var(--fs-xs); color: var(--text-3); display: inline-flex; align-items: center; gap: 0.45em; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.switch button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d4d4d4; }
.switch button[aria-pressed="true"] { background: var(--white); color: var(--text); box-shadow: var(--shadow-xs); }
.switch button[aria-pressed="true"]::before { background: var(--green); }

.float { position: absolute; z-index: 3; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: var(--fs-xs); color: var(--text-3); }
.float strong { display: block; color: var(--text); font-size: var(--fs-sm); font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: var(--r-xs); background: var(--green-50); color: var(--green-700); font-size: 11px; font-weight: 600; }
.float--chart { left: 3%; bottom: 12%; width: 180px; }
.float--trust { right: 3%; bottom: 30%; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 10px; }
.bars span { flex: 1; border-radius: 3px 3px 1px 1px; background: #a7e3c3; }
.bars span:nth-child(1) { height: 30%; } .bars span:nth-child(2) { height: 55%; } .bars span:nth-child(3) { height: 85%; background: #6fd09c; } .bars span:nth-child(4) { height: 65%; } .bars span:nth-child(5) { height: 100%; background: var(--green); }
@media (max-width: 760px) { .float { display: none; } }

/* ---------- 10. Logo row ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-4) clamp(2rem, 1rem + 4vw, 4.5rem); padding: 24px var(--gutter) 28px; }
.logos-label { width: 100%; text-align: center; font-size: var(--fs-xs); color: var(--text-4); }
.logos img { height: 22px; width: auto; filter: grayscale(1) contrast(1.1); opacity: 0.6; transition: filter 0.3s, opacity 0.3s; }
.logos img:hover { filter: none; opacity: 1; }
.logos--inline { padding: var(--head-gap) 0 0; }

/* ---------- 11. Aura (animated two-orb gradient card) ---------- */
.aura { position: relative; border-radius: var(--r-inner); overflow: hidden;
  --a1: rgba(22, 179, 100, 0.62); --a2: rgba(190, 220, 112, 0.6);
  background:
    radial-gradient(72% 90% at var(--o1x) var(--o1y), var(--a1) 0%, transparent 72%),
    radial-gradient(62% 78% at var(--o2x) var(--o2y), var(--a2) 0%, transparent 74%),
    #ffffff;
  animation: o1 16s ease-in-out infinite, o2 20s ease-in-out infinite; animation-play-state: paused;
}
.aura.is-visible { animation-play-state: running; }
.aura--blue { --a1: rgba(92, 157, 238, 0.7); --a2: rgba(106, 217, 232, 0.52); }
.aura--pink { --a1: rgba(239, 112, 124, 0.62); --a2: rgba(244, 166, 116, 0.52); }
.aura--purple { --a1: rgba(145, 116, 238, 0.62); --a2: rgba(204, 143, 235, 0.52); }
.aura--amber { --a1: rgba(246, 166, 93, 0.62); --a2: rgba(239, 111, 128, 0.42); }
.aura--teal { --a1: rgba(19, 188, 208, 0.45); --a2: rgba(123, 211, 206, 0.55); }
.aura--lime { --a1: rgba(190, 220, 112, 0.75); --a2: rgba(22, 179, 100, 0.42); }
.aura--photo { background: var(--panel); animation: none; }
.aura--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.fcard:hover .aura--photo img { transform: scale(1.03); }
.aura-pad { padding: clamp(1rem, 0.5rem + 2.5vw, 2.5rem); }
.aura-pad--top { padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem) clamp(1.5rem, 1rem + 2.5vw, 2.75rem) 0; }

.fcard { position: relative; background: var(--panel); border-radius: var(--r-card); padding: 8px; display: flex; flex-direction: column; }
.fcard-body { padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); display: grid; gap: var(--s-3); align-content: start; }
.fcard-body > .eyebrow { margin-bottom: var(--s-2); }
.fcard-body h3 { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); }
.fcard-body p { color: var(--text-3); font-size: var(--fs-sm); line-height: 1.65; }
.fcard > .aura { height: 280px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; display: flex; align-items: flex-end; justify-content: center; }
.panel .fcard { background: var(--white); }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--caps { gap: clamp(2rem, 1.5rem + 1.5vw, 2.5rem) var(--gap); }

.ui-card { width: 100%; background: var(--white); border-radius: var(--r-inner) var(--r-inner) 0 0; border: 1px solid rgba(0, 0, 0, 0.05); border-bottom: 0; box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: var(--fs-sm); color: var(--text-2); }
.ui-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.ui-row:last-child { border-bottom: 0; }
.ui-row .grow { flex: 1; min-width: 0; }
.ui-avatar { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center; background: var(--tint-green); color: var(--ink-green); font-size: 10px; font-weight: 600; }
.ui-title { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.ui-title svg { width: 16px; color: var(--green); }
.status { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-xs); font-size: 12px; font-weight: 500; }
.status--green { background: var(--tint-green); color: var(--ink-green); }
.status--amber { background: var(--tint-amber); color: #8a4b0b; }
.status--pink { background: var(--tint-pink); color: var(--ink-pink); }
.status--blue { background: var(--tint-blue); color: var(--ink-blue); }

.photo-stack { display: flex; justify-content: center; padding-bottom: 28px; }
.photo-stack img { width: 132px; height: 168px; object-fit: cover; border-radius: var(--r-inner); border: 3px solid #fff; box-shadow: var(--shadow-lg); transition: transform 0.5s var(--ease); }
.photo-stack img + img { margin-left: -44px; }
.photo-stack img:nth-child(1) { transform: rotate(-6deg) translateY(8px); }
.photo-stack img:nth-child(3) { transform: rotate(6deg) translateY(8px); }
.fcard:hover .photo-stack img:nth-child(1) { transform: rotate(-9deg) translate(-10px, 6px); }
.fcard:hover .photo-stack img:nth-child(3) { transform: rotate(9deg) translate(10px, 6px); }
.fcard:hover .photo-stack img:nth-child(2) { transform: translateY(-6px); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 0.4em; height: 26px; padding: 0 9px; border-radius: var(--r-xs); background: var(--white); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.pill svg { width: 12px; height: 12px; color: var(--green); }

/* Pilot spots card */
.spots-card { display: grid; gap: var(--s-6); align-items: center; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-panel); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--panel-2)); }
@media (min-width: 900px) { .spots-card { grid-template-columns: 1.4fr 1fr; } }
.spots-copy > * + * { margin-top: var(--s-4); }
.spots-copy h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); max-width: 18ch; }
.spots-copy .btn-row { margin-top: var(--s-5); }
.spots-note { font-size: var(--fs-xs); color: var(--text-3); }
.spots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.spots .aura { aspect-ratio: 3 / 4; border: 1px solid rgba(0, 0, 0, 0.04); box-shadow: var(--shadow-xs); }
.spots .aura::after { content: ""; position: absolute; top: 10px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.08); }

/* ---------- 12. Capability tiles ---------- */
.cap { display: flex; flex-direction: column; gap: var(--s-4); }
.cap-visual { position: relative; aspect-ratio: 352 / 260; border-radius: var(--r-card); overflow: hidden; display: grid; place-items: center; padding: 1.25rem;
  background-color: var(--panel);
  background-image: linear-gradient(rgba(230, 230, 230, 0.7) 1px, transparent 1px), linear-gradient(90deg, rgba(230, 230, 230, 0.7) 1px, transparent 1px);
  background-size: 22px 22px; background-position: center; }
.cap-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, transparent, var(--panel) 95%); pointer-events: none; }
.cap-visual > * { position: relative; z-index: 1; }
.mini { width: min(270px, 100%); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 -6px 0 -1px #fbfbfb, 0 -6px 0 0 var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.cap:hover .mini { transform: translateY(-4px); box-shadow: var(--shadow-md), 0 -6px 0 -1px #fbfbfb, 0 -6px 0 0 var(--line); }
.mini > span:last-child { min-width: 0; }
.mini b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 500; font-size: var(--fs-xs); color: var(--text); line-height: 1.3; overflow-wrap: anywhere; }
.mini i { display: block; height: 6px; border-radius: 3px; background: var(--panel); margin-top: 8px; }
.mini i + i { width: 55%; margin-top: 6px; }
.mini-icon { width: 40px; height: 40px; border-radius: var(--r-inner); display: grid; place-items: center; background: var(--tint-green); color: var(--ink-green); flex: none; }
.mini-icon svg { width: 20px; height: 20px; }
.mini-icon--blue { background: var(--tint-blue); color: var(--ink-blue); }
.mini-icon--pink { background: var(--tint-pink); color: var(--ink-pink); }
.mini-icon--purple { background: var(--tint-purple); color: var(--ink-purple); }
.mini-icon--amber { background: var(--tint-amber); color: var(--ink-amber); }
.mini-icon--teal { background: var(--tint-teal); color: var(--ink-teal); }
.cap h3 { font-size: var(--fs-h4); }
.cap p { color: var(--text-3); font-size: var(--fs-sm); line-height: 1.65; }
.cap .eyebrow { margin-bottom: -6px; }

/* ---------- 13. Stats rows ---------- */
.stats { display: grid; border-block: 1px solid var(--line-2); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: var(--s-6) var(--s-5) var(--s-6) 0; display: grid; gap: var(--s-2); align-content: start; }
@media (max-width: 719px) { .stat + .stat { border-top: 1px solid var(--line); } }
.stat-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat-num small { font-size: 0.6em; color: var(--text-3); margin-left: 0.1em; }
.stat:nth-child(1) .stat-num small { color: var(--green-700); } .stat:nth-child(2) .stat-num small { color: var(--ink-blue); } .stat:nth-child(3) .stat-num small { color: var(--ink-purple); }
.stat p { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.6; max-width: 30ch; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.55; }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; background: var(--tint-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- 14. Split rows ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip > :first-child { order: 2; } .split--top { align-items: start; } }
.split + .split { margin-top: var(--head-gap); }
.split-copy > * + * { margin-top: var(--s-4); }
.split-copy h3 { font-size: var(--fs-h3); }
.media { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--panel); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1; }
.media-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 12px 14px; border-radius: var(--r-inner); background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(0, 0, 0, 0.05); font-size: var(--fs-xs); color: var(--text-3); }
.media-cap b { display: block; color: var(--text); font-size: var(--fs-sm); font-weight: 500; }
.verdict { display: grid; gap: 8px; margin-top: var(--s-5) !important; }
.verdict div { padding: 14px 16px; border-radius: var(--r-inner); font-size: var(--fs-sm); line-height: 1.6; color: var(--text-3); background: var(--white); border: 1px solid var(--line); }
.verdict b { display: block; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.verdict .is-answer { background: var(--green-50); border-color: var(--green-100); color: var(--text-2); }
.verdict .is-answer b { color: var(--green-700); }

/* ---------- 15. Step tabs ---------- */
.showcase .aura { height: clamp(380px, 28vw + 180px, 540px); display: grid; place-items: end center; padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.phone { position: relative; width: clamp(220px, 14vw + 140px, 300px); aspect-ratio: 9 / 15.5; border-radius: 40px 40px 0 0; padding: 10px 10px 0; background: #1a1a1a; box-shadow: var(--shadow-lg); }
.phone::before { content: ""; position: absolute; z-index: 3; top: 18px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: 12px; background: #1a1a1a; }
.phone-screen { position: relative; height: 100%; border-radius: 31px 31px 0 0; overflow: hidden; background: var(--white); }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.phone-screen img.is-active { opacity: 1; transform: none; }
.phone-screen img.fit-contain { object-fit: contain; object-position: center 30%; background: #fff; }
.phone-screen img.fit-dark { object-fit: contain; background: #0b1a12; }
.tabs { display: grid; gap: 8px; margin-top: 8px; }
@media (min-width: 640px) { .tabs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tabs { grid-template-columns: repeat(5, 1fr); } }
.tab { text-align: left; border: 0; background: var(--panel-2); border-radius: var(--r-card); padding: 18px 18px 20px; display: grid; gap: 8px; align-content: start; transition: background 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
.tab:hover { background: var(--panel); }
.tab[aria-selected="true"] { background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs); }
.tab-num { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--panel); font-size: 12px; font-weight: 600; color: var(--text-3); transition: background 0.25s, color 0.25s; }
.tab[aria-selected="true"] .tab-num { background: var(--tint-green); color: var(--ink-green); }
.tab h3 { font-size: 1.05rem; letter-spacing: -0.01em; margin-top: 6px; }
.tab p { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.6; }
.tab-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--green); }
.tab[aria-selected="true"] .tab-progress { animation: tabProgress var(--tab-dur, 6s) linear forwards; }
.is-paused .tab-progress { animation-play-state: paused; }
@keyframes tabProgress { to { width: 100%; } }

/* ---------- 16. Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-inner); overflow: hidden; background: var(--green); box-shadow: var(--shadow-lg); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); font-size: var(--fs-sm); font-weight: 500; box-shadow: var(--shadow-md); transition: transform 0.25s var(--ease); }
.video-play:hover { transform: translateY(-1px); }
.video-play span { width: 32px; height: 32px; border-radius: 50%; background: var(--btn-green); color: var(--btn-ink); display: grid; place-items: center; }
.video-play svg { width: 12px; margin-left: 2px; }

/* ---------- 17. Founder / quotes ---------- */
.quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--text); margin: 0; }
.quote--sm { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.375rem); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline img { width: 40px; height: 40px; border-radius: var(--r-inner); object-fit: cover; }
.byline .sep { width: 1px; height: 32px; background: var(--line-2); }
.byline b { display: block; font-weight: 500; font-size: var(--fs-sm); color: var(--text); line-height: 1.3; }
.byline span { font-size: var(--fs-xs); color: var(--text-3); }
.mark-tile { background: #0b1a12; padding: 8px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--text-2); transition: color 0.2s, border-color 0.2s; }
.socials a:hover { color: var(--green-700); border-color: var(--green-100); }
.socials svg { width: 15px; height: 15px; }
.prose > h2 { margin: var(--s-4) 0 var(--s-6); }
.prose > h2:first-child { margin-top: 0; }
.prose p { color: var(--text-3); font-size: 1rem; line-height: 1.85; }
.prose p + p { margin-top: var(--s-4); }
.prose h3 { font-size: var(--fs-h4); margin: var(--s-6) 0 var(--s-3); }
.note-card { margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--r-card); background: var(--panel); }

/* ---------- 18. Bento ---------- */
.bento { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > :nth-child(1), .bento > :nth-child(2) { grid-column: span 3; } .bento > :nth-child(n + 3) { grid-column: span 2; } }
.bento .fcard > .aura { height: 240px; }
@media (min-width: 1040px) { .bento > :nth-child(-n + 2) > .aura { height: 300px; } }
.bento-phone { width: 58%; align-self: flex-start; filter: drop-shadow(0 18px 30px rgba(28, 42, 35, 0.25)); }
.connect { display: flex; align-items: center; gap: 12px; align-self: center; }
.connect img { width: 58px; height: 58px; padding: 12px; object-fit: contain; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-lg); }
.connect .thread { width: 90px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-blue) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: thread 1.2s linear infinite; }
@keyframes thread { to { background-position: 24px 0; } }

/* ---------- 19. FAQ ---------- */
.faq-wrap { padding-bottom: calc(var(--panel-pad) * 1.6); }
.faq-wrap h2 { margin: var(--s-4) 0 var(--s-6); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: 20px 0; font-size: 1.0625rem; font-weight: 500; color: #333; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--text); }
.faq-icon { width: 14px; height: 14px; position: relative; flex: none; transition: transform 0.35s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -0.75px; background: var(--text-3); border-radius: 1px; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 2.5rem 22px 0; color: var(--text-3); line-height: 1.75; }
.faq-contact { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; font-size: var(--fs-sm); color: var(--text-3); }

/* ---------- 20. CTA ---------- */
.cta-inner { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.2fr 1fr; } }
.cta h2 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); }
.cta-copy > * + * { margin-top: var(--s-4); }
.cta-copy .btn-row { margin-top: var(--s-6); }
.cta-points { display: grid; gap: var(--s-6); }
@media (min-width: 560px) { .cta-points { grid-template-columns: 1fr 1fr; } }
.cta-point { display: grid; gap: 8px; align-content: start; }
.cta-point svg { width: 24px; height: 24px; color: var(--text-3); margin-bottom: 8px; }
.cta-point h3 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.cta-point p { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.6; max-width: 26ch; }
.cta .mesh::after { background: linear-gradient(115deg, #fff 35%, rgba(255, 255, 255, 0.55) 62%, rgba(255, 255, 255, 0.1)); }
.offer .mesh::after { background: linear-gradient(115deg, #f6f6f6 35%, rgba(246, 246, 246, 0.55) 62%, rgba(246, 246, 246, 0.1)); }

/* ---------- 21. Footer ---------- */
.site-footer { padding-top: var(--panel-pad); overflow: clip; }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-brand { grid-column: 1 / -1; display: grid; gap: var(--s-4); align-content: start; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { font-size: var(--fs-sm); color: var(--text-3); max-width: 30ch; line-height: 1.6; }
.footer-grid .footer-h { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--text-2); margin-bottom: var(--s-4); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { font-size: var(--fs-sm); color: var(--text-3); transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--panel-pad); font-size: var(--fs-sm); color: var(--text-3); }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.footer-word { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.06em; line-height: 0.8; white-space: nowrap; text-align: center; font-size: clamp(5rem, 22.5vw, 22rem); margin: 0.12em 0 -0.2em; user-select: none;
  background: linear-gradient(100deg, #6fcf97 0%, var(--green) 25%, #a5dc8a 55%, #bedc70 80%, #d4ecb0 100%);
  background-size: 200% 100%; animation: wordShift 14s ease-in-out infinite alternate;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: linear-gradient(#000 40%, rgba(0, 0, 0, 0.35)); mask-image: linear-gradient(#000 40%, rgba(0, 0, 0, 0.35)); }
@keyframes wordShift { to { background-position: 100% 0; } }

/* ---------- 22. Inner page pieces ---------- */
.inv { display: grid; border-block: 1px solid var(--line-2); }
@media (min-width: 720px) { .inv { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .inv { grid-template-columns: repeat(4, 1fr); } }
.inv-item { padding: var(--s-6) var(--s-5) var(--s-6) 0; display: grid; gap: var(--s-3); align-content: start; }
@media (min-width: 1040px) { .inv-item + .inv-item { border-left: 1px solid var(--line); padding-left: var(--s-5); } }
@media (max-width: 1039px) { .inv-item { border-bottom: 1px solid var(--line); } }
.inv-num { font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1; color: var(--green-700); }
.inv-item:nth-child(2) .inv-num { color: var(--ink-blue); } .inv-item:nth-child(3) .inv-num { color: var(--ink-purple); } .inv-item:nth-child(4) .inv-num { color: var(--ink-pink); }
.inv-item h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.inv-item p { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.65; }

.service-list { display: grid; gap: 8px; }
.service-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.service-item h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.service-item p { margin-top: 4px; font-size: var(--fs-sm); color: var(--text-3); line-height: 1.6; }
.grades { display: flex; gap: 4px; }
.grades span { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--panel); color: var(--text-3); }
.grades span:first-child { background: var(--btn-green); color: var(--btn-ink); }

.offer { background: var(--panel); }
.offer-inner { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .offer-inner { grid-template-columns: 1.15fr 1fr; } }
.offer-copy > * + * { margin-top: var(--s-4); }
.offer-copy .btn-row { margin-top: var(--s-6); }
.perk { background: var(--white); border-radius: var(--r-card); border: 1px solid rgba(0, 0, 0, 0.05); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.perk > * + * { margin-top: var(--s-3); }
.perk p { color: var(--text-3); font-size: var(--fs-sm); line-height: 1.65; }
.perk hr { border: 0; border-top: 1px dashed var(--line-2); margin: var(--s-5) 0; }

.phases { display: grid; border-top: 1px solid var(--line-2); margin-top: var(--head-gap); }
@media (min-width: 1040px) { .phases { grid-template-columns: repeat(5, 1fr); } }
.phase { padding: var(--s-6) var(--s-4) var(--s-6) 0; display: grid; gap: 10px; align-content: start; position: relative; }
@media (min-width: 1040px) { .phase + .phase { padding-left: var(--s-4); border-left: 1px solid var(--line); } }
@media (max-width: 1039px) { .phase { border-bottom: 1px solid var(--line); } }
.phase::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--bar, var(--green)); transition: width 1s var(--ease); transition-delay: var(--d, 0s); }
.is-in .phase::before { width: 100%; }
.phase:nth-child(2) { --bar: var(--ink-teal); } .phase:nth-child(3) { --bar: var(--ink-blue); } .phase:nth-child(4) { --bar: var(--ink-purple); } .phase:nth-child(5) { --bar: var(--ink-pink); }
.phase-label { font-size: var(--fs-xs); color: var(--text-4); }
.phase-num { font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.phase-when { font-size: var(--fs-xs); color: var(--text-2); font-weight: 500; }
.phase-when span { color: var(--text-4); font-weight: 400; }
.phase h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.phase p { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.65; }

.fit { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .fit { grid-template-columns: repeat(3, 1fr); } }
.fit-item { display: grid; gap: var(--s-4); align-content: start; padding: var(--s-5); border-radius: var(--r-card); background: var(--panel); font-size: 1.05rem; line-height: 1.5; color: var(--text); font-weight: 500; }
.fit-item .mini-icon { width: 36px; height: 36px; }
.letter { max-width: 820px; margin: 0 auto; text-align: center; }
.letter .quote { margin-top: var(--s-5); }
.letter .byline { justify-content: center; margin-top: var(--s-6); text-align: left; }

.apply { display: grid; gap: var(--s-7); }
@media (min-width: 1040px) { .apply { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); } .apply-aside { position: sticky; top: 100px; align-self: start; } }
.apply-aside h2 { margin-top: var(--s-4); }
.apply-steps { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: 8px; counter-reset: s; }
.apply-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 14px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.apply-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 600; background: var(--tint-green); color: var(--ink-green); }
.apply-steps li:nth-child(2)::before { background: var(--tint-blue); color: var(--ink-blue); }
.apply-steps b { display: block; font-weight: 500; font-size: var(--fs-sm); }
.apply-steps span { font-size: var(--fs-xs); color: var(--text-3); }

/* ---------- 23. Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-xs); }
.form-card > header { margin-bottom: var(--s-5); }
.form-card > header > * + * { margin-top: 6px; }
.form-card h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.form-card header p { color: var(--text-3); font-size: var(--fs-sm); }
.form-grid { display: grid; gap: 16px 12px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: var(--fs-xs); font-weight: 500; color: var(--text-2); }
.field .opt { font-weight: 400; color: var(--text-4); }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; height: 42px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--white); font-size: var(--fs-sm); color: var(--text); box-shadow: var(--shadow-xs); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { height: auto; min-height: 112px; padding: 10px 12px; line-height: 1.55; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field input:hover, .field textarea:hover { border-color: #d6d6d6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(22, 179, 100, 0.15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12); }
.field-error { display: none; font-size: 12px; color: #c4343a; }
.field.is-invalid .field-error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.segmented { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); margin-top: 2px; width: max-content; }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.segmented span { display: inline-flex; align-items: center; height: 32px; padding: 0 18px; border-radius: var(--r-xs); font-size: var(--fs-sm); color: var(--text-3); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.segmented input:checked + span { background: var(--white); color: var(--text); box-shadow: var(--shadow-xs); font-weight: 500; }
.segmented input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-progress { height: 3px; border-radius: 3px; background: var(--panel); overflow: hidden; margin-bottom: var(--s-5); }
.form-progress span { display: block; height: 100%; width: 0; background: var(--green); transition: width 0.45s var(--ease); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-5); }
.cf-turnstile { margin-top: var(--s-4); }
.cf-turnstile:empty { margin-top: 0; }
.form-error { margin-top: var(--s-4); font-size: var(--fs-sm); color: #c4343a; }
.form-error a { text-decoration: underline; }
.form-success { display: none; text-align: center; padding: var(--s-7) var(--s-4); }
.form-success > * + * { margin-top: var(--s-3); }
.form-success .tick { width: 52px; height: 52px; margin: 0 auto var(--s-4); border-radius: var(--r-card); background: var(--tint-green); color: var(--ink-green); display: grid; place-items: center; }
.form-success .tick svg { width: 24px; }
.form-success .tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.5s 0.15s var(--ease) forwards; }
.form-success p { color: var(--text-3); font-size: var(--fs-sm); }
.is-sent form, .is-sent .form-progress, .is-sent > header { display: none; }
.is-sent .form-success { display: block; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.contact-grid { display: grid; gap: var(--gap); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }
.info-card { background: var(--panel); border-radius: var(--r-card); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: var(--s-5); align-content: start; }
.info-card > p { color: var(--text-3); font-size: var(--fs-sm); line-height: 1.7; }
.info-row { display: grid; gap: 8px; padding-top: var(--s-5); border-top: 1px solid var(--line-2); }
.info-row > span { font-size: var(--fs-xs); color: var(--text-3); }
.info-row .email { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.02em; color: var(--text); }
.info-row .email:hover { color: var(--green-700); }
.social-list { display: flex; flex-wrap: wrap; gap: 6px; }
.social-list a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-2); transition: border-color 0.2s, color 0.2s; }
.social-list a:hover { border-color: var(--green-100); color: var(--green-700); }
.social-list svg { width: 14px; height: 14px; }

/* ---------- 23b. Legal pages (single 720px reading column) ---------- */
.legal { padding-top: clamp(3rem, 2rem + 3vw, 5rem); padding-bottom: calc(var(--section) * 2); }
.legal-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); margin-bottom: var(--s-6); }
.legal-tabs a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-xs); font-size: var(--fs-xs); color: var(--text-3); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.legal-tabs a:hover { color: var(--text); }
.legal-tabs a[aria-current="page"] { background: var(--white); color: var(--text); box-shadow: var(--shadow-xs); font-weight: 500; }
.legal-head { padding-bottom: var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(2.25rem, 1.9rem + 1.2vw, 2.625rem); color: var(--text-2); line-height: 1.08; }
.legal-date { display: block; margin-bottom: var(--s-4); font-size: var(--fs-xs); color: var(--text-4); }
.legal-date time { color: var(--text-3); }
.legal-body > p:first-child { color: var(--text-2); font-size: 1rem; }
.legal-body h2 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.375; color: var(--text-2); margin: var(--s-7) 0 var(--s-4); scroll-margin-top: 100px; }
.legal-body p, .legal-body li, .legal-body dd { font-size: var(--fs-body); line-height: 1.75; color: var(--text-3); }
.legal-body p + p { margin-top: var(--s-4); }
.legal-body p + ul, .legal-body ul + p { margin-top: var(--s-4); }
.legal-body p.legal-sub { color: var(--text-2); font-weight: 500; margin-top: var(--s-5); }
.legal-body strong { font-weight: 500; color: var(--text-2); }
.legal-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.legal-body li { position: relative; padding-left: 20px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.legal-body a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.2s, color 0.2s; }
.legal-body a:hover { color: var(--green-700); text-decoration-color: currentColor; }
.legal-card { margin-top: var(--s-4); padding: var(--s-5); border-radius: var(--r-card); background: var(--panel); display: grid; gap: 10px; }
.legal-card + p { margin-top: var(--s-5); }
.legal-card div { display: grid; gap: 2px; }
@media (min-width: 640px) { .legal-card div { grid-template-columns: 180px 1fr; gap: var(--s-4); } }
.legal-card dt { font-size: var(--fs-xs); color: var(--text-4); line-height: 1.75; }
.legal-card dd { margin: 0; color: var(--text-2); }
.legal-placeholder { padding: 1px 6px; border-radius: var(--r-xs); background: var(--tint-amber); color: #8a4b0b; font-size: 0.85em; }
.legal-foot { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; align-items: center; font-size: var(--fs-sm); color: var(--text-3); }

.cookie-table { margin-top: var(--s-4); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.cookie-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); min-width: 600px; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.55; color: var(--text-3); }
.cookie-table th { background: var(--panel); color: var(--text-2); font-weight: 500; }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table code { font-size: 0.95em; color: var(--text-2); }

/* ---------- 23b2. Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 200; left: var(--gutter); bottom: var(--gutter); width: min(380px, calc(100vw - var(--gutter) * 2));
  padding: 18px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.cookie-banner.is-open { opacity: 1; transform: none; }
.cookie-title { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
.cookie-text { margin-top: 6px; font-size: var(--fs-xs); line-height: 1.6; color: var(--text-3); }
.cookie-text a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cookie-actions .btn { width: 100%; }

/* ---------- 23c. 404 ---------- */
.notfound .hero-inner { padding-block: clamp(4rem, 3rem + 4vw, 6rem); }
.notfound h1 { max-width: 16ch; }
.notfound .lead { max-width: 460px; }
.quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--s-6); }
.quick-links .btn { font-weight: 400; color: var(--text-2); }

/* ---------- 24. Entrance choreography ----------
   Primary (.a1): hero copy, staggered.  Secondary (.a2): hero media / logos.
   Tertiary (.reveal): everything else, on scroll; anything visible on load
   waits until the secondary layer has landed. */
.js .a1, .js .a2, .js .reveal { opacity: 0; }
/* The headline is the page's main paint, so it never starts invisible: it only rises into place */
.js .hero h1.a1 { opacity: 1; filter: none; }
.js .a1 { transform: translateY(14px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); transition-delay: calc(0.08s + var(--i, 0) * 0.08s); }
.js .a2 { transform: translateY(28px) scale(0.985); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(0.5s + var(--i, 0) * 0.1s); }
.js .reveal { transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js.is-loaded .a1, .js.is-loaded .a2 { opacity: 1; transform: none; filter: none; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .mesh { opacity: 0; transition: opacity 1.4s ease; }
.js.is-loaded .mesh { opacity: 1; }
.js.is-leaving main, .js.is-leaving .site-footer { opacity: 0; transform: translateY(-6px); transition: opacity 0.22s ease, transform 0.22s ease; }

/* ---------- 25. Page transitions (cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.28s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn 0.5s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .a1, .js .a2, .js .reveal, .js .mesh { opacity: 1; transform: none; filter: none; }
  .frame-view img.scroller { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
