/* Mulling — a private wardrobe memory for online clothing.
   The signature sequence is hold → verdict → wardrobe evidence → balanced tally.
   Everything around that sequence stays flat, ruled, and deliberately quiet. */

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #F4F1EA;
  --paper: #FFFCF5;
  --ink: #1E1C18;
  --ink-secondary: #6B665D;
  --ink-muted: #706A61;
  --surface: #EAE4D9;
  --surface-alt: #ECE7DC;
  --hairline: #B9AE9B;
  --control-line: #8A8174;
  --hairline-soft: #D8CDBA;
  --ink-on-dark: #F1ECE2;
  --on-dark-muted: #BDB5A6;
  --line-dark: rgba(241, 236, 226, 0.22);

  --get: #5E7D54;
  --get-tint: #E7EEE1;
  --get-on: #3E5436;
  --wait: #B0863A;
  --wait-tint: #F3E9D3;
  --wait-on: #704F17;
  --skip: #B26A5B;
  --skip-tint: #F1E1DB;
  --skip-on: #82473B;

  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --r-card: 14px;
  --r-media: 20px;
  --r-sheet: 22px;
  --r-pill: 999px;
  --wrap: 1120px;
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
::selection { background: var(--wait); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 26px; }
.section { padding-block: clamp(68px, 8vw, 112px); }
.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;
}
.honeypot { display: none; }
.dot { display: inline-block; width: 0.62em; height: 0.62em; border-radius: var(--r-pill); background: var(--wait); flex: none; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 20px; border-top: 1px solid currentColor; opacity: 0.7; }
.h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.5vw, 3.45rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.02;
  text-wrap: balance;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid var(--hairline-soft);
}
.brand { display: flex; min-height: 44px; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; }
.wordmark { font-family: var(--display); font-size: 1.6rem; letter-spacing: 0.01em; }
.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a { padding-block: 10px; color: var(--ink-secondary); font-size: 0.92rem; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 19px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--ink-on-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
@media (min-width: 880px) { .nav-links { display: flex; } }

/* Forms and actions */
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn-primary { background: var(--ink); color: var(--ink-on-dark); }
.btn-primary:hover { transform: translateY(-1px); }
.beta-form { display: flex; align-items: stretch; gap: 10px; max-width: 560px; }
.beta-form input[type='email'] {
  min-width: 0;
  flex: 1;
  min-height: 52px;
  padding: 12px 17px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-pill);
  outline: none;
  background: var(--paper);
  color: var(--ink);
}
.beta-form input[type='email']::placeholder { color: var(--ink-muted); }
.beta-form input[type='email']:focus { border-color: var(--wait-on); box-shadow: 0 0 0 3px rgba(176, 134, 58, 0.18); }
.fineprint { margin: 14px 0 0; color: var(--ink-secondary); font-size: 0.86rem; }
.fineprint a { text-underline-offset: 3px; }

/* Hero */
.hero-section { padding-top: clamp(46px, 6vw, 82px); }
.hero { display: grid; grid-template-columns: 1fr; gap: clamp(56px, 7vw, 88px); align-items: center; }
@media (min-width: 920px) { .hero { grid-template-columns: 1.08fr 0.92fr; } }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-pill);
  color: var(--ink-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}
.pill .dot { width: 8px; height: 8px; }
.hero h1 {
  max-width: 11ch;
  margin: 23px 0 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6.6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 0.94;
  text-wrap: balance;
}
.hero-sub { max-width: 45ch; margin: 25px 0 0; color: var(--ink-secondary); font-size: 1.15rem; line-height: 1.55; }
.memory-note {
  max-width: 48ch;
  margin: 18px 0 27px;
  padding-left: 16px;
  border-left: 2px solid var(--wait);
  color: var(--ink-secondary);
  font-size: 0.94rem;
}
.memory-note strong { color: var(--ink); }

