/* MurmurBee — landing page styles */

:root {
  --night: #16130F;
  --night-deep: #110E0B;
  --raised: #201B16;
  --raised-2: #241F19;
  --border: #3A322A;
  --linen: #F7EFE0;
  --linen-2: #EFE4D0;
  --sand: #C9BBA3;
  --bark: #6A5B45;
  --honey: #F8BE34;
  --honey-deep: #D9970F;
  --blush: #F2A07B;

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --max: 1160px;
  --radius-lg: 28px;
  --radius: 20px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--linen);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
  border-radius: 8px;
}
.privacy :focus-visible { outline-color: var(--honey-deep); }

.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: var(--gutter); top: -60px; z-index: 100;
  background: var(--honey); color: var(--night); padding: 10px 16px;
  border-radius: 10px; font-weight: 500; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.honey { color: var(--honey); }
.muted { color: var(--sand); }

kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 0 .4em;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--night);
  font-family: var(--font-body);
  font-size: .85em;
  line-height: 1.5;
  text-align: center;
  color: var(--linen);
}

/* ---------- Wordmark ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand__mark { width: 34px; height: auto; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--linen);
}
.wordmark__bee { color: var(--honey); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 17px; }

.btn--honey {
  background: var(--honey);
  color: var(--night);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px -10px rgba(248,190,52,.55);
}
.btn--honey:hover { background: #FFCB4D; transform: translateY(-1px); }

.btn--ghost {
  color: var(--linen);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover { border-color: #5A4E40; background: rgba(255,255,255,.05); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22,19,15,.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: rgba(58,50,42,.7); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 68px;
}
.nav__links { display: none; gap: 4px; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--sand);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--linen); background: rgba(255,255,255,.05); }
@media (min-width: 860px) { .nav__links { display: flex; } }
@media (max-width: 400px) { .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 3.4vw, 48px) 0 0; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 6vw, 92px);
  line-height: .96;
  letter-spacing: -0.05em;
}
.hero__line { display: block; }
.hero__line--two { white-space: nowrap; }
.hero__mark {
  display: inline-block;
  height: 1.32em;
  width: auto;
  margin-left: .06em;
  vertical-align: -0.38em;
}

.hero__foot {
  display: grid;
  gap: 28px;
  margin-top: clamp(28px, 3vw, 36px);
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero__sub { max-width: 42rem; color: var(--sand); font-size: clamp(18px, 1.7vw, 20px); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__meta { color: var(--sand); font-size: 14px; }
.hero__free {
  color: var(--linen);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--honey);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.textlink--gh { display: inline-flex; align-items: center; gap: 8px; }
.textlink--gh svg { width: 18px; height: 18px; flex: none; }

.textlink {
  color: var(--linen);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color .2s;
}
.textlink:hover { text-decoration-color: var(--linen); }

@media (min-width: 900px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 64px; }
  .hero__sub { grid-row: 1 / span 2; align-self: start; }
  .hero__actions { grid-row: 1; grid-column: 2; }
  .hero__meta { grid-row: 2; grid-column: 2; margin-top: -14px; }
}

@media (max-width: 719px) {
  .hero__line--two { white-space: normal; }
  .hero__mark {
    display: block;
    height: auto;
    width: min(100%, 420px);
    margin: 18px 0 0 auto;
  }
}

/* ---------- Demo: one sentence, cleaned up in place ---------- */
.say { margin: clamp(36px, 3.4vw, 44px) auto 0; }
.say__stage { position: relative; }
.say__line {
  min-height: calc(2 * 1.5em + 72px);
  padding: 36px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.5;
  letter-spacing: -0.035em;
  color: var(--linen);
  transition: opacity .5s var(--ease), min-height .8s var(--ease);
}
.say__line.is-fading { opacity: 0; }
.w {
  position: relative;
  display: inline-block;
  line-height: 1.05;
  margin-right: .26em;
  transition: opacity .25s, color .4s, transform .5s var(--ease);
}
.ww { opacity: 0; transition: opacity .3s var(--ease); }
.ww.is-on { opacity: 1; }
.w.is-struck { color: var(--sand); }
.w::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; top: 52%;
  height: .07em; border-radius: .04em;
  background: var(--blush);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease);
}
.w.is-struck::after { transform: scaleX(1); }
.w.is-out { opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.w.is-out.tip-up { transform: translateY(-18px); }
.w.is-out.tip-down { transform: translateY(18px); }
.w.is-gone { display: none; }
.w.is-settle { transition: transform .8s cubic-bezier(.2,.75,.2,1); }

/* first-letter capitalisation crossfade */
.cap { position: relative; display: inline-block; }
.cap i { font-style: normal; transition: opacity .5s var(--ease); }
.cap .cap__alt { position: absolute; left: 0; top: 0; opacity: 0; }
.cap.is-up .cap__alt { opacity: 1; position: static; }
.cap.is-up .cap__base { opacity: 0; position: absolute; left: 0; top: 0; }

/* label bubbles */
.tip {
  position: absolute; left: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #201B16;
  font: 500 14px/1.2 var(--font-body);
  letter-spacing: 0;
  color: var(--linen);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.tip::before {
  content: ""; position: absolute; left: 16px; width: 1px; height: 10px; background: var(--border);
}
.tip--up { bottom: calc(100% + 12px); transform: translateY(4px); }
.tip--up::before { top: 100%; }
.tip--down { top: calc(100% + 12px); transform: translateY(-4px); }
.tip--down::before { bottom: 100%; }
.tip--end { left: auto; right: 0; }
.tip--end::before { left: auto; right: 16px; }
.tip.is-on { opacity: 1; transform: none; }

.say__bar { display: flex; align-items: center; gap: 14px; height: 48px; }
.say__bee { width: 40px; height: auto; }
.say__before { margin-bottom: 8px; font-size: 18px; color: var(--sand); }
.say__before s { text-decoration-color: var(--blush); }
.say__caption { margin-top: 28px; max-width: 40rem; color: var(--sand); font-size: 15px; }

@media (max-width: 640px) {
  .say__line { line-height: 2.2; padding: 40px 0; min-height: 0; }
  .tip { font-size: 12.5px; padding: 5px 10px; }
}

/* flow bar, recreated from the app's render */
.fbar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 18px; width: 52px;
  border-radius: 999px;
  background: #6E6A64;
  transition: width .45s var(--ease), height .45s var(--ease), background-color .45s;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.7);
}
.fbar.is-listening, .fbar.is-finishing {
  height: 44px; width: 116px;
  background: #34302B;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 12px 28px -10px rgba(0,0,0,.8);
}
.fbar.is-finishing { width: 76px; }
.fbar__rec, .fbar__wave, .fbar__dots { display: none; }
.fbar__rec { width: 9px; height: 9px; border-radius: 50%; background: #E05A50; flex: none; }
.fbar.is-listening .fbar__rec { display: block; }
.fbar.is-listening .fbar__wave { display: flex; }
.fbar.is-finishing .fbar__dots { display: flex; }
.fbar__wave { align-items: center; gap: 3px; height: 22px; }
.fbar__wave i {
  display: block; width: 3px; height: 8px; border-radius: 2px; background: var(--honey);
  animation: bar .8s ease-in-out infinite alternate;
}
.fbar__wave i:nth-child(2n) { animation-duration: .65s; animation-delay: -.3s; }
.fbar__wave i:nth-child(3n) { animation-duration: .95s; animation-delay: -.5s; }
.fbar__wave i:nth-child(4n+1) { animation-delay: -.15s; }
@keyframes bar { from { height: 5px; } to { height: 20px; } }
.fbar__dots { gap: 8px; }
.fbar__dots i { width: 6px; height: 6px; border-radius: 50%; background: #7A6229; animation: dot 0.9s infinite; }
.fbar__dots i:nth-child(2) { animation-delay: .3s; }
.fbar__dots i:nth-child(3) { animation-delay: .6s; }
@keyframes dot { 0%, 30% { background: var(--honey); } 34%, 100% { background: #7A6229; } }


/* ---------- Proof: typographic ---------- */
.proof { margin-top: clamp(80px, 10vw, 128px); }
.proof__list {
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
}
.proof__item {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.proof__item:last-child { border-bottom: 1px solid var(--border); }
.proof__value {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.05em;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  color: var(--linen);
}
.proof__value small { font-size: .32em; letter-spacing: 0; margin-left: .12em; color: var(--sand); }
.proof__label { margin: 14px 0 0; max-width: 22rem; color: var(--sand); font-size: 15.5px; line-height: 1.5; }

@media (min-width: 820px) {
  .proof__list { grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--border); }
  .proof__item { border-top: 0; padding: 36px 32px 40px; }
  .proof__item:last-child { border-bottom: 0; }
  .proof__item:first-child { padding-left: 0; }
  .proof__item + .proof__item { border-left: 1px solid var(--border); }
}

/* ---------- Band template (used by every section from #speed to "Learns") ----------
   row 1: fixed hero column + H2 and one sentence; row 2: full-width visual */
:root { --band-pad: 128px; --num-size: clamp(80px, 9.5vw, 128px); --h2-size: clamp(32px, 3.6vw, 48px); }
@media (max-width: 720px) { :root { --band-pad: 80px; } }

.band { padding: var(--band-pad) 0; scroll-margin-top: 68px; }
.band--raised { background: #1E1915; border-block: 1px solid var(--border); }
.band__head { display: grid; gap: 24px; align-items: center; }
.band__visual { margin: 64px 0 0; }
.band__hero { margin: 0; }
.band__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--num-size);
  line-height: .9;
  letter-spacing: -0.06em;
  color: var(--honey);
  white-space: nowrap;
}
.band__num span { font-size: .55em; margin-left: .02em; }
.band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--h2-size);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.band__lead { margin-top: 14px; color: var(--sand); font-size: 18px; line-height: 1.5; max-width: 30rem; }
.band__more { margin-top: 20px; font-size: 16px; }
.band__caption { margin-top: 24px; color: var(--sand); font-size: 14px; }
@media (min-width: 900px) {
  .band__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; }
  .band__head--text { grid-template-columns: minmax(0, 1fr); }
}

.band--intro { padding: var(--band-pad) 0; }
.intro__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.intro__title span { display: block; }

.race__chart { position: relative; padding-top: 30px; }
.race__axis {
  position: absolute; inset: 0 calc(64px + 16px) 0 calc(var(--name-w) + 16px);
  pointer-events: none;
}
.race__chart, .wpm__rows { --name-w: 92px; }
.race__axis span {
  position: absolute; top: 0; bottom: 0; left: calc(var(--at) * 100%);
  border-left: 1px solid rgba(58,50,42,.8);
  font-size: 12px; color: var(--sand);
  padding-left: 6px;
  line-height: 1;
}
.race__axis span:last-child { padding-left: 0; transform: translateX(-100%); border-left: 0; border-right: 1px solid rgba(58,50,42,.8); padding-right: 6px; }
.race__row, .wpm__row {
  position: relative;
  display: grid; grid-template-columns: var(--name-w) 1fr 64px; gap: 16px; align-items: center;
  height: 64px;
}
.race__name, .wpm__name { font-size: 15px; font-weight: 500; }
.race__val, .wpm__val {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em;
  font-size: 20px; text-align: right;
}
.race__row:first-of-type .race__val { color: var(--honey); }
.race__track { position: relative; height: 22px; }
.race__bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(var(--v) * 100%);
  border-radius: 0 999px 999px 0;
}
.race__bar--mb { background: var(--honey); }
.race__bar--them { background: transparent; border: 1px solid var(--sand); border-left: 0; opacity: .75; }
.race__bar img {
  position: absolute; right: -14px; top: 50%;
  width: 40px; height: auto; margin-top: -28px;
}
/* animated race: bars grow at their real relative speeds */
.js .race:not(.is-run) .race__bar { width: 0; }
.js .race .race__bar { transition: width calc(var(--v) * 2.6s) linear; }

