/* ============================================================
   Wispr Flow × Kite — Growth report
   Palette + type lifted from wisprflow.ai's own design tokens:
   lumen #ffffeb · vast #1a1a1a · fathom #034f46 · glow #ffa946
   EB Garamond (display) · Figtree (body)
   ============================================================ */

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/garamond-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/garamond-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  /* wisprflow.ai tokens */
  --paper: #ffffeb;            /* lumen */
  --paper-2: #f8f8dd;
  --paper-3: #f1f1d2;
  --lumen-dark: #e4e4d0;
  --ink: #1a1a1a;              /* vast */
  --ink-2: rgba(26, 26, 26, 0.68);
  --ink-3: rgba(26, 26, 26, 0.42);
  --hairline: rgba(26, 26, 26, 0.18);
  --hairline-soft: rgba(26, 26, 26, 0.08);
  --teal: #034f46;             /* fathom */
  --teal-2: #0a6b5f;
  --amber: #ffa946;            /* glow */
  --amber-soft: #ffc37e;
  --amber-wash: #fff3dd;
  --green-wash: #cef5ca;       /* success-green */
  --green-dark: #114e0b;
  --teal-wash: #e9f2e6;
  --dawn: #f0d7ff;             /* their CTA lilac */
  --dawn-deep: #ddaef7;
  --maroon: #7f1c34;           /* pulse */
  --red-wash: #f8e4e4;
  --red-line: #eabfbf;

  --font-display: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1120px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-btn: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber); color: var(--ink); }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* ---------- top nav ---------- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 235, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: var(--shell); margin: 0 auto;
}
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark .g { font-family: var(--font-display); font-size: 25px; letter-spacing: -0.005em; }
.wordmark .x { color: var(--ink-3); font-size: 13px; transform: translateY(-2px); display: inline-block; }
.wordmark .k { font-weight: 600; font-size: 16px; letter-spacing: 0.01em; color: var(--teal); }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color 0.15s ease; }
.topnav a:hover { color: var(--ink); }
.topnav .nav-cta {
  background: var(--dawn); color: var(--ink); padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-btn); font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}
.topnav .nav-cta:hover { background: var(--dawn-deep); transform: translateY(-1px); }
@media (max-width: 760px) { .topnav a:not(.nav-cta) { display: none; } }

/* ---------- hero — centered mega-Garamond, like wisprflow.ai ---------- */

.hero { padding: 84px 0 64px; position: relative; overflow: hidden; text-align: center; }
.hero .shell { position: relative; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 16ch;
  margin: 0 auto 30px;
}
.hero h1 .ghost { color: rgba(26, 26, 26, 0.42); }
.hero h1 em { font-style: italic; color: var(--ink); }
.ghost { color: var(--ink-3); }
.hero .lede {
  font-size: clamp(18px, 2vw, 20.5px);
  color: var(--ink-2);
  max-width: 54ch;
  line-height: 1.65;
  margin: 0 auto 40px;
}
.hero .lede strong { font-weight: 600; color: var(--ink); }

.wavepill { display: flex; justify-content: center; margin-bottom: 48px; color: var(--ink); }
.wavepill svg { height: 56px; width: auto; }
.wavepill .wv { fill: var(--ink); }
.wavepill .wv.a { fill: var(--amber); }

.hero-art { max-width: 760px; margin: 0 auto; }
.hero-art img { width: 100%; height: auto; mix-blend-mode: multiply; }

/* hand-drawn lavender underline, like their "4x faster" accent */
.uline {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 Q 55 3 110 7 T 217 6' fill='none' stroke='%23ddaef7' stroke-width='5.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.14em;
  padding-bottom: 0.12em;
}

/* ---------- sections ---------- */

section { padding: 84px 0; }
.section-head { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 18px 0 18px;
}
.section-head .sub { color: var(--ink-2); font-size: 17.5px; max-width: 60ch; margin: 0 auto; }
.section-head .sub strong { font-weight: 600; color: var(--ink); }

.band { background: var(--paper-2); border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }

