.eyebrow { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: .22rem .6rem; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--accent); background: rgba(200, 242, 74, .12); } }
.small { font-size: .85rem; }
.num, .stat .v, .band .num, td.price, .rate td:last-child, .glance b, .count { font-variant-numeric: tabular-nums; }
.card h1, .hero h1, .kit-hero h1 { font-size: clamp(2rem, 1.5rem + 2.1vw, 3.3rem); }
.btn:active { transform: scale(.98); }
.btn.on-night.ghost:hover, .btn.ghost:hover { border-color: var(--ink-faint); }
main > .section-head { counter-increment: sec; }
main > .section-head h2::before { content: counter(sec, decimal-leading-zero); display: block; font: 700 .74rem/1 "Inter", sans-serif; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: .55rem; }
main { counter-reset: sec; }
.section-head { position: relative; padding-top: 1.6rem; }
.section-head::before { content: ""; position: absolute; left: 0; top: 0; width: 3.2rem; height: 2px; background: var(--accent); border-radius: 2px; }

.top { transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.top.scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(0, 0, 0, .6); background: color-mix(in srgb, var(--paper) 94%, transparent); }

.io { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.io.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .io { opacity: 1; transform: none; transition: none; } .top { transition: none; } }

.avatar { display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 600; flex: none; }
.avatar.lg { width: 3.6rem; height: 3.6rem; font-size: 1.4rem; font-family: "Instrument Serif", Georgia, serif; }
.avatar.sm { width: 2.1rem; height: 2.1rem; font-size: .85rem; }
.avatar.tint { background: color-mix(in srgb, var(--accent) 24%, var(--surface)); color: var(--ink); border: 1px solid var(--line); }

.kit-hero { position: relative; overflow: hidden; }
.kit-hero::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(200, 242, 74, .16), transparent 70%); pointer-events: none; }
.kit-head { display: flex; gap: 1.1rem; align-items: flex-start; flex-wrap: wrap; }
.kit-head .who-kit { flex: 1 1 18rem; min-width: 0; }
.kit-head .cta { flex: none; align-self: center; }
.kit-hero h1 { margin: .1rem 0 .35rem; overflow-wrap: anywhere; }
.kit-meta { display: flex; gap: .45rem; flex-wrap: wrap; margin: 0 0 1rem; }
.kit-meta .pill .icon { width: .95em; height: .95em; }
.kit-hero .steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .8rem 1.2rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.kit-hero .steps li { font-size: .9rem; line-height: 1.5; }
.rows tr td:first-child { font-weight: 600; }
.rows .btn { padding: .5rem .95rem; }
.stat.na .v { font-family: "Inter", sans-serif; font-size: .92rem; font-weight: 500; color: var(--ink-faint); margin-top: .35rem; line-height: 1.4; }
.stat .k { display: flex; align-items: center; gap: .4rem; }
.stat .k .icon { width: 1rem; height: 1rem; color: var(--ink-faint); }
.stat.hot { border-color: var(--warn); background: var(--warn-soft); }
.stat.hot .v { color: var(--warn); }
.cal { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); margin: .9rem 0 .4rem; }
.cal .day { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .8rem; background: var(--paper-2); min-width: 0; transition: border-color .18s var(--ease), transform .18s var(--ease); }
.cal .day:hover { border-color: var(--ink-faint); transform: translateY(-2px); }
.cal .day.full { opacity: .55; }
.cal .d { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem; margin-bottom: .45rem; }
.cal .d b { font-size: .92rem; white-space: nowrap; }
.cal .d .pill { font-size: .68rem; padding: .12rem .45rem; white-space: nowrap; }
.cal .times { display: flex; flex-wrap: wrap; gap: .3rem; }
.cal .times span { font-size: .76rem; padding: .12rem .45rem; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }

