:root { color-scheme: light; --paper: #f4f9fb; --ink: #0b1f2a; --action: #176bff; --line: #4f7d65; --surface: #fff; --flow: #2cafa4; font-family: system-ui, sans-serif; background: var(--paper); color: var(--ink); }
:root[data-theme="dark"] { color-scheme: dark; --paper: #07131b; --ink: #edf7f7; --action: #70a5ff; --surface: #0b1f2a; --line: #72a487; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100%, 1120px); margin-inline: auto; }
.brand { font-weight: 700; color: var(--ink); font-size: 22px; text-decoration: none; }
.brand span { display: block; font-size: 13px; font-weight: 400; }
header { display: grid; grid-template-columns: 1fr auto 1fr; }
header .brand { grid-column: 2; display: block; text-align: center; }
header nav { grid-column: 3; justify-self: end; }
nav, .actions { display: flex; gap: 12px; flex-wrap: wrap; }
button, a, summary { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: .22em; }
button { font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
a { color: var(--action); }
main { width: min(100%, 680px); margin: auto; padding-block: clamp(48px, 10vh, 100px); }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.12; text-wrap: balance; font-weight: 600; margin: 0 0 24px; }
p { line-height: 1.7; }
.intro { font-size: 20px; max-width: 55ch; margin-bottom: 32px; }
.actions a { padding: 12px 24px; border-radius: 8px; font-weight: 600; }
.primary { background: #176bff; color: #fff; text-decoration: none; }
[aria-disabled="true"] { color: var(--ink); background: var(--surface); cursor: not-allowed; }
#registration-note, .status { font-size: 14px; }
.status { padding-block: 16px; border-bottom: 1px solid var(--line); }
details { margin-top: 28px; }
summary { cursor: pointer; text-decoration: underline; }
footer { flex-wrap: wrap; justify-content: center; font-size: 14px; }
footer span { width: 100%; text-align: center; }
:focus-visible { outline: 3px solid var(--flow); outline-offset: 4px; }
::selection { background: var(--flow); color: #07131b; }
button:hover, a:hover { filter: brightness(.9); }
@media (max-width: 480px) { body { padding-inline: 20px; } header { grid-template-columns: 1fr; } header .brand, header nav { grid-column: 1; justify-self: center; } nav { gap: 8px; } button { padding-inline: 10px; } .actions { flex-direction: column; } .actions a { justify-content: center; } }
