@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"); }

:root {
  --paper: oklch(0.962 0.004 80);
  --card: oklch(0.985 0.002 80);
  --wash: oklch(0.935 0.005 80);
  --line: oklch(0.885 0.006 80);
  --line-strong: oklch(0.78 0.006 80);
  --ink: oklch(0.215 0.006 75);
  --graphite: oklch(0.47 0.008 75);
  --indigo: oklch(0.47 0.17 277);
  --indigo-tint: oklch(0.93 0.035 277);
  --alert: oklch(0.5 0.19 27);
  --alert-wash: oklch(0.95 0.03 27);
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--indigo-tint); }

.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.mark { font: 650 22px/1 var(--sans); letter-spacing: -0.035em; color: var(--indigo); text-decoration: none; }
.bar-link { font-size: 14px; color: var(--graphite); text-decoration: none; }
.bar-link:hover { color: var(--ink); }

.page { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 56px 28px 96px; }
.foot { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px 28px; display: flex; gap: 24px; font-size: 13px; color: var(--graphite); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

.display { margin: 0; font: 400 clamp(2.6rem, 5.4vw, 4.4rem)/1.04 var(--serif); font-optical-sizing: auto; letter-spacing: -0.022em; text-wrap: balance; }
.title { margin: 0; font: 400 clamp(1.9rem, 3.2vw, 2.6rem)/1.1 var(--serif); font-optical-sizing: auto; letter-spacing: -0.018em; text-wrap: balance; }
.lede { margin: 22px 0 0; max-width: 34ch; font-size: 1.125rem; line-height: 1.6; color: var(--graphite); }
.note { margin: 0; font-size: 14px; color: var(--graphite); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 96px; align-items: start; }
.split.middle { align-items: center; min-height: min(62vh, 580px); }

.view { animation: rise 520ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.happens { list-style: none; margin: 44px 0 0; padding: 0; max-width: 40ch; border-top: 1px solid var(--line); }
.happens li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 14px 0; font-size: 15px; }
.happens li + li { border-top: 1px solid var(--line); }
.happens .n { font: 400 12px/1.9 var(--mono); color: var(--graphite); }

.form { border-top: 1px solid var(--ink); padding-top: 26px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .legend { font-size: 14px; font-weight: 500; }
.hint { font-size: 13px; color: var(--graphite); margin: -2px 0 2px; }
.group { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.group .legend { display: block; padding: 0; margin-bottom: 4px; }
.group .field label { font-weight: 400; color: var(--graphite); font-size: 13px; }
.group .hint { margin-bottom: 14px; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; font: inherit; transition: border-color 160ms ease, box-shadow 160ms ease;
}
input::placeholder, textarea::placeholder { color: oklch(0.55 0.008 75); }
input:hover, textarea:hover { border-color: var(--line-strong); }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field.bad input { border-color: var(--alert); box-shadow: 0 0 0 1px var(--alert); }
.err { margin: 0; font-size: 13px; color: var(--alert); }

.checks { display: grid; gap: 2px; margin: 26px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 9px 0; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); display: grid; place-content: center; cursor: pointer; transition: background 140ms ease, border-color 140ms ease; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 160ms var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.check.bad input { border-color: var(--alert); box-shadow: 0 0 0 1px var(--alert); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); font: 500 15px/1 var(--sans); white-space: nowrap; cursor: pointer; text-decoration: none; transition: transform 120ms ease, background 160ms ease, color 160ms ease, opacity 160ms ease; }
.btn:hover { background: oklch(0.32 0.006 75); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn .arrow { transition: transform 200ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.wide { width: 100%; margin-top: 26px; min-height: 54px; font-size: 16px; }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.quiet:hover { background: var(--wash); }
.btn.quiet[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.stop { background: transparent; color: var(--alert); border-color: color-mix(in oklch, var(--alert) 45%, var(--paper)); }
.btn.stop:hover { background: var(--alert-wash); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }

.alert { margin: 18px 0 0; padding: 12px 14px; border: 1px solid color-mix(in oklch, var(--alert) 35%, var(--paper)); border-radius: var(--radius); background: var(--alert-wash); color: var(--alert); font-size: 14px; }

.orb-wrap { display: grid; place-items: center; }
.orb { --level: 0; position: relative; width: clamp(148px, 21vw, 224px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, oklch(0.9 0.05 277) 0%, oklch(0.66 0.15 277) 34%, oklch(0.4 0.14 277) 74%, oklch(0.27 0.08 277) 100%);
  box-shadow: 0 34px 56px -30px oklch(0.3 0.09 277 / 0.55), inset 0 -14px 30px oklch(0.2 0.07 277 / 0.5), inset 0 2px 5px oklch(1 0 0 / 0.4);
  transform: scale(calc(1 + var(--level) * 0.11)); transition: transform 110ms linear, filter 600ms ease, opacity 600ms ease; }
.orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 62%, oklch(1 0 0 / 0.34) 78%, transparent 92%); mix-blend-mode: soft-light; opacity: 0; transition: opacity 400ms ease; }
.orb::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px solid oklch(0.47 0.17 277 / 0.3); opacity: 0; transform: scale(calc(1 + var(--level) * 0.22)); transition: opacity 400ms ease, transform 140ms linear; }
.orb.large { width: clamp(200px, 26vw, 320px); }
.orb.idle, .orb.reading { animation: breathe 5.5s ease-in-out infinite; }
.orb.reading { opacity: 0.72; animation-duration: 2.6s; }
.orb.listening::after, .orb.speaking::after { opacity: 1; }
.orb.thinking::before { opacity: 1; animation: turn 1.9s linear infinite; }
.orb.ended { filter: saturate(0.25); opacity: 0.55; }
@keyframes breathe { 50% { transform: scale(1.035); } }
@keyframes turn { to { transform: rotate(360deg); } }

.stage { display: grid; justify-items: center; gap: 0; max-width: 640px; margin: 0 auto; }
.stage-top { display: flex; align-items: baseline; justify-content: space-between; width: 100%; min-height: 24px; }
.clock { font: 400 13px/1 var(--mono); color: var(--graphite); font-variant-numeric: tabular-nums; }
.stage .orb-wrap { padding: 34px 0 46px; transition: padding 500ms var(--ease); }
.status { margin: 0; font: 400 clamp(1.5rem, 2.4vw, 1.9rem)/1.2 var(--serif); letter-spacing: -0.014em; }
.talk { width: 100%; max-height: 34vh; overflow-y: auto; margin-top: 28px; padding: 26px 2px 4px; scrollbar-width: thin; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30px); mask-image: linear-gradient(to bottom, transparent 0, #000 30px); }
.talk:empty { display: none; }
.line { margin: 0 0 14px; max-width: 46ch; font-size: 17px; line-height: 1.5; animation: rise 360ms var(--ease) both; }
.line.you { margin-left: auto; text-align: right; color: var(--graphite); font-size: 15.5px; }
.line.partial .text { opacity: 0.55; }
.who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.typed-row { width: 100%; margin-top: 16px; }
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.stage.ended .orb-wrap { padding: 4px 0 20px; }
.stage.ended .orb { width: 84px; }
.stage.ended .controls, .stage.ended .typed-row { display: none; }

.after { max-width: 640px; margin: 64px auto 0; padding-top: 34px; border-top: 1px solid var(--ink); animation: rise 520ms var(--ease) both; }
.after .title + .note { margin-top: 10px; }
.plan { margin-top: 22px; }
.plan textarea { min-height: 200px; padding: 20px 22px; font-size: 15.5px; line-height: 1.65; resize: vertical; field-sizing: content; }
.plan-foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; min-height: 38px; }
.skeleton { display: grid; gap: 12px; margin-top: 22px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.skeleton i { display: block; height: 12px; border-radius: var(--radius); background: linear-gradient(90deg, var(--wash) 0%, oklch(0.9 0.005 80) 45%, var(--wash) 90%); background-size: 220% 100%; animation: shimmer 1.6s linear infinite; }
.skeleton i:nth-child(2) { width: 92%; } .skeleton i:nth-child(3) { width: 78%; } .skeleton i:nth-child(4) { width: 86%; } .skeleton i:nth-child(5) { width: 54%; }
@keyframes shimmer { to { background-position: -220% 0; } }

.invites { display: grid; gap: 10px; margin-top: 22px; }
.invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 10px 10px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.invite code { font: 400 13.5px/1.4 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite.used code { color: var(--graphite); text-decoration: line-through; }
.invite-actions { display: flex; gap: 8px; align-items: center; }
.invite-state { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); padding: 0 6px; }
.invite-note { margin-top: 22px; }
#invites > .btn { margin-top: 18px; }

.loading { display: grid; gap: 14px; max-width: 420px; padding-top: 12px; }
.loading i { display: block; height: 14px; border-radius: var(--radius); background: var(--wash); animation: fade 1.4s ease-in-out infinite alternate; }
.loading i:first-child { height: 44px; width: 70%; }
.loading i:last-child { width: 55%; }
@keyframes fade { to { opacity: 0.45; } }

@media (max-width: 919px) {
  .bar { height: 60px; padding: 0 20px; }
  .page { padding: 28px 20px 72px; }
  .foot { padding: 0 20px 24px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.middle { min-height: 0; }
  .split .orb-wrap { order: -1; justify-items: start; }
  .orb.large { width: 132px; }
  .lede { max-width: 38ch; }
  .happens { margin-top: 32px; }
  .talk { max-height: 38vh; }
  .after { margin-top: 48px; }
  .invite { grid-template-columns: minmax(0, 1fr); padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .orb, .orb::after { transform: none; }
}

@media (max-width: 480px) {
  .controls { flex-wrap: nowrap; width: 100%; }
  .controls .btn { flex: 1; padding: 0 8px; }
}

.perch { position: relative; display: grid; place-items: center; }
.perch .orb { display: none; }
.no-mascot .perch .orb { display: block; }
.mascot { display: block; width: 100%; aspect-ratio: 1; animation: rise 700ms var(--ease) both; }
.perch.small { width: 176px; height: 176px; margin: -40px 0 0 -24px; }
.no-mascot .perch.small { display: none; }
.perch.large { width: clamp(280px, 32vw, 420px); min-height: clamp(280px, 32vw, 420px); margin: 0 auto; }
.perch.onstage { width: clamp(210px, 24vw, 290px); min-height: clamp(210px, 24vw, 290px); transition: width 500ms var(--ease), min-height 500ms var(--ease); }
.has-mascot .stage .orb-wrap { padding: 0 0 6px; }
.has-mascot .stage.ended .perch.onstage { width: 140px; min-height: 140px; }
.perch.poster::before { content: ""; position: absolute; inset: 0; background: url(/hardy/poster-9ed3bfcc0e.webp) center / contain no-repeat; pointer-events: none; transition: opacity 450ms var(--ease); }
.perch.poster .mascot { position: relative; opacity: 0; animation: none; transition: opacity 450ms var(--ease); }
.mascot-live .perch.poster::before, .perch.poster.live::before { opacity: 0; }
.mascot-live .perch.poster .mascot, .perch.poster.live .mascot { opacity: 1; }
.no-mascot .perch.poster .orb { display: none; }
.no-mascot .perch.small.poster { display: grid; }

@media (max-width: 919px) {
  .perch.large { width: 190px; min-height: 190px; margin: -18px 0 -10px -30px; }
  .perch.small { margin-top: -22px; }
}

.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; }
.motto { font-size: 13px; color: var(--graphite); letter-spacing: 0.01em; }
.logo { display: block; height: 28px; width: auto; }
.tag { display: inline-block; margin: 0 0 18px; padding: 8px 12px; max-width: 46ch; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--wash); font-size: 13.5px; line-height: 1.45; color: var(--ink); }

.prep { list-style: none; margin: 26px 0 0; padding: 0; max-width: 44ch; display: grid; gap: 14px; }
.prep:empty { display: none; }
.prep li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15.5px; animation: rise 420ms var(--ease) both; }
.prep li.waiting { color: var(--graphite); }
.prep-label { display: block; }
.prep-detail { display: block; margin-top: 2px; font-size: 13.5px; color: var(--graphite); }
.prep li.done .prep-detail { color: var(--indigo); }
.prep [class^="mark-"] { width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; box-sizing: border-box; }
.mark-waiting { border: 1px solid var(--line-strong); }
.mark-doing { border: 2px solid var(--line); border-top-color: var(--ink); animation: turn 0.8s linear infinite; }
.mark-done { background: var(--ink); position: relative; }
.mark-done::after { content: ""; position: absolute; left: 5px; top: 5px; width: 7px; height: 4px; border-left: 1.6px solid var(--paper); border-bottom: 1.6px solid var(--paper); transform: rotate(-45deg); }
.mark-skipped { border: 1px dashed var(--line-strong); }

.now { width: 100%; min-height: 132px; margin-top: 26px; display: grid; align-content: start; justify-items: center; gap: 14px; text-align: center; }
.now-kyv { margin: 0; max-width: 30ch; font: 400 clamp(1.3rem, 2.1vw, 1.6rem)/1.36 var(--serif); font-optical-sizing: auto; letter-spacing: -0.012em; text-align: left; min-height: 4.1em; }
.now-kyv .unsaid { opacity: 0; }
.now-kyv:empty, .now-you:empty { display: none; }
.now-you { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--graphite); }
.now-you::before { content: "You  "; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--line-strong); margin-right: 6px; }
.now-you.partial { opacity: 0.7; }
.stage.ended .now { display: none; }

