/* ============================================================
   IdeaToVC — Public Website
   Design system: a faithful implementation of the WOWS Global
   design system (the template chosen by Ron, 2026-11-10),
   taken from WOWS' own published stylesheet (/css/core.css,
   re-verified live 2026-11-11) and FEATURE-SPEC-V2 section A.1:
   - Plus Jakarta Sans (200-800), loaded from Google Fonts
   - Azure primary scale, teal/cyan secondary, warm amber accent
   - Cool blue-tinted gray neutrals (hsl 240, 6%)
   - UIkit-style components: cards with headers, rounded buttons,
     pill tag/switcher elements, soft shadows, generous white space
   No serif anywhere. Token values below are WOWS' own values.
   ============================================================ */

:root {
  /* --- WOWS neutral scale (cool gray, blue tint) ---
     LEG 4: the neutral ramp derives from a warm ink (hsl 232 —
     deep blue-violet ink, not flat gray), so neutrals sit in the
     same hue family as the violet accent instead of fighting it. */
  --clr-neutral-100: hsl(240, 6%, 100%);
  --clr-neutral-200: hsl(232, 8%, 85%);
  --clr-neutral-300: hsl(232, 8%, 75%);
  --clr-neutral-400: hsl(232, 8%, 60%);
  --clr-neutral-500: hsl(232, 8%, 50%);
  --clr-neutral-600: hsl(232, 10%, 35%);
  --clr-neutral-700: hsl(232, 12%, 25%);
  --clr-neutral-800: hsl(232, 18%, 12%);
  --clr-neutral-900: hsl(0, 0%, 0%);

  /* --- WOWS primary scale (azure) --- */
  --clr-primary-100: hsl(199, 100%, 96%);
  --clr-primary-200: hsl(200, 66%, 85%);
  --clr-primary-300: hsl(206, 96%, 70%);
  --clr-primary-400: hsl(206, 96%, 60%);
  --clr-primary-500: hsl(200, 66%, 50%);
  --clr-primary-600: hsl(206, 96%, 40%);
  --clr-primary-700: hsl(206, 96%, 30%);
  --clr-primary-800: hsl(206, 96%, 20%);
  --clr-primary-900: hsl(206, 96%, 10%);

  /* --- WOWS secondary scale (teal / cyan) --- */
  --clr-secondary-100: hsl(184, 90%, 95%);
  --clr-secondary-300: hsl(184, 90%, 75%);
  --clr-secondary-500: hsl(184, 90%, 48%);
  --clr-secondary-600: hsl(184, 90%, 40%);
  --clr-secondary-700: hsl(184, 90%, 30%);
  --clr-secondary-800: hsl(184, 90%, 20%);
  --clr-secondary-900: hsl(184, 90%, 15%);

  /* --- WOWS accent scale (warm amber / gold) --- */
  --clr-accent-100: hsl(42, 100%, 90%);
  --clr-accent-300: hsl(42, 100%, 75%);
  --clr-accent-500: hsl(42, 100%, 50%);
  --clr-accent-600: hsl(42, 100%, 40%);
  --clr-accent-700: hsl(42, 100%, 30%);
  --clr-accent-800: hsl(42, 100%, 20%);
  --clr-accent-900: hsl(42, 100%, 15%);

  --clr-error-500: hsl(352, 98%, 65%);
  --clr-success-500: hsl(120, 100%, 25%);

  /* --- LEG 4: warm coral + violet accents (the multi-hue system) ---
     Assigned by section purpose, never decoration for its own sake:
     coral = creation / warmth / the human side of the work;
     violet = the pool / technology / intelligence; amber = the gate
     + trust marks; teal = process / progress. Azure stays the
     brand anchor (buttons, links, brand mark). */
  --clr-coral-100: hsl(14, 95%, 95%);
  --clr-coral-300: hsl(14, 95%, 78%);
  --clr-coral-500: hsl(14, 85%, 58%);
  --clr-coral-600: hsl(14, 80%, 48%);
  --clr-coral-700: hsl(14, 75%, 38%);
  --clr-violet-100: hsl(262, 85%, 96%);
  --clr-violet-300: hsl(262, 85%, 80%);
  --clr-violet-500: hsl(262, 70%, 58%);
  --clr-violet-600: hsl(262, 65%, 48%);
  --clr-violet-700: hsl(262, 60%, 38%);

  /* Section washes — soft two-hue gradient meshes (LEG 4, A8) */
  --wash-azure: linear-gradient(135deg, hsl(199, 100%, 96%) 0%, hsl(199, 100%, 98%) 55%, hsl(184, 90%, 95%) 100%);
  --wash-warm: linear-gradient(135deg, hsl(14, 95%, 95%) 0%, hsl(42, 100%, 95%) 60%, hsl(199, 100%, 97%) 115%);
  --wash-violet: linear-gradient(135deg, hsl(262, 85%, 96%) 0%, hsl(199, 100%, 97%) 60%, hsl(184, 90%, 95%) 115%);
  --wash-teal: linear-gradient(135deg, hsl(184, 90%, 95%) 0%, hsl(199, 100%, 97%) 65%, hsl(262, 85%, 97%) 115%);
  --grad-brand: linear-gradient(120deg, var(--clr-primary-600) 0%, var(--clr-primary-500) 45%, var(--clr-violet-500) 130%);
  --shadow-glow-featured: 0 18px 38px rgba(6, 90, 150, 0.22), 0 0 0 1px rgba(6, 90, 150, 0.06);

  /* --- Shape & depth (UIkit-style) --- */
  --radius: 0.625rem;          /* cards, dropdowns */
  --radius-btn: 0.3125rem;     /* WOWS .uk-button radius */
  --radius-pill: 999px;
  --shadow-card: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 14px 25px rgba(0, 0, 0, 0.16);

  --font: "Plus Jakarta Sans", "Arial Nova", Arial, Helvetica, sans-serif;

  /* --- Backwards-compatible aliases (other pages, pre-rebuild) --- */
  --azure: var(--clr-primary-600);
  --azure-dark: var(--clr-primary-700);
  --teal: var(--clr-secondary-600);
  --ink: var(--clr-neutral-800);
  --body-text: var(--clr-neutral-800);
  --muted: var(--clr-neutral-500);
  --line: var(--clr-neutral-200);
  --card: var(--clr-neutral-100);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-neutral-800);
  /* WOWS body treatment: soft azure wash at the top, fading to white */
  background: var(--clr-neutral-100);
  background: linear-gradient(180deg, var(--clr-primary-200) 0%,
              var(--clr-neutral-100) 400px, var(--clr-neutral-100) 100%);
  background-repeat: no-repeat;
}

/* --- Type scale (WOWS core.css: h1 3.4375rem, h2 2.375rem, h3/h4 1.25rem, all 600) --- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--clr-neutral-800);
  margin: 0 0 0.5em;
}
h1 { font-size: 3.4375rem; line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: 2.375rem; line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-top: 0.625em; }
h4 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1em; }
a { color: var(--clr-primary-500); transition: color 0.2s ease-in-out, background-size 0.3s ease; }
a:hover, a:focus { color: var(--clr-primary-300); }
/* LEG 4: prose links get an animated underline (buttons, nav, brand
   and footer links keep their own treatments). */
