/* ==========================================================================
   IceBreaker Performance — shared stylesheet
   Colors come from the logo: deep navy, ice blue, ice white, seam red.
   ========================================================================== */

@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #04121c;
  --bg-2: #071a27;
  --surface: #0c2434;
  --surface-2: #113046;
  --line: rgba(160, 225, 245, 0.14);
  --text: #f2f8fb;
  --muted: #a9bfcc;
  --ice: #14c3ec;
  --ice-hover: #5fd8f5;
  --ice-soft: rgba(20, 195, 236, 0.12);
  --red: #ff5a4e;
  --green: #34d399;
  --on-ice: #04121c;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --gutter: 20px;
  --max: 1160px;
  --section: clamp(64px, 10vw, 120px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice); text-underline-offset: 3px; }
a:hover { color: var(--ice-hover); }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 10vw, 5.4rem); }
h2 { font-size: clamp(2rem, 6.5vw, 3.4rem); }
h3, .h3 { font-size: clamp(1.3rem, 4vw, 1.6rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ice); color: var(--on-ice); padding: 10px 16px; border-radius: 6px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-2); }
.center { text-align: center; }
.center .lead, .center .section-intro { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.1rem, 3.4vw, 1.3rem); color: var(--muted); max-width: 640px; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.accent { color: var(--ice); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border: 2px solid var(--ice);
  border-radius: 8px;
  background: var(--ice);
  color: var(--on-ice);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(20, 195, 236, 0.6);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--ice-hover); border-color: var(--ice-hover); color: var(--on-ice); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: none; border-color: rgba(242, 248, 251, 0.4); }
.btn-ghost:hover { background: rgba(242, 248, 251, 0.08); color: var(--text); border-color: var(--text); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; font-family: var(--font-body); font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 18, 28, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: auto; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
}
.brand-name small { display: block; font-size: 0.62em; font-weight: 500; letter-spacing: 0.28em; color: var(--ice); margin-top: 3px; }
.brand:hover { color: var(--text); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--text); cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s ease;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--line);
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.site-nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.site-nav a[aria-current="page"] { color: var(--ice); }
.site-nav a:hover { color: var(--ice); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; margin-right: 8px; }
  .site-nav ul { display: flex; gap: 30px; padding: 0; }
  .site-nav a { border: 0; padding: 6px 0; font-size: 1.02rem; position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ice);
    transform: scaleX(0); transition: transform 0.2s ease;
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .brand img { width: 54px; }
}

/* Funnel header: logo only, no links */
.funnel-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.funnel-header .header-inner { justify-content: center; }
.funnel-header .brand { margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 28, 0) 55%, rgba(4, 18, 28, 0.8) 88%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 0 64px; margin-top: -56px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { display: block; }
.hero .lead { color: #d3e2ea; margin-bottom: 30px; }
.hero .btn-row .btn { flex: 1 1 220px; }

@media (min-width: 900px) {
  .hero { min-height: min(88vh, 820px); display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0; z-index: -1; }
  .hero-media img { object-position: 80% 30%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(4, 18, 28, 0.92) 30%, rgba(4, 18, 28, 0.35) 62%, rgba(4, 18, 28, 0.1) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(4, 18, 28, 0) 25%);
  }
  .hero-content { margin-top: 0; padding: 100px 0; max-width: 640px; }
  .hero .btn-row .btn { flex: 0 0 auto; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; padding: clamp(56px, 10vw, 110px) 0 clamp(40px, 7vw, 70px);
  background:
    radial-gradient(ellipse 70% 90% at 85% 0%, rgba(20, 195, 236, 0.16), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 8.5vw, 4.6rem); }

/* Ice-shard divider */
.shard-top { position: relative; }
.shard-top::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 28px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 20%, 74% 100%, 60% 30%, 38% 90%, 20% 25%, 0 70%);
  opacity: 1;
}

