/* ============================================================================
   MindSomo — the web version
   One stylesheet, no framework, no build step.

   Order: tokens → reset → type → chrome → nav → hero → chapters
          → prototype → grid → download → footer → responsive → motion
   ========================================================================== */

/* ─────────────────────────────  tokens  ───────────────────────────── */

:root {
  /* ground — warm near-black, never pure #000 */
  --ink-900: #0B0A09;
  --ink-850: #100E0C;
  --ink-800: #16130F;
  --ink-700: #1E1A16;

  /* paper — the light end */
  --paper:       #F4EDE1;
  --paper-soft:  #D8CFC0;
  --paper-dim:   #9A9184;
  --paper-mute:  #6C645A;
  --hairline:    rgba(244, 237, 225, 0.11);
  --hairline-2:  rgba(244, 237, 225, 0.055);
  --ghost:       rgba(244, 237, 225, 0.045);

  /* accents — lifted from the app's own palette (src/theme.js) so the site
     and the product read as one brand rather than two. */
  --ac:    #5A9E78;   /* app `ac`   — primary green */
  --ac-2:  #72B890;   /* app `acl`  — lighter, for text on dark */
  --sky:   #4E8FAB;   /* app `sky`  — second series */
  --gold:  #C49A4A;
  --rose:  #C46A8A;   /* app `rosed` hue — reserved for the one stop-and-read note */

  /* type */
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-hero:    clamp(2.8rem, 7.6vw, 6.6rem);
  --t-chapter: clamp(2.1rem, 5.2vw, 4.1rem);
  --t-lede:    clamp(1.02rem, 1.65vw, 1.32rem);
  --t-body:    clamp(0.95rem, 1.1vw, 1.05rem);
  --t-small:   0.815rem;
  --t-micro:   0.68rem;

  /* space */
  --gut:   clamp(1.25rem, 5vw, 6rem);
  --stack: clamp(5rem, 13vh, 10rem);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
  --dur-l: 0.9s;

  --maxw: 1280px;
}

/* ──────────────────────────────  reset  ──────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;   /* the nav is fixed; anchor jumps must clear it */
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--paper-soft);
  font-family: var(--text);
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

a { color: var(--ac-2); text-decoration-color: rgba(114, 184, 144, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

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

::selection { background: rgba(90, 158, 120, 0.3); color: var(--paper); }

.skip {
  position: fixed; top: 0; left: 0; z-index: 999;
  padding: 0.9rem 1.4rem;
  background: var(--ac); color: var(--ink-900);
  font-weight: 500; text-decoration: none;
  transform: translateY(-120%);
}
.skip:focus { transform: none; }

/* ──────────────────────────────  type  ───────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--paper);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-optical-sizing: auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin: 0 0 1.1rem;
}

.lede, .chapter__lede {
  font-size: var(--t-lede);
  line-height: 1.56;
  color: var(--paper-soft);
  max-width: 44ch;
  margin: 1.5rem 0 0;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--paper);
  background: var(--ghost);
  border: 1px solid var(--hairline-2);
  border-radius: 4px;
  padding: 0.08em 0.36em;
}

/* ─────────────────────────────  chrome  ──────────────────────────── */

/* One fixed grain layer, not a texture per element — it costs a single
   composited plane instead of one per card. */
.grain {
  position: fixed; inset: -50%;
  z-index: 1; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed; inset: 0;
  z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 20%, transparent 42%, rgba(0,0,0,0.55) 100%);
}

/* ───────────────────────────────  nav  ───────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem var(--gut);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(11, 10, 9, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hairline-2);
}

.nav__mark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-right: auto;
  font-family: var(--display);
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-decoration: none;
}

.nav__ring {
  width: 15px; height: 15px; flex: none;
  border: 1px solid rgba(90, 158, 120, 0.5);
  border-radius: 50%;
  display: grid; place-items: center;
}
.nav__ring i {
  width: 5px; height: 5px;
  background: var(--ac);
  border-radius: 50%;
  animation: pulse 3.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.7); opacity: 0.45; }
}

.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  font-size: var(--t-small);
  color: var(--paper-dim);
  text-decoration: none;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--ac);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ─────────────────────────────  buttons  ─────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: var(--ac);
  color: var(--ink-900);
  box-shadow: 0 10px 34px -14px rgba(90, 158, 120, 0.9);
}
.btn--solid:hover { background: var(--ac-2); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: rgba(244, 237, 225, 0.3); background: var(--ghost); }

.btn--sm { padding: 0.55rem 1.05rem; font-size: var(--t-small); }
.btn--wide { width: 100%; justify-content: center; }

.btn__meta {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.06em;
  opacity: 0.62;
}
.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn--ghost:hover .btn__arrow { transform: translateY(3px); }

/* ───────────────────────────────  hero  ──────────────────────────── */

.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7.5rem var(--gut) 4.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: 0.5;
  mask-image: radial-gradient(80% 70% at 60% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 45%, #000 20%, transparent 78%);
}

.hero__inner { position: relative; max-width: 60ch; }

.hero__title {
  font-size: var(--t-hero);
  line-height: 0.94;
  margin: 0;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ac-2);
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 2.4rem;
  margin: 2.6rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline-2);
}
.hero__facts div { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__facts dt {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.hero__facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--paper);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 2.2rem;
  width: 1px; height: 54px;
  background: var(--hairline);
  overflow: hidden;
}
.hero__scroll i {
  position: absolute; inset: 0;
  background: var(--ac);
  animation: trickle 2.6s var(--ease) infinite;
}
@keyframes trickle {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ────────────────────────────  chapters  ─────────────────────────── */

.chapter {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--stack) var(--gut);
  border-top: 1px solid var(--hairline-2);
}
.chapter--tight { padding-bottom: calc(var(--stack) * 0.7); }

