/* CoachBoost marketing site — shared styles.
   Tokens mirror the app theme (context/theme.md): primary #0B1F3A, secondary #4EA5D9. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F3A;          /* app primary */
  --navy-deep: #071528;     /* hero / footer ground */
  --navy-line: #1C3657;     /* rules on navy */
  --carolina: #4EA5D9;      /* app secondary: accent + CTA on dark */
  --carolina-ink: #1F6FA8;  /* Carolina for text/links on light (AA) */
  --carolina-wash: #E8F3FA;
  --paper: #F7F6F3;         /* warm off-white sections */
  --white: #FFFFFF;
  --ink: #101828;           /* app primaryText */
  --ink-2: #475467;
  --ink-3: #667085;         /* app secondaryText */
  --rule: #DFE3E8;
  --on-navy: #C9D6E6;
  --on-navy-2: #93A8C2;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--carolina-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; color: inherit; }
::selection { background: var(--carolina); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--carolina);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display {
  font-stretch: 72%;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 0.92;
}
.h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-stretch: 76%;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 0.98;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-stretch: 85%;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.small { font-size: 15px; color: var(--ink-3); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 650; color: var(--carolina-ink);
  margin-bottom: 18px;
}
.on-navy .kicker { color: var(--carolina); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #12305a; color: #fff; }
.btn-accent { background: var(--carolina); color: var(--navy); }
.btn-accent:hover { background: #6DB8E4; color: var(--navy); }
.btn-ghost { border-color: var(--rule); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.on-navy .btn-ghost { border-color: #3A5577; color: #fff; }
.on-navy .btn-ghost:hover { border-color: var(--carolina); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 30px; height: 36px; }
.brand span { font-size: 21px; font-weight: 750; letter-spacing: -0.01em; font-stretch: 95%; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px;
}
.nav-links a:hover { background: var(--paper); color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--carolina-ink); }
.nav .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--rule); background: #fff; color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-panel { display: none; }

@media (max-width: 820px) {
  .nav-links, .nav .btn-header { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-panel[data-open="true"] {
    display: block; border-top: 1px solid var(--rule); background: #fff;
    padding: 12px 0 20px;
  }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; }
  .mobile-panel li a {
    display: block; padding: 14px 4px; font-size: 19px; font-weight: 650;
    color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--rule);
  }
  .mobile-panel .btn { width: 100%; margin-top: 18px; }
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative;
  width: var(--pw, 300px);
  aspect-ratio: 1125 / 2436;
  padding: 9px;
  border-radius: calc(var(--pw, 300px) * 0.15);
  background: linear-gradient(160deg, #1D3D66 0%, #0E2747 55%, #0A1E39 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 30px 60px -20px rgba(4, 14, 30, .55),
    0 12px 24px -12px rgba(4, 14, 30, .35);
  flex: none;
}
.phone img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: calc(var(--pw, 300px) * 0.125);
  background: #F2F4F7;
}
.on-light .phone { box-shadow: 0 0 0 1px rgba(11,31,58,.08), 0 28px 50px -24px rgba(11,31,58,.45); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.hero .court {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; color: var(--carolina); opacity: .16;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px; align-items: center;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hero h1 { font-size: clamp(64px, 10.5vw, 150px); }
.hero h1 .line { display: block; }
.hero .lede { color: var(--on-navy); margin-top: 26px; }
.hero .who { color: var(--carolina); font-weight: 650; font-size: 17px; margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fineprint { margin-top: 18px; font-size: 15px; color: var(--on-navy-2); }

.stack {
  position: relative; height: clamp(520px, 52vw, 660px);
  display: flex; justify-content: center; align-items: flex-start;
}
.stack .phone { position: absolute; }
.stack .p-main { --pw: clamp(250px, 23vw, 300px); left: 50%; transform: translateX(-50%); top: 0; z-index: 3; }
.stack .p-left { --pw: clamp(190px, 17vw, 232px); left: 0; top: 70px; z-index: 2; }
.stack .p-right { --pw: clamp(190px, 17vw, 232px); right: 0; top: 130px; z-index: 1; }
.stack .p-left, .stack .p-right { filter: saturate(.9); }

@media (prefers-reduced-motion: no-preference) {
  .stack .phone { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .stack .p-left { animation-delay: .12s; }
  .stack .p-right { animation-delay: .22s; }
  .stack .p-main { animation-name: rise-center; }
  @keyframes rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
  @keyframes rise-center { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
}

/* Loop strip: the six daily coaching questions */
.loop { position: relative; border-top: 1px solid var(--navy-line); background: rgba(11,31,58,.6); }
.loop ol {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.loop li { border-left: 1px solid var(--navy-line); }
.loop li:first-child { border-left: 0; }
.loop a {
  display: block; height: 100%; padding: 22px 18px 24px;
  color: #fff; text-decoration: none;
}
.loop a:hover { background: rgba(78,165,217,.08); }
.loop .n { color: var(--carolina); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.loop .t { display: block; font-size: 20px; font-weight: 750; font-stretch: 85%; margin-top: 4px; }
.loop .q { display: block; color: var(--on-navy-2); font-size: 15px; line-height: 1.4; margin-top: 6px; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .stack { height: clamp(460px, 108vw, 620px); max-width: 640px; width: 100%; margin: 0 auto; }
  .loop ol { grid-template-columns: repeat(3, 1fr); }
  .loop li:nth-child(4) { border-left: 0; }
  .loop li:nth-child(n+4) { border-top: 1px solid var(--navy-line); }
}
@media (max-width: 560px) {
  .stack { height: auto; aspect-ratio: 0.82; }
  .stack .p-main { --pw: 56vw; }
  .stack .p-left, .stack .p-right { --pw: 40vw; }
  .stack .p-left { left: -2vw; top: 14%; }
  .stack .p-right { right: -2vw; top: 22%; }
  .loop ol { grid-template-columns: 1fr 1fr; }
  .loop li { border-left: 0; }
  .loop li:nth-child(even) { border-left: 1px solid var(--navy-line); }
  .loop li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .loop a { padding: 16px 14px 18px; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .lede { color: var(--on-navy); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin-top: 20px; }

/* Problem */
.problem { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.scatter { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.scatter li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.scatter .what { font-weight: 750; font-size: 20px; font-stretch: 88%; color: var(--navy); }
.scatter .where { color: var(--ink-3); }
.resolve {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--r-md);
  background: var(--navy); color: #fff; font-size: 19px; line-height: 1.45; font-weight: 550;
}
.resolve strong { color: var(--carolina); font-weight: 750; }
@media (max-width: 900px) { .problem { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .scatter li { grid-template-columns: 1fr; gap: 2px; } }

/* Story rows: text + product */
.story {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.story + .story { margin-top: clamp(80px, 10vw, 140px); }
.story.flip .story-text { order: 2; }
.story-text { max-width: 540px; }
.story-text .h2 { margin-bottom: 22px; }
.step-tag { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.step-tag .num {
  font-size: 15px; font-weight: 750; color: #fff; background: var(--navy);
  border-radius: 999px; padding: 3px 11px; font-variant-numeric: tabular-nums;
}
.section-navy .step-tag .num { background: var(--carolina); color: var(--navy); }
.step-tag .name { font-weight: 700; color: var(--carolina-ink); font-size: 16px; }
.section-navy .step-tag .name { color: var(--carolina); }

.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.points li { position: relative; padding-left: 28px; color: var(--ink-2); }
.points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px; border-left: 2.5px solid var(--carolina); border-bottom: 2.5px solid var(--carolina);
  transform: rotate(-45deg) translateY(-3px);
}
.points li strong { color: var(--ink); font-weight: 700; }
.section-navy .points li { color: var(--on-navy); }
.section-navy .points li strong { color: #fff; }
.note { margin-top: 20px; font-size: 14.5px; color: var(--ink-3); }
.section-navy .note { color: var(--on-navy-2); }

.shots { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 2.4vw, 32px); }
.shots .phone { --pw: clamp(230px, 22vw, 290px); }
.shots .phone.sm { --pw: clamp(200px, 18vw, 240px); margin-top: 64px; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); text-align: center; max-width: var(--pw, 260px); }
.section-navy .shots figcaption { color: var(--on-navy-2); }

@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story.flip .story-text { order: 0; }
  .story-text { max-width: none; }
}
@media (max-width: 560px) {
  .shots { gap: 12px; }
  /* One legible screen per story on phones: drop the secondary capture. */
  .shots .phone { --pw: min(72vw, 300px); }
  .shots .phone.sm { display: none; }
}

/* Practice: two-beat block */
.beat { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--rule); }
.beat .h3 { margin-bottom: 10px; color: var(--navy); }

/* Ownership band */
.own-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; counter-reset: own; border-top: 1px solid var(--navy-line); }
.own-steps li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); }
.own-steps .who { font-weight: 800; font-stretch: 80%; font-size: 22px; color: var(--carolina); line-height: 1.2; }
.own-steps p { margin: 0; color: var(--on-navy); }
@media (max-width: 480px) { .own-steps li { grid-template-columns: 1fr; gap: 4px; } }

/* Operations grid */
.ops { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.ops div { padding: 24px 20px 26px 0; border-bottom: 1px solid var(--rule); }
.ops div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.ops div:nth-child(5n+1) { border-left: 0; padding-left: 0; }
.ops svg { width: 26px; height: 26px; color: var(--carolina-ink); margin-bottom: 12px; }
.ops h3 { font-size: 18px; font-weight: 750; font-stretch: 90%; color: var(--navy); margin-bottom: 6px; line-height: 1.2; }
.ops p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 1020px) {
  .ops { grid-template-columns: repeat(2, 1fr); }
  .ops div, .ops div + div { padding: 22px 16px 22px 0; border-left: 0; }
  .ops div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
}
@media (max-width: 420px) {
  .ops { grid-template-columns: 1fr; }
  .ops div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); background: #fff; }
.role { padding: clamp(24px, 3vw, 40px); }
.role + .role { border-left: 1px solid var(--rule); }
.role h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 850; font-stretch: 74%; color: var(--navy); }
.role .verbs { margin: 10px 0 16px; font-weight: 700; color: var(--carolina-ink); font-size: 17px; line-height: 1.4; }
.role p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 820px) {
  .roles { grid-template-columns: 1fr; }
  .role + .role { border-left: 0; border-top: 1px solid var(--rule); }
}

/* Pricing teaser + plan */
.price-band {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center;
}
.plan {
  background: #fff; color: var(--ink); border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -36px rgba(11,31,58,.5);
}
.section-navy .plan { border-color: transparent; }
.plan-name { font-weight: 750; color: var(--carolina-ink); font-size: 17px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; }
.plan-price .amt { font-size: clamp(56px, 6vw, 76px); font-weight: 850; font-stretch: 72%; line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.plan-price .per { font-size: 18px; color: var(--ink-3); font-weight: 600; }
.plan-alt { color: var(--ink-2); margin: 0 0 18px; }
.plan-alt strong { color: var(--navy); }
.plan .points { margin-top: 18px; }
.plan .btn { width: 100%; margin-top: 26px; }
.plan .fine { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }
@media (max-width: 900px) { .price-band { grid-template-columns: 1fr; } }

/* Get the app */
.get { text-align: left; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 22px 10px 18px; border-radius: 14px;
  background: #fff; color: var(--navy); text-decoration: none;
  border: 2px solid #fff;
}
.store:hover { background: var(--carolina-wash); color: var(--navy); border-color: var(--carolina-wash); }
.store svg { width: 26px; height: 26px; flex: none; }
.store .s1 { display: block; font-size: 12.5px; font-weight: 550; line-height: 1.1; color: var(--ink-2); }
.store .s2 { display: block; font-size: 19px; font-weight: 750; line-height: 1.15; }
.on-light .store { background: var(--navy); color: #fff; border-color: var(--navy); }
.on-light .store .s1 { color: var(--on-navy); }
.on-light .store:hover { background: #12305a; color: #fff; }

.final {
  position: relative; overflow: hidden; background: var(--navy-deep); color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
}
.final .court { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--carolina); opacity: .14; pointer-events: none; }
.final .wrap { position: relative; }
.final .display { font-size: clamp(54px, 8vw, 112px); max-width: 11ch; }
.final .lede { color: var(--on-navy); margin-top: 22px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.page-hero .court { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--carolina); opacity: .12; pointer-events: none; }
.page-hero .wrap { position: relative; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(48px, 7vw, 96px); max-width: 14ch; }
.page-hero .lede { color: var(--on-navy); margin-top: 22px; }

/* ---------- Features page ---------- */
.fgroup { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.fgroup:first-of-type { border-top: 0; }
.fgroup-head { position: sticky; top: 96px; align-self: start; }
.fgroup-head .h2 { font-size: clamp(40px, 4.4vw, 60px); color: var(--navy); }
.fgroup-head p { margin-top: 12px; color: var(--ink-3); }
.flead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: start; }
.flead .phone { --pw: clamp(210px, 19vw, 250px); }
.flead .h3 { color: var(--navy); margin-bottom: 12px; font-size: clamp(26px, 2.6vw, 34px); }
.flist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 36px; border-top: 1px solid var(--rule); }
.flist div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.flist h4 { font-size: 18px; font-weight: 750; font-stretch: 90%; color: var(--navy); margin-bottom: 4px; line-height: 1.25; }
.flist p { margin: 0; font-size: 15.5px; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 900px) {
  .fgroup { grid-template-columns: 1fr; }
  .fgroup-head { position: static; }
}
@media (max-width: 640px) {
  .flead { grid-template-columns: 1fr; }
  .flead .phone { --pw: 62vw; margin: 0 auto; }
  .flist { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 19px; color: var(--navy); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--carolina-ink); border-bottom: 2.5px solid var(--carolina-ink);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- Support ---------- */
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--rule);
}
.contact-card .addr { font-size: clamp(22px, 3vw, 32px); font-weight: 800; font-stretch: 82%; color: var(--navy); word-break: break-word; }
@media (max-width: 700px) { .contact-card { grid-template-columns: 1fr; } }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 4vw, 56px); margin-top: 56px; }
.help-grid section { padding: 28px 0; border-top: 2px solid var(--navy); }
.help-grid h2 { font-size: 26px; font-weight: 800; font-stretch: 82%; color: var(--navy); margin-bottom: 14px; }
.help-grid ul { padding-left: 20px; margin: 0; color: var(--ink-2); }
.help-grid li { margin-bottom: 10px; }
@media (max-width: 760px) { .help-grid { grid-template-columns: 1fr; } }

/* ---------- Legal / prose ---------- */
.prose-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 120px); }
.toc { position: sticky; top: 96px; align-self: start; font-size: 15px; }
.toc p { font-weight: 750; color: var(--navy); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; color: var(--ink-3); }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--carolina-ink); text-decoration: underline; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; font-stretch: 84%; color: var(--navy); margin: 48px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 750; color: var(--navy); margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose li strong, .prose p strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); }
.prose th { color: var(--navy); font-weight: 750; border-bottom: 2px solid var(--navy); }
.prose td:first-child { font-weight: 650; color: var(--ink); white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.meta { color: var(--on-navy-2); margin-top: 18px; font-size: 15px; }
.callout {
  border-left: 4px solid var(--carolina); background: var(--carolina-wash);
  padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 20px 0; color: var(--ink);
}
@media (max-width: 900px) {
  .prose-wrap { grid-template-columns: 1fr; }
  .toc { position: static; background: var(--paper); padding: 18px 20px; border-radius: var(--r-md); }
}
@media (max-width: 560px) { .prose td:first-child { white-space: normal; } }

/* ---------- Delete-account request ---------- */
.two-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 8px 0 36px; }
.path { border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px; background: #fff; }
.path h2 { margin-top: 0 !important; }
.path ol { margin-bottom: 0; }
@media (max-width: 760px) { .two-paths { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; max-width: 560px; margin-top: 8px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field .hint { display: block; font-size: 14px; color: var(--ink-3); margin: -2px 0 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #C5CDD8; border-radius: 10px; background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--carolina); outline-offset: 1px; border-color: var(--navy); }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.form-error { color: #B42318; font-weight: 600; margin: 0; }
.form-done { display: none; background: var(--carolina-wash); border-radius: var(--r-md); padding: 18px 20px; color: var(--ink); }
.form-done[data-show="true"] { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 64px 0 36px; font-size: 15.5px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .brand { color: #fff; }
.foot .brand .tile { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.foot .brand .tile img { width: 25px; height: 30px; }
.foot-about { margin-top: 16px; max-width: 34ch; color: var(--on-navy-2); }
.foot h2 { font-size: 15px; font-weight: 750; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 10px; }
.foot a { color: var(--on-navy); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--on-navy-2); font-size: 14px; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* Utilities and variants */
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.own-steps.light, .own-steps.light li { border-color: var(--rule); }
.own-steps.light .who { color: var(--carolina-ink); }
.own-steps.light p { color: var(--ink-2); }
.section-navy .plan .points li { color: var(--ink-2); }
.section-navy .plan .points li strong { color: var(--ink); }
.ops-intro { margin-bottom: clamp(48px, 6vw, 80px); }
.price-band .lede { margin-top: 20px; }

/* ---------- Development Loop kit ---------- */
.kit-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.kit-who { color: var(--carolina); font-weight: 650; margin-bottom: 18px; }
.page-hero h1.kit-h1 { font-size: clamp(44px, 6vw, 84px); max-width: 13ch; }
.kit-hero-art img { width: min(380px, 100%); margin: 0 auto; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(2deg); }
.kit-form { margin-top: 28px; background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 18px 18px 8px; max-width: 520px; min-height: 120px; }
.kit-form-label { font-weight: 750; color: var(--navy); margin: 0 0 6px; }
.kit-form iframe { width: 100% !important; max-width: 100%; border: 0; }
@media (max-width: 900px) { .kit-hero { grid-template-columns: minmax(0, 1fr); } .kit-hero-art img { width: min(300px, 70vw); } }

.kit-tools { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.kit-tools img { width: 100%; border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 18px 36px -24px rgba(11,31,58,.45); margin-bottom: 16px; }
.kit-tools h3 { font-size: 19px; font-weight: 750; font-stretch: 88%; color: var(--navy); margin-bottom: 6px; }
.kit-tools p { margin: 0; color: var(--ink-3); font-size: 15.5px; }
@media (max-width: 900px) { .kit-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.kit-cta-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.kit-cta-card .h3 { color: var(--navy); margin-bottom: 10px; }
.kit-cta-card p { color: var(--ink-2); }

.kit-teaser { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--rule); }
.kit-teaser-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; max-width: 900px; }
.kit-teaser-title { color: var(--navy); margin-bottom: 12px; font-size: clamp(26px, 3vw, 34px); }
.kit-teaser p { color: var(--ink-2); max-width: 56ch; }
.kit-cover img { width: 220px; border-radius: 6px; border: 1px solid var(--rule); box-shadow: 0 24px 40px -24px rgba(11,31,58,.5); transform: rotate(-2deg); }
@media (max-width: 600px) { .kit-teaser-grid { grid-template-columns: minmax(0, 1fr); } .kit-cover img { width: 160px; } }

/* ---------- Email signup (notify me / free kit) ---------- */
.signup-wrap { margin-top: 28px; max-width: 560px; }
.signup-row { display: flex; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 12px 18px;
  font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  border: 2px solid var(--rule); border-radius: 999px;
}
.signup input[type="email"]::placeholder { color: var(--ink-3); }
.signup input[type="email"]:focus { outline: 3px solid var(--carolina); outline-offset: 1px; border-color: var(--carolina); }
.signup .btn { flex: none; white-space: nowrap; min-height: 52px; }
.signup .btn:disabled { opacity: .65; cursor: progress; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-note { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--on-navy-2); }
.signup-note a { color: inherit; }
.signup-msg { margin: 10px 0 0; min-height: 1.4em; font-size: 15px; color: var(--on-navy); }
.signup-msg.is-error { color: #FFB4A8; }
.signup-alt { margin: 14px 0 0; font-size: 16px; }
.on-navy .signup-alt a { color: #fff; font-weight: 650; }
.on-navy .signup-alt a:hover { color: var(--carolina); }
.signup-done { margin: 0; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.08); color: #fff; font-size: 17px; line-height: 1.5; }
.signup-done a { color: var(--carolina); }
/* Kit page: the form sits on a white card */
.kit-form .signup-note { color: var(--ink-3); }
.kit-form .signup-msg { color: var(--ink-2); }
.kit-form .signup-msg.is-error { color: #B42318; }
.kit-form .signup-row { flex-direction: column; }
.kit-form .signup .btn { width: 100%; }
.kit-form .signup input[type="email"] { border-radius: var(--r-sm); }
.kit-form .signup .btn { border-radius: var(--r-sm); }
.kit-form-title { font-weight: 750; font-size: 20px; color: var(--navy); margin: 0 0 12px; }
@media (max-width: 560px) {
  .signup-row { flex-direction: column; }
  .signup .btn { width: 100%; }
}

/* ---------- Try it (sample team) ---------- */
.nav-links a.nav-try { color: var(--carolina-ink); }
.nav-login { color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav-login:hover { color: var(--carolina-ink); text-decoration: underline; }
@media (max-width: 820px) { .nav .nav-login { display: none; } }
.hero-try-note { margin-top: 12px; font-size: 15px; color: var(--on-navy-2); }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.try-note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.browser { display: block; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--rule); box-shadow: 0 24px 60px rgba(11,31,58,.16), 0 4px 14px rgba(11,31,58,.08); text-decoration: none; transition: transform .2s ease; }
.browser:hover { transform: translateY(-3px); }
.browser img { display: block; width: 100%; height: auto; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #EEF1F5; border-bottom: 1px solid var(--rule); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3DE; }
.browser-url { margin-left: 10px; flex: 1; max-width: 300px; font-size: 12.5px; color: var(--ink-2); background: #fff; border-radius: 999px; padding: 3px 12px; }
@media (max-width: 900px) { .try-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .browser { transition: none; } .browser:hover { transform: none; } }