/* giant rounded teal block, like their "used by professionals" band */
.band-teal { padding: 0 20px; background: transparent; border: none; }
.band-teal .block {
  background: var(--teal);
  border-radius: 44px;
  padding: 88px clamp(24px, 5vw, 72px);
  max-width: 1280px; margin: 0 auto;
}
.band-teal .section-head { color: #fffceb; }
.band-teal .section-head h2 { color: #fffceb; }
.band-teal .eyebrow { color: var(--amber); }
.band-teal .section-head .sub { color: rgba(255, 252, 235, 0.72); }
.band-teal .section-head .sub strong { color: #fffceb; }
.band-teal .uline { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 Q 55 3 110 7 T 217 6' fill='none' stroke='%23ffa946' stroke-width='5.5' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- signal badges ---------- */

.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .badges { grid-template-columns: 1fr; } }

.badge {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
  border-color: var(--hairline);
}
.badge .art {
  height: 108px; margin: -6px 0 2px;
  display: flex; align-items: center; justify-content: flex-start;
}
.badge .art img { height: 100%; width: auto; max-width: 100%; mix-blend-mode: multiply; }
.badge .label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-3);
}
.badge .value {
  font-family: var(--font-display);
  font-size: 27px; line-height: 1.15; letter-spacing: -0.005em;
}
.badge .detail { font-size: 14px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.badge .source {
  font-size: 12px; color: var(--ink-3);
  border-top: 1px dashed var(--hairline-soft);
  padding-top: 10px; margin-top: 6px;
  display: flex; gap: 6px; align-items: baseline;
}
.badge .source::before { content: "⌕"; font-size: 13px; color: var(--amber); }

/* ---------- insights ---------- */

.insight { padding: 96px 0; }
.insight + .insight { border-top: 1px solid var(--hairline-soft); }

.insight-head { display: grid; grid-template-columns: 120px 1fr; gap: 28px; margin-bottom: 48px; }
@media (max-width: 760px) { .insight-head { grid-template-columns: 1fr; gap: 8px; } }
.insight-num {
  font-family: var(--font-display);
  font-size: 92px; line-height: 0.9;
  color: var(--lumen-dark);
  user-select: none;
}
.insight.negative .insight-num { color: #f0cfcf; }
.insight-head h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 3.8vw, 42px); line-height: 1.1; letter-spacing: -0.005em;
  max-width: 22ch; margin-bottom: 16px;
}
.insight-head .why { color: var(--ink-2); font-size: 17px; max-width: 62ch; }
.insight-head .why strong { font-weight: 600; color: var(--ink); }

.ev-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 16px;
}
.ev-label::before { content: ""; width: 22px; height: 1.5px; background: var(--amber); }

.card {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-bottom: 22px;
}
@media (max-width: 640px) { .card { padding: 24px 18px; } }
.card h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.card .cap { font-size: 14.5px; color: var(--ink-2); margin-bottom: 24px; max-width: 68ch; }

