/* Kona — Kinetic Sprint funnel. Visual system: brand/LOOK.md, persona: brand/PERSONA.md.
   One grotesque. Containers square, buttons round. One hue per section; the warm hue once, at the close. */

:root {
  --font: "Geist", "Söhne", "Neue Haas Grotesk Display", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ink: #0F1222;        /* near-black, blue-biased */
  --ink-2: #363B52;
  --muted: #6E7389;
  --ground: #F5F5F8;     /* off-white */
  --paper: #FFFFFF;
  --rule: #E2E3EA;

  --media: #00A0A8;      /* the offer sits in the Media pillar */
  --media-deep: #00787E;
  --design: #2340E8;
  --systems: #6B34D9;
  --warm: #FF5A1F;       /* the action. Appears once per surface, at the close */

  --r-btn: 999px;
  --r-box: 0;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { 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;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img, svg { max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 500; margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: var(--r-btn);
  background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 500; font-size: 16px; line-height: 1;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .9; }
.btn--sm { padding: 11px 18px; font-size: 14px; background: #fff; color: var(--ink); }
.btn--lg { padding: 20px 34px; font-size: 18px; }
.btn--paper { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn .arrow { width: 16px; height: 16px; }

/* ---------- Nav: floating dark pill ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 7px 7px 7px 16px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-btn);
  box-shadow: 0 12px 32px rgba(15, 18, 34, .22);
  max-width: calc(100% - 32px);
}
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; letter-spacing: -.01em; }
.nav .brand svg { width: 22px; height: 22px; display: block; }
.nav--plain { padding-right: 18px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(140px, 22vh, 230px) 0 clamp(64px, 10vh, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--rule); background: var(--paper); border-radius: var(--r-btn);
}
.eyebrow svg { width: 16px; height: 16px; color: var(--media); display: block; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.5rem);
  line-height: .98; letter-spacing: -.04em;
  margin: 28px 0 26px; max-width: 19ch;
  text-wrap: balance;
}
.hero .sub {
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.25; letter-spacing: -.02em;
  color: var(--ink-2); max-width: 34ch; margin: 0 0 36px;
}
.hero .sub strong { color: var(--ink); font-weight: 500; }
.hero .cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero .cta small { color: var(--muted); font-size: 14px; }

/* ---------- the Clinch: the one hued panel ---------- */
/* Work: spec ads as proof (GAPS-2026-09-26, gaps 2-3) */
.work { padding: clamp(72px, 10vw, 136px) 0; }
.work h2 { font-size: clamp(2.1rem, 4.6vw, 4.4rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 12px; max-width: 16ch; }
.work .lede { color: var(--ink-2); max-width: 52ch; font-size: 1.1rem; margin: 0 0 48px; }
.specs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.spec video, .spec img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); display: block; }
.spec .tag { margin: 14px 0 6px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.spec h3 { font-size: 1.3rem; margin: 0 0 6px; letter-spacing: -.02em; }
.spec p:last-child { margin: 0; color: var(--ink-2); max-width: 36ch; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr; max-width: 380px; } }

.runit { background: var(--media); color: #fff; padding: clamp(72px, 10vw, 136px) 0; }
.runit h2 { font-size: clamp(2.1rem, 4.6vw, 4.4rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 18px; max-width: 16ch; }
.runit .lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; color: rgba(255, 255, 255, .84); margin: 0 0 56px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .4); }
.step .num { font-size: clamp(3.6rem, 6vw, 6.2rem); line-height: .9; letter-spacing: -.05em; font-weight: 500; display: block; }
.step .glyph { width: 72px; height: 72px; margin: 24px 0 18px; display: block; }
.step h3 { font-size: 1.3rem; margin: 0 0 8px; letter-spacing: -.02em; }
.step p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 30ch; }
.runit .after { margin-top: 64px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.runit .after small { color: rgba(255, 255, 255, .8); font-size: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(72px, 10vw, 136px) 0; }
.faq h2 { font-size: clamp(2.1rem, 4.6vw, 4.4rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 12px; max-width: 14ch; }
.faq .lede { color: var(--ink-2); max-width: 48ch; font-size: 1.1rem; margin: 0 0 48px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: var(--r-btn); position: relative; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink);
  width: 12px; height: 1.5px; transform: translate(-50%, -50%);
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 0 30px; max-width: 64ch; color: var(--ink-2); font-size: 1.05rem; }
.faq .a p:last-child { margin: 0; }

/* ---------- The split close ---------- */
.close { display: grid; grid-template-columns: 1fr 1fr; min-height: 62vh; }
.close > div { padding: clamp(56px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.close .left { background: var(--warm); color: #fff; }
.close .right { background: var(--paper); }
.close h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 26px; max-width: 14ch; text-wrap: balance; }
.close p { max-width: 40ch; font-size: 1.1rem; margin: 0 0 28px; }
.close .left p { color: rgba(255, 255, 255, .92); }
.close .right p { color: var(--ink-2); }
.close .or { font-size: 14px; font-weight: 500; color: var(--muted); margin: 0 0 12px; letter-spacing: .02em; text-transform: uppercase; }
.close .email { font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -.02em; font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; align-self: flex-start; }
@media (max-width: 800px) { .close { grid-template-columns: 1fr; min-height: 0; } }

/* ---------- Footer ---------- */
footer { padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
footer .brand svg { width: 18px; height: 18px; }
footer a { text-decoration: none; }

/* ---------- Thank-you pages ---------- */
.ty { padding: clamp(120px, 18vh, 180px) 0 clamp(64px, 10vh, 120px); }
.ty .kicker { font-size: 14px; font-weight: 500; color: var(--media-deep); letter-spacing: .02em; text-transform: uppercase; margin: 0 0 18px; }
.ty h1 { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 22px; text-wrap: balance; }
.ty .lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.35; letter-spacing: -.01em; color: var(--ink-2); max-width: 40ch; margin: 0 0 40px; }
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--ink); margin: 0 0 40px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.checklist li:last-child { border-bottom: 1px solid var(--rule); }
.checklist .n { font-size: 2.4rem; line-height: .9; letter-spacing: -.05em; font-weight: 500; }
.checklist h3 { font-size: 1.15rem; margin: 0 0 6px; letter-spacing: -.01em; }
.checklist p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.confirm { background: var(--paper); border: 1px solid var(--rule); padding: clamp(24px, 4vw, 40px); margin: 0 0 56px; }
.confirm h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 10px; }
.confirm p { color: var(--ink-2); max-width: 52ch; }
.confirm .row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.confirm .row small { color: var(--muted); font-size: 14px; }
.policy { font-size: 14px; color: var(--muted); }
.faqv h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 8px; }
.faqv .lede { color: var(--ink-2); margin: 0 0 28px; max-width: 48ch; }
.faqv .item { border-top: 1px solid var(--rule); padding: 24px 0; }
.faqv .item:last-child { border-bottom: 1px solid var(--rule); }
.faqv h3 { font-size: 1.2rem; margin: 0 0 12px; letter-spacing: -.02em; }
.faqv .video { margin: 0 0 16px; }
.faqv p { color: var(--ink-2); max-width: 60ch; margin: 0; }
.ty .follow { margin-top: 8px; }
.ty .follow a { font-weight: 500; }

/* ---------- Dialog ---------- */
dialog.gmail {
  border: 0; padding: 0; background: transparent; max-width: min(440px, calc(100% - 32px));
}
dialog.gmail::backdrop { background: rgba(15, 18, 34, .55); }
dialog.gmail .box { background: var(--paper); padding: 32px; border-radius: var(--r-box); }
dialog.gmail h2 { font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 10px; }
dialog.gmail p { color: var(--ink-2); margin: 0 0 22px; }
dialog.gmail .row { display: flex; gap: 12px; flex-wrap: wrap; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The application (/apply) ---------- */
.apply-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--rule); z-index: 60; }
.apply-bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s ease; }
.apply { padding: clamp(120px, 18vh, 180px) 0 clamp(64px, 10vh, 120px); min-height: 70vh; }
.apply-eyebrow { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; margin: 0 0 18px; }
.apply-q { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 14px; text-wrap: balance; }
.apply-sub { color: var(--ink-2); font-size: 1.1rem; margin: 0 0 28px; max-width: 44ch; }
.apply-options { display: grid; gap: 10px; margin: 28px 0 8px; }
.apply-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 16px 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-box);
  font: inherit; font-size: 1.1rem; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: border-color .12s ease, transform .12s ease;
}
.apply-opt:hover, .apply-opt:focus-visible { border-color: var(--ink); outline: none; }
.apply-opt.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.apply-opt .k { flex: 0 0 auto; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; border: 1px solid var(--rule); color: var(--muted); }
.apply-form { display: grid; gap: 12px; margin-top: 24px; }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apply-input {
  width: 100%; padding: 16px 18px; font: inherit; font-size: 1.1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-box);
}
.apply-input:focus { outline: none; border-color: var(--ink); }
.apply-err { color: var(--warm); font-size: 15px; margin: 0; min-height: 1.4em; }
.apply-nav { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.apply-back { margin-top: 22px; background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.apply-foot { margin-top: 56px; font-size: 14px; color: var(--muted); }
.apply-foot a { color: var(--ink-2); }
@media (max-width: 480px) { .apply-row { grid-template-columns: 1fr; } }
.work--inline { padding: clamp(48px, 7vw, 88px) 0 0; }