p a, li a, .faq-body a, .fine-print a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
}
p a:hover, li a:hover, .faq-body a:hover, .fine-print a:hover,
p a:focus, li a:focus, .faq-body a:focus, .fine-print a:focus { background-size: 100% 2px; }
strong, b { font-weight: 700; }
img { max-width: 100%; }

/* ---------- LEG 4: scroll reveal (assets/js/site.js) ----------
   Elements carrying [data-reveal] start slightly lowered and
   transparent ONLY when JS + IntersectionObserver are active and
   the visitor allows motion — the .reveal-ready class is added by
   site.js itself, so no-JS visitors and reduced-motion visitors
   always see settled content. Transform/opacity only: zero layout
   shift. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  /* LEG 4 fix: the reveal transition must never outrank component
     transitions — box-shadow rides along here because this rule's
     specificity (0,2,0) would otherwise suppress card hover lifts
     and shadows. Durations stay component-fast for the shadow. */
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.71, 0.26, 1), box-shadow 0.25s ease;
  transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s;
}
.reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- LEG 4: page hero media (subpages) ---------- */
.page-media {
  margin: 40px 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.page-media img { width: 100%; height: 340px; object-fit: cover; display: block; }
.page-media--slim img { height: 240px; }
@media (max-width: 760px) {
  .page-media img { height: 200px; }
  .page-media--slim img { height: 170px; }
}

/* ---------- LEG 4: tinted section purposes ----------
   Each section purpose gets its own wash + eyebrow family so the
   page reads as a journey through distinct rooms, not one sheet. */
.section--wash-warm { background: var(--wash-warm); }
.section--wash-violet { background: var(--wash-violet); }
.section--wash-teal { background: var(--wash-teal); }
.section--wash-azure { background: var(--wash-azure); }
.section--wash-warm .eyebrow, .section--wash-violet .eyebrow,
.section--wash-teal .eyebrow { background: var(--clr-neutral-100); }
.eyebrow--coral { color: var(--clr-coral-700); background: var(--clr-coral-100); }
.eyebrow--violet { color: var(--clr-violet-700); background: var(--clr-violet-100); }
.eyebrow--amber { color: var(--clr-accent-700); background: var(--clr-accent-100); }
.eyebrow--teal { color: var(--clr-secondary-700); background: var(--clr-secondary-100); }
.section--wash-warm .eyebrow--coral,
.section--wash-violet .eyebrow--violet { background: var(--clr-neutral-100); }

/* ---------- LEG 4: legal pages ---------- */
.legal-body { max-width: 52em; }
.legal-body > h2 {
  font-size: 1.45rem;
  margin-top: 2em;
  padding-top: 1.1em;
  border-top: 1px solid var(--clr-primary-100);
}
.legal-body > h2:first-of-type { border-top: none; padding-top: 0; }

.text-small { font-size: 0.875rem; }
.text-large { font-size: 1.125rem; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--white { background: var(--clr-neutral-100); }
.section--tint { background: var(--clr-primary-100); }

/* WOWS card-header tagline pill, used here as the section eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  color: var(--clr-primary-500);
  background: var(--clr-primary-100);
  border-radius: 1.25em;
  padding: 0.3125em 0.875em;
  margin: 0 0 1em;
}
.section--tint .eyebrow, .hero .eyebrow { background: var(--clr-neutral-100); }

.section-head { max-width: 46em; margin-bottom: 8px; }
.section-head--center { margin-inline: auto; text-align: center; }

.lede {
  font-size: 1.125rem;
  color: var(--clr-neutral-600);
  max-width: 44em;
}
.section-head--center .lede { margin-inline: auto; }

/* ---------- Header / nav (WOWS uk-navbar pattern: white bar, azure logo) ---------- */

.site-header {
  background: var(--clr-neutral-100);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary-500);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover, .brand:focus { color: var(--clr-primary-300); }

.brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary-500);
  color: var(--clr-neutral-100);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  margin-right: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--clr-neutral-800);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  background-image: linear-gradient(var(--clr-primary-500), var(--clr-primary-500));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 3px;
  transition: color 0.2s ease-in-out, background-size 0.3s ease;
}
.site-nav a:hover, .site-nav a:focus { color: var(--clr-primary-500); background-size: 100% 2px; }
.site-nav a[aria-current="page"] { color: var(--clr-primary-500); background-size: 100% 2px; }

.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ---------- Buttons (WOWS .uk-button system) ---------- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.5em 1.25em;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 0.85em 1.9em; font-size: 1.0625rem; }

.btn-primary {
  background: var(--clr-primary-500);
  color: var(--clr-neutral-100);
}
/* LEG 4: primary buttons get a sheen sweep + a slight scale on hover */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-primary:focus::after { transform: translateX(110%); }
.btn-primary:hover, .btn-primary:focus {
  background: var(--clr-primary-300);
  color: var(--clr-neutral-100);
  transform: scale(1.03);
}

/* WOWS .uk-button-default: white face, azure border + text */
.btn-ghost {
  background: var(--clr-neutral-100);
  color: var(--clr-primary-500);
  border-color: var(--clr-primary-500);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--clr-primary-300);
  border-color: var(--clr-primary-300);
  color: var(--clr-neutral-100);
  transform: translateY(-1px);
}

/* WOWS .uk-button-secondary: text-only action */
.btn-text {
  background: transparent;
  color: var(--clr-primary-500);
  padding-inline: 0;
}
.btn-text:hover, .btn-text:focus {
  background: transparent;
  color: var(--clr-primary-300);
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; align-items: center; }

/* ---------- Represented badge (amber, WOWS accent scale) ---------- */

.badge-represented {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--clr-accent-100);
  color: var(--clr-accent-800);
  border: 1.5px solid var(--clr-accent-500);
  border-radius: var(--radius-pill);
  padding: 4px 14px 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-represented::before {
  content: "\2605";
  color: var(--clr-accent-500);
  font-size: 1rem;
  line-height: 1;
}

/* ---------- Hero + dual-audience switcher (WOWS homepage pattern) ---------- */

.hero { padding: 72px 0 24px; text-align: center; }
.hero h1 { max-width: 15em; margin-inline: auto; }
.hero .lede { margin-inline: auto; }
.hero .btn-row { justify-content: center; }

