/* Shared by every page. One file so the legal pages cannot drift visually
   from the landing page -- App Store review sees both. */
:root {
  --bg: #04091a; --card: #0a1628; --input: #0d1f3c;
  --primary: #38bdf8; --primary-deep: #0ea5e9;
  --text: #f8fafc; --body: #cbd5e1; --muted: #64748b;
  --amber: #fbbf24; --green: #4ade80; --line: rgba(56,189,248,.10);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }
a { color: var(--primary); }
header.nav { padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px;
  letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.brand .dot { width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary)); }
.brand em { color: var(--primary); font-style: normal; }
/* Fluid rather than fixed: the waitlist headline is two long lines, and at a
   flat 44px it ate most of a phone screen before the subhead started. */
h1 { font-size: clamp(31px, 7.6vw, 44px); line-height: 1.1; letter-spacing: -.035em;
  color: var(--text); margin: 30px 0 14px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
  margin: 54px 0 16px; font-weight: 700; }
h3 { font-size: 20px; color: var(--text); margin: 0 0 6px; letter-spacing: -.015em; }
.lead { font-size: 20px; line-height: 1.5; color: var(--body); margin: 0 0 8px; }
.tag { color: var(--primary); font-weight: 600; font-size: 15px; letter-spacing: .01em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 16px 0; }
.grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.scene { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin: 26px 0; }
.scene ul { list-style: none; padding: 0; margin: 16px 0 0; }
.scene li { padding: 9px 0 9px 26px; position: relative; color: var(--body); border-top: 1px solid var(--line); }
.scene li:first-child { border-top: 0; }
.scene li::before { content: "→"; position: absolute; left: 0; color: var(--primary); }
form.signup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
input[type=email] { flex: 1; min-width: 220px; background: var(--input); border: 1px solid rgba(56,189,248,.18);
  border-radius: 12px; padding: 15px 16px; color: var(--text); font: inherit; font-size: 16px; }
button { border: 0; border-radius: 12px; padding: 15px 24px; font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary)); color: #020617; cursor: pointer; }
button[disabled] { opacity: .55; }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.ok { color: var(--green); }
.err { color: #f87171; }
.hipaa { border-color: rgba(245,158,11,.28); background: rgba(245,158,11,.06); }
.hipaa h3 { color: var(--amber); }
footer { border-top: 1px solid var(--line); margin-top: 70px; padding: 26px 0 60px; color: var(--muted); font-size: 14px; }
footer a { margin-right: 18px; }
.legal { max-width: 720px; }
.legal p, .legal li { color: var(--body); font-size: 16px; }
.legal h2 { font-size: 19px; text-transform: none; letter-spacing: -.01em; color: var(--text); margin: 34px 0 10px; }
.legal .updated { color: var(--muted); font-size: 14px; }

/* --- Landing page: waitlist build ------------------------------------- */

/* Bulleted proof under a section's body. Ticks rather than arrows: these are
   claims about what the app does, not a sequence. */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding: 9px 0 9px 26px; position: relative; color: var(--body);
  border-top: 1px solid var(--line); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* The trial-report screenshot slot. Styled to look unfinished ON PURPOSE --
   a tasteful placeholder is one nobody replaces, and shipping this page
   without the image would ask a rep to imagine its best feature. */
.asset-placeholder { margin: 22px 0 0; }
.asset-slot {
  border: 2px dashed rgba(56,189,248,.35); border-radius: 18px;
  background: repeating-linear-gradient(135deg, rgba(56,189,248,.04) 0 12px, transparent 12px 24px);
  padding: 46px 24px; text-align: center;
}
.asset-label { color: var(--amber); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; margin: 0 0 8px; }
.asset-what { color: var(--text); font-size: 17px; margin: 0; }
.asset-placeholder figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }

/* FAQ. Questions are h3s in a single card rather than <details>, because a
   collapsed answer on a one-scroll page is an answer nobody reads. */
.faq h3 { font-size: 17px; margin-top: 22px; }
.faq h3:first-child { margin-top: 0; }
.faq p { margin: 6px 0 0; }

/* Closing CTA. The only place a section head is allowed to be loud. */
.close { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 44px; }
.close-head { font-size: clamp(26px, 6.4vw, 34px); line-height: 1.15; letter-spacing: -.03em;
  color: var(--text); text-transform: none; margin: 0 0 10px; font-weight: 800; }

/* The generated report. Framed lightly and clipped: the full document is
   taller than anyone scrolls, and the top of it -- counts, case length by
   procedure and by surgeon, the first quotes -- is the part that argues. */
.report-shot { margin: 22px 0 0; }
.report-shot img { display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  mask-image: linear-gradient(#000 78%, transparent); -webkit-mask-image: linear-gradient(#000 78%, transparent); }
.report-shot figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; text-align: center; }
.warn { color: var(--amber); }
