:root {
  color-scheme: light dark;
  --bg: #f5f5fb; --surface: #fff; --surface-2: #f0f0f8; --text: #14152a; --muted: #636782; --line: rgba(20, 20, 60, .1);
  --accent: #6366f1; --accent-2: #312e81; --ok: #15803d; --bad: #b91c1c; --warn: #b45309;
  --ca-accent: #6366f1; --shadow: 0 1px 2px rgba(20,20,60,.05), 0 16px 40px -24px rgba(20,20,60,.3);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0c1a; --surface: #141631; --surface-2: #1b1e3d; --text: #ecedf8; --muted: #9a9dc0; --line: rgba(255,255,255,.08); --accent: #818cf8; --ok: #4ade80; --bad: #f87171; --warn: #fbbf24; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(1200px 600px at 80% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent), var(--bg); color: var(--text); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85em; }
.muted { color: var(--muted); } .small { font-size: 13px; } .pre { white-space: pre-wrap; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 22px 14px; max-width: 980px; width: 100%; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 9px; } .brand em { font-style: normal; color: var(--accent); }
.bar-tools { display: flex; align-items: center; gap: 12px; }
.beta { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: 3px 9px; border-radius: 999px; }
main { width: 100%; max-width: 980px; margin: 0 auto; padding: 8px 22px 40px; display: grid; gap: 18px; align-content: start; flex: 1; }
.hero { position: relative; overflow: hidden; padding: 70px 34px 44px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; justify-items: start; }
.hero h1 { margin: 0; font-size: clamp(28px, 5vw, 44px); line-height: 1.08; letter-spacing: -.035em; max-width: 18ch; position: relative; }
.hero .lead { margin: 0; max-width: 60ch; color: var(--muted); font-size: 17px; position: relative; }
.orb { position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent-2)); opacity: .22; filter: blur(4px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.06); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px; box-shadow: var(--shadow); min-width: 0; }
.card h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.02em; } .card h3 { margin: 18px 0 6px; font-size: 15px; }
.field { display: grid; gap: 6px; margin: 12px 0; width: 100%; } .field > span { font-size: 13px; font-weight: 650; color: var(--muted); }
input[type="text"], textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; outline: none; }
textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { flex: 1 1 220px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 550; cursor: pointer; }
.seg button[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); box-shadow: inset 0 0 0 1px var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px var(--accent); }
.btn.ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row.end { justify-content: flex-end; }
.error { margin: 6px 0; color: var(--bad); } .error:empty { display: none; }
.notice { margin: 4px 0; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); position: relative; } .notice.ok { color: var(--ok); }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plist a { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; text-decoration: none; background: var(--surface-2); }
.plist a:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, var(--surface)); } .pill.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, var(--surface)); }
.pill.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, var(--surface)); } .pill.busy { color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, var(--surface)); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }
.back { text-decoration: none; color: var(--muted); font-weight: 600; }
.phead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .phead h1 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.timeline { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.timeline li { display: grid; gap: 8px; justify-items: center; text-align: center; font-size: 13px; color: var(--muted); position: relative; }
.timeline li i { width: 16px; height: 16px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line); position: relative; z-index: 1; }
.timeline li::before { content: ""; position: absolute; top: 7px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li.done i { background: var(--accent); border-color: var(--accent); } .timeline li.done::before, .timeline li.now::before { background: var(--accent); }
.timeline li.now { color: var(--text); font-weight: 650; } .timeline li.now i { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.timeline li.now.busy i { animation: breathe 1.2s ease-in-out infinite; } .timeline li.now.bad i { border-color: var(--bad); } .timeline li.now.warn i { border-color: var(--warn); }
.note { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--warn) 10%, var(--surface)); } .note p { margin: 4px 0 0; white-space: pre-wrap; } .note.bad { background: color-mix(in srgb, var(--bad) 9%, var(--surface)); }
.tagline { font-size: 17px; font-weight: 550; }
.card > h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.03em; } .card .lead { margin: 0; color: var(--muted); font-size: 17px; max-width: 62ch; }
.tabs { display: flex; gap: 4px; padding: 4px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.tabs a { padding: 9px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; }
.tabs a:hover { color: var(--text); } .tabs a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--text); }
.banner { margin: 0; padding: 14px 18px; border-radius: 18px; display: grid; gap: 2px; background: color-mix(in srgb, var(--warn) 11%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); }
.banner span { color: var(--muted); font-size: 14px; }
.slots { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; font-weight: 600; }
.slots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); } .slots i.on { background: var(--accent); box-shadow: none; } .slots span { margin-left: 4px; }
.pname { display: grid; min-width: 0; } .pname small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hint { margin: 8px 0 0; }
.mini-steps { list-style: none; counter-reset: s; margin: 12px 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.mini-steps li { counter-increment: s; padding: 14px; border-radius: 16px; background: var(--surface-2); font-size: 14.5px; }
.mini-steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; }
.more { font-weight: 650; color: var(--accent); text-decoration: none; }
.flow { list-style: none; counter-reset: s; margin: 22px 0 0; padding: 0; }
.flow li { counter-increment: s; position: relative; padding: 2px 0 22px 46px; }
.flow li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; }
.flow li::after { content: ""; position: absolute; left: 14px; top: 36px; bottom: 6px; width: 2px; background: var(--line); } .flow li:last-child { padding-bottom: 0; } .flow li:last-child::after { display: none; }
.flow b { font-size: 17px; } .flow .when { margin-left: 8px; vertical-align: 2px; } .flow p { margin: 6px 0 0; color: var(--muted); max-width: 68ch; }
.tiles { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tiles li { padding: 14px 16px; border-radius: 16px; background: var(--surface-2); display: grid; gap: 4px; align-content: start; } .tiles span { color: var(--muted); font-size: 14px; }
.checks { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; } .checks li { position: relative; padding-left: 30px; }
.checks li::before { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.checks.yes li::before { content: "✓"; color: var(--ok); background: color-mix(in srgb, var(--ok) 15%, var(--surface)); }
.checks.no li::before { content: "✕"; color: var(--bad); background: color-mix(in srgb, var(--bad) 13%, var(--surface)); }
.spaced { padding-left: 20px; display: grid; gap: 8px; margin: 8px 0 0; }
.explain { margin: 14px 0 0; color: var(--muted); max-width: 68ch; }
.live { margin-top: 16px; }
.brief-head { display: flex; gap: 6px 12px; align-items: baseline; flex-wrap: wrap; margin-top: 14px; } .brief-head b { font-size: 21px; letter-spacing: -.02em; }
.brief .tagline { margin: 4px 0 10px; } .brief ul { padding-left: 20px; } .brief li { margin: 3px 0; }
.credit { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--surface-2); width: fit-content; max-width: 100%; }
.credit .icon { width: 52px; height: 52px; flex: none; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); } .credit div { display: grid; min-width: 0; } .credit small { color: var(--muted); overflow-wrap: anywhere; }
.saved { margin: 6px 0; color: var(--ok); } .saved:empty { display: none; }
details.card > summary { cursor: pointer; font-weight: 650; }
.foot { text-align: center; color: var(--muted); font-size: 12.5px; padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }
@media (max-width: 600px) { .hero { padding: 46px 22px 30px; } .card { padding: 20px 18px; } .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 16px; } .plist a { grid-template-columns: 1fr auto; } .plist a > small { display: none; } .card > h1, .phead h1 { font-size: 24px; } .tabs { width: 100%; gap: 2px; } .tabs a { flex: 1 1 auto; text-align: center; padding: 9px 6px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