/* WOWS hero micro-trust row: small circled checks under the headline copy */
.micro-trust {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 0;
  font-weight: 500;
}
.micro-trust li { position: relative; padding-left: 1.7em; }
.micro-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.25em;
  height: 1.25em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(200,66%25,50%25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.audience-card {
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-top: 44px;
  padding: 34px 40px 40px;
  text-align: left;
}

/* WOWS uk-subnav-pill adaptation: segmented audience switcher */
.switcher {
  display: inline-flex;
  border: 1px solid var(--clr-primary-500);
  border-radius: var(--radius-btn);
  overflow: hidden;
  margin-bottom: 30px;
}
.switcher button {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1rem;
  padding: 0.65em 1.5em;
  border: 0;
  background: var(--clr-neutral-100);
  color: var(--clr-primary-500);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.switcher button + button { border-left: 1px solid var(--clr-primary-500); }
.switcher button:hover { background: var(--clr-primary-100); }
.switcher button[aria-selected="true"] {
  background: var(--clr-primary-500);
  color: var(--clr-neutral-100);
}

.audience-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.audience-panel[hidden] { display: none; }
.audience-panel img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: block;
}
.audience-panel h3 { font-size: 1.625rem; line-height: 1.25; margin-top: 0; }
.audience-panel p { color: var(--clr-neutral-600); }

/* Tick list (WOWS check-bullet pattern) */
.tick-list { list-style: none; margin: 18px 0 6px; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 12px;
  color: var(--clr-neutral-800);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background-color: var(--clr-secondary-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: 62%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Animated proof counters ---------- */

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.counter {
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 24px 26px;
  text-align: center;
  transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease;
}
.counter:hover { box-shadow: var(--shadow-lift); translate: 0 -3px; }
.counter .counter-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-primary-600);
  letter-spacing: -0.02em;
}
/* LEG 4: each proof counter speaks in its purpose colour —
   pool = violet, creation = coral, the gate = amber */
.counter:nth-child(1) .counter-value { color: var(--clr-violet-600); }
.counter:nth-child(2) .counter-value { color: var(--clr-coral-600); }
.counter:nth-child(3) .counter-value { color: var(--clr-accent-600); }
.counter .counter-value .counter-suffix { color: var(--clr-secondary-500); }
.counter .counter-label {
  margin: 10px 0 0;
  font-weight: 600;
  color: var(--clr-neutral-600);
}
.counter .counter-note {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: var(--clr-neutral-500);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px;
  transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease;
}
.trust-item:hover { box-shadow: var(--shadow-lift); translate: 0 -3px; }
.trust-item .trust-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--clr-primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item .trust-icon svg { width: 24px; height: 24px; }
.trust-item h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.trust-item p { font-size: 0.925rem; color: var(--clr-neutral-600); margin: 0; }

/* ---------- Cards & grids (UIkit-style cards with headers) ---------- */

.grid { display: grid; gap: 22px; margin-top: 36px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px;
  transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease;
  position: relative;
}
/* LEG 4: cards lift on hover and grow a purpose-coloured top edge.
   The edge colour comes from --card-accent (set per section/card);
   default is the azure anchor. */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--card-accent, var(--clr-primary-500));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-lift); translate: 0 -4px; }
.card:hover::before { opacity: 1; }
.accent--coral { --card-accent: var(--clr-coral-500); }
.accent--violet { --card-accent: var(--clr-violet-500); }
.accent--amber { --card-accent: var(--clr-accent-500); }
.accent--teal { --card-accent: var(--clr-secondary-500); }

.card .card-head {
  border-bottom: 1px solid var(--clr-primary-100);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.card .card-step {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-secondary-600);
  margin-bottom: 8px;
}
/* LEG 4: step labels follow their card's accent family */
.accent--coral .card-step { color: var(--clr-coral-600); }
.accent--violet .card-step { color: var(--clr-violet-600); }
.accent--amber .card-step { color: var(--clr-accent-600); }
.accent--teal .card-step { color: var(--clr-secondary-600); }
.card h3 { margin-top: 0; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding-left: 1.15em; }
.card li { margin-bottom: 6px; }

.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-media .card-body-pad { padding: 26px 30px 30px; }

/* ---------- Standard / honesty strip ---------- */

.standard-strip {
  background: var(--clr-neutral-100);
  border-left: 5px solid var(--clr-secondary-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 30px;
  margin-top: 36px;
}
.standard-strip h3 { color: var(--clr-secondary-700); margin-top: 0; }

/* ---------- Plans ladder (WOWS pricing pattern) ---------- */

.plan-ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
  align-items: stretch;
}
.plan-card {
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease;
}
.plan-card:hover { box-shadow: var(--shadow-lift); translate: 0 -5px; }
.plan-card .plan-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--clr-primary-600);
  margin: 0 0 2px;
}
.plan-card .plan-for { font-size: 0.925rem; color: var(--clr-neutral-500); margin: 0 0 14px; }
.plan-card .plan-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--clr-neutral-800);
  margin: 0 0 16px;
}
.plan-card .plan-price small { font-size: 0.85rem; font-weight: 600; color: var(--clr-neutral-500); }
.plan-card .plan-plus {
  font-weight: 600;
  color: var(--clr-neutral-600);
  border-top: 1px solid var(--clr-primary-100);
  padding-top: 14px;
  margin: 0 0 10px;
}
.plan-card ul { margin: 0 0 22px; padding-left: 1.15em; color: var(--clr-neutral-600); }
.plan-card li { margin-bottom: 6px; }
.plan-card .btn { margin-top: auto; text-align: center; }
.plan-card--featured {
  outline: 2px solid var(--clr-primary-500);
  background: linear-gradient(180deg, var(--clr-neutral-100) 0%, var(--clr-primary-100) 130%);
  box-shadow: var(--shadow-glow-featured);
}
.plan-card--featured:hover { box-shadow: var(--shadow-glow-featured), var(--shadow-lift); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-accent-500);
  color: var(--clr-accent-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  white-space: nowrap;
}

/* ---------- Plans table (plans page, pre-rebuild) ---------- */

.plans-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 36px;
  font-size: 0.98rem;
}
.plans-table th, .plans-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--clr-primary-100);
  vertical-align: top;
}
.plans-table thead th {
  background: var(--clr-primary-100);
  color: var(--clr-primary-800);
  font-weight: 700;
}
.plans-table tbody tr:last-child td { border-bottom: none; }
.plans-table .plan-name { font-weight: 700; color: var(--clr-neutral-800); white-space: nowrap; }
.plans-table .plan-price { color: var(--clr-primary-600); font-weight: 700; white-space: nowrap; }

.fine-print {
  font-size: 0.875rem;
  color: var(--clr-neutral-500);
  max-width: 52em;
}

/* ---------- Stages (stages page, pre-rebuild) ---------- */

.stage-block {
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 34px;
  margin-top: 26px;
  transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease;
  position: relative;
}
.stage-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--card-accent, var(--clr-primary-500));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.stage-block:hover { box-shadow: var(--shadow-lift); translate: 0 -3px; }
.stage-block:hover::before { opacity: 1; }
.stage-block .card-step {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-secondary-600);
  margin-bottom: 8px;
}
.stage-block.accent--coral .card-step { color: var(--clr-coral-600); }
.stage-block.accent--violet .card-step { color: var(--clr-violet-600); }
.stage-block.accent--amber .card-step { color: var(--clr-accent-600); }
.stage-block.accent--teal .card-step { color: var(--clr-secondary-600); }

/* ---------- Split feature (image + copy) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}
.split img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: block;
}

/* ---------- Testimonials ---------- */

.sample-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-accent-100);
  color: var(--clr-accent-800);
  border: 1px dashed var(--clr-accent-600);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 14px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.testimonial {
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease;
}
.testimonial:hover { box-shadow: var(--shadow-lift); translate: 0 -4px; }
.testimonial .stars { color: var(--clr-accent-500); font-size: 1rem; letter-spacing: 0.18em; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 20px; color: var(--clr-neutral-600); font-size: 1rem; }
.testimonial .t-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testimonial .t-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--clr-primary-500);
  color: var(--clr-neutral-100);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
