
@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/Archivo-var.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --graphite: #16171A;
  --offwhite: #F2F3F5;
  --cobalt: #2F5BFF;
  --cobalt-ink: #A6B9FF;
  --cobalt-hover: #2448E6;
  --cobalt-press: #1A36B3;
  --off-fill: #2A2C31;
  --off-edge: #44474E;
  --off-text: #6F737B;
  --haze: #B4B8C0;
  --rule: rgba(242, 243, 245, .28);
  --rail: 232px;
  --s1: .25rem;
  --s2: .5rem;
  --s3: clamp(.75rem, .65rem + .3vw, 1rem);
  --s4: clamp(1rem, .85rem + .5vw, 1.5rem);
  --s5: clamp(1.5rem, 1.15rem + 1.1vw, 2.25rem);
  --s6: clamp(2.5rem, 1.8rem + 2.2vw, 4.5rem);
  --s7: clamp(3rem, 2rem + 3.6vw, 6rem);
  --gutter: clamp(1.25rem, .5rem + 3.5vw, 4rem);
  --col: 40rem;
  --wide: 60rem;
  --tabs: 3.5rem;
  --display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --reading: "Archivo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--offwhite); background-color: var(--graphite); font: 400 16px/1.6 var(--reading); -webkit-text-size-adjust: 100%; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(rgba(22, 23, 26, .84), rgba(22, 23, 26, .84)), url("/static/img/background-1536.webp") left bottom / cover no-repeat, var(--graphite);
}
@media (max-width: 800px) {
  body::before { background: linear-gradient(rgba(22, 23, 26, .84), rgba(22, 23, 26, .84)), url("/static/img/background-800.webp") left bottom / cover no-repeat, var(--graphite); }
}
h1, h2 { font-family: var(--display); font-weight: 900; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 1.75rem + 3.2vw, 4.5rem); line-height: 1.02; max-width: 14ch; }
h2 { font-size: 24px; line-height: 1.15; }
p { margin: 0 0 var(--s4); max-width: 60ch; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cobalt-ink); outline-offset: 2px; }
.label { font-size: 13px; font-weight: 700; color: var(--haze); margin: 0 0 var(--s2); }
.lead { font-size: clamp(1.125rem, .95rem + .7vw, 1.5rem); line-height: 1.45; margin-top: var(--s5); }
.quiet { color: var(--haze); }

/* the rail of places */
.rail { position: fixed; top: 0; left: 0; bottom: 0; width: var(--rail); padding: var(--s5) var(--s4); display: flex; flex-direction: column; }
.rail a, .rail button { display: flex; align-items: center; min-height: 48px; text-decoration: none; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--haze); font: 600 16px var(--reading); padding: 0; text-align: left; cursor: pointer; width: 100%; }
.rail .rail-name { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--offwhite); margin-bottom: var(--s4); }
.rail a:hover, .rail button:hover, .rail [aria-current="page"] { color: var(--offwhite); }
.rail-end { margin-top: auto; }
main { margin-left: var(--rail); padding: 0 var(--gutter) var(--s6); min-height: 100vh; border-left: 1px solid var(--rule); }
.opening, .foot { width: min(100%, var(--col)); margin-inline: auto; }
.opening { padding: var(--s7) 0 var(--s6); border-bottom: 1px solid var(--rule); }
.opening > :last-child { margin-bottom: 0; }

/* buttons (cobalt block, owner 2026/12/02, buttons round 2, 1): square rectangles, no shadows. The main action is solid
   Cobalt with off-white words (4.66:1), second actions a 2px off-white frame, the least important Haze words that underline
   on hover, danger the frame with an 8px cobalt left edge. Pressed darkens the main fill and fills the others off-white. */