/* words per minute */
.wpm__rows { margin-bottom: 8px; }
.wpm__trail { position: relative; height: 22px; }
.wpm__dots {
  position: absolute; left: 0; top: 50%; height: 6px; margin-top: -3px;
  width: calc(var(--v) / 130 * 100%);
  background: radial-gradient(circle, currentColor 2.6px, transparent 3.2px) left center / 14px 6px repeat-x;
}
.wpm__dots--type { color: var(--sand); opacity: .7; }
.wpm__dots--talk { color: var(--honey); }
.wpm__dots img { position: absolute; right: -30px; top: 50%; width: 40px; height: auto; margin-top: -30px; }
.js .wpm:not(.is-run) .wpm__dots { width: 0; }
.js .wpm .wpm__dots { transition: width 1.6s var(--ease); }
.wpm__val { color: var(--linen); }
.wpm__row:last-child .wpm__val { color: var(--honey); }

/* your-Mac boundary */
.mac { display: grid; gap: 28px; align-items: center; }
.mac__box {
  position: relative;
  border: 1.5px solid #5A4E40;
  border-radius: 22px;
  padding: 44px 22px 22px;
}
.mac__label {
  position: absolute; left: 20px; top: -11px;
  padding: 0 8px; background: var(--night);
  font-size: 13px; font-weight: 500; color: var(--linen);
}
.mac__flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.mac__flow li { position: relative; display: grid; gap: 2px; }
.mac__flow b { font-weight: 500; font-size: 16px; }
.mac__flow span { color: var(--sand); font-size: 13.5px; }
.mac__flow li + li::before {
  /* dotted honey trail between steps */
  content: ""; position: absolute; left: 2px; top: -26px; width: 6px; height: 22px;
  background: radial-gradient(circle, var(--honey) 2.2px, transparent 2.8px) center top / 6px 9px repeat-y;
}
.mac__chip {
  display: inline-block; margin-top: 26px;
  font-size: 12.5px; color: var(--sand);
  padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px;
}
.mac__cloud { display: flex; align-items: center; gap: 12px; color: var(--sand); font-size: 13px; line-height: 1.35; }
.mac__cloud svg { width: 96px; height: auto; }