/* LEG 4: sample avatars cycle the accent families (coral, violet, teal) */
.testimonial:nth-child(3n+2) .t-avatar { background: var(--clr-coral-500); }
.testimonial:nth-child(3n) .t-avatar { background: var(--clr-violet-500); }
.testimonial .t-name { font-weight: 700; margin: 0; }
.testimonial .t-role { font-size: 0.875rem; color: var(--clr-neutral-500); margin: 0; }
.sample-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--clr-accent-100);
  color: var(--clr-accent-800);
  border: 1px dashed var(--clr-accent-600);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ---------- FAQ (WOWS accordion pattern) ---------- */

.faq-list { max-width: 860px; margin: 40px auto 0; }
.faq-item {
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 26px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-neutral-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--clr-primary-100);
  color: var(--clr-primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.faq-item[open ] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 26px 22px; color: var(--clr-neutral-600); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--clr-primary-600) 0%, var(--clr-primary-500) 45%, var(--clr-violet-500) 105%, var(--clr-secondary-500) 160%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 52px 48px;
  text-align: center;
  color: var(--clr-neutral-100);
}
.cta-band h2 { color: var(--clr-neutral-100); }
.cta-band p { color: var(--clr-primary-100); max-width: 40em; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-primary { background: var(--clr-neutral-100); color: var(--clr-primary-600); }
.cta-band .btn-primary:hover, .cta-band .btn-primary:focus { background: var(--clr-primary-100); color: var(--clr-primary-700); }
.cta-band .btn-ghost { background: transparent; border-color: var(--clr-neutral-100); color: var(--clr-neutral-100); }
.cta-band .btn-ghost:hover { background: var(--clr-neutral-100); color: var(--clr-primary-600); }

/* ---------- Footer (WOWS page-footer pattern: light, curved top edge) ---------- */

.site-footer {
  position: relative;
  margin-top: 110px;
  padding: 30px 0 0;
  background: var(--clr-primary-100);
  background: linear-gradient(180deg, var(--clr-primary-100) 0%, var(--clr-neutral-100) 340px);
  color: var(--clr-neutral-800);
}
.site-footer::before {
  /* WOWS .footer-overlay: a wide white ellipse curving over the footer's top edge */
  content: "";
  position: absolute;
  top: -75px;
  left: 0;
  width: 100%;
  height: 150px;
  border-radius: 100%;
  background: var(--clr-neutral-100);
  z-index: 1;
}
.site-footer .wrap { position: relative; z-index: 2; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-top: 26px;
}
.site-footer h4 { font-size: 1rem; margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-top: 0.3125em; }
.footer-links a { color: var(--clr-neutral-800); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { color: var(--clr-primary-300); text-decoration: underline; }
.site-footer .fine-print { color: var(--clr-neutral-600); }

.footer-bottom {
  border-top: 1px solid var(--clr-neutral-300);
  padding-block: 1.25em;
  margin-top: 1.875em;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--clr-neutral-600);
}
.footer-bottom a { color: var(--clr-neutral-800); }

/* Legacy footer markup (other pages, pre-rebuild) */
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; margin: 10px 0 18px; }
.footer-nav a { color: var(--clr-neutral-800); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { text-decoration: underline; color: var(--clr-primary-300); }

/* ---------- LEG 4: mini proof row (subpage trust, A11) ----------
   The homepage's real figures, in compact form, on every
   commercial page — the same three true numbers, nowhere else
   invented: 222 verified firms · 4 stage packs · 80/100 gate. */
.proof-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.proof-chip {
  flex: 1 1 200px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 20px;
  transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease;
}
.proof-chip:hover { box-shadow: var(--shadow-lift); translate: 0 -2px; }
.proof-chip .proof-num { font-size: 1.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.proof-chip .proof-num--violet { color: var(--clr-violet-600); }
.proof-chip .proof-num--coral { color: var(--clr-coral-600); }
.proof-chip .proof-num--amber { color: var(--clr-accent-600); }
.proof-chip .proof-label { font-size: 0.9rem; font-weight: 600; color: var(--clr-neutral-600); }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .grid-4, .trust-strip, .plan-ladder { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  /* Leg 3: columns may shrink below their content's min-content size,
     so long footer text can never force the page wider than the phone. */
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > * { min-width: 0; }
}
@media (max-width: 760px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .section { padding: 56px 0; }
  .audience-panel, .split { grid-template-columns: 1fr; }
  .audience-card { padding: 26px 22px 30px; }
  .counters { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .trust-strip, .plan-ladder, .testimonial-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }

  /* --- Leg 3 (mobile pass): compact, tappable header ---
     Brand + actions share the first row; the nav drops to its own
     full-width row of 44px-tall links that scrolls sideways if a
     phone is too narrow, instead of wrapping into a tall stack. */
  .hero { padding: 52px 0 16px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; row-gap: 6px; }
  .brand { min-height: 44px; }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: 0 0 auto; padding: 10px 2px; font-size: 0.95rem; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn { padding-inline: 1em; }

  /* --- Leg 3: touch targets >= 44px; buttons may wrap their label
     instead of forcing the page wider than the screen (signup). --- */
  .btn {
    white-space: normal;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .switcher button { min-height: 44px; }
  .footer-nav a, .footer-links a, .footer-bottom a {
    display: inline-block;
    padding-block: 10px;
  }
  .footer-nav { row-gap: 2px; }

  /* --- Leg 3: the rich footer stacks to one shrinkable column --- */
  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  /* --- Leg 3: the plans table becomes stacked cards ---
     A 4-column table cannot fit a phone (it measured 633px wide);
     each plan becomes a card with small column labels kept. */
  .plans-table, .plans-table thead, .plans-table tbody,
  .plans-table tr, .plans-table td { display: block; }
  .plans-table {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    margin-top: 28px;
  }
  .plans-table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .plans-table tbody tr {
    background: var(--clr-neutral-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 20px 22px;
    margin-bottom: 16px;
  }
  .plans-table td { padding: 0; border-bottom: none; }
  .plans-table td + td { margin-top: 12px; }
  .plans-table td:nth-of-type(2)::before,
  .plans-table td:nth-of-type(3)::before,
  .plans-table td:nth-of-type(4)::before {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-secondary-600);
    margin-bottom: 3px;
  }
  .plans-table td:nth-of-type(2)::before { content: "Who it is for"; }
  .plans-table td:nth-of-type(3)::before { content: "What you get"; }
  .plans-table td:nth-of-type(4)::before { content: "Price"; }
  .plans-table .plan-name { font-size: 1.2rem; white-space: normal; }
  .plans-table .plan-price { white-space: normal; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============================================================
   PITCH-DECK BILLBOARD (design rebuild leg 2, 2026-11-11)
   The hero's main visual: an auto-playing 11-slide pitch deck
   presenting IdeaToVC itself, in the same WOWS design system.
   Mechanics live in assets/js/deck.js. Slides are stacked in a
   16:9 stage; each slide's elements stagger in on activation
   via the .anim pattern (base state hidden, keyframes rise).
   ============================================================ */

.deck { margin-top: 42px; text-align: left; }
.deck-frame {
  background: var(--clr-neutral-100);
  border: 1px solid rgba(11, 31, 58, 0.06);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

/* Presentation-window chrome */
.deck-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: hsl(240, 6%, 97%);
  border-bottom: 1px solid var(--clr-primary-100);
}
.deck-chrome-dots { display: inline-flex; gap: 6px; }
.deck-chrome-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--clr-primary-300); }
.deck-chrome-dots i:nth-child(2) { background: var(--clr-accent-500); }
.deck-chrome-dots i:nth-child(3) { background: var(--clr-secondary-500); }
.deck-chrome-title { font-size: 0.82rem; font-weight: 700; color: var(--clr-neutral-700); }
.deck-chrome-note { margin-left: auto; font-size: 0.78rem; color: var(--clr-neutral-500); }

/* Brand mark outside the header .brand context (deck slides) */
.deck .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary-500);
  color: var(--clr-neutral-100);
  border-radius: var(--radius);
  width: 38px;
  height: 38px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Stage + slides */
.deck-stage { position: relative; aspect-ratio: 16 / 9; background: var(--clr-neutral-100); }
.deck-slide {
  position: absolute;
  inset: 0;
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(26px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
}
.deck-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.deck-slide.is-leaving { transform: translateX(-26px); }

/* Entry animation pattern */
.deck-slide .anim { opacity: 0; }
.deck-slide.is-active .anim {
  animation: dsRise 0.6s cubic-bezier(0.22, 0.71, 0.26, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes dsRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes dsPop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Controls: arrows, progress, bar */
.deck-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--clr-neutral-200);
  background: rgba(255, 255, 255, 0.94);
  color: var(--clr-primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease-in-out;
}
.deck-arrow svg { width: 20px; height: 20px; }
.deck-arrow:hover, .deck-arrow:focus { background: var(--clr-primary-500); color: var(--clr-neutral-100); }
.deck-arrow--prev { left: 14px; }
.deck-arrow--next { right: 14px; }

.deck-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(11, 31, 58, 0.08);
  z-index: 6;
}
.deck-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--clr-primary-500), var(--clr-secondary-500));
}

