/* Sahi v0.9 · Season 5 palette (Tomorrow's Questions): midnight and gold, Sahi green for actions, yellow highlighter, the flagged-line mark.
   Sahi v0.3 · design tokens and page styles
   Paper and ink, with a highlighter: Sahi marks the line on your bill that looks wrong. */
@font-face { font-family: "Geist"; src: url("/fonts/v3/geist-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F2F1EC;      /* Season 5 paper */
  --sheet: #FFFFFF;      /* a bill, a card */
  --ink: #141A3A;        /* text: Season 5 night ink */
  --deep: #0E1A5A;       /* dark panels: Season 5 midnight */
  --gold: #D9A12B;       /* Season 5 observatory gold, on midnight only */
  --muted: #575C72;      /* secondary text */
  --rule: #D9DAE2;       /* lines */
  --marker: #FFE14A;     /* the highlighter: what looks wrong */
  --sahi: #12714A;       /* actions and Sahi's voice, 6.0:1 on paper */
  --sahi-ink: #0C5236;
  --wash: #E6EFE8;       /* quiet green panel */
  --warn: #9A3B12;       /* a problem, in words */
  --radius-s: 6px; --radius-m: 12px;
  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: 2.25rem; --step-4: clamp(2.6rem, 6vw, 4.4rem);
  --max: 1120px; --gap: clamp(1.25rem, 4vw, 3rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.55 "Geist", system-ui, sans-serif; font-feature-settings: "ss01"; }
img, video { max-width: 100%; display: block; }
a { color: var(--sahi); text-underline-offset: .18em; }
a:hover { color: var(--sahi-ink); }
:focus-visible { outline: 3px solid var(--sahi); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .5rem .8rem; z-index: 9; }
.skip:focus { left: .5rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }
.num { font-variant-numeric: tabular-nums; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
.brand { display: inline-flex; align-items: baseline; gap: .45rem; color: var(--ink); text-decoration: none; }
.brand b { font-weight: 680; font-size: 1.45rem; letter-spacing: -.03em; }
.brand b i { font-style: normal; color: var(--sahi); }
.brand small { color: var(--muted); font-size: var(--step--1); }
.brand .brand-2 { font-weight: 450; font-size: 1.45rem; letter-spacing: -.03em; color: var(--muted); margin-left: -.15rem; }
.top nav { display: flex; gap: 1.4rem; align-items: center; font-size: var(--step--1); }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.soon { font-size: var(--step--1); color: var(--muted); }

/* buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.25rem; border-radius: 999px; border: 1.5px solid var(--deep); background: var(--deep); color: #fff; font: 560 var(--step-0)/1 "Geist", sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--sheet); color: var(--ink); }
.btn.go { background: var(--sahi); border-color: var(--sahi); }
.btn.go:hover { background: var(--sahi-ink); border-color: var(--sahi-ink); }
.btn[disabled] { opacity: .55; cursor: default; }
input[type=email], textarea { width: 100%; font: inherit; color: var(--ink); background: var(--sheet); border: 1.5px solid var(--rule); border-radius: var(--radius-s); padding: .8rem .9rem; }
input[type=email]:focus, textarea:focus { border-color: var(--sahi); outline: none; box-shadow: 0 0 0 3px rgba(18,113,74,.18); }
label { cursor: pointer; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
h1 { font-size: var(--step-4); line-height: .98; letter-spacing: -.045em; font-weight: 640; margin: 0 0 1.25rem; max-width: 12ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 34ch; margin: 0 0 1.75rem; }
.lede + .lede { color: var(--muted); font-size: var(--step-0); margin-top: -1rem; }

/* invite form */
.invite { max-width: 30rem; }
.invite .row { display: flex; gap: .6rem; }
.invite .row input { flex: 1; min-width: 0; border-radius: 999px; padding-left: 1.1rem; }
.invite .tick { display: flex; gap: .6rem; align-items: flex-start; margin-top: .9rem; font-size: var(--step--1); color: var(--muted); line-height: 1.45; }
.invite .tick input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--sahi); flex: none; }
.invite .fine { font-size: var(--step--1); color: var(--muted); margin: .9rem 0 0; }
.invite .msg { margin: .9rem 0 0; font-size: var(--step--1); min-height: 1.4em; }
.invite .msg.ok { color: var(--sahi); font-weight: 560; }
.invite .msg.err { color: var(--warn); }
.cf { margin-top: .8rem; }
.cf:empty { display: none; }
.invite .msg:empty { min-height: 0; margin: 0; }

/* the bill (hero object) */
.bill { position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 1.6rem 1.6rem 1.2rem; }
.bill header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--rule); }
.bill header b { font-weight: 620; letter-spacing: -.01em; }
.bill header span { font-size: var(--step--1); color: var(--muted); }
.bill table { width: 100%; border-collapse: collapse; margin: .4rem 0 0; font-size: .97rem; }
.bill td { padding: .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.bill td small { display: block; color: var(--muted); font-size: var(--step--1); }
.bill td.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 1rem; }
.bill tr.total td { border-bottom: 0; font-weight: 640; padding-top: .9rem; }
.mark { background-image: linear-gradient(var(--marker), var(--marker)); background-repeat: no-repeat; background-size: 100% 78%; background-position: 0 70%; padding: 0 .15em; margin: 0 -.15em; }
.js .bill .mark { background-size: 0% 78%; transition: background-size .9s cubic-bezier(.6,.05,.2,1) .5s; }
.js .bill.on .mark { background-size: 100% 78%; }
.note { margin: 1.1rem 0 0; padding: .9rem 1rem; background: var(--wash); border-radius: var(--radius-s); font-size: .95rem; line-height: 1.5; }
.note b { color: var(--sahi-ink); }
.js .bill .note { opacity: 0; transform: translateY(6px); transition: opacity .5s ease 1.5s, transform .5s ease 1.5s; }
.js .bill.on .note { opacity: 1; transform: none; }
.made-up { margin: .8rem 0 0; font-size: .8rem; color: var(--muted); }