.stage { display: flex; flex-direction: column; align-items: center; gap: 19px; }
.phone {
  width: 304px;
  max-width: 88vw;
  padding: 13px;
  border-radius: 38px;
  background: #fff;
  box-shadow: 0 2px 1px rgba(255,255,255,0.6) inset, 0 28px 58px -34px rgba(30,28,24,0.58), 0 0 0 1px rgba(30,28,24,0.10);
}
.screen { padding: 20px; border-radius: 27px; background: var(--ground); }
.item-media {
  position: relative;
  display: flex;
  height: 166px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-media);
  background: linear-gradient(155deg, #3E465A, #292E3B);
}
.item-media svg { width: 72px; height: 72px; opacity: 0.94; }
.sale-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(20,18,16,0.68);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.screen .brandline, .saylabel, .lc-label {
  color: var(--ink-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.screen .brandline { margin: 16px 0 0; }
.screen .iname { margin: 3px 0 0; font-family: var(--display); font-size: 1.55rem; line-height: 1.1; }
.screen .imeta { margin: 4px 0 0; color: var(--ink-secondary); font-size: 0.8rem; }
.screen .iprice { margin: 4px 0 0; color: var(--ink-secondary); font-size: 0.98rem; }
.screen .iprice s { margin-left: 6px; color: var(--ink-muted); }
.saysbox { margin-top: 16px; padding: 14px 15px 16px; border: 1px solid var(--hairline); background: var(--surface); }
.verdict-stage { position: relative; display: flex; min-height: 2.1rem; align-items: center; }
.saysbox .verdict { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; transition: opacity 0.35s ease; }
.saysbox .verdict .dot { width: 11px; height: 11px; }
.saysbox .vword { font-family: var(--display); font-size: 1.45rem; line-height: 1; }
.saysbox .vreason { min-height: 2.5rem; margin: 10px 0 0; color: var(--ink-secondary); font-size: 0.88rem; line-height: 1.45; transition: opacity 0.35s ease; }
.mulling-label {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink-secondary);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.35s ease;
}
.mulling-label .dot { width: 11px; height: 11px; animation: pulse 1.15s ease-in-out infinite; }
.screen[data-state='mulling'] .verdict, .screen[data-state='mulling'] .vreason { opacity: 0; }
.screen[data-state='mulling'] .mulling-label { opacity: 1; }
.screen[data-state='resolved'] .verdict { animation: verdict-land 0.4s ease both; }
.screen[data-state='resolved'] .vreason { animation: verdict-land 0.4s 0.12s ease both; }
@keyframes pulse { 0%,100% { opacity: 0.35; transform: scale(0.84); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes verdict-land { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.screen[data-verdict='get'] .dot { background: var(--get); }
.screen[data-verdict='get'] .vword { color: var(--get-on); }
.screen[data-verdict='wait'] .dot { background: var(--wait); }
.screen[data-verdict='wait'] .vword { color: var(--wait-on); }
.screen[data-verdict='skip'] .dot { background: var(--skip); }
.screen[data-verdict='skip'] .vword { color: var(--skip-on); }

.item-media[data-tone='navy'] { background: linear-gradient(155deg, #3E465A, #292E3B); }
.item-media[data-tone='charcoal'] { background: linear-gradient(155deg, #45443F, #292824); }
.item-media[data-tone='forest'] { background: linear-gradient(155deg, #455249, #26332C); }
.item-icon[hidden], .sale-tag[hidden] { display: none; }

.mull-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 390px;
  padding: 4px 0;
}
.mull-btn {
  position: relative;
  display: flex;
  width: 92px;
  height: 92px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ink);
  box-shadow: 0 12px 28px -14px rgba(176, 134, 58, 0.85);
  color: var(--ink-on-dark);
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease;
}
.mull-btn:active { transform: scale(0.97); }
.mull-btn .ring { position: absolute; top: -7px; left: -7px; width: calc(100% + 14px); max-width: none; height: calc(100% + 14px); transform: rotate(-90deg); pointer-events: none; }
.mull-btn .track { fill: none; stroke: var(--hairline); stroke-width: 2; }
.mull-btn .fill { fill: none; stroke: var(--wait); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 289.03; stroke-dashoffset: 289.03; }
.mull-dot { width: 10px; height: 10px; border-radius: var(--r-pill); background: var(--wait); }
.mull-btn.is-holding .mull-dot { animation: mull-breathe 1.4s linear infinite; }
@keyframes mull-breathe {
  0%,100% { background: var(--wait); transform: scale(1); }
  33% { background: var(--skip); transform: scale(1.22); }
  66% { background: var(--get); transform: scale(0.92); }
}
.mull-word { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.mull-copy { min-width: 0; flex: 1; }
.mull-hint { max-width: 25ch; margin: 0; color: var(--ink-secondary); font-size: 0.86rem; line-height: 1.45; }
.mull-hint.is-nudge { color: var(--wait-on); }
.next-item {
  min-height: 38px;
  margin-top: 8px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1.5px solid var(--wait-on);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
}
.next-item[hidden] { display: none; }

.decision-trace { display: block; width: 100%; max-width: 390px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline); padding: 13px 2px 14px; }
.trace-head { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.trace-verdict { color: var(--wait-on); }
.decision-trace p { margin: 8px 0 0; line-height: 1.35; }
.trace-primary { color: var(--ink); font-family: var(--display); font-size: 1.22rem; }
.trace-secondary { color: var(--ink-secondary); font-size: 0.84rem; }
.decision-trace[data-verdict='get'] .trace-verdict { color: var(--get-on); }
.decision-trace[data-verdict='wait'] .trace-verdict { color: var(--wait-on); }
.decision-trace[data-verdict='skip'] .trace-verdict { color: var(--skip-on); }

.session-tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 390px; border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }
.session-tally div { min-width: 0; padding: 11px 10px 12px; border-right: 1px solid var(--hairline-soft); }
.session-tally div:first-child { padding-left: 2px; }
.session-tally div:last-child { padding-right: 2px; border-right: 0; }
.session-tally span { display: block; color: var(--ink-muted); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.3; text-transform: uppercase; }
.session-tally strong { display: block; margin-top: 3px; font-family: var(--display); font-size: 1.35rem; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1; }

/* Process */
.process-section { border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); background: var(--paper); }
.process { display: grid; grid-template-columns: 1fr; gap: clamp(44px, 7vw, 92px); }
@media (min-width: 880px) { .process { grid-template-columns: 0.82fr 1.18fr; align-items: start; } }
.process-intro { max-width: 36ch; }
.process-intro p:last-child { margin: 20px 0 0; color: var(--ink-secondary); }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.process-step { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 27px 0 30px; border-bottom: 1px solid var(--hairline-soft); }
.step-num { color: var(--wait-on); font-family: var(--display); font-size: 1.35rem; }
.process-step h3 { margin: 0; font-family: var(--display); font-size: 1.75rem; font-weight: 400; line-height: 1.1; }
.process-step p { max-width: 51ch; margin: 8px 0 14px; color: var(--ink-secondary); line-height: 1.5; }
.step-proof { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-left: 2px solid var(--hairline); background: var(--ground); color: var(--ink-secondary); font-size: 0.82rem; }
.verdict-proof { border-color: var(--wait); background: var(--wait-tint); color: var(--wait-on); }
.verdict-proof .dot { width: 7px; height: 7px; }
.outcome-proof { border-color: var(--get); background: var(--get-tint); color: var(--get-on); }

/* Memory */
.memory-layout { display: grid; grid-template-columns: 1fr; gap: clamp(42px, 7vw, 84px); align-items: center; }
@media (min-width: 900px) { .memory-layout { grid-template-columns: 1.08fr 0.92fr; } }
.memory-copy h2 { max-width: 15ch; margin: 16px 0 0; font-family: var(--display); font-size: clamp(2.35rem, 4.8vw, 3.6rem); font-weight: 400; line-height: 1.01; text-wrap: balance; }
.memory-copy > p:last-of-type { max-width: 48ch; margin: 20px 0 30px; color: var(--ink-secondary); }
.memory-signals { margin: 0; border-top: 1px solid var(--ink); }
.memory-signals div { display: grid; grid-template-columns: minmax(120px, 0.75fr) 1.25fr; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--hairline-soft); }
.memory-signals dt { font-weight: 700; }
.memory-signals dd { margin: 0; color: var(--ink-secondary); }

.learn-card { padding: clamp(25px, 4vw, 38px); border: 1px solid var(--hairline); border-radius: var(--r-sheet); background: var(--paper); }
.lc-item { margin: 7px 0 0; font-family: var(--display); font-size: 2rem; line-height: 1.05; }
.lc-question { margin: 18px 0 13px; color: var(--ink-secondary); font-size: 0.92rem; }
.rate-row { display: flex; flex-wrap: wrap; gap: 9px; }
.rate {
  min-width: 94px;
  flex: 1;
  min-height: 46px;
  padding: 10px 9px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rate:hover { transform: translateY(-1px); }
.rate.love { border-color: var(--get); background: var(--get-tint); color: var(--get-on); }
.rate.fine { border-color: var(--wait); background: var(--wait-tint); color: var(--wait-on); }
.rate.regret { border-color: var(--skip); background: var(--skip-tint); color: var(--skip-on); }
.rate[aria-pressed='true'] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px currentColor; }
.memory-result { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hairline-soft); }
.memory-result-label { color: var(--ink-muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.memory-result p { margin: 8px 0 0; color: var(--ink-secondary); font-size: 0.92rem; line-height: 1.5; }

/* Principles */
.principles { padding-block: clamp(72px, 9vw, 120px); background: var(--ink); color: var(--ink-on-dark); }
.principles-inner { display: grid; grid-template-columns: 1fr; gap: clamp(42px, 7vw, 88px); }
@media (min-width: 900px) { .principles-inner { grid-template-columns: 0.92fr 1.08fr; } }
.principles .eyebrow { color: var(--on-dark-muted); }
.principles-head h2 { max-width: 13ch; margin: 16px 0 0; font-family: var(--display); font-size: clamp(2.45rem, 5vw, 3.7rem); font-weight: 400; line-height: 1; text-wrap: balance; }
.principles-head > p:last-child { max-width: 40ch; margin: 22px 0 0; color: var(--on-dark-muted); }
.principle-list { margin: 0; border-top: 1px solid var(--line-dark); }
.principle-list div { padding: 23px 0 25px; border-bottom: 1px solid var(--line-dark); }
.principle-list dt { font-family: var(--display); font-size: 1.8rem; line-height: 1.1; }
.principle-list dd { max-width: 48ch; margin: 9px 0 0; color: var(--on-dark-muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 7vw, 90px); }
@media (min-width: 850px) { .faq { grid-template-columns: 0.78fr 1.22fr; } }
.faq-head h2 { max-width: 13ch; margin: 16px 0 0; font-family: var(--display); font-size: clamp(2.2rem, 4.2vw, 3.1rem); font-weight: 400; line-height: 1.03; }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hairline-soft); }
.faq summary { position: relative; padding: 21px 44px 21px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 18px; right: 3px; color: var(--wait-on); font-family: var(--display); font-size: 1.6rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 55ch; margin: -5px 0 22px; color: var(--ink-secondary); }

/* Final CTA */
.final { padding: 0 26px clamp(36px, 5vw, 60px); }
.final-band { max-width: var(--wrap); margin: 0 auto; padding: clamp(58px, 8vw, 92px) 26px; border: 1px solid #C3D0B8; background: var(--get-tint); text-align: center; }
.final-band .eyebrow { color: var(--get-on); }
.final-band h2 { max-width: 19ch; margin: 18px auto 0; color: var(--get-on); font-family: var(--display); font-size: clamp(2.45rem, 5.1vw, 3.8rem); font-weight: 400; line-height: 1; text-wrap: balance; }
.final-sub { max-width: 49ch; margin: 20px auto 28px; color: #506247; }
.beta-form-center { margin: 0 auto; }
.final-band .btn-primary { background: var(--get-on); }
.final-band .fineprint { max-width: 58ch; margin-inline: auto; color: #506247; }

/* Footer */
.footer { border-top: 1px solid var(--hairline-soft); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 34px; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.foot-brand .wordmark { font-size: 1.35rem; }
.foot-tag { color: var(--ink-secondary); font-size: 0.9rem; font-style: italic; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 7px; color: var(--ink-secondary); font-size: 0.92rem; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.copy { width: 100%; margin: 0; color: var(--ink-muted); font-size: 0.84rem; }

/* Legal, support, confirmation, and error pages */
.prose { max-width: var(--measure); margin: 0 auto; padding-block: clamp(52px, 7vw, 88px); }
.prose .eyebrow { margin-bottom: 14px; }
.prose h1 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(2.55rem, 5vw, 3.5rem); font-weight: 400; line-height: 1.01; }
.prose .updated { margin: 0 0 36px; color: var(--ink-secondary); font-size: 0.9rem; }
.prose h2 { display: flex; align-items: center; gap: 10px; margin: 42px 0 11px; font-family: var(--display); font-size: 1.65rem; font-weight: 400; }
.prose h2 .dot { width: 11px; height: 11px; background: var(--ink-muted); }
.prose p, .prose li { color: var(--ink-secondary); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin: 0 0 8px; }
.prose a { color: var(--wait-on); text-underline-offset: 3px; }
.prose .back { display: inline-block; min-height: 44px; margin-top: 38px; padding-block: 8px; border-bottom: 1.5px solid var(--wait-on); color: var(--ink); font-weight: 700; text-decoration: none; }
.message-page { min-height: calc(100vh - 270px); display: flex; align-items: center; }
.message-card { max-width: 690px; padding-block: clamp(64px, 10vw, 120px); }
.message-card h1 { max-width: 13ch; margin: 16px 0 0; font-family: var(--display); font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 400; line-height: 0.94; }
.message-card > p:last-of-type { max-width: 48ch; margin: 23px 0 29px; color: var(--ink-secondary); }

/* Accessibility and responsive adjustments */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #75571F;
  outline-offset: 3px;
  border-radius: 5px;
}

@media (max-width: 700px) {
  .beta-form { flex-direction: column; }
  .beta-form .btn { width: 100%; }
  .hero h1 { max-width: 9ch; }
  .process-step { grid-template-columns: 42px 1fr; gap: 12px; }
  .memory-signals div { grid-template-columns: 1fr; gap: 3px; }
  .final-band { padding-inline: 20px; }
}

@media (max-width: 440px) {
  .wrap { padding-inline: 22px; }
  .nav { gap: 12px; }
  .wordmark { font-size: 1.45rem; }
  .nav-cta { padding-inline: 15px; font-size: 0.84rem; }
  .hero-section { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.85rem, 13.8vw, 3.55rem); }
  .rate { flex-basis: 100%; }
  .final { padding-inline: 0; }
  .footer-links { width: 100%; }
}

@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;
  }
}