@media (min-width: 900px) {
  .mac { grid-template-columns: 1fr auto; gap: 48px; }
  .mac__box { padding: 52px 32px 28px; }
  .mac__flow { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .mac__flow li + li::before {
    left: -34px; top: 9px; width: 28px; height: 6px;
    background: radial-gradient(circle, var(--honey) 2.2px, transparent 2.8px) left center / 9px 6px repeat-x;
  }
  .mac__cloud { flex-direction: column; text-align: center; }
  .mac__cloud svg { width: 120px; }
}

/* accuracy: 20 x 5 strip of words, ~97-98 of 100 right */
.acc__grid {
  display: grid;
  grid-template-columns: repeat(20, 13px);
  gap: 9px;
  width: max-content;
}
.acc__grid i { display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--honey); }
.acc__grid i.is-mid { opacity: .4; }
.acc__grid i.is-off { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(201,187,163,.6); }
@media (max-width: 640px) {
  .acc__grid { grid-template-columns: repeat(20, 10px); gap: 6px; }
  .acc__grid i { width: 10px; height: 10px; }
}

@media (max-width: 560px) {
  .race__chart, .wpm__rows { --name-w: 78px; }
  .race__row, .wpm__row { grid-template-columns: var(--name-w) 1fr 52px; gap: 10px; }
  .race__axis { inset: 0 calc(52px + 10px) 0 calc(var(--name-w) + 10px); }
  .race__axis span:nth-child(2), .race__axis span:nth-child(4) { color: transparent; }
  .race__name, .wpm__name { font-size: 14px; }
  .race__val, .wpm__val { font-size: 17px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 11vw, 150px) 0; }