/* sections */
section { padding: clamp(3rem, 7vw, 6rem) 0; border-top: 1px solid var(--rule); }
h2 { font-size: var(--step-3); line-height: 1.08; letter-spacing: -.035em; font-weight: 630; margin: 0 0 1rem; max-width: 22ch; }
h3 { font-size: var(--step-1); letter-spacing: -.015em; font-weight: 620; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; max-width: 62ch; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--gap); align-items: start; }

/* video */
.film { background: var(--deep); border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-cap { font-size: var(--step--1); color: var(--muted); margin-top: .8rem; }

/* the problem: a sentence with its numbers */
.facts { font-size: var(--step-2); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; max-width: 30ch; margin: 0 0 1.25rem; }
.facts strong { font-weight: 680; }
.src { font-size: var(--step--1); color: var(--muted); }

.evidence { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 3rem; }
.evidence li { border-top: 1px solid var(--rule); padding-top: 1rem; font-size: .98rem; color: var(--muted); }
.evidence b { display: block; color: var(--ink); font-weight: 620; font-size: var(--step-0); margin-bottom: .3rem; }
.evidence a { white-space: nowrap; }
@media (max-width: 880px) { .evidence { grid-template-columns: 1fr; } }

/* v0.7.7: today vs later */
.math summary { cursor: pointer; color: var(--sahi); font-size: .9rem; margin: .2rem 0 .4rem; }
.now-later { font-size: .93rem; color: var(--muted); margin: -.6rem 0 1.4rem; max-width: 36rem; line-height: 1.5; }
.now-later b { color: var(--ink); font-weight: 620; }

/* v0.7.6: what should Sahi do first */
.prio fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.prio fieldset label { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem .9rem; background: var(--sheet); border: 1.5px solid var(--rule); border-radius: var(--radius-s); font-size: .98rem; }
.prio fieldset label:has(input:checked) { border-color: var(--sahi); background: var(--wash); }
.prio fieldset input { accent-color: var(--sahi); width: 1.05rem; height: 1.05rem; margin-top: .2rem; flex: none; }
.prio .prio-q { display: block; font-weight: 600; margin-bottom: .5rem; }
.prio .msg { margin-top: .6rem; font-size: .93rem; }
.prio .msg.ok { color: var(--sahi); font-weight: 560; }
.prio .msg.err { color: var(--warn); }
.prio .fine { font-size: var(--step--1); color: var(--muted); }

/* v0.7.5: what happened */
.happened { clear: both; margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; color: var(--muted); max-width: 34rem; }
.happened b { color: var(--ink); font-weight: 620; }

/* v0.7.4: why an invite */
.why-invite { max-width: 30rem; margin: 0 0 1rem; padding: .9rem 1rem; border-left: 3px solid var(--marker); background: var(--sheet); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.why-invite p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.why-invite b { color: var(--ink); font-weight: 620; }
.close-sub { color: #B9C0BA; margin: 1rem 0 0; max-width: 36ch; }

/* v0.7.3: action prompt, trust center */
.ifyou { font-size: var(--step-1); font-weight: 560; margin: -.6rem 0 1.6rem; }
.ifyou a { color: var(--sahi); text-decoration-thickness: 2px; }
.motto { font-size: var(--step-4); line-height: 1; letter-spacing: -.045em; font-weight: 640; max-width: 14ch; margin: 0 0 1.25rem; }
.tc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; margin: 2rem 0; }
.tc-grid > div { background: var(--sheet); padding: 1.4rem 1.5rem; }
.tc-grid h2 { font-size: var(--step-1); margin: 0 0 .6rem; max-width: none; letter-spacing: -.015em; }
.tc-grid ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .96rem; }
.tc-grid li { margin-bottom: .35rem; }
.tc-status { display: inline-block; font-size: .78rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: var(--wash); color: var(--sahi-ink); margin-left: .3rem; }
.tc-status.soon { background: #ECEDEA; color: var(--muted); }
@media (max-width: 880px) { .tc-grid { grid-template-columns: 1fr; } }

/* v0.5: the personal page */
h1.h-moment { max-width: 14ch; font-size: clamp(2.4rem, 5.2vw, 4rem); }
.stack { position: relative; }
.ask { display: inline-block; margin: 0 0 1rem auto; padding: .7rem 1.1rem; background: var(--sahi); color: #fff; border-radius: 18px 18px 4px 18px; font-weight: 560; font-size: 1.05rem; float: right; position: relative; z-index: 2; }
.stack .bill { clear: both; }
.js .stack .ask { opacity: 0; transform: translateY(6px); transition: opacity .5s ease .1s, transform .5s ease .1s; }
.js .stack.on .ask { opacity: 1; transform: none; }
.stack .bill { transform: rotate(-1.2deg); padding-bottom: 2.6rem; }
.script { position: relative; margin: -1.4rem 0 0 2.2rem; background: var(--deep); color: #F3F4F0; border-radius: var(--radius-m); padding: 1.3rem 1.4rem 1.1rem; transform: rotate(.8deg); box-shadow: 0 18px 40px -24px rgba(14,26,90,.45); }
.script p { margin: 0 0 .7rem; font-size: 1.02rem; line-height: 1.5; }
.script .script-h { font-weight: 620; color: var(--marker); font-size: .9rem; margin-bottom: .5rem; }
.script .plain { font-size: 1.15rem; line-height: 1.4; padding-bottom: .8rem; margin-bottom: .9rem; border-bottom: 1px solid rgba(243,244,240,.18); }
.script .plain b { color: var(--marker); font-weight: 660; }
.script .done { margin: .2rem 0 .7rem; padding: .55rem .75rem; background: rgba(255,225,74,.12); border-radius: 8px; font-size: .92rem; color: #F3F4F0; }
.script .done span { color: var(--marker); font-weight: 700; margin-right: .3rem; }
.agent { background: var(--deep); color: #F3F4F0; border-top: 0; }
.agent h2 { color: #fff; max-width: 20ch; }
.agent .muted, .agent .lead2 { color: #B9C0BA; font-size: var(--step-1); line-height: 1.5; max-width: 52ch; }
.agent-steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: a; }
.agent-steps li { counter-increment: a; border-top: 2px solid var(--gold); padding-top: 1rem; }
.agent-steps li::before { content: counter(a); display: block; color: var(--gold); font-weight: 650; margin-bottom: .5rem; }
.agent-steps b { display: block; color: #fff; font-weight: 620; font-size: var(--step-1); letter-spacing: -.01em; margin-bottom: .4rem; }
.agent-steps span { color: #B9C0BA; font-size: .96rem; }
.agent .rule-line { margin: 2.5rem 0 0; font-size: var(--step-1); color: #F3F4F0; max-width: 46ch; }
.agent .rule-line b { color: var(--marker); }
@media (max-width: 880px) { .agent-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .agent-steps { grid-template-columns: 1fr; } }
.script .script-f { margin: 0; font-size: .8rem; color: #B9C0BA; }
.js .stack .script { opacity: 0; transform: translateY(10px) rotate(.8deg); transition: opacity .6s ease 1.9s, transform .6s ease 1.9s; }
.js .stack.on .script { opacity: 1; transform: rotate(.8deg); }
.call { background: var(--sheet); }
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 2rem 0 1rem; }
.big-q .n { display: block; font-size: clamp(4rem, 11vw, 8rem); font-weight: 680; letter-spacing: -.06em; line-height: .9; color: var(--muted); }
.big-q.win .n { color: var(--sahi); }
.big-q p { font-size: var(--step-1); line-height: 1.4; max-width: 24ch; margin-top: .8rem; }
.say { font-size: var(--step-2); line-height: 1.3; letter-spacing: -.02em; font-weight: 520; max-width: 32ch; margin: 2.5rem 0 0; }
.letter { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gap); }
.letter-body { font-size: var(--step-1); line-height: 1.6; max-width: 38rem; }
.letter-body .sig { font-weight: 620; font-size: var(--step-0); margin-top: 1.5rem; }
.letter-body .sig span { font-weight: 400; color: var(--muted); }
@media (max-width: 880px) { .call-grid, .letter { grid-template-columns: 1fr; } .script { margin-left: 1rem; } }
@media (prefers-reduced-motion: reduce) { .js .stack .script { transition: none; } }

/* steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s); display: block; font-weight: 640; font-size: var(--step-1); color: var(--sahi); margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); font-size: .98rem; }

/* simulated patients */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.person { display: flex; flex-direction: column; gap: .3rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 1.3rem; color: var(--ink); text-decoration: none; }
.person:hover { border-color: var(--ink); }
.person .who { font-weight: 640; font-size: var(--step-1); letter-spacing: -.015em; }
.person .what { color: var(--muted); font-size: .96rem; }
.person .sum { margin-top: auto; padding-top: 1rem; font-variant-numeric: tabular-nums; font-size: .96rem; }
.person .sum span { background: var(--marker); padding: 0 .2em; }

/* promises */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 3rem; margin-top: 1.5rem; }
.promises div { padding-left: 1.6rem; position: relative; }
.promises div::before { content: ""; position: absolute; left: 0; top: .45rem; width: .8rem; height: .45rem; border-left: 2.5px solid var(--sahi); border-bottom: 2.5px solid var(--sahi); transform: rotate(-45deg); }
.promises p { color: var(--muted); font-size: .98rem; margin: 0; }

/* closing invite */
.close { background: var(--deep); color: #F3F4F0; border-radius: var(--radius-m); padding: clamp(2rem, 6vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.close h2 { color: #fff; margin: 0; }
.close .invite .row input { border-color: transparent; }
.close .invite .tick, .close .invite .fine { color: #B9C0BA; }
.close .invite .tick input { accent-color: var(--marker); }
.close .invite .msg.ok { color: var(--marker); }
.close .invite .msg.err { color: #FFB59A; }
.close .btn.go { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.close .btn.go:hover { background: #fff; border-color: #fff; }
.close a { color: #fff; }

footer { padding: 2.5rem 0 3rem; font-size: var(--step--1); color: var(--muted); display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; }
footer a { color: var(--muted); }

/* try page */
.try-head { padding: clamp(1.5rem, 4vw, 3rem) 0 1.5rem; }
.try-head h1 { font-size: var(--step-3); max-width: 20ch; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.tabs button { font: 560 var(--step--1)/1 "Geist", sans-serif; border: 1.5px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: 999px; padding: .75rem 1.1rem; cursor: pointer; }
.tabs button[aria-selected=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--gap); align-items: start; padding-bottom: 3rem; }
.story p { color: var(--ink); }
.papers { display: grid; gap: 1rem; margin: 1.5rem 0; }
.paper { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; font-size: .93rem; }
.paper header { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-bottom: .6rem; border-bottom: 1px solid var(--rule); }
.paper header b { font-weight: 620; }
.paper header span { color: var(--muted); font-size: .82rem; }
.paper table { width: 100%; border-collapse: collapse; }
.paper td { padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.paper td.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: .8rem; }
.paper tr:last-child td { border-bottom: 0; font-weight: 640; }
.paper .code { color: var(--muted); font-size: .82rem; }
.report { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: clamp(1.2rem, 3vw, 2rem); min-height: 18rem; }
.report.empty { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; background: transparent; border-style: dashed; }
.report h2 { font-size: var(--step-2); margin-bottom: .8rem; }
.report .summary { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.report .summary li { padding: .6rem 0; border-bottom: 1px solid var(--rule); font-size: 1.02rem; }
.report .summary li:first-child { font-weight: 600; font-size: var(--step-1); letter-spacing: -.01em; }
.finding { padding: 1rem 0; border-top: 1px solid var(--rule); }
.finding .t { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.finding .t b { font-weight: 620; }
.finding .money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.conf { display: inline-block; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; margin: .35rem 0 .5rem; }
.conf.HIGH { background: var(--wash); color: var(--sahi-ink); }
.conf.MEDIUM { background: #FFF3B8; color: #5C4A00; }
.conf.LOW, .conf.CANT { background: #ECEDEA; color: var(--muted); }
.finding p { font-size: .95rem; margin: 0 0 .5rem; }
.finding .why { color: var(--muted); }
.finding .src { margin: 0; }
.todo { margin: 1.4rem 0 0; padding: 1.1rem 1.2rem; background: var(--wash); border-radius: var(--radius-s); }
.todo h3 { margin-bottom: .6rem; }
.todo ol { margin: 0; padding-left: 1.2rem; }
.todo li { margin: 0 0 .45rem; font-size: .96rem; }
.cant { margin-top: 1.2rem; font-size: .93rem; color: var(--muted); }
.cant ul { padding-left: 1.1rem; margin: .4rem 0 0; }
.fineprint { margin-top: 1.4rem; font-size: .82rem; color: var(--muted); }

/* feedback */
.fb { margin-top: 2rem; padding-top: 1.6rem; border-top: 2px solid var(--ink); }
.fb fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.fb legend { font-weight: 600; margin-bottom: .55rem; padding: 0; }
.scale { display: flex; flex-wrap: wrap; gap: .4rem; }
.scale label { position: relative; }
.scale input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.scale span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 44px; padding: 0 .8rem; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--sheet); font-size: .92rem; }
.scale input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.scale input:focus-visible + span { outline: 3px solid var(--sahi); outline-offset: 2px; }
.ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); max-width: 18rem; margin-top: .3rem; }
.fb .msg { margin-top: .8rem; font-size: .93rem; }
.fb .msg.ok { color: var(--sahi); font-weight: 560; }
.fb .msg.err { color: var(--warn); }
.after { margin-top: 1.4rem; padding: 1.2rem; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--paper); }

/* prose pages */
.prose { max-width: 44rem; padding: 2rem 0 4rem; }
.prose h1 { font-size: var(--step-3); max-width: none; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose li { margin-bottom: .5rem; }

@media (max-width: 880px) {
  .hero, .split, .case, .close { grid-template-columns: 1fr; }
  .steps, .people { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .top nav .hide-s { display: none; }
}
@media (max-width: 520px) {
  .invite .row { flex-direction: column; }
  .bill { padding: 1.2rem 1.1rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .bill .mark, .js .bill .note { transition: none; }
}

/* v0.8: email shown only on click, so address-harvesting bots don't collect it */
.mailbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.mailbtn:focus-visible { outline: 2px solid var(--sahi); outline-offset: 3px; border-radius: 4px; }
footer .mailbtn { color: var(--muted); }
.prose h3 { font-size: var(--step-0); font-weight: 600; margin: 1.4rem 0 .3rem; }
.small { font-size: var(--step--1); }
/* v0.8.1: Ally, the Sahi agent */
.ally { flex: none; display: block; }
.ally-tag { display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font-size: var(--step--1); }
.ally-tag b { font-weight: 650; }
.meet { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.4rem; max-width: 40rem; }
.meet b { font-weight: 650; }
/* v0.9: the Sahi mark (the flagged line) beside the wordmark */
.brand { align-items: center; }
.brand .logo { flex: none; margin-right: .15rem; }
