/* Donna — landing page.
   Dark ground, red accent, one rounded frame inset from the viewport.
   No external assets, no JavaScript. System fonts only. */

:root {
  --bg:          #0a0809;
  --frame:       #0c0a0b;
  --surface:     #151112;
  --surface-2:   #1d1719;
  --surface-3:   #251d20;
  --line:        #2a2124;
  --line-soft:   #1e1719;
  --text:        #f2eced;
  --muted:       #a08f93;
  --faint:       #6b585c;

  --accent:      #e03131;
  --accent-soft: #ff6b6b;
  --accent-deep: #9b1d1d;

  --warm:        #e8913a;
  --cool:        #7a8fa8;
  --cold:        #4d4548;

  --r-frame: clamp(20px, 2.2vw, 34px);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --pad: clamp(18px, 4.4vw, 68px);
  --gap-sec: clamp(72px, 10vw, 148px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, system-ui, sans-serif;

  color-scheme: dark;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; line-height: 1.02; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

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

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

/* ---------------------------------------------------------------- ambient
   Red light bleeding in from behind the frame. Fixed, never scrollable. */

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
}
.ambient-a {
  top: -16vh; left: 50%;
  width: min(120vw, 1100px); height: min(70vh, 620px);
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224,49,49,.30), rgba(224,49,49,0) 72%);
}
.ambient-b {
  top: 46%; left: -14vw;
  width: min(80vw, 640px); height: min(60vh, 560px);
  background: radial-gradient(closest-side, rgba(155,29,29,.34), rgba(155,29,29,0) 70%);
}
.ambient-c {
  bottom: -10vh; right: -12vw;
  width: min(86vw, 720px); height: min(56vh, 520px);
  background: radial-gradient(closest-side, rgba(255,107,107,.20), rgba(255,107,107,0) 70%);
}

/* ---------------------------------------------------------------- frame */

.frame {
  position: relative;
  z-index: 1;
  margin: clamp(8px, 1.4vw, 20px);
  max-width: 1480px;
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(224,49,49,.10), rgba(224,49,49,0) 60%),
    linear-gradient(180deg, #100c0e 0%, var(--frame) 22%, var(--frame) 100%);
  box-shadow:
    0 0 0 1px rgba(255,107,107,.04),
    0 40px 120px -40px rgba(0,0,0,.9);
  overflow: hidden;
}
@media (min-width: 1520px) {
  .frame { margin-inline: auto; }
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: clamp(14px, 1.8vw, 22px) var(--pad);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
/* The gradient is a fallback: if the mark cannot be decoded the element still
   reads as Donna's red tile rather than an empty box. */
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--accent-soft), var(--accent-deep));
}
.brand-word {
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  flex: 1 1 320px;
  min-width: 0;
}
.pill-link {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--muted);
  background: rgba(255,255,255,.012);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.pill-link:hover {
  color: var(--text);
  border-color: #3b2e31;
  background: var(--surface);
}

.nav-cta { flex: 0 0 auto; }
/* Sign in sits beside the waitlist: one door for people who already have an
   account, one for people who do not. */
.nav-cta-group { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: -.01em;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease;
}
.btn-solid {
  color: #fff;
  background: linear-gradient(180deg, var(--accent-soft) -30%, var(--accent) 45%, var(--accent-deep) 150%);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 26px -12px rgba(224,49,49,.8);
}
.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 16px 34px -12px rgba(224,49,49,.9);
}
.btn-solid:active { transform: translateY(0); }
.btn-lg {
  padding: 14px 28px;
  font-size: .95rem;
}

/* ---------------------------------------------------------------- hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(48px, 7vw, 104px) var(--pad) clamp(40px, 5vw, 72px);
}

.glyph {
  display: inline-flex;
  color: var(--accent-soft);
  margin-bottom: 22px;
}

.eyebrow-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(1.9rem, 7.6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .96;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: break-word;
}
.hero-title span:last-child { color: #cdbcc0; }


/* ---- the hero stage: Donna in her office ---------------------------------
   Desktop: the room fills the stage with no frame — every edge fades into the
   page — and the brief floats over her window, the open side of the room.
   Phone: her face first, as a short band, then the brief at full width. */