.order { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
.order .sticky { position: sticky; top: 5.2rem; }
@media (max-width: 900px) { .order { grid-template-columns: 1fr; } .order .sticky { position: static; } }
.fs { display: flex; align-items: center; gap: .6rem; margin: 1.6rem 0 .4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.fs:first-of-type { border-top: 0; padding-top: 0; margin-top: 1rem; }
.fs .no { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 700; display: grid; place-items: center; }
.choices { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin: .3rem 0 .6rem; }
.choice { position: relative; display: grid; gap: .15rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); cursor: pointer; margin: 0; font-weight: 500; font-size: .9rem; transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease); }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice b { font-weight: 600; }
.choice .what { color: var(--ink-faint); font-size: .8rem; font-weight: 400; line-height: 1.4; }
.choice .price { margin-top: .35rem; font-weight: 600; font-size: 1rem; }
.choice:hover { border-color: var(--ink-faint); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.field-head label { margin-bottom: .3rem; }
.count { font-size: .78rem; color: var(--ink-faint); }
.count.over { color: var(--bad); font-weight: 600; }
.drop { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px dashed var(--ink-faint); border-radius: var(--radius-sm); background: var(--paper-2); cursor: pointer; margin: 0; font-weight: 500; font-size: .9rem; transition: border-color .18s var(--ease), background .18s var(--ease); }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--surface); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop .icon { width: 1.4rem; height: 1.4rem; color: var(--ink-faint); flex: none; }
.drop .hint { display: block; color: var(--ink-faint); font-size: .8rem; font-weight: 400; }
.drop.has { border-style: solid; border-color: var(--ok); }
.preview-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.preview-head h2 { margin: 0; font-size: 1.35rem; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--ink-faint); }
.live .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ok); }
.card:has(#preview.htmx-request) .live .dot { animation: pulse .9s var(--ease) infinite; background: var(--warn); }
#preview { transition: opacity .2s var(--ease); }
#preview.htmx-request { opacity: .55; }
#preview .ok-box, #preview .issues { margin-top: 0; }
.tg { background: var(--night); color: var(--night-ink); border-radius: 18px; padding: 1rem 1rem 1rem; margin-top: .8rem; position: relative; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.5; box-shadow: 0 16px 40px -26px #000; }
.tg::before { content: ""; position: absolute; left: -.55rem; bottom: .9rem; border: .55rem solid transparent; border-right-color: var(--night); border-left: 0; }
.tg .from { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent); margin-bottom: .4rem; white-space: normal; }
.tg .from::before { content: attr(data-initial); width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--night-2); border: 1px solid var(--night-line); display: grid; place-items: center; font-size: .78rem; color: var(--night-ink); }
.tg .media { display: grid; place-items: center; height: 7.5rem; margin: .2rem 0 .6rem; border-radius: 12px; background: var(--night-2); border: 1px dashed var(--night-line); color: var(--night-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; white-space: normal; }
.tg .btn-row { display: grid; gap: .35rem; margin-top: .7rem; white-space: normal; }
.tg .btn-row a { display: block; text-align: center; padding: .5rem .8rem; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--night-ink); font-size: .88rem; border: 1px solid var(--night-line); }
.tg .muted { color: var(--night-soft); }
.tg .time { position: absolute; right: .9rem; bottom: .55rem; font-size: .7rem; color: var(--night-soft); }