.section__head { max-width: 920px; margin: 0 0 clamp(40px, 6vw, 72px); }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* ---------- Feature visuals ---------- */
/* said -> typed specimen: one grid, labels at the top of each column */
.specimen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--border);
}
.specimen > * { padding: 24px 0; border-top: 1px solid var(--border); margin: 0; }
.specimen__label { padding: 0 0 12px !important; border-top: 0 !important; font-size: 14px; color: var(--sand); }
.specimen > span[aria-hidden]:not(.specimen__arrow) { padding: 0; border-top: 0; }
.specimen__said { color: var(--sand); font-size: 18px; line-height: 1.5; }
.specimen__said s { text-decoration-color: var(--blush); text-decoration-thickness: 1.5px; color: #8F826D; }
.specimen__arrow { color: var(--honey); font-size: 18px; line-height: 1.5; text-align: center; }
.specimen__typed { color: var(--linen); font-size: 18px; line-height: 1.5; font-weight: 500; }
.specimen__list { padding-left: 1.3em !important; }
.specimen__list li::marker { color: var(--sand); font-weight: 400; }
@media (max-width: 699px) {
  .specimen { grid-template-columns: 1fr; }
  .specimen__label, .specimen > span[aria-hidden]:not(.specimen__arrow) { display: none; }
  .specimen__arrow { padding: 4px 0 !important; border-top: 0 !important; text-align: left; transform: rotate(90deg); justify-self: start; }
  .specimen__typed { border-top: 0 !important; padding-top: 0 !important; }
}

/* context diagram: text, leader line, chips in a fixed right-hand column */
.context { display: grid; gap: 20px; }
.context__row { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; }
.context__text { font-size: 18px; line-height: 1.5; color: var(--linen); }
.context__text--meta { font-size: 14px; color: var(--sand); }
.context mark { background: none; color: var(--honey); }
.context__lead { display: none; }
.tag {
  justify-self: start;
  font-size: 13px; color: var(--sand);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}
@media (min-width: 700px) {
  .context__row { grid-template-columns: max-content minmax(40px, 1fr) 200px; gap: 0; }
  .context__lead { display: block; position: relative; height: 1px; margin: 0 16px; background: var(--border); }
  .context__lead::before { content: ""; position: absolute; left: -3px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--sand); }
}