.stage {
  position: relative;
  width: min(1240px, 100%);
  margin: clamp(26px, 4vw, 44px) auto clamp(30px, 4vw, 46px);
  aspect-ratio: 1280 / 720;
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* Fade every edge. A radial fade left the top and sides as straight lines,
     and a straight line is a frame. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
                      linear-gradient(to bottom, transparent 0, #000 12%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
                      linear-gradient(to bottom, transparent 0, #000 12%, #000 84%, transparent 100%);
          mask-composite: intersect;
}
.scene-still, .scene-live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.scene-still { object-fit: cover; }

/* The brief, over the window. Glass rather than a card, so the room reads
   through it and she and her work share one space. */
.stage .demo {
  position: absolute;
  right: 5%;
  top: 14%;
  width: min(40%, 470px);
  background: rgba(20, 12, 10, .62);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
          backdrop-filter: blur(14px) saturate(1.2);
}

@media (max-width: 880px) {
  .stage { aspect-ratio: auto; display: flex; flex-direction: column; gap: 14px; }
  /* Her head and shoulders only: x 40-620, y 60-420 of the 1280 x 720 room.
     The still is cropped here by CSS; the canvas crops the same rectangle in
     its shader, so the two line up exactly when one hands over to the other. */
  .scene {
    position: relative;
    inset: auto;
    aspect-ratio: 580 / 360;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 78%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0, #000 78%, transparent 100%);
  }
  .scene-still {
    inset: auto;
    left: calc(-40 / 580 * 100%);
    top: calc(-60 / 360 * 100%);
    width: calc(1280 / 580 * 100%);
    height: calc(720 / 360 * 100%);
  }
  .stage .demo {
    position: static;
    width: 100%;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
}

/* ---- the demo: the brief, assembling itself ---- */

.demo {
  /* It is a grid cell now, not a centred block: the stage owns the spacing. */
  width: 100%;
  margin: 0;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,107,107,.05);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0,0,0,.25);
}
.tl { width: 8px; height: 8px; border-radius: 50%; background: #3a2d30; }
.tl-a { background: #4a2a2c; }
.demo-time {
  margin-left: auto;
  font-size: .72rem;
  color: var(--faint);
  letter-spacing: .08em;
}
.demo-head {
  /* The old mock wrapped these two in a div and put a count badge beside it,
     so a row made sense. Without the wrapper they are siblings, and a row laid
     the kicker and the headline across each other. */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 18px 14px;
}
.demo-kicker {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.demo-title {
  font-size: clamp(.95rem, 2.4vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.demo-count {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(224,49,49,.4);
  background: rgba(224,49,49,.12);
  color: var(--accent-soft);
  font-size: .85rem;
  font-weight: 700;
}

.demo-list { padding: 0 8px 4px; }
.demo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.demo-row:hover {
  background: rgba(255,255,255,.022);
  border-color: var(--line-soft);
}
.demo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.demo-text strong {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
/* Who they are to you. The role is the whole reason a row earns your morning,
   so it sits on the name line rather than buried in the sentence. */
.demo-role {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: .62rem;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.demo-text em {
  font-style: normal;
  font-size: .8rem;
  color: var(--muted);
  overflow-wrap: break-word;
}
.demo-meta {
  flex: 0 0 auto;
  font-size: .72rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
  background: rgba(0,0,0,.2);
}
.demo-note { font-size: .8rem; color: var(--muted); }
.demo-chip {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
}

.dot {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cold);
}
.dot-hot  { background: var(--accent);  box-shadow: 0 0 0 3px rgba(224,49,49,.16); }
.dot-warm { background: var(--warm);    box-shadow: 0 0 0 3px rgba(232,145,58,.14); }
.dot-cool { background: var(--cool);    box-shadow: 0 0 0 3px rgba(122,143,168,.12); }
.dot-cold { background: var(--cold); }

.hero-copy {
  max-width: 62ch;
  font-size: clamp(.95rem, 2.3vw, 1.08rem);
  color: var(--muted);
  margin-bottom: clamp(26px, 3.5vw, 38px);
}
.hero-copy strong {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.02rem, 2.6vw, 1.2rem);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.hero-sub {
  margin-top: 14px;
  font-size: .78rem;
  color: var(--faint);
}

/* ---------------------------------------------------------------- trust */

.trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px) var(--pad);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
}
.trust-end { flex: 0 0 auto; display: inline-flex; color: var(--accent-deep); }
.trust-end-left { transform: rotate(180deg); }
.trust-rule {
  flex: 1 1 10px;
  height: 1px;
  min-width: 10px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.trust-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2.6vw, 34px);
  flex: 0 1 auto;
  min-width: 0;
}
.wordmark {
  font-size: clamp(.64rem, 1.5vw, .76rem);
  font-weight: 600;
  letter-spacing: .2em;
  color: #6f5c60;
  white-space: nowrap;
  transition: color .2s ease;
}
.wordmark:hover { color: var(--muted); }
.bracket {
  color: var(--accent-deep);
  font-size: 1.1rem;
  line-height: 1;
}

/* ---------------------------------------------------------------- stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line-soft);
}
.stat {
  padding: clamp(26px, 4vw, 44px) clamp(10px, 2vw, 26px);
  border-left: 1px solid var(--line-soft);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--text);
}
.stat-num span {
  font-size: .38em;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--accent-soft);
  margin-left: 2px;
}
.stat-label {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--muted);
  max-width: 22ch;
}

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

.section {
  padding: var(--gap-sec) var(--pad);
  border-bottom: 1px solid var(--line-soft);
}
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.pill-label {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid rgba(224,49,49,.28);
  border-radius: 999px;
  background: rgba(224,49,49,.07);
  color: var(--accent-soft);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(1.75rem, 5.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-copy {
  margin-top: 18px;
  font-size: clamp(.92rem, 2.2vw, 1.04rem);
  color: var(--muted);
}

/* ---------------------------------------------------------------- capability cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.card {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface) 0%, #110d0f 100%);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: #3a2c2f; transform: translateY(-3px); }
.card-title {
  margin: 22px 8px 10px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.card-copy {
  margin: 0 8px;
  font-size: .88rem;
  color: var(--muted);
}

/* ---- mini UI mocks ---- */

.mock {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(224,49,49,.06), rgba(224,49,49,0) 60%),
    #0e0a0c;
  padding: 12px;
  min-height: 186px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.mock-tag {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: .08em;
  white-space: nowrap;
}
.mock-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: .72rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.day-row { display: flex; align-items: center; gap: 9px; }
.day-time {
  flex: 0 0 auto;
  font-size: .62rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.bar {
  height: 11px;
  width: var(--w, 50%);
  border-radius: 4px;
  background: var(--surface-3);
}
.bar-deep { background: linear-gradient(90deg, var(--accent-deep), rgba(155,29,29,.35)); }
.bar-meet { background: linear-gradient(90deg, var(--accent), rgba(224,49,49,.3)); }
.bar-move { background: repeating-linear-gradient(135deg, #2c2225 0 4px, #1b1416 4px 8px); }

.person { display: flex; align-items: center; gap: 9px; }
.ago {
  margin-left: auto;
  font-size: .62rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.line {
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #2b2226, #1a1416);
}
.line-xl { width: 92%; }
.line-lg { width: 70%; }
.line-md { width: 52%; }
.line-sm { width: 34%; }

.sheet-name { display: flex; align-items: center; gap: 9px; }
.avatar {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(224,49,49,.16);
  border: 1px solid rgba(224,49,49,.3);
  color: var(--accent-soft);
  font-size: .64rem;
  font-weight: 700;
}
.sheet-owe { display: flex; align-items: center; gap: 9px; }
.owe-dot {
  flex: 0 0 auto;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------------------------------------------------------------- truth */

.section-wide {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(224,49,49,.06), rgba(224,49,49,0) 70%);
}
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.quote {
  margin: 0;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent-deep);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface) 0%, #110d0f 100%);
  transition: border-left-color .25s ease;
}
.quote:hover { border-left-color: var(--accent); }
.quote blockquote { margin: 0; }
.quote p {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.38;
  text-wrap: pretty;
}
.quote p::before { content: "\201C"; color: var(--accent); }
.quote p::after  { content: "\201D"; color: var(--accent); }
.quote figcaption {
  margin-top: 14px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------------------------------------------------------------- use cases */

.uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: clamp(2px, .6vw, 6px);
  border-top: 1px solid var(--line-soft);
}
.use {
  padding: clamp(24px, 3vw, 34px) clamp(4px, 1.6vw, 26px);
  border-bottom: 1px solid var(--line-soft);
}
.use-num {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.use-title {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.use-copy {
  font-size: .88rem;
  color: var(--muted);
  max-width: 36ch;
}

/* ---------------------------------------------------------------- waitlist */

.waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(70% 70% at 50% 110%, rgba(224,49,49,.12), rgba(224,49,49,0) 70%);
}
.wl-title { max-width: 18ch; }
.wl-copy { max-width: 54ch; }

.wl-field {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(560px, 100%);
  margin-top: clamp(30px, 4vw, 42px);
}
.wl-field input {
  flex: 1 1 236px;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s ease, background-color .2s ease;
}
.wl-field input::placeholder { color: var(--faint); }
.wl-field input:hover { border-color: #3a2c2f; }
.wl-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(224,49,49,.16);
}
.wl-field .btn { flex: 0 0 auto; }

.wl-fine {
  margin-top: 18px;
  font-size: .78rem;
  color: var(--faint);
  max-width: 48ch;
}

/* ---------------------------------------------------------------- faq */

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
}
.qa {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface) 0%, #110d0f 100%);
  transition: border-color .25s ease;
}
.qa[open] { border-color: #3a2c2f; }
.qa summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-soft);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease;
}
.qa[open] summary::after {
  content: "\2212";
  background: rgba(224,49,49,.14);
  border-color: rgba(224,49,49,.4);
}
.qa summary:hover::after { border-color: #4a3a3d; }
.qa p {
  padding: 0 22px 22px;
  font-size: .88rem;
  color: var(--muted);
  max-width: 54ch;
}

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

.foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding: clamp(26px, 3.4vw, 40px) var(--pad);
}
.foot-brand { display: inline-flex; align-items: center; gap: 9px; }
.foot-brand .brand-mark { width: 24px; height: 24px; border-radius: 7px; }
.foot-brand .brand-word { font-size: .92rem; }
.foot-line {
  flex: 1 1 240px;
  font-size: .8rem;
  color: var(--faint);
}
.foot-org {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--muted);
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .nav { justify-content: space-between; }
  .nav-links { order: 3; flex-basis: 100%; justify-content: flex-start; }
}

@media (max-width: 620px) {
  .hero-title { letter-spacing: -.035em; }
  .trust { gap: 10px; }
  .trust-rule { display: none; }
  .brief-meta { display: none; }
  .stat-label { max-width: none; }
  .qa summary { padding: 17px 16px; }
  .qa p { padding: 0 16px 18px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+2) { border-top: 1px solid var(--line-soft); }
  .wl-field .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- motion */

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

@media print {
  .ambient { display: none; }
  .frame { border: 0; box-shadow: none; background: #fff; color: #000; }
}


/* Waitlist status — written by landing.js after a signup attempt. */
.wl-status {
  margin: 12px 0 0;
  min-height: 1.2em;
  font-size: 14px;
  color: var(--accent-soft, #ff6b6b);
}
.wl-status.is-bad { color: var(--danger, #ff4d6d); }

/* ---- the demo, running itself ------------------------------------------
 * Rows arrive one at a time, the cold one gets noticed, then she drafts and
 * waits. It loops. Nothing here touches real data — the three names are
 * invented, and the landing page is public.
 */
.demo-row {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease, border-color .3s ease, background .3s ease;
}
.demo.is-running .demo-row.is-in { opacity: 1; transform: none; }

/* The beat where she flags the one going cold. */
.demo-row.is-flagged {
  border-color: rgba(255,107,107,.42);
  background: rgba(255,107,107,.06);
}

.demo-foot { opacity: 0; transition: opacity .5s ease; }
.demo.is-drafted .demo-foot { opacity: 1; }

.demo-chip { transition: transform .25s ease, background .25s ease, color .25s ease; }
.demo.is-sent .demo-chip { transform: scale(.94); }

.demo-kicker, .demo-title, .demo-note { transition: opacity .3s ease; }
.demo.is-swapping .demo-kicker,
.demo.is-swapping .demo-title,
.demo.is-swapping .demo-note { opacity: .25; }

/* A caret while she is still reading. */
.demo-title::after {
  content: "";
  display: inline-block;
  width: 2px; height: 1em;
  margin-left: 3px;
  vertical-align: -.14em;
  background: var(--accent);
  opacity: 0;
}
.demo.is-thinking .demo-title::after { opacity: 1; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  /* Show the finished state and stop. */
  .demo-row { opacity: 1; transform: none; transition: none; }
  .demo-foot { opacity: 1; }
  .demo-title::after { display: none; }
}