.linkish { margin-top: 20px; padding: 6px 4px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--graphite); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }
.linkish:hover { color: var(--ink); }
.linkish:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.history { width: 100%; max-height: 44vh; overflow-y: auto; margin-top: 14px; padding: 6px 0 2px; border-top: 1px solid var(--line); scrollbar-width: thin; text-align: left; }
.stage.ended .history { max-height: none; }
.say { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 13px 0; }
.say + .say { border-top: 1px solid var(--line); }
.say .who { position: static; width: auto; height: auto; clip-path: none; overflow: visible; font: 500 11px/1.9 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.say.kvy .who { color: var(--indigo); }
.say .text { margin: 0; font-size: 15.5px; line-height: 1.55; }
.say.you .text { color: var(--graphite); }
.say.partial .text { opacity: 0.6; }

@media (max-width: 919px) {
  .motto { display: none; }
  .now { min-height: 120px; }
  .say { grid-template-columns: 46px 1fr; gap: 10px; }
}

.plandoc { margin-top: 26px; display: grid; gap: 30px; }
.pl-block { min-width: 0; }
.pl-label { display: block; margin: 0 0 8px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.pl-text { margin: 0; font-size: 17px; line-height: 1.55; }
.pl-edit { border-radius: var(--radius); outline: none; cursor: text; transition: background 140ms ease, box-shadow 140ms ease; }
.pl-edit:hover { background: var(--wash); box-shadow: 0 0 0 5px var(--wash); }
.pl-edit:focus { background: var(--card); box-shadow: 0 0 0 5px var(--card), 0 0 0 6px var(--ink); }
.pl-edit:empty::before { content: attr(data-ph); color: oklch(0.55 0.008 75); }
.pl-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 40px; }

.pcards { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.pcard { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; padding: 22px 22px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pcard-n { font: 400 13px/2 var(--mono); color: var(--graphite); }
.pcard-who { margin: 0 0 14px; font: 400 1.35rem/1.25 var(--serif); font-optical-sizing: auto; letter-spacing: -0.012em; }
.pcard-who::first-letter { text-transform: uppercase; }
.pcard-rows { margin: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 9px 16px; font-size: 15px; line-height: 1.5; }
.pcard-rows dt { color: var(--graphite); }
.pcard-rows dd { margin: 0; }
.pcard-why { margin: 16px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--graphite); }
.pcard-why .pl-label { margin-bottom: 4px; }
.pcard-empty { padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 15px; color: var(--graphite); }
.linkish.small { margin-top: 6px; padding: 4px 0; font-size: 13px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14.5px; }
.chip-x { border: 0; background: none; padding: 0 2px; font: inherit; font-size: 12px; color: var(--graphite); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chip-x:hover { color: var(--alert); }
input[type="text"].chip-add { width: 190px; padding: 7px 10px; font-size: 14.5px; background: transparent; border-style: dashed; }

.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.seg-b { padding: 9px 18px; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.seg-b + .seg-b { border-left: 1px solid var(--line-strong); }
.seg-b[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg-b:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.pl-guesses { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-guesses li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 12px 16px; background: var(--indigo-tint); border-radius: var(--radius); font-size: 15px; }
.pl-guesses .linkish.small { margin: 0; }

.planbar { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px -14px 0; padding: 14px; background: color-mix(in oklch, var(--paper) 94%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(6px); }

@media (max-width: 919px) {
  .pl-pair { grid-template-columns: minmax(0, 1fr); }
  .pcard { grid-template-columns: 22px minmax(0, 1fr); padding: 18px 16px 12px; }
  .pcard-rows { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .pcard-rows dt { margin-top: 8px; font-size: 13px; }
}

button.bar-link { margin: 0; padding: 6px 0; text-decoration: none; }
.signin-form { margin-top: 38px; max-width: 420px; }
.signin-actions { display: flex; align-items: center; gap: 18px; }
.signin-actions .linkish { margin: 0; }
input[type="text"].code-input { max-width: 220px; font: 400 24px/1.2 var(--mono); letter-spacing: 0.3em; }

.me { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 72px; align-items: start; }
.rail { position: sticky; top: 28px; }
.rail .perch.small { width: 148px; height: 148px; margin: -34px 0 0 -26px; }
.rail-name { margin: 6px 0 0; font: 400 1.5rem/1.15 var(--serif); font-optical-sizing: auto; letter-spacing: -0.014em; overflow-wrap: anywhere; }
.rail-sub { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--graphite); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tabs { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.tab { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: baseline; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 15px; text-align: left; color: var(--graphite); cursor: pointer; transition: color 140ms ease, padding 200ms var(--ease); }
.tab .n { font: 400 11px/1 var(--mono); }
.tab .short { display: none; }
.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: var(--ink); font-weight: 500; padding-left: 8px; }
.tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.badge { padding: 3px 7px; background: var(--indigo-tint); color: var(--indigo); border-radius: var(--radius); font: 500 11px/1.2 var(--mono); }

.panels { min-width: 0; max-width: 720px; }
.panel { animation: rise 420ms var(--ease) both; }
.lede.wide { max-width: 52ch; margin-top: 16px; }
.flash { margin: 0 0 26px; padding: 12px 16px; background: var(--indigo-tint); border-radius: var(--radius); font-size: 14.5px; }
.hero-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 34px; padding: 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.hero-card .pl-label { margin-bottom: 6px; }
.hero-line { margin: 0; max-width: 40ch; font-size: 16.5px; line-height: 1.5; }
.group-title { margin: 56px 0 0; font: 400 1.5rem/1.2 var(--serif); font-optical-sizing: auto; letter-spacing: -0.014em; }
.group-title + .note { margin-top: 6px; }
.small-note { margin-top: 12px; font-size: 13px; }

.steps, .rows { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 0 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.step .box { width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); display: grid; place-content: center; }
.step.done .box { background: var(--ink); border-color: var(--ink); }
.step.done .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: translateY(-1px) rotate(-45deg); }
.step-t { display: block; font-size: 16px; }
.step-d { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--graphite); }
.step.done .step-t { color: var(--graphite); }

.row { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; min-height: 64px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.row-k { font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.row-v { font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.row-v small { display: block; margin-top: 2px; font-size: 13px; color: var(--graphite); }
.row-acts { display: inline-flex; align-items: center; gap: 14px; }
.row-acts .linkish { margin: 0; }
.row input[type="text"] { padding: 9px 12px; }

.switch { position: relative; width: 46px; height: 26px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 1px; background: var(--line-strong); transition: transform 200ms var(--ease), background 160ms ease; }
.switch[aria-checked="true"] { background: var(--ink); border-color: var(--ink); }
.switch[aria-checked="true"] i { transform: translateX(20px); background: var(--paper); }
.switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.switch:disabled { opacity: 0.5; }

.empty { margin-top: 26px; padding: 30px 28px; max-width: 60ch; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 15.5px; line-height: 1.6; color: var(--graphite); white-space: pre-wrap; }

@media (max-width: 919px) {
  .me { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 64px; }
  .rail { position: static; }
  .rail .perch.small, .rail-sub { display: none; }
  .rail-name { margin: 0; font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
  .tabs { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0 6px env(safe-area-inset-bottom); background: color-mix(in oklch, var(--paper) 94%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .tab { display: block; padding: 16px 2px 14px; border-bottom: 0; border-top: 2px solid transparent; margin-top: -1px; font-size: 12.5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tab .n, .tab .badge, .tab .long { display: none; }
  .tab .short { display: inline; }
  .tab[aria-current="page"] { padding-left: 2px; border-top-color: var(--ink); }
  .hero-card { padding: 22px 20px; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row-k { grid-column: 1 / -1; }
  .planbar { bottom: 52px; }
}
button.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.eyebrow { margin: 0 0 18px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.display.headline { font-size: clamp(2.1rem, 4.2vw, 3.3rem); max-width: 20ch; }
.small-print { display: grid; gap: 8px; margin-top: 28px; max-width: 46ch; }
.small-print .note { font-size: 13px; line-height: 1.5; }
.optional { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--graphite); }
.gets { list-style: none; margin: 26px 0 0; padding: 0; max-width: 44ch; border-top: 1px solid var(--line); }
.gets li { padding: 11px 0 11px 22px; position: relative; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.gets li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 1px; background: var(--ink); }
.trust { margin-top: 18px; max-width: 46ch; }
.prep-line { margin-top: 22px; min-height: 1.4em; color: var(--ink); font-size: 16.5px; }
.prep-line::after { content: ""; display: block; width: min(320px, 100%); height: 3px; margin-top: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--line-strong) 0%, var(--ink) 50%, var(--line-strong) 100%) 0 0 / 220% 100%; animation: shimmer 1.4s linear infinite; }
.btn.busy:disabled { opacity: 1; cursor: progress; }
.btn .spin { width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: turn 0.8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .prep-line::after, .btn .spin { animation: none; } }
.prep-line:empty { display: none; }
.start-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.who-pays { margin-top: 26px; max-width: 46ch; font-size: 13px; }
.wa-row { display: flex; gap: 10px; margin-top: 18px; max-width: 420px; }
.wa-row input { flex: 1; }

.knows-card { margin-top: 30px; padding: 24px 28px; max-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.knows-short { list-style: none; margin: 4px 0 0; padding: 0; }
.knows-short li { padding: 9px 0; font: 400 1.125rem/1.45 var(--serif); border-bottom: 1px solid var(--line); }
.knows-short li:last-child { border-bottom: 0; }
.knows-short li.quiet { font-family: var(--sans); font-size: 15px; color: var(--graphite); }
.knows-fix { margin-top: 12px; }
.knows-fix .linkish { margin: 0 0 0 4px; }
.knows-h { margin: 30px 0 0; font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.rows.knows { margin-top: 10px; }
.row.fact { grid-template-columns: minmax(0, 1fr) auto; }
.row.fact.editing { align-items: start; }
.row.fact textarea, .row select, .row textarea { width: 100%; font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); }
.fact-src a { color: inherit; }
.fact-was { font-style: italic; }
.rows.promise { margin-top: 26px; max-width: 720px; }
.auth-box { display: grid; gap: 16px; max-width: 420px; margin-top: 22px; }
.auth-social { display: grid; gap: 10px; }
.auth-social .btn.social { width: 100%; justify-content: center; }
.auth-or { margin: 4px 0 0; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); }
.auth-step { display: grid; gap: 14px; }
.auth-step .field { margin: 0; }
