/* Kismet — one calm column, one gold thread.
   Palette: cool paper, ink, and a single gold accent for the connection and the main emphasis. */

:root {
  --bg: #F5F6F4;
  --surface: #FFFFFF;
  --surface-2: #FBFBF9;
  --ink: #13171A;
  --muted: #5B666E;
  --line: #DFE3E0;
  --accent: #8A5C0A;
  --accent-soft: #F3E9D2;
  --ok: #24704A;
  --ok-soft: #DCEFE3;
  --wait: #6B5A2A;
  --wait-soft: #EFE8D6;
  --danger: #9B2C2C;
  --shadow: 0 1px 2px rgba(19, 23, 26, .04), 0 10px 30px rgba(19, 23, 26, .06);
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1112;
    --surface: #151B1D;
    --surface-2: #111719;
    --ink: #ECEFEC;
    --muted: #98A3A9;
    --line: #263033;
    --accent: #E2B35B;
    --accent-soft: #2A2416;
    --ok: #6CC08F;
    --ok-soft: #16281F;
    --wait: #D9BE7A;
    --wait-soft: #2A2416;
    --danger: #E28B8B;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--bg);
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.eyebrow {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.small { font-size: .875rem; color: var(--muted); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 34em; }

/* Header */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand svg { width: 34px; height: 18px; flex: none; }
.brand svg circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.brand svg path { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; }
.bar nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.bar nav a.plain { text-decoration: none; color: var(--muted); }
.bar nav a.plain:hover { color: var(--ink); }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: transform .2s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .94; }
.btn:active { transform: translateY(0) scale(.99); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  background: none;
  border: 0;
}
.quiet-link:hover { color: var(--ink); }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 70px);
  padding-block: 48px 40px;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; animation: rise .8s ease both; }
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.2vw, 4.5rem);
  line-height: 1.01;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 em { color: var(--accent); font-style: italic; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .9rem; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes rise { from { opacity: .55; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.stage-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px;
  overflow: hidden;
}
.stage-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .75rem;
  margin-bottom: 14px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 8px;
}
.person {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: border-color .5s ease, transform .5s ease;
}
[data-step="2"] .person, [data-step="3"] .person, [data-step="4"] .person {
  border-color: var(--accent);
}
.person > div { display: flex; flex-direction: column; min-width: 0; }
.person b { font-size: 1rem; font-weight: 600; }
.person div span { color: var(--muted); font-size: .85rem; }
.avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: inline-grid;
  place-items: center;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  background: var(--surface);
}
.thread { height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.thread span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
[data-step="2"] .thread span, [data-step="3"] .thread span, [data-step="4"] .thread span { transform: scaleX(1); }

.chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-step="1"] .chip, [data-step="2"] .chip, [data-step="3"] .chip, [data-step="4"] .chip {
  opacity: 1;
  transform: none;
}
.chip-offer { border-color: var(--line); background: var(--surface); color: var(--muted); }

.reveal {
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: max-height .7s ease, opacity .5s ease, transform .5s ease, padding .5s ease, border-color .5s ease;
}
[data-step="2"] .reveal, [data-step="3"] .reveal, [data-step="4"] .reveal {
  max-height: 420px;
  opacity: 1;
  transform: none;
  padding: 16px;
  border-color: var(--line);
  background: var(--surface-2);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  border: 1px solid var(--accent);
}
.reveal p { margin-top: 10px; font-size: .98rem; }
.yes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-step="3"] .yes-row, [data-step="4"] .yes-row { opacity: 1; transform: none; }
.yes { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--muted); }
.yes i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok);
  color: var(--surface);
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-size: .7rem;
}
.booked {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--ok);
  background: var(--ok-soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-step="4"] .booked { opacity: 1; transform: none; }
.booked b { font-size: .98rem; }
.booked span { font-size: .82rem; color: var(--muted); }

.stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.caption { font-size: .95rem; min-height: 1.5em; flex: 1 1 200px; }
.controls { display: flex; align-items: center; gap: 6px; }
.dots { display: flex; gap: 0; }
.dots button {
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  display: grid;
  place-items: center;
  padding: 0;
}
.dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background .3s, width .3s, border-radius .3s;
}
.dots button[aria-current="step"]::after { background: var(--ink); width: 22px; border-radius: 8px; }
.pause {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font-size: .85rem;
  color: var(--muted);
}
.pause:hover { color: var(--ink); border-color: var(--ink); }
.stage-note { text-align: right; }