/* bars */
.bars { display: flex; flex-direction: column; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 96px; align-items: center; gap: 16px; }
@media (max-width: 560px) { .bar-row { grid-template-columns: 100px 1fr 78px; gap: 10px; } }
.bar-row .who { font-size: 15px; font-weight: 500; }
.bar-track { height: 30px; background: var(--paper-3); border-radius: 8px; overflow: hidden; position: relative; }
.bar-fill {
  height: 100%; border-radius: 8px;
  background: var(--teal-2);
  width: 0;
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bar-row.leader .bar-fill { background: var(--teal); }
.bar-row.you .bar-fill { background: var(--dawn); border: 1.5px solid var(--ink); }
.bar-row.you .who { color: var(--ink); font-weight: 600; }
.bar-row.you .bar-val { color: var(--ink); }
.bar-val { font-size: 14.5px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.bar-val small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; }

/* two-col evidence split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .card { margin-bottom: 0; }

/* keyword / checklist rows */
.kwlist { display: flex; flex-direction: column; gap: 10px; }
.kwrow {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; border-radius: 12px; font-size: 14.5px;
  background: var(--paper-2);
}
.kwrow .kw { font-weight: 500; }
.kwrow .pos { font-size: 12.5px; font-weight: 600; flex: none; padding: 4px 11px; border-radius: 999px; }
.kwrow.have { background: var(--teal-wash); }
.kwrow.have .pos { background: #fff; color: var(--teal); border: 1px solid rgba(3, 79, 70, 0.3); }
.kwrow.miss { background: var(--red-wash); }
.kwrow.miss .pos { background: #fff; color: var(--maroon); border: 1px solid rgba(127, 28, 52, 0.3); }
.kwrow.rest { color: var(--ink-2); background: var(--paper-2); font-style: italic; }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
.stat {
  background: #fff; border: 1px solid var(--hairline-soft); border-radius: var(--radius);
  padding: 24px;
}
.stat .sv { font-family: var(--font-display); font-size: 34px; letter-spacing: -0.005em; line-height: 1.1; margin-bottom: 6px; }
.stat .sv .up { color: var(--teal-2); }
.stat .sl { font-size: 13.5px; color: var(--ink-2); }

/* plain table */
table.plain { border-collapse: collapse; width: 100%; font-size: 15px; }
table.plain th, table.plain td { padding: 14px 14px; text-align: left; border-bottom: 1px solid var(--hairline-soft); vertical-align: top; }
table.plain th { font-size: 11.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); }
table.plain td.big { font-family: var(--font-display); font-size: 21px; white-space: nowrap; }
@media (max-width: 640px) {
  table.plain td.big { white-space: normal; }
  table.plain th, table.plain td { padding: 12px 8px; font-size: 14px; }
}
table.plain tr:last-child td { border-bottom: none; }
.pill-yes { color: var(--teal); font-weight: 600; }
.pill-no { color: var(--maroon); font-weight: 600; }

/* next-step panel */
.next {
  background: var(--teal-wash);
  border: 1px solid rgba(3, 79, 70, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 860px) { .next { grid-template-columns: 1fr; gap: 26px; } }
.next .nt {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.next h4 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.16; margin-bottom: 18px; }
.next ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.next li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15.5px; color: #1d3b2d; line-height: 1.5; }
.next li .nb {
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  border: 1px solid rgba(3, 79, 70, 0.35); color: var(--teal);
  font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.next-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.next-cta .hint { font-size: 13.5px; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  padding: 15px 26px; border-radius: var(--radius-btn); text-decoration: none;
  border: none; cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.btn.primary { background: var(--dawn); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 6px 18px rgba(26, 26, 26, 0.12); }
.btn.primary:hover { background: var(--dawn-deep); transform: translateY(-2px); }
.btn.primary .arr { transition: transform 0.16s ease; }
.btn.primary:hover .arr { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,235,0.4); }
.btn.ghost:hover { border-color: var(--paper); transform: translateY(-2px); }

/* mini gaps */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .minis { grid-template-columns: 1fr; } }
.mini {
  background: #fff; border: 1px solid var(--hairline-soft); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.mini .mnum { font-family: var(--font-display); font-size: 16px; font-style: italic; color: var(--ink-3); }
.mini h4 { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.mini p { font-size: 14px; color: var(--ink-2); flex: 1; }
.mini .fix { font-size: 13.5px; color: var(--teal); font-weight: 600; border-top: 1px dashed var(--hairline-soft); padding-top: 12px; }

/* ---------- final CTA ---------- */

.finale { padding: 96px 20px 110px; }
.finale-panel {
  background: var(--ink);
  border-radius: 44px;
  padding: clamp(48px, 6vw, 84px);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  max-width: 1280px; margin: 0 auto;
}
.finale-panel::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 169, 70, 0.16), transparent 65%);
  pointer-events: none;
}
.finale-art {
  position: absolute; right: clamp(8px, 5vw, 70px); top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 24vw, 320px);
  pointer-events: none;
}
.finale-art img { width: 100%; height: auto; mix-blend-mode: lighten; }
@media (max-width: 1020px) { .finale-art { display: none; } }
.finale-panel .eyebrow { color: var(--amber); }
.finale-panel h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 4.8vw, 58px); line-height: 1.08; letter-spacing: -0.005em;
  max-width: 18ch; margin-bottom: 22px;
}
.finale-panel h2 em {
  font-style: italic; color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 Q 55 3 110 7 T 217 6' fill='none' stroke='%23ffa946' stroke-width='5.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.13em;
  padding-bottom: 0.1em;
}
.finale-panel p { color: rgba(255, 255, 235, 0.72); max-width: 58ch; font-size: 17.5px; margin-bottom: 34px; }
.finale-panel p strong { color: var(--paper); font-weight: 600; }
.finale-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.finale-panel .btn.primary { background: var(--dawn); color: var(--ink); border-color: var(--dawn-deep); box-shadow: 0 8px 24px rgba(240, 215, 255, 0.2); }
.finale-panel .btn.primary:hover { background: var(--dawn-deep); }
.finale-meta { margin-top: 44px; font-size: 13px; color: rgba(255,255,235,0.45); display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (min-width: 1021px) {
  .finale-panel h2, .finale-panel p, .finale-btns { max-width: 52%; }
}

/* ---------- footer ---------- */

footer { padding: 44px 0 60px; border-top: 1px solid var(--hairline-soft); }
footer .shell { display: flex; flex-direction: column; gap: 18px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: baseline; }
footer p { font-size: 13.5px; color: var(--ink-3); max-width: 86ch; line-height: 1.65; }
footer .sig { font-size: 14px; color: var(--ink-2); }
footer .sig strong { color: var(--teal); font-weight: 600; }

/* ---------- reveal animation ---------- */

body.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
body.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.js .reveal { opacity: 1; transform: none; transition: none; }
  .bar-fill { transition: none; }
}