.actions { margin-top: var(--s5); }
.act {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px;
  padding: var(--s2) var(--s4); margin: 0; background: none; border: 2px solid var(--offwhite); border-radius: 0;
  font: 700 clamp(1.125rem, .95rem + .7vw, 1.5rem) var(--reading); text-align: left; text-decoration: none;
  color: var(--offwhite); cursor: pointer;
}
.act + .act, form + form .act, .actions > * + * { margin-top: var(--s2); }
.act:hover { background: rgba(242, 243, 245, .12); }
.act:active { background: var(--offwhite); color: var(--graphite); }
.act-main { background: var(--cobalt); border-color: var(--cobalt); color: var(--offwhite); }
.act-main:hover { background: var(--cobalt-hover); border-color: var(--cobalt-hover); }
.act-main:active { background: var(--cobalt-press); border-color: var(--cobalt-press); color: var(--offwhite); }
.act-quiet { padding-left: 0; padding-right: 0; border-color: transparent; color: var(--haze); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.act-quiet:hover { background: none; color: var(--offwhite); text-decoration: underline; text-underline-offset: 6px; }
.act-quiet:active { background: none; color: var(--offwhite); text-decoration: underline 2px var(--cobalt); text-underline-offset: 6px; }
.act-danger { border-left: 8px solid var(--cobalt); }
.arrow { margin-left: var(--s3); font-weight: 400; }
.act:hover .arrow { transform: translateX(4px); }
.act:disabled, .act:disabled:hover, .act:disabled:active { background: none; border-color: var(--off-edge); color: var(--off-text); text-decoration: none; cursor: default; }
.act-main:disabled, .act-main:disabled:hover, .act-main:disabled:active { background: var(--off-fill); border-color: var(--off-fill); }
.act:disabled .arrow { transform: none; }
form { margin: 0; }

/* the bench, five places on a half circle; the open seat is a cobalt ring */
.bench { position: relative; width: min(100%, 30rem); aspect-ratio: 2 / 1; margin: var(--s5) auto; }
.seat { position: absolute; width: 16%; height: auto; border-radius: 50%; transform: translate(-50%, -50%); }
.s1 { left: 16%; top: 84%; } .s2 { left: 26%; top: 35.9%; } .s3 { left: 50%; top: 16%; } .s4 { left: 74%; top: 35.9%; } .s5 { left: 84%; top: 84%; }
.open-seat { aspect-ratio: 1; border: 2px solid var(--cobalt); }
.seated .s3 { outline: 2px solid var(--cobalt); outline-offset: 3px; animation: take .9s ease-out .3s both; }
@keyframes take { from { opacity: 0; } to { opacity: 1; } }

/* fields: one line on a cobalt rule, no box */
.field { display: grid; gap: var(--s1); margin: var(--s5) 0 0; }
.field span { font-size: 13px; font-weight: 700; color: var(--haze); }
.field input {
  all: unset; box-sizing: border-box; width: 100%; min-height: 56px; padding: var(--s2) 0;
  font: 600 clamp(1.125rem, 1rem + .5vw, 1.375rem) var(--reading); color: var(--offwhite);
  border-bottom: 2px solid var(--cobalt);
}
.field input::placeholder { color: #8A8F99; }
.field input.digits { font-family: var(--display); font-weight: 900; font-size: clamp(1.875rem, 1.6rem + 1vw, 2.5rem); letter-spacing: .18em; }
.hint { font-size: 13px; color: var(--haze); margin: var(--s2) 0 0; }
.turnstile { margin-top: var(--s4); min-height: 65px; }

/* what went wrong: off-white words held by a cobalt rule on the left */
.problem { border-left: 2px solid var(--cobalt); padding: var(--s2) 0 var(--s2) var(--s4); margin: var(--s5) 0 0; max-width: none; }
.problem b { font-weight: 700; }
.done { border-left: 2px solid var(--offwhite); padding: var(--s2) 0 var(--s2) var(--s4); margin: var(--s5) 0 0; }

/* the limit, shown not edited: a ruled ledger of facts */
.facts { margin: var(--s5) 0 0; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.facts dd small { display: block; color: var(--haze); font-size: 13px; margin-top: var(--s1); }

/* the account: a 3/9 split, section names left, fields right */
.settings { width: min(100%, var(--wide)); margin-inline: auto; padding: var(--s7) 0 var(--s6); }
.settings > h1 { margin-bottom: var(--s5); }
.part { display: grid; grid-template-columns: 3fr 9fr; column-gap: 32px; padding: var(--s5) 0; border-top: 1px solid var(--rule); }
.part:last-child { border-bottom: 1px solid var(--rule); }
.part > h2 { font-size: 18px; line-height: 1.3; padding-top: var(--s2); }
.part > div > :last-child { margin-bottom: 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 48px; border-bottom: 1px solid var(--rule); }
.row:first-child { border-top: 1px solid var(--rule); }
.row b { font-weight: 700; }
.row .inline { all: unset; box-sizing: border-box; cursor: pointer; color: var(--offwhite); font-weight: 700; min-height: 44px; padding: 0 var(--s3); border: 2px solid var(--offwhite); display: inline-flex; align-items: center; } /* a small second action */
.row .inline:hover { background: rgba(242, 243, 245, .12); }
.row .inline:active { background: var(--offwhite); color: var(--graphite); }
.row .inline:focus-visible { outline: 2px solid var(--cobalt-ink); outline-offset: 2px; }
.key { font: 700 clamp(1.125rem, 1rem + .5vw, 1.375rem)/1.5 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; overflow-wrap: anywhere; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.codes { list-style: none; margin: var(--s4) 0; padding: 0; columns: 2; column-gap: var(--s5); }
.codes li { font: 700 18px/1 ui-monospace, "SF Mono", Menlo, monospace; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
[hidden] { display: none !important; }

.foot { padding: var(--s5) 0 0; color: var(--haze); font-size: 13px; }
.foot p { margin: 0; }
.foot p + p { margin-top: var(--s2); }
.tabs { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 800px) {
  .rail { display: none; }
  main { margin-left: 0; border-left: 0; padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom) + var(--s6)); }
  .part { grid-template-columns: 1fr; row-gap: var(--s3); }
  .facts div { grid-template-columns: 1fr; gap: var(--s1); }
  .codes { columns: 1; }
  .tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; background: var(--graphite); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
  .tabs a, .tabs button { all: unset; display: flex; align-items: center; justify-content: center; min-height: var(--tabs); font-size: 13px; font-weight: 700; color: var(--offwhite); cursor: pointer; text-align: center; }
  .tabs [aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .seated .s3 { animation: none; }
  .act:hover .arrow { transform: none; }
}