/* learns */
.learn { display: grid; gap: 24px; justify-items: start; }
.learn__line { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--linen); letter-spacing: -0.01em; }
.learn__fix { white-space: nowrap; }
.learn__fix del { color: #8F826D; text-decoration-color: var(--blush); text-decoration-thickness: 2px; margin-right: .3em; }
.learn__fix ins { text-decoration: none; color: var(--honey); }
.toast {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #34302B;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 12px 28px -10px rgba(0,0,0,.8);
  font: 500 14px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-body);
  color: #EFE8DB;
}
.toast svg { width: 16px; height: 16px; color: var(--honey); }
.learn__soon { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); width: 100%; color: var(--sand); font-size: 15px; }
.learn__soon span { color: var(--linen); font-weight: 500; margin-right: 8px; }

/* ---------- How it works ---------- */
.how { background: var(--night-deep); border-block: 1px solid var(--border); overflow: hidden; }

.how__stage {
  --node-y: 150px;   /* desktop: vertical centre of step numbers */
  position: relative;
}
.trail {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
}
.trail__ghost, .trail__dots, .trail__reveal { fill: none; }
.trail__ghost {
  stroke: var(--honey);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0 13;
  opacity: .16;
}
.trail__dots {
  stroke: var(--honey);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 0 13;
}
.trail__reveal {
  stroke: #fff;
  stroke-width: 18;
  stroke-linecap: round;
}
.trail__bee {
  /* anchored at the bee's tail so the trail ends right behind it */
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 46px; height: auto;
  margin: -37px 0 0 -7px;
  transform-origin: 7px 37px;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
  pointer-events: none;
}
.how__stage.is-ready .trail__bee { opacity: 1; }

.steps {
  position: relative; z-index: 1;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-left: 64px;
  padding-bottom: 96px;
}
.step { position: relative; }
.step__num {
  position: absolute; left: -64px; top: -4px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--night);
  border: 1.5px solid var(--border);
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--sand);
  transition: background-color .4s, border-color .4s, color .4s, transform .4s var(--ease);
}
.step.is-lit .step__num {
  background: var(--honey); border-color: var(--honey); color: var(--night);
  transform: scale(1.06);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 6px 0 10px;
}
.step p { color: var(--sand); max-width: 34ch; }

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: calc(var(--node-y) - 24px) 0 0;
    text-align: center;
  }
  .step { padding: 72px 28px 0; }
  .step__num { left: 50%; top: 0; margin-left: -24px; }
  .step.is-lit .step__num { transform: scale(1.08); }
  .step p { margin-inline: auto; }
  .step__title { margin-top: 0; }
  .trail__bee { width: 88px; margin: -71px 0 0 -13px; transform-origin: 13px 71px; }
}