.chapter__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.chapter__title { font-size: var(--t-chapter); }
.chapter__lede { max-width: 46ch; }

/* ───────────────────────────  prototype  ─────────────────────────── */

.proto { display: grid; gap: 2rem; }

.proto__rail {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
}

.chip {
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--paper-dim);
  font-size: var(--t-small);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.chip:hover { color: var(--paper); border-color: rgba(244, 237, 225, 0.28); }
.chip.is-on {
  color: var(--ac-2);
  border-color: rgba(90, 158, 120, 0.5);
  background: rgba(90, 158, 120, 0.1);
}
/* Until the frame is live the chips cannot steer anything — say so rather
   than accepting a click that does nothing. */
.proto:not(.is-live) .chip { opacity: 0.4; pointer-events: none; }

/* Handhelds never embed the prototype (see js/main.js), so a rail of nine
   permanently dead chips would be worse than no rail. The launch card is the
   whole interface there. */
@media (max-width: 760px), (pointer: coarse) {
  .proto__rail { display: none; }
}

.proto__stage {
  position: relative;
  display: grid; place-items: center;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0;
}

.proto__glow {
  position: absolute;
  width: min(760px, 90vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(90,158,120,0.16), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

/* The prototype draws its own 390x844 phone — 52px corners, ring, shadow —
   inside a `.scene` with 28px/16px padding. So the viewport it needs is
   422x900 exactly, and this wrapper adds no second bezel: two nested phone
   frames look like a mistake. Anything narrower and `.phone` (a flex item)
   shrinks below 390 and the whole layout inside it goes soft. */
/* Fixed 422px content in a fluid column: the wrapper is the fluid part and
   `overflow: hidden` on it does double duty — it clips the scaled bezel and,
   because a scroll container's automatic minimum size is zero, it stops the
   bezel's 422px from becoming the whole page's min-content width and pushing
   a horizontal scrollbar onto every phone. */
.device {
  position: relative;
  width: 100%; max-width: 422px;
  margin: 0 auto;
  height: calc(900px * var(--scale, 1));
  overflow: hidden;
}

.device__bezel {
  position: relative;
  width: 422px; height: 900px;
  overflow: hidden;
  border-radius: var(--r-l);
  transform: scale(var(--scale, 1));
  transform-origin: top left;
}

.device__frame {
  width: 422px; height: 900px;
  border: 0;
  opacity: 0;
  transition: opacity var(--dur-l) var(--ease);
}
.proto.is-live .device__frame { opacity: 1; }

.device__hint {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem;
  text-align: center;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
  transition: opacity var(--dur-l) var(--ease);
}
.device__hint a { font-size: 1.02rem; }
.device__hint span {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.proto.is-live .device__hint { opacity: 0; pointer-events: none; }

.proto__foot {
  display: flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.proto__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper-mute);
  transition: background var(--dur) var(--ease);
}
.proto.is-live .proto__dot { background: var(--ac); box-shadow: 0 0 10px var(--ac); }

/* ────────────────────────────  the grid  ─────────────────────────── */

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--hairline-2);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-l);
  overflow: hidden;
}

.card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--ink-900);
  transition: background var(--dur) var(--ease);
}
.card:hover { background: var(--ink-800); }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--ac);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-l) var(--ease);
}
.card:hover::after { transform: scaleX(1); }