.deck-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: var(--clr-neutral-100);
  border-top: 1px solid var(--clr-primary-100);
}
.deck-dots { display: flex; gap: 7px; flex-wrap: wrap; }
.deck-dot {
  width: 9px; height: 9px;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0;
  background: var(--clr-primary-200);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.deck-dot:hover { background: var(--clr-primary-300); }
.deck-dot[aria-selected="true"] { width: 26px; background: var(--clr-primary-500); }
.deck-side { display: flex; align-items: center; gap: 12px; }
.deck-counter { font-weight: 700; font-size: 0.9rem; color: var(--clr-neutral-600); font-variant-numeric: tabular-nums; white-space: nowrap; }
.deck-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--clr-primary-500);
  background: var(--clr-neutral-100);
  color: var(--clr-primary-500);
  font-size: 0.62rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}
.deck-toggle:hover { background: var(--clr-primary-500); color: var(--clr-neutral-100); }

/* Shared slide elements */
.ds-split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 46px; align-items: center; height: 100%; }
.ds-split--even { grid-template-columns: 1fr 1fr; }
.ds-split--map { grid-template-columns: 0.92fr 1.08fr; }
.ds-split--devices { grid-template-columns: 0.88fr 1.12fr; }
.ds-photo { height: 100%; max-height: 470px; }
.ds-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: block;
}
.ds-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-primary-600);
  background: var(--clr-primary-100);
  border-radius: 1.25em;
  padding: 0.32em 0.9em;
  margin: 0 0 14px;
}
.ds-title { font-size: 2.05rem; line-height: 1.14; margin: 0 0 14px; }
.ds-title--xl { font-size: 2.7rem; line-height: 1.07; }
.ds-sub { font-size: 1.01rem; color: var(--clr-neutral-600); max-width: 33em; margin: 0; }
.ds-pillrow { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; align-items: center; }
.ds-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-primary-700);
  background: var(--clr-primary-100);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
}
.ds-pill--label { background: transparent; color: var(--clr-neutral-500); text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.7rem; padding-left: 0; }
.ds-wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--clr-primary-500);
  margin: 0 0 16px;
}
.ds-note { margin: 18px 0 0; }

/* Dark slide (The Problem) */
.deck-slide--dark { background: linear-gradient(135deg, hsl(206, 96%, 13%), hsl(240, 6%, 10%) 78%); color: var(--clr-neutral-100); }
.deck-slide--dark .ds-title { color: var(--clr-neutral-100); }
.deck-slide--dark .ds-eyebrow { background: rgba(255, 255, 255, 0.14); color: var(--clr-neutral-100); }
.deck-slide--dark .ds-photo img { box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.16); }
.ds-problem { display: flex; gap: 16px; margin-top: 19px; }
.ds-problem-num { font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: var(--clr-primary-300); }
.ds-problem h3 { color: var(--clr-neutral-100); font-size: 1.06rem; margin: 0 0 3px; }
.ds-problem p { color: var(--clr-primary-100); opacity: 0.88; font-size: 0.92rem; margin: 0; }

/* Solution duo cards + flow */
.ds-duo { display: grid; gap: 12px; margin-top: 20px; }
.ds-duo-card { background: var(--clr-primary-100); border-radius: var(--radius); padding: 15px 18px; }
.ds-duo-card h3 { margin: 0 0 3px; font-size: 1rem; color: var(--clr-primary-700); }
.ds-duo-card p { margin: 0; font-size: 0.92rem; color: var(--clr-neutral-600); }
.ds-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; font-weight: 800; color: var(--clr-primary-600); }
.ds-flow span { background: var(--clr-neutral-100); border: 1.5px solid var(--clr-primary-500); padding: 5px 14px; border-radius: var(--radius-pill); font-size: 0.85rem; }
.ds-flow i { font-style: normal; color: var(--clr-secondary-500); }

/* Animated checklist (What We Build) */
.ds-check { list-style: none; margin: 16px 0 4px; padding: 0; }
.ds-check li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 12px;
  font-size: 0.99rem;
  color: var(--clr-neutral-800);
  opacity: 0;
}
.ds-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.08em;
  width: 1.3em; height: 1.3em;
  border-radius: 50%;
  background-color: var(--clr-secondary-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: 62%;
  background-position: center;
  background-repeat: no-repeat;
}
.deck-slide.is-active .ds-check li { animation: dsRise 0.5s cubic-bezier(0.22, 0.71, 0.26, 1) both; animation-delay: var(--d, 0s); }
.deck-slide.is-active .ds-check li::before { animation: dsPop 0.4s ease both; animation-delay: calc(var(--d, 0s) + 0.18s); }