/* ---------- Privacy (linen) ---------- */
.privacy { background: var(--linen); color: var(--night); }
.privacy__inner {
  display: grid; gap: 48px;
}
.privacy__lead { margin-top: 22px; color: var(--bark); font-size: 19px; max-width: 30rem; }
.privacy__list { list-style: none; margin: 0; padding: 0; display: grid; }
.privacy__list li {
  padding: 22px 0;
  border-top: 1px solid #DCCDB2;
}
.privacy__list li:last-child { border-bottom: 1px solid #DCCDB2; }
.privacy__list h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 10px;
}
.privacy__list h3::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--honey-deep);
  flex: none;
  margin-top: .45em;
}
.privacy__list p { color: var(--bark); }
.privacy__list a { color: var(--night); text-decoration-color: var(--honey-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.privacy .section__title { color: var(--night); }
@media (min-width: 900px) {
  .privacy__inner { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
}

/* ---------- FAQ ---------- */
.faq__inner { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .faq__inner { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .faq .section__head { position: sticky; top: 110px; }
}
.faq__list { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 21px);
  letter-spacing: -0.03em;
  border-radius: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background:
    linear-gradient(var(--honey), var(--honey)) center / 12px 2px no-repeat,
    linear-gradient(var(--honey), var(--honey)) center / 2px 12px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { background-color: rgba(248,190,52,.08); }
.faq details p { padding: 0 48px 26px 4px; color: var(--sand); }

/* ---------- Download ---------- */
.download {
  position: relative;
  text-align: center;
  isolation: isolate;
  border-top: 1px solid var(--border);
}
.download__inner { display: flex; flex-direction: column; align-items: center; }
.download__bee { width: min(440px, 90%); height: auto; margin-bottom: 36px; }
.download__sub { margin-top: 18px; color: var(--sand); font-size: 18px; }
.download__note {
  margin-top: 18px; color: var(--sand); font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.pill {
  padding: 2px 9px; border-radius: 999px;
  border: 1px solid rgba(248,190,52,.4);
  color: var(--honey);
  font-size: 12px; font-weight: 500;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 36px 0 44px; }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
}
.footer .brand__mark { width: 28px; }
.footer .wordmark { font-size: 19px; }
.footer__copy { color: var(--sand); font-size: 14px; }
.footer__gh { color: var(--sand); font-size: 14px; text-underline-offset: 3px; }
.footer__gh:hover { color: var(--linen); }
@media (max-width: 640px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero affordances ---------- */
.btn--cta { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 32px -8px rgba(248,190,52,.6); }
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 16px 40px -8px rgba(248,190,52,.75); }
.btn--cta .btn__icon { transition: transform .25s var(--ease); }
.btn--cta:hover .btn__icon { transform: translateY(2px); }
.btn--gh svg { width: 18px; height: 18px; flex: none; }
.btn--gh:hover { transform: translateY(-1px); }
[data-replay] { cursor: pointer; }

.scrollhint {
  position: fixed; right: 24px; bottom: 20px; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 14px; border-radius: 999px; background: rgba(22,19,15,.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--sand); font-size: 14px; text-decoration: none;
  transition: color .2s;
}
.scrollhint:hover { color: var(--linen); }
.scrollhint { transition: color .2s, opacity .35s; }
.scrollhint.is-hidden { opacity: 0; pointer-events: none; }
.scrollhint svg { width: 22px; height: 22px; animation: hint-bob 1.8s var(--ease) infinite; }
@keyframes hint-bob { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scrollhint svg { animation: none; } }
@media (max-width: 640px) { .scrollhint { display: none; } }

/* ---------- Text-only band headers (accuracy + feature chapters): editorial split ---------- */
.band__index {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--honey);
}
.band__index i {
  width: 56px; height: 4px; flex: none;
  background: radial-gradient(circle, var(--honey) 1.6px, transparent 2px) 0 50% / 9px 4px repeat-x;
}
.band__head--text .band__title { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; }
@media (min-width: 900px) {
  .band__head--text .band__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 96px;
    align-items: end;
  }
  .band__head--text .band__index { grid-column: 1 / -1; }
  .band__head--text .band__lead { margin: 0 0 .35em; max-width: 28rem; font-size: 19px; }
  .band__head--text .band__more { grid-column: 2; margin-top: 12px; }
  .band__head--text .band__lead + .band__more { grid-row: 3; }
}

/* ---------- Personal model ---------- */
.band__soon { color: var(--honey); font-weight: 600; }
.mac--personal { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .mac--personal { grid-template-columns: minmax(0, 1fr); }
  .mac--personal .mac__flow { grid-template-columns: repeat(3, 1fr); }
}