.card__num {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.2em;
  color: var(--ac);
}
.card h3 { font-size: 1.42rem; margin: 0.7rem 0 0.7rem; }
.card p { margin: 0; color: var(--paper-dim); font-size: 0.96rem; }
.card__tag {
  display: inline-block;
  margin-top: 1.3rem;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

/* ───────────────────────────  download  ──────────────────────────── */

.dl {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1px;
  background: var(--hairline-2);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-l);
  overflow: hidden;
}

.dl__main, .dl__side {
  background: var(--ink-900);
  padding: clamp(1.7rem, 3.2vw, 2.6rem);
}
.dl__main {
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-900) 70%);
}

.dl__file { display: flex; align-items: center; gap: 1rem; }
.dl__ext {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-m);
  border: 1px solid rgba(90, 158, 120, 0.35);
  background: rgba(90, 158, 120, 0.1);
  color: var(--ac-2);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.dl__file strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--paper);
}
.dl__file span {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  color: var(--paper-mute);
}
.dl__alt { margin: 0; font-size: var(--t-small); color: var(--paper-mute); text-align: center; }

.dl__h {
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin: 0 0 1.1rem;
}

.code {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-m);
  border: 1px solid var(--hairline-2);
  background: var(--ink-850);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--paper-soft);
}
.code code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.code .c { color: var(--paper-mute); }

.dl__note { margin: 1.1rem 0 0; font-size: var(--t-small); color: var(--paper-dim); }

.note {
  margin-top: 2.4rem;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-l);
  border: 1px solid var(--hairline-2);
  border-left: 2px solid var(--gold);
  background: rgba(196, 154, 74, 0.045);
  max-width: 78ch;
}
.note h4 {
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.8rem;
}
.note p { margin: 0; font-size: var(--t-small); color: var(--paper-dim); line-height: 1.75; }
.note p strong { color: var(--paper); font-weight: 500; }

/* One louder variant, used once. If a second thing on the page ever needs to
   shout, neither will be heard. */
.note--stop {
  border-left-color: var(--rose);
  background: rgba(196, 106, 138, 0.06);
  margin-top: 0;
  margin-bottom: 2.4rem;
}
.note--stop h4 { color: var(--rose); }

/* ──────────────────────────────  coda  ───────────────────────────── */

/* Deliberately the last thing on the page. The reviewer section before it ends
   on a warning, and a page should not close on a caveat. */
.coda {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--stack) var(--gut);
  border-top: 1px solid var(--hairline-2);
  text-align: center;
}

.coda__inner { max-width: 44ch; margin: 0 auto; }

.coda__title {
  font-size: var(--t-chapter);
  margin: 0 0 1.4rem;
}
.coda__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ac-2);
}

.coda__lede {
  font-size: var(--t-lede);
  line-height: 1.56;
  color: var(--paper-soft);
  margin: 0 0 2.2rem;
}

/* The address is the affordance, so it gets the mono treatment that everything
   machine-ish on this page gets — it should read as a thing you can copy. */
.coda__btn { font-family: var(--mono); font-size: 0.92rem; letter-spacing: 0.01em; }

.coda__fine {
  margin: 1.6rem 0 0;
  font-size: var(--t-small);
  color: var(--paper-mute);
}

/* ─────────────────────────────  footer  ──────────────────────────── */

.foot {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem var(--gut) 3rem;
  border-top: 1px solid var(--hairline-2);
  display: grid; gap: 1.1rem;
}
.foot__mark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--paper);
}
.foot__line { margin: 0; max-width: 52ch; font-size: var(--t-small); color: var(--paper-mute); }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.foot__links a { font-size: var(--t-small); color: var(--paper-dim); text-decoration: none; }
.foot__links a:hover { color: var(--paper); }
.foot__fine {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  color: var(--paper-mute);
}

/* ───────────────────────────  responsive  ────────────────────────── */