/* Small tick points */
.ds-minis { list-style: none; margin: 18px 0 0; padding: 0; }
.ds-minis li { position: relative; padding-left: 1.9em; margin-bottom: 11px; color: var(--clr-neutral-600); font-size: 0.97rem; }
.ds-minis li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.14em;
  width: 1.22em; height: 1.22em;
  border-radius: 50%;
  background-color: var(--clr-secondary-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: 62%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Standards-gate ring */
.ds-gate-wrap { text-align: center; }
.ds-gate { position: relative; width: 300px; height: 300px; margin-inline: auto; }
.gate-svg { width: 100%; height: 100%; display: block; }
.gate-track { fill: none; stroke: var(--clr-primary-100); stroke-width: 14; }
.gate-fg {
  fill: none;
  stroke: var(--clr-secondary-500);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 502.65;
  stroke-dashoffset: 502.65;
  transform: rotate(-90deg);
  transform-origin: center;
}
.deck-slide.is-active .gate-fg { animation: gateFill 1.9s cubic-bezier(0.3, 0.7, 0.3, 1) 0.35s forwards; }
@keyframes gateFill { to { stroke-dashoffset: 100.53; } }
.gate-tick { stroke: var(--clr-accent-500); stroke-width: 4.5; stroke-linecap: round; }
.gate-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.gate-num { font-size: 3.3rem; font-weight: 800; line-height: 1; color: var(--clr-neutral-800); letter-spacing: -0.02em; }
.gate-of { font-size: 1.25rem; font-weight: 700; color: var(--clr-neutral-500); margin-left: 4px; }
.gate-pass {
  margin-top: 8px;
  background: var(--clr-accent-100);
  color: var(--clr-accent-800);
  border: 1.5px solid var(--clr-accent-500);
  border-radius: var(--radius-pill);
  padding: 3px 13px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.ds-gate-note { margin: 16px auto 0; max-width: 25em; color: var(--clr-neutral-600); font-size: 0.92rem; }

/* Representation steps */
.ds-steps { display: grid; gap: 15px; margin-top: 20px; }
.ds-step { display: flex; gap: 14px; }
.ds-step > span {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--clr-primary-500);
  color: var(--clr-neutral-100);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-step h3 { margin: 0 0 2px; font-size: 1.02rem; }
.ds-step p { margin: 0; color: var(--clr-neutral-600); font-size: 0.93rem; }

/* Matched-list card + approval stamp */
.ds-matchcard {
  position: relative;
  background: var(--clr-neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 24px 26px 62px;
}
.ds-matchcard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ds-matchcard-head h3 { margin: 0; font-size: 1.1rem; }
.ds-matchcard-pill { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--clr-primary-700); background: var(--clr-primary-100); border-radius: var(--radius-pill); padding: 4px 11px; }
.match-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--clr-primary-100); }
.match-row strong { display: block; font-size: 0.95rem; }
.match-row > div span { display: block; color: var(--clr-neutral-500); font-size: 0.82rem; }
.match-tags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.match-tags i { font-style: normal; font-size: 0.66rem; font-weight: 700; color: var(--clr-secondary-700); background: var(--clr-secondary-100); border-radius: var(--radius-pill); padding: 3px 8px; white-space: nowrap; }
.ds-matchcard-note { margin: 12px 0 0; font-size: 0.8rem; color: var(--clr-neutral-500); max-width: 26em; }
.match-stamp {
  position: absolute;
  right: 22px;
  bottom: 18px;
  border: 3px solid var(--clr-secondary-600);
  color: var(--clr-secondary-700);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  transform: rotate(-7deg);
  opacity: 0;
}
.deck-slide.is-active .match-stamp { animation: stampIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.35) 2.05s forwards; }
@keyframes stampIn {
  from { opacity: 0; transform: rotate(3deg) scale(1.7); }
  to { opacity: 1; transform: rotate(-7deg) scale(1); }
}

/* The Pool: big number + dot map */
.ds-bignum { font-size: 4.6rem; font-weight: 800; line-height: 1; color: var(--clr-primary-600); letter-spacing: -0.03em; margin: 0 0 6px; }
.ds-note {
  font-weight: 600;
  color: var(--clr-primary-700);
  background: var(--clr-primary-100);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.92rem;
  max-width: 30em;
}
.ds-map { background: var(--clr-neutral-100); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 18px 18px 8px; }
#deck-map { width: 100%; height: auto; display: block; }
#deck-map .map-dot { fill: var(--clr-primary-200); transition: fill 0.5s ease; }
#deck-map.lit .map-dot.near { fill: var(--clr-primary-500); }
#deck-map .hub-core { fill: var(--clr-secondary-500); }
#deck-map .hub-ring {
  fill: none;
  stroke: var(--clr-secondary-500);
  stroke-width: 1.6;
  opacity: 0.7;
  transform-box: fill-box;
  transform-origin: center;
  animation: hubPulse 2.8s ease-out infinite;
}
@keyframes hubPulse {
  0% { transform: scale(0.6); opacity: 0.85; }
  70% { transform: scale(2.7); opacity: 0; }
  100% { transform: scale(2.7); opacity: 0; }
}
.ds-map-legend { display: flex; gap: 20px; justify-content: center; padding: 8px 0 6px; font-size: 0.78rem; font-weight: 600; color: var(--clr-neutral-600); }
.ds-map-legend .lg { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.lg--hub { background: var(--clr-secondary-500); }
.lg--firm { background: var(--clr-primary-500); }

/* Tracking: device frames + interface mock (drawn from the real app screens) */
.ds-devices { position: relative; min-height: 400px; }
.device { background: var(--clr-neutral-100); border: 1px solid var(--clr-neutral-200); box-shadow: var(--shadow-lift); overflow: hidden; }
.device--laptop { width: 74%; border-radius: 14px; }
.device--phone { position: absolute; right: 0; bottom: -4px; width: 154px; border-radius: 18px; }
.device-bar { display: flex; gap: 6px; align-items: center; background: hsl(240, 6%, 96%); padding: 8px 12px; border-bottom: 1px solid var(--clr-primary-100); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--clr-neutral-300); }
.device-bar span { margin-left: 7px; font-size: 0.7rem; font-weight: 700; color: var(--clr-neutral-500); }
.mock { padding: 13px 15px 15px; font-size: 0.78rem; }
.mock-tabs { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.mock-tabs span { padding: 4px 9px; border: 1px solid var(--clr-neutral-200); border-radius: 5px; font-weight: 600; font-size: 0.68rem; color: var(--clr-neutral-600); }
.mock-tabs span.on { background: var(--clr-primary-600); border-color: transparent; color: var(--clr-neutral-100); }
.mock-banner { background: hsl(140, 45%, 93%); color: hsl(140, 40%, 24%); border-radius: 6px; padding: 7px 10px; font-weight: 600; font-size: 0.73rem; margin: 0 0 6px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--clr-primary-100); }
.mock-row strong { display: block; font-size: 0.77rem; }
.mock-row > div span { display: block; color: var(--clr-neutral-500); font-size: 0.69rem; }
.mock-pills { display: flex; gap: 4px; flex-shrink: 0; }
.mock-pills i { font-style: normal; font-size: 0.62rem; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid var(--clr-neutral-200); color: var(--clr-neutral-400); white-space: nowrap; }
.mock-pills i.done { background: var(--clr-secondary-500); border-color: transparent; color: var(--clr-neutral-100); }
.mock-health { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--clr-primary-100); font-size: 0.71rem; color: var(--clr-neutral-600); }
.mock-health .ok { color: hsl(140, 40%, 27%); font-weight: 700; }
.mock--phone { padding: 13px 12px 14px; }
.mock-title { font-weight: 800; font-size: 0.78rem; margin: 0 0 4px; }
.mock--phone .mock-row { padding: 6px 0; }
.mock--phone .mock-health { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ds-caption { font-size: 0.8rem; color: var(--clr-neutral-500); margin: 16px 0 0; }

/* Marketplace mini rows */
.ds-minirows { display: grid; gap: 11px; margin-top: 20px; }
.ds-minirow { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; background: var(--clr-primary-100); border-radius: var(--radius); padding: 13px 16px; }
.ds-minirow h3 { margin: 0 0 2px; font-size: 0.98rem; }
.ds-minirow p { margin: 0; font-size: 0.87rem; color: var(--clr-neutral-600); }
.ds-tag { flex: 0 0 auto; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--clr-secondary-700); background: var(--clr-neutral-100); border-radius: var(--radius-pill); padding: 4px 10px; }