.pay { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; margin: .6rem 0; }
.pay .icon { width: 1.3rem; height: 1.3rem; color: var(--ok); flex: none; margin-top: .15rem; }
.timeline { list-style: none; margin: .4rem 0 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--line); display: grid; gap: .9rem; }
.timeline li { position: relative; display: grid; gap: .1rem; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.1rem - 6px); top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-faint); }
.timeline li:last-child::before { background: var(--accent); border-color: var(--accent); }
.timeline time { font-size: .76rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.badge::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; opacity: .75; }
.badge.live::before { animation: pulse 1.4s var(--ease) infinite; }
.badge.live { background: var(--ok-soft); color: var(--ok); }
.badge.off { color: var(--ink-faint); background: transparent; border: 1px solid var(--line); }
.badge.off::before { opacity: .4; }
.code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .84rem; letter-spacing: .01em; padding: .12rem .4rem; border-radius: 6px; background: var(--paper-2); color: var(--ink); }
tr[data-href] { cursor: pointer; }
tr[data-href]:hover .code { background: var(--ink); color: var(--paper); }
tr[data-href] td:first-child a { text-decoration: none; }
.hint { display: block; color: var(--ink-faint); font-size: .76rem; margin-top: .1rem; }
.empty { display: flex; align-items: center; gap: .8rem; }
.empty .icon { width: 1.6rem; height: 1.6rem; color: var(--ok); flex: none; padding: .35rem; border-radius: 50%; background: var(--ok-soft); box-sizing: content-box; }
.empty.quiet .icon { color: var(--ink-faint); background: var(--paper-2); }

.landing { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr) 17rem; align-items: start; }
.landing .rail { position: sticky; top: 5.2rem; display: grid; gap: 1rem; }
.landing .rail .card { padding: 1.1rem 1.2rem; margin: 0; }
.landing .rail h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: .6rem; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; font-size: .88rem; }
.toc a { display: block; padding: .3rem .55rem; border-left: 2px solid var(--line); color: var(--ink-soft); border-radius: 0 6px 6px 0; transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease); }
.toc a:hover, .toc a.on { color: var(--ink); border-color: var(--accent); background: var(--paper-2); }
.glance { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.glance li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .6rem; align-items: baseline; font-size: .84rem; color: var(--ink-soft); }
.glance b { font-family: "Instrument Serif", Georgia, serif; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.landing .prose .card:not(.hero) > h2:first-child, .landing .prose .card:not(.hero) > h2 { scroll-margin-top: 5.5rem; }
@media (max-width: 960px) { .landing { grid-template-columns: 1fr; } .landing .rail { position: static; } .landing .rail .toc-card { display: none; } }

.dir tr td:first-child { display: flex; align-items: center; gap: .7rem; }
.dir tr td:first-child a { text-decoration: none; }
.dir .na { color: var(--ink-faint); cursor: help; border-bottom: 1px dotted var(--ink-faint); }
.dir td.price { font-weight: 600; }
@media (max-width: 640px) { .dir tr td:first-child { display: flex; } }

.flow h3 { display: flex; align-items: center; gap: .45rem; }
.flow h3 .icon { width: 1.05rem; height: 1.05rem; color: var(--ink-soft); }
.trust-duo h2 .icon, .card > h2 .icon, .split h2 .icon { width: 1.1rem; height: 1.1rem; vertical-align: -.1em; margin-right: .2rem; color: var(--ink-soft); }
ul.checks li::before { content: ""; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--ok-soft); top: .2rem; }
ul.checks li::after { content: "✓"; position: absolute; left: .2rem; top: .05rem; font-size: .72rem; font-weight: 700; color: var(--ok); }
.band > div { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: center; }
.band .icon-wrap { grid-row: 1 / 3; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-soft); }
.band .icon-wrap .icon { width: 1.15rem; height: 1.15rem; }
.band .num { margin-bottom: 0; }

.foot { margin-top: 3.5rem; border-top: 1px solid var(--line); padding-top: 2.2rem; display: grid; gap: 1.6rem 2rem; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); font-size: .88rem; }
.foot .brand { margin-bottom: .7rem; }
.foot p { color: var(--ink-soft); max-width: 32ch; margin-bottom: 1rem; }
.foot h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: .7rem; }
.foot nav { display: grid; gap: .35rem; }
.foot nav a { color: var(--ink-soft); display: inline-flex; align-items: center; gap: .4rem; }
.foot nav a:hover { color: var(--ink); }
.foot-bar { grid-column: 1 / -1; margin-top: .6rem; padding: 1.1rem 0 0; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: .82rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-bar { padding-bottom: 3.4rem; } }
@media print { .foot, .foot-bar, .rail { display: none; } }