/* Sections */
section.block { padding-block: 92px; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 42em; margin-bottom: 40px; }
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h3 { font-size: 1.18rem; font-weight: 500; letter-spacing: -.005em; }

.how .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--ink); }
.step b { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--accent); }
.step p { color: var(--muted); max-width: 28em; }

.reads-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.reads-grid > div { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--ink); min-width: 0; }
.reads-grid dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.reads-grid dd { font-size: 1.02rem; font-weight: 500; }
.reads-grid p { color: var(--muted); font-size: .92rem; }

.product-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.product-head .section-head { margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }

.match-card, .org-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.match-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.match-top > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.match-top b { font-weight: 600; }
.match-top div span { color: var(--muted); font-size: .9rem; }
.match-top .tag { margin-left: auto; }
.reason { font-size: 1.02rem; }
.why summary {
  cursor: pointer;
  color: var(--muted);
  font-size: .9rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.why ul { display: flex; flex-direction: column; gap: 6px; padding: 0 0 6px 18px; list-style: disc; color: var(--muted); font-size: .92rem; }
.card-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.org-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.org-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
}
.mini-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-tiles > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; }
.mini-tiles dd { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; order: 1; font-variant-numeric: tabular-nums; }
.mini-tiles dt { order: 2; font-size: .74rem; color: var(--muted); margin-top: 4px; }
.mini-bars { display: flex; flex-direction: column; gap: 10px; }
.mini-bars > div { display: grid; grid-template-columns: 128px 1fr 22px; gap: 10px; align-items: center; font-size: .86rem; }
.mini-bars i { display: block; height: 7px; width: var(--w); background: var(--ink); border-radius: 7px; animation: grow 1s ease both; }
.mini-bars b { text-align: right; font-variant-numeric: tabular-nums; }
@keyframes grow { from { width: 0; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trio article { display: flex; flex-direction: column; gap: 8px; }
.trio p { color: var(--muted); max-width: 28em; }

.close-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.close h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.close-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

footer { border-top: 1px solid var(--line); padding-block: 28px 44px; color: var(--muted); font-size: .875rem; }
footer a { color: var(--ink); text-underline-offset: 3px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* App shell */
.app-body { min-height: 100svh; }
.app-main { width: 100%; max-width: 780px; margin-inline: auto; padding: 28px 20px 90px; }
.app-main:focus { outline: none; }
.account { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); min-width: 0; }
.account b { color: var(--ink); font-weight: 500; }
.account .avatar { width: 34px; height: 34px; font-size: .7rem; }
.account form { display: inline; }
.account button { min-height: 44px; }

.app-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.app-head h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.app-head p { color: var(--muted); max-width: 36em; }
.event-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.event-line .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 22px; }
.progress i { display: block; height: 100%; background: var(--accent); transition: width .5s ease; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { font-size: 1.3rem; }
.panel-head p { color: var(--muted); font-size: .9rem; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field-label { font-size: .85rem; font-weight: 500; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="url"], textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.check b { color: var(--ink); font-weight: 500; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s, background .2s, color .2s;
}
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.actions.end { justify-content: flex-end; }
.actions .btn { flex: 0 1 auto; }

.match-list { display: flex; flex-direction: column; gap: 14px; }
.match-list .match-card { box-shadow: none; }
.match-card .tag { align-self: flex-start; }
.match-card .reason { font-size: 1rem; }
.match-card .card-actions { margin-top: 2px; }
.match-card.dismissed { display: none; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
}
.status-pill.ok { background: var(--ok-soft); border-color: var(--ok); }
.status-pill.wait { background: var(--wait-soft); border-color: var(--wait); }
.status-pill.muted { color: var(--muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.wait .status-dot { animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 50% { opacity: .35; } }

.consent-box {
  border: 1px dashed var(--ink);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consent-box q {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  quotes: none;
}
.consent-meta { font-size: .85rem; color: var(--muted); }

.slots { display: flex; flex-direction: column; gap: 8px; }
.slots button {
  min-height: 52px;
  text-align: left;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: border-color .2s;
}
.slots button:hover { border-color: var(--ink); }
.slots button span { color: var(--muted); font-size: .88rem; }
.booked-box {
  border: 1px solid var(--ok);
  background: var(--ok-soft);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.booked-box b { font-size: 1.05rem; }
.booked-box span { font-size: .86rem; color: var(--muted); }

.intro-card { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.intro-card:first-of-type { border-top: 0; padding-top: 0; }
.intro-card .match-top { flex-wrap: nowrap; }
.intro-card .match-top .tag { margin-left: 0; }

.intent-list { display: flex; flex-wrap: wrap; gap: 8px; }
.intent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px 2px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: .84rem;
  max-width: 100%;
  min-height: 44px;
}
.intent span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.intent button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex: none;
}
.intent button:hover { background: var(--line); color: var(--ink); }
.intent.need { border-color: var(--accent); background: var(--accent-soft); }
.intent.offer { border-color: var(--line); }

.fact-list { display: flex; flex-direction: column; }
.fact {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dt { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.fact dd { font-size: .98rem; min-width: 0; overflow-wrap: anywhere; }
.fact button { min-height: 44px; }

.thinking { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: beat 1s ease-in-out infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }

.empty { text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.empty p { color: var(--muted); max-width: 34em; }

.auth-card {
  max-width: 460px;
  margin: 6vh auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-card h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
.auth-card p { color: var(--muted); }

.org-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.tile dd { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; order: 1; font-variant-numeric: tabular-nums; }
.tile dt { order: 2; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 28px; gap: 12px; align-items: center; font-size: .9rem; }
.track { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.track i { display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: 8px; animation: grow 1s ease both; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }

.review-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.review-row:first-of-type { border-top: 0; padding-top: 0; }
.review-row .pair-name { font-weight: 500; }
.review-row .pair-name span { display: block; color: var(--muted); font-size: .84rem; font-weight: 400; margin-top: 2px; }
.review-row p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.review-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.review-actions .btn { min-height: 44px; padding: 0 14px; font-size: .85rem; }

.demo-box {
  border: 1px dashed var(--accent);
  border-radius: 14px;
  padding: 14px;
  background: var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-box b { font-size: .85rem; }
.demo-box p { font-size: .82rem; color: var(--muted); }
.demo-box .actions { gap: 8px; }
.demo-box .btn { min-height: 44px; font-size: .84rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: .9rem;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 40px);
}
.toast.error { background: var(--danger); color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; min-height: 0; padding-block: 36px 28px; }
  .how .steps, .trio { grid-template-columns: 1fr; gap: 28px; }
  .reads-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .product-grid { grid-template-columns: 1fr; }
  section.block { padding-block: 64px; }
  .org-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bar nav a.plain { display: none; }
  .bar nav { gap: 10px; }
  .bar nav .btn { padding: 0 16px; }
  .hero { padding-block: 28px 20px; }
  .proof { gap: 6px 14px; }
  .pair { grid-template-columns: 1fr 36px 1fr; }
  .person { padding: 12px; }
  .avatar { width: 40px; height: 40px; }
  .stage { padding: 14px; }
  .stage-foot { align-items: flex-start; }
  .controls { width: 100%; justify-content: space-between; }
  .stage-note { text-align: left; }
  .reads-grid { grid-template-columns: 1fr; }
  .mini-tiles { grid-template-columns: repeat(2, 1fr); }
  .mini-bars > div { grid-template-columns: 110px 1fr 22px; }
  .fact { grid-template-columns: 1fr auto; }
  .fact dt { grid-column: 1 / -1; padding: 0; }
  .field-row { grid-template-columns: 1fr; }
  .app-main { padding: 20px 16px 80px; }
  .panel { padding: 18px; }
  .actions .btn { flex: 1 1 auto; }
  .review-row { grid-template-columns: 1fr; }
  .review-actions { justify-content: flex-start; }
  .bar-row { grid-template-columns: 110px 1fr 24px; }
  .footer-inner { flex-direction: column; }
  .close-inner { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .chip, .reveal, .yes-row, .booked { opacity: 1; transform: none; }
  .reveal { max-height: none; padding: 16px; border-color: var(--line); background: var(--surface-2); }
}