@media (max-width: 900px) {
  /* minmax(0,…) not 1fr: the code block's long line would otherwise set
     the column's minimum width and push the box past a phone's edge */
  .dl { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .hero__facts { gap: 1.6rem 2rem; }
}

@media (max-width: 480px) {
  /* the button already wraps to two lines at this width; the size badge
     beside it turns that into three */
  .btn__meta { display: none; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ────────────────────────────  reveals  ──────────────────────────── */

/* Hidden-then-revealed only once js/main.js has run and set `.js` on <html>.
   If the module never loads — disabled, blocked, a parse error — the class is
   never set and every section renders plainly, which is the right failure. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* ==========================================================================
   Additions for mindsomo's domain site — the pause, the ledger, the
   waitlist, the help strip. Same tokens, same voice as everything above.
   ========================================================================== */

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.chapter__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ac-2);
}

/* the one lit card in a grid — the GLP-1 focus */
.card--lit { background: linear-gradient(170deg, rgba(90,158,120,0.1), var(--ink-900) 70%); }
.card--lit:hover { background: linear-gradient(170deg, rgba(90,158,120,0.14), var(--ink-800) 70%); }

/* ── the pause ───────────────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split__head { margin-bottom: 0; }
.split__quote {
  margin: 2rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--ac-2);
}

.panel {
  min-width: 0;
  padding: clamp(1.4rem, 3.2vw, 2.4rem);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-l);
  background: linear-gradient(160deg, var(--ink-800), var(--ink-900) 75%);
}
.panel__label {
  margin: 0 0 1.2rem;
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--paper);
}

.hunger {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 5px;
}
.hunger button {
  --c: var(--ac);
  min-height: 48px;
  padding: 0;
  border-radius: var(--r-s);
  border: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--c) 8%, transparent);
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hunger button:hover { border-color: var(--c); color: var(--paper); }
.hunger button[aria-checked="true"] {
  background: var(--c);
  border-color: var(--c);
  color: var(--ink-900);
  transform: translateY(-3px);
}
.hunger__ends {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

.panel__reply {
  display: grid; gap: 0.25rem; align-content: start;
  min-height: 6.2rem;
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-m);
  border: 1px solid var(--hairline-2);
  background: var(--ink-850);
}
.panel__reply b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--paper);
}
.panel__reply span { font-size: var(--t-small); color: var(--paper-dim); }

.breathe {
  display: flex; align-items: center; gap: 1.4rem;
  margin-top: 1.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-2);
}
.breathe__ring {
  position: relative; flex: none;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(78, 143, 171, 0.6);
  background: transparent;
  cursor: pointer;
}
.breathe__fill {
  position: absolute; inset: 7px;
  border-radius: 50%;
  background: var(--sky);
  opacity: 0.18;
  transform: scale(0.5);
  transition: transform 4s ease-in-out, opacity 4s ease-in-out;
}
.breathe__ring.is-in .breathe__fill { transform: scale(1); opacity: 0.4; }
.breathe__label {
  position: relative;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}
.breathe__note { margin: 0; font-size: var(--t-small); color: var(--paper-dim); }

/* ── the data ledger ─────────────────────────────────────────────────── */

.ledger {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--hairline-2);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-l);
  overflow: hidden;
}
.ledger div { padding: clamp(1.4rem, 2.6vw, 2rem); background: var(--ink-900); }
.ledger dt {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: 0.7rem;
}
.ledger dd { margin: 0; color: var(--paper-soft); font-size: 0.98rem; }

/* ── waitlist ────────────────────────────────────────────────────────── */

.waitlist { margin: 0 auto; max-width: 30rem; text-align: left; }
.waitlist__row {
  display: flex; gap: 0.4rem;
  padding: 0.35rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--ghost);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.waitlist__row:focus-within { border-color: rgba(90, 158, 120, 0.6); }
.waitlist__row input {
  flex: 1; min-width: 0;
  padding: 0 1rem;
  border: 0; background: transparent; outline: none;
  color: var(--paper);
  font: 400 0.98rem var(--text);
}
.waitlist__row input::placeholder { color: var(--paper-mute); }
.waitlist__row .btn { flex: none; }
.waitlist__row .btn:hover { transform: none; }
.waitlist__busy { display: none; }
.waitlist.is-sending .waitlist__idle { display: none; }
.waitlist.is-sending .waitlist__busy { display: inline; }
.waitlist.is-done .waitlist__row { display: none; }
.waitlist.is-flash .waitlist__row { border-color: var(--ac); box-shadow: 0 0 0 6px rgba(90, 158, 120, 0.15); }

.waitlist__note {
  margin: 0.9rem 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.waitlist__note.is-error { color: var(--rose); }
.waitlist.is-done .waitlist__note {
  margin: 0;
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ac-2);
}

/* ── help strip ──────────────────────────────────────────────────────── */

.help {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.4rem var(--gut);
  border-top: 1px solid var(--hairline-2);
}
.help h2 {
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin: 0 0 0.8rem;
}
.help p { margin: 0; max-width: 90ch; font-size: var(--t-small); color: var(--paper-mute); line-height: 1.75; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hunger { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .waitlist__row { flex-direction: column; border-radius: var(--r-l); padding: 0.45rem; }
  .waitlist__row input { min-height: 48px; }
  .waitlist__row .btn { justify-content: center; }
  .breathe { flex-direction: column; text-align: center; }
}