/* ---------- Proof bar ---------- */
.proof-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.proof-list {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.proof-list li { display: flex; align-items: baseline; gap: 12px; }
.proof-list strong {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--ice); line-height: 1; min-width: 72px;
}
.proof-list span { color: var(--muted); font-size: 0.98rem; line-height: 1.35; }
@media (min-width: 760px) {
  .proof-list { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 28px 0; }
  .proof-list li { flex-direction: column; gap: 6px; }
}
@media (min-width: 1000px) { .proof-list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- About / split ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split.reverse > :first-child { order: 2; }
}
.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.photo-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.photo-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  background: var(--ice); color: var(--on-ice);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem;
  padding: 6px 12px; border-radius: 6px;
}
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ice-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314c3ec' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list.is-green li::before {
  background: rgba(52, 211, 153, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.x-list li::before {
  background: rgba(255, 90, 78, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a4e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Results cards ---------- */
.results-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .results-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.result-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 0;
}
.result-card .result-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.result-card .result-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.4s ease; }
.result-card:hover .result-photo img { transform: scale(1.03); }
.result-photo.has-video .result-play {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 0 0 34px; border: 0; background: rgba(4, 18, 28, 0.15); color: var(--text); cursor: pointer;
}
.result-play:hover { background: rgba(4, 18, 28, 0); }
.result-play-icon {
  position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--ice);
  box-shadow: 0 0 0 8px rgba(20, 195, 236, 0.25), 0 10px 30px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease;
}
.result-play-icon::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--on-ice);
}
.result-play:hover .result-play-icon { transform: scale(1.08); }
.result-play-label {
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(4, 18, 28, 0.78); padding: 5px 12px; border-radius: 6px;
}
.result-photo.is-playing { background: #000; }
.result-photo.is-playing::after { display: none; }
.result-photo video, .result-photo iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.result-photo.is-playing + .result-body { margin-top: 16px; }
.result-card .result-photo::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 36, 52, 0.9));
}
.result-body { padding: 0 22px 24px; margin-top: -30px; position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.result-velo {
  font-family: var(--font-display); font-weight: 700; line-height: 1; font-size: 2.6rem;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.result-velo .from { color: var(--muted); }
.result-velo .arrow { color: var(--ice); font-size: 0.7em; }
.result-velo .to { color: var(--green); }
.result-velo .unit { font-size: 0.45em; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.result-time {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ice); font-size: 0.95rem; margin: 8px 0 14px;
}
.result-quote { margin: 0 0 18px; color: #d3e2ea; font-size: 0.98rem; flex: 1; }
.result-quote p { margin: 0; }
.result-quote p::before { content: "“"; }
.result-quote p::after { content: "”"; }
.result-name { font-weight: 700; font-size: 0.95rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 14px; }
.result-name span { color: var(--muted); font-weight: 400; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; counter-increment: step;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 24px; overflow: hidden;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ice); margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.step-img {
  margin: 20px -22px -24px; padding: 18px; background: #e9f2f6;
  display: flex; align-items: center; justify-content: center; min-height: 150px;
}
.step-img img { max-height: 170px; width: auto; }

/* ---------- Video ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: 0 30px 80px -30px rgba(20, 195, 236, 0.45), 0 0 0 1px var(--line);
}
.video iframe, .video .video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { padding: 0; margin: 0; background: #000; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s ease; }
.video-play:hover img { opacity: 1; }
.video-play .play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; background: var(--ice);
  box-shadow: 0 0 0 10px rgba(20, 195, 236, 0.25);
  transition: transform 0.2s ease;
}
.video-play .play-icon::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--on-ice);
}
.video-play:hover .play-icon { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Resource cards ---------- */
.resource-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .resource-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .resource-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.resource-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.resource-card .resource-img { aspect-ratio: 16 / 10; background: #e9f2f6; overflow: hidden; }
.resource-card .resource-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.resource-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.resource-type {
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice); margin-bottom: 6px;
}
.resource-body p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.resource-body .btn { align-self: flex-start; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(20, 195, 236, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 100% at 0% 100%, rgba(20, 195, 236, 0.14), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vw, 96px) 0;
  text-align: center;
}
.cta-band img.cta-logo { width: 110px; margin: 0 auto 18px; }
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* ---------- Two-column fit lists ---------- */
.fit-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .fit-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.fit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.fit-card.is-yes { border-top: 4px solid var(--ice); }
.fit-card.is-no { border-top: 4px solid var(--red); }
.fit-card .check-list { margin-bottom: 0; }

/* ---------- Q&A / FAQ ---------- */
.qa-list { display: grid; gap: 16px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.qa h3 { font-size: 1.3rem; margin-bottom: 10px; }
.qa p { color: #d3e2ea; margin: 0; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.6rem; color: var(--ice); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; }

/* ---------- Embeds (Tally, Calendly) ---------- */
.embed-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(16px, 4vw, 36px);
}
.embed-card iframe { display: block; width: 100%; border: 0; }
.calendly-embed { min-width: 300px; height: 1000px; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .calendly-embed { height: 760px; } }

/* ---------- TODO marker (remove when filled in) ---------- */
.todo {
  display: inline-block;
  background: #ffe066; color: #1a1a1a;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: none;
  padding: 3px 8px; border-radius: 4px; vertical-align: middle;
}
.todo-box {
  border: 2px dashed #ffe066; border-radius: var(--radius); padding: 24px; color: #ffe066; text-align: center; font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: #020b12; border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 84px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 340px; }
.footer-title {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text); margin: 0 0 12px; font-size: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ice); }
.social-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; }
.social-link svg { width: 22px; height: 22px; }
.social-link:hover { color: var(--ice); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: #7d95a3; font-size: 0.88rem; }
.funnel-footer { padding: 28px 0; text-align: center; }
.funnel-footer .footer-bottom { margin: 0; padding: 0; border: 0; }

/* ---------- Simple pages (book, not-a-fit, 404) ---------- */
.simple-page { padding: clamp(48px, 9vw, 96px) 0; }
.simple-page h1 { font-size: clamp(2.3rem, 8vw, 4rem); }
.simple-page .btn-row { margin-top: 28px; }
.simple-page .btn-row .btn { flex: 1 1 220px; }
.prose p, .prose li { color: #d3e2ea; }
.prose .check-list { margin: 18px 0 24px; }

/* Utility spacing */
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Ad landing page (/apply): headline -> VSL -> form ---------- */
.funnel-header.is-compact .header-inner { min-height: 56px; }
.funnel-header.is-compact .brand img { width: 38px; }
.funnel-header.is-compact .brand-name { font-size: 1rem; }

.lp-top { padding: 18px 0 8px; background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(20, 195, 236, 0.14), transparent 70%); }
.lp-top .eyebrow { font-size: 0.8rem; margin-bottom: 10px; }
.lp-top h1 { font-size: clamp(1.75rem, 7.4vw, 3.4rem); margin-bottom: 10px; }
.lp-sub { color: #d3e2ea; font-size: 0.95rem; line-height: 1.5; max-width: 560px; margin: 0 auto 18px; }
.lp-creds { margin: 0 auto 16px; max-width: 520px; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.lp-creds strong { color: var(--text); }

.lp-form { padding: 20px 0 56px; }
.af-start-wrap .lp-form-note { margin: 10px 0 0; }
.lp-form h2 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); text-align: center; margin-bottom: 6px; }
.lp-form-note { text-align: center; color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.lp-form .embed-card { border-color: rgba(20, 195, 236, 0.4); box-shadow: 0 20px 60px -30px rgba(20, 195, 236, 0.5); }
@media (max-width: 599px) {
  /* Give the form the full phone width */
  .lp-form .container { padding: 0 10px; }
  .lp-form .embed-card { padding: 16px 12px; }
}

.lp-proof { padding: 56px 0 64px; background: var(--bg-2); border-top: 1px solid var(--line); }
.lp-proof h2 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
.lp-proof-intro { color: var(--muted); margin-bottom: 28px; }
.mini-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mini-result {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.mini-result img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.mini-result p { margin: 0; }
.mini-velo { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.mini-velo .from { color: var(--muted); }
.mini-velo .to { color: var(--green); }
.mini-when { display: block; font-size: 0.8rem; font-weight: 500; color: var(--ice); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.mini-quote { color: #d3e2ea; font-size: 0.93rem; margin-top: 8px !important; }
.mini-name { font-size: 0.85rem; font-weight: 700; margin-top: 6px !important; color: var(--muted); }

/* ---------- Application form (/apply) ---------- */
.af-start-wrap { text-align: center; margin-top: 8px; }
.af-start { width: 100%; max-width: 420px; min-height: 68px; font-size: 1.45rem; letter-spacing: 0.08em; box-shadow: 0 16px 40px -12px rgba(20, 195, 236, 0.75); }
.af { padding: 22px 18px 20px; }
@media (min-width: 600px) { .af { padding: 32px; } }
.af-progress { margin-bottom: 22px; }
.af-progress-label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice);
}
.af-bar { height: 6px; border-radius: 6px; background: rgba(160, 225, 245, 0.14); overflow: hidden; }
.af-bar-fill { height: 100%; width: 10%; border-radius: inherit; background: var(--ice); transition: width 0.3s ease; }

.af-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.af-intro { display: block; color: var(--ice); font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-transform: none; margin: 0 0 6px; }
.af-intro:empty { display: none; }
.af-grad .af-label { scroll-margin-top: 80px; }
.af-q {
  display: block; padding: 0; margin: 0 0 18px; width: 100%;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.45rem, 6vw, 1.9rem); line-height: 1.12; color: var(--text);
}
.af-q:focus { outline: none; }

.af-choices { display: grid; gap: 10px; }
.af-choice { position: relative; display: block; cursor: pointer; }
.af-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.af-choice span {
  display: flex; align-items: center; gap: 14px;
  min-height: 58px; padding: 14px 18px;
  background: var(--surface-2); border: 2px solid var(--line); border-radius: 10px;
  font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.af-choice span::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(160, 225, 245, 0.45); background: transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.af-choice:hover span { border-color: rgba(20, 195, 236, 0.55); }
.af-choice input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 2px; }
.af-choice input:checked + span { border-color: var(--ice); background: rgba(20, 195, 236, 0.14); }
.af-choice input:checked + span::before { border-color: var(--ice); background: var(--ice); box-shadow: inset 0 0 0 4px var(--surface-2); }
.af-choice input[aria-invalid="true"] + span { border-color: rgba(255, 90, 78, 0.6); }
@media (min-width: 600px) { .af-choices { grid-template-columns: 1fr 1fr; } }

.af-grad { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.af-grad .af-label:focus { outline: none; }

.af-field { margin-bottom: 18px; }
.af-label { display: block; font-weight: 600; margin: 0 0 8px; color: var(--text); }
.af-input {
  display: block; width: 100%; min-height: 56px; padding: 14px 16px;
  background: var(--bg); color: var(--text);
  border: 2px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1.05rem; /* 16px+ stops iPhone zooming in */
}
textarea.af-input { min-height: 96px; resize: vertical; line-height: 1.5; }
.af-input::placeholder { color: #6f8796; }
.af-input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(20, 195, 236, 0.25); }
.af-input[aria-invalid="true"] { border-color: var(--red); }
.af-velo { position: relative; max-width: 240px; margin-bottom: 8px; }
.af-velo .af-input { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; padding-right: 70px; }
.af-unit { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; }

.af-error { color: var(--red); font-size: 0.92rem; font-weight: 600; margin: 8px 0 0; }
.af-hint { color: var(--muted); font-size: 0.92rem; margin: 6px 0 0; }
.af-optional { margin: -10px 0 14px; }
.af-consent { color: var(--muted); font-size: 0.82rem; margin: 18px 0 0; }

.af-nav { display: flex; gap: 10px; margin-top: 26px; }
.af-nav .af-back { flex: 0 0 auto; }
.af-nav .af-next { flex: 1 1 auto; }
.af-nav .btn { padding-left: 16px; padding-right: 16px; font-size: 1.05rem; white-space: nowrap; }
.af-nav .btn[disabled] { opacity: 0.75; cursor: wait; transform: none; }

.af-submit-error {
  margin-top: 20px; padding: 16px 18px; border-radius: 10px;
  background: rgba(255, 90, 78, 0.1); border: 1px solid rgba(255, 90, 78, 0.5);
}
.af-submit-error p { margin: 0 0 12px; }
.af-submit-error:focus { outline: none; }

.af-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid rgba(4, 18, 28, 0.25); border-top-color: var(--on-ice);
  animation: af-spin 0.7s linear infinite;
}
@keyframes af-spin { to { transform: rotate(360deg); } }

.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- /apply headline block (callout → headline → "without" line) ---------- */
.lp-callout {
  display: inline-block; margin: 0 0 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); text-decoration: underline; text-decoration-color: var(--ice); text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.lp-top h1.lp-headline {
  font-family: var(--font-body); font-weight: 800; text-transform: none; letter-spacing: -0.01em;
  font-size: clamp(1.3rem, 5.6vw, 2.3rem); line-height: 1.25; margin: 0 auto 12px; max-width: 760px;
}
.lp-headline .accent { display: inline; }
.lp-without { font-style: italic; color: #d3e2ea; font-size: clamp(0.95rem, 3.8vw, 1.15rem); line-height: 1.45; max-width: 600px; margin: 0 auto 18px; }