/* Plans slide */
.ds-plans-head { text-align: center; }
.ds-plans-head .ds-title { margin-bottom: 0; }
.ds-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.ds-plan { background: var(--clr-neutral-100); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 22px 19px; position: relative; display: flex; flex-direction: column; }
.ds-plan--featured {
  outline: 2px solid var(--clr-primary-500);
  background: linear-gradient(180deg, var(--clr-neutral-100) 0%, var(--clr-primary-100) 130%);
  box-shadow: var(--shadow-glow-featured);
}
.ds-plan-name { font-weight: 700; font-size: 1.02rem; color: var(--clr-primary-600); margin: 0 0 4px; }
.ds-plan-price { font-size: 1.14rem; font-weight: 800; margin: 0 0 12px; }
.ds-plan-price small { font-size: 0.76rem; font-weight: 600; color: var(--clr-neutral-500); }
.ds-plan-plus { font-weight: 600; font-size: 0.85rem; color: var(--clr-neutral-600); border-top: 1px solid var(--clr-primary-100); padding-top: 11px; margin: 0 0 9px; }
.ds-plan ul { margin: 0; padding-left: 1.1em; font-size: 0.83rem; color: var(--clr-neutral-600); }
.ds-plan li { margin-bottom: 5px; }
.ds-plans-note { text-align: center; margin: 24px 0 0; font-weight: 600; color: var(--clr-neutral-600); font-size: 0.94rem; }

/* Ask slide */
.ds-ask { background: linear-gradient(135deg, var(--clr-primary-600) 0%, var(--clr-primary-500) 45%, var(--clr-violet-500) 105%, var(--clr-secondary-500) 160%); color: var(--clr-neutral-100); text-align: center; }
.ds-ask-inner { max-width: 42em; margin-inline: auto; }
.ds-ask .ds-eyebrow { background: rgba(255, 255, 255, 0.16); color: var(--clr-neutral-100); }
.ds-ask .ds-title { color: var(--clr-neutral-100); }
.ds-ask .ds-sub { color: var(--clr-primary-100); margin-inline: auto; }
.ds-ask .btn-row { justify-content: center; }
.ds-ask .btn-primary { background: var(--clr-neutral-100); color: var(--clr-primary-600); }
.ds-ask .btn-primary:hover, .ds-ask .btn-primary:focus { background: var(--clr-primary-100); color: var(--clr-primary-700); }
.ds-ask .btn-ghost { background: transparent; border-color: var(--clr-neutral-100); color: var(--clr-neutral-100); }
.ds-ask .btn-ghost:hover, .ds-ask .btn-ghost:focus { background: var(--clr-neutral-100); color: var(--clr-primary-600); }
.ds-ask-note { display: inline-flex; align-items: center; gap: 9px; margin: 32px 0 0; font-weight: 700; color: var(--clr-neutral-100); }
.ds-ask-note .brand-mark { width: 27px; height: 27px; font-size: 0.78rem; background: var(--clr-neutral-100); color: var(--clr-primary-600); border-radius: 7px; }

/* Deck responsive */
@media (max-width: 1020px) {
  .deck-slide { padding: 30px 40px; }
  .ds-title { font-size: 1.7rem; }
  .ds-title--xl { font-size: 2.15rem; }
  .ds-gate { width: 250px; height: 250px; }
  .gate-num { font-size: 2.7rem; }
  .ds-plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .deck { margin-top: 30px; }
  .deck-chrome-note { display: none; }
  /* Leg 3: the stage grows to fit whichever slide is active (the
     active slide joins normal flow; the rest stay stacked/hidden),
     so no slide hides content behind an internal scroll area —
     every slide reads by ordinary page scrolling. */
  .deck-stage { aspect-ratio: auto; height: auto; }
  .deck-slide { padding: 26px 54px 32px; justify-content: flex-start; overflow: hidden; }
  .deck-slide.is-active { position: relative; }
  .ds-split, .ds-split--even, .ds-split--map, .ds-split--devices { grid-template-columns: 1fr; gap: 22px; height: auto; }
  .ds-photo { max-height: 185px; }
  .ds-title--xl { font-size: 1.95rem; }
  .ds-bignum { font-size: 3.3rem; }
  /* Leg 3: deck controls meet the 44px touch-target size. */
  .deck-arrow { width: 44px; height: 44px; }
  .deck-arrow--prev { left: 6px; }
  .deck-arrow--next { right: 6px; }
  .deck-toggle { width: 44px; height: 44px; }
  /* Dots keep their 9px visual (drawn by ::before) but gain a
     26 x 44px finger-sized hit box. */
  .deck-dot {
    width: 26px; height: 44px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .deck-dot::before {
    content: "";
    width: 9px; height: 9px;
    border-radius: var(--radius-pill);
    background: var(--clr-primary-200);
    transition: all 0.25s ease-in-out;
  }
  .deck-dot:hover { background: transparent; }
  .deck-dot:hover::before { background: var(--clr-primary-300); }
  .deck-dot[aria-selected="true"] { width: 26px; background: transparent; }
  .deck-dot[aria-selected="true"]::before { width: 26px; background: var(--clr-primary-500); }
  .ds-devices { min-height: 0; }
  .device--laptop { width: 100%; }
  .device--phone { position: relative; right: auto; bottom: auto; margin: 14px 0 0 auto; }
  .ds-plans { grid-template-columns: 1fr; }
  .ds-plan { padding: 18px 16px; }
  .mock { padding: 10px 12px 12px; }
  .ds-gate { width: 225px; height: 225px; }
}

/* Leg 3: narrowest phones — a little more content room per line */
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .deck-slide { padding: 24px 48px 30px; }
  .deck-arrow--prev { left: 2px; }
  .deck-arrow--next { right: 2px; }
  .audience-card { padding: 24px 18px 28px; }
  .card { padding: 24px 22px; }
  .stage-block { padding: 26px 22px; }
  .standard-strip { padding: 22px; }
}

/* Deck reduced motion: everything settled, no autoplay (JS also off) */
@media (prefers-reduced-motion: reduce) {
  .deck-slide { transition: none; }
  .deck-slide .anim, .ds-check li { animation: none !important; opacity: 1 !important; }
  .deck-slide.is-active .gate-fg { animation: none; stroke-dashoffset: 100.53; }
  .match-stamp { animation: none !important; opacity: 1 !important; }
  #deck-map .hub-ring { animation: none; }
  #deck-map .map-dot { transition: none; }
}

/* ============================================================
   LEG 4 (2026-11-11) — vibrancy + conversion upgrade, appended
   last so it can override safely. Built from the achievement
   audit: app/validation/design-rebuild-leg4/AUDIT.md.
   ============================================================ */

/* LEG 4: once revealed, restore component-fast transitions so
   hover lifts feel immediate (0.25s), not reveal-paced (0.65s).
   site.js adds .reveal-done when the reveal transition ends. */
.reveal-ready [data-reveal].reveal-done {
  transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

/* Reveal delays (stagger inside a grid) */
[data-reveal="1"] { --reveal-delay: 0.08s; }
[data-reveal="2"] { --reveal-delay: 0.16s; }
[data-reveal="3"] { --reveal-delay: 0.24s; }

/* Plans page: the card ladder replaces the table on wide screens.
   The table itself stays in the DOM (screen-reader order + the
   Leg-3 stacked-card mobile layout, which targets it): visually
   it is exchanged for the homepage ladder above 760px. */
.plan-cards { display: none; }
@media (min-width: 761px) {
  .plans-table { display: none; }
  .plan-cards { display: grid; }
}
/* Mobile refinement of the Leg 3 table cards: each plan's card
   gains its purpose-coloured top edge. */
@media (max-width: 760px) {
  .plans-table tbody tr { border-top: 4px solid var(--clr-primary-500); }
  .plans-table tbody tr:nth-child(2) { border-top-color: var(--clr-coral-500); }
  .plans-table tbody tr:nth-child(3) { border-top-color: var(--clr-violet-500); }
  .plans-table tbody tr:nth-child(4) { border-top-color: var(--clr-accent-500); }
}

/* FAQ items: gentle lift when opened/hovered */
.faq-item { transition: box-shadow 0.25s ease, translate 0.25s ease, transform 0.25s ease; }
.faq-item:hover { box-shadow: var(--shadow-lift); translate: 0 -2px; }
.faq-item summary { transition: color 0.2s ease; }
.faq-item summary:hover { color: var(--clr-primary-600); }

/* Signup page: the account-creation row is the page's hero moment */
.signup-cta {
  background: linear-gradient(135deg, var(--clr-primary-600) 0%, var(--clr-primary-500) 50%, var(--clr-violet-500) 125%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 34px 36px;
  margin-top: 40px;
  color: var(--clr-neutral-100);
  text-align: center;
}
.signup-cta h2 { color: var(--clr-neutral-100); font-size: 1.8rem; margin-bottom: 8px; }
.signup-cta p { color: var(--clr-primary-100); max-width: 38em; margin-inline: auto; }
.signup-cta .btn-row { justify-content: center; margin-top: 22px; }
.signup-cta .btn-primary { background: var(--clr-neutral-100); color: var(--clr-primary-600); }
.signup-cta .btn-primary:hover, .signup-cta .btn-primary:focus { background: var(--clr-primary-100); color: var(--clr-primary-700); }
.signup-cta .btn-ghost { background: transparent; border-color: var(--clr-neutral-100); color: var(--clr-neutral-100); }
.signup-cta .btn-ghost:hover, .signup-cta .btn-ghost:focus { background: var(--clr-neutral-100); color: var(--clr-primary-600); }
.signup-cta .fine-print { color: var(--clr-primary-100); margin: 16px auto 0; }
.signup-cta .fine-print a { color: var(--clr-neutral-100); }
@media (max-width: 760px) { .signup-cta { padding: 28px 22px; } }

/* ---------- LEG 4: mobile readability pass (2026-11-16) ----------
   Driven by the 2026-11-15 phone audit (390x844): 55 text elements
   under 13px, header stacked to 164px in three rows, light-grey
   labels washing out. Rules below are mobile-only; the desktop
   design Ron accepted is untouched. */

/* Sign-in link that lives in the nav row on phones only (the header
   ghost button hides there so brand + primary CTA share one row). */
.nav-signin { display: none; }

@media (max-width: 760px) {
  /* --- no text under 13px: floor every small label/caption class --- */
  .card .card-step, .plan-badge, .sample-pill, .deck-chrome-note,
  .deck-toggle, .ds-eyebrow, .ds-pill, .ds-pill--label, .gate-pass,
  .ds-matchcard-pill, .ds-matchcard-note, .ds-caption, .ds-tag,
  .ds-map-legend, .mock, .mock-tabs span, .mock-banner, .mock-health,
  .mock-title, .mock-row strong, .mock-row > div span, .mock-pills i,
  .match-tags i, .device-bar span, .ds-plan-price small,
  .plans-table td:nth-of-type(2)::before,
  .plans-table td:nth-of-type(3)::before { font-size: 0.8125rem; }

  /* --- stronger contrast for the floored grey labels --- */
  .deck-chrome-note, .ds-caption, .ds-matchcard-note,
  .mock-banner, .device-bar span { color: var(--clr-neutral-700); }
  .site-footer .fine-print { color: var(--clr-neutral-700); }

  /* --- compact two-row header: brand + primary CTA, then the nav --- */
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; row-gap: 4px; gap: 12px; }
  .brand { font-size: 1.15rem; min-height: 44px; }
  .brand-mark, .ds-wordmark .brand-mark, .ds-ask-note .brand-mark {
    width: 32px; height: 32px; font-size: 0.8125rem;
  }
  .site-header .brand-mark { width: 32px; height: 32px; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { font-size: 0.88rem; padding: 0.55em 0.85em; min-height: 44px; }
  .nav-signin { display: block; }

  /* --- footer links: true 44px tap height --- */
  .footer-links a, .footer-bottom a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
}

/* --- Language switcher (globe dropdown, added 2026-11-16) --- */
.lang-switch { position: relative; margin-inline-start: 4px; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0.55em 0.8em;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-neutral-800, #333);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.14);
  user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { background: rgba(0, 0, 0, 0.04); }
.lang-switch .lang-globe { font-size: 1.05rem; line-height: 1; }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  z-index: 60;
}
.lang-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5em 0.75em;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--clr-neutral-800, #333);
  text-decoration: none;
  white-space: nowrap;
}
.lang-menu a:hover { background: rgba(0, 0, 0, 0.05); }
.lang-menu a.lang-current { font-weight: 700; }
@media (max-width: 760px) {
  /* Share the nav row instead of taking a third header row: the nav keeps
     its internal sideways scroll, the globe pill sits at the row's end, and
     the menu opens from the screen edge so it never runs off-canvas. */
  .site-nav { order: 3; flex: 0 1 auto; width: calc(100% - 112px); min-width: 0; }
  .lang-switch { order: 3; margin-inline-start: 0; }
  .lang-switch summary { min-height: 44px; padding: 0.5em 0.65em; font-size: 0.85rem; }
  .lang-menu { min-width: 156px; }
}
