@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Kea Hand"; src: url(fonts/kea-hand.woff2) format("woff2"); font-display: block; }
@font-face { font-family: "Student Pen"; src: url(fonts/student-pen.woff2) format("woff2"); font-display: block; }

:root {
  color-scheme: dark;
  --page: #0f0f10; --text: #f4f4f5; --text2: #a1a1aa; --text3: #8a8a93;
  --line: #232326; --line2: #323238; --panel: #151517; --field: #151517; --rail: #0c0c0d;
  --board: #121212; --board-edge: #26262b; --grid: rgba(255, 255, 255, .055);
  --pen: #e9e9e6; --pen-soft: #a1a1aa;
  --btn: #f4f4f5; --btn-text: #111111; --btn-hover: #ffffff;
  --key: #222226; --key-line: #3a3a40; --key-base: #0b0b0c; --key-text: #e4e4e7;
  --kea: #f26b21; --kea-hand: #ff9a55; --kea-paper: #cc4b0b;
  --focus: 0 0 0 2px var(--page), 0 0 0 4px #f4f4f5;
  --hover: #222226; --track: #2e2e33; --chip: #222226; --ring: rgba(244, 244, 245, .14); --err: #fca5a5;
  --pop: #1b1b1e; --pop-shadow: 0 0 0 1px #34343a, 0 10px 30px rgba(0, 0, 0, .45);
  --key-down: #2c2c31; --key-down-line: #55555d; --key-down-text: #ffffff;
  --paper: #f3f3f1; --paper-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px rgba(0, 0, 0, .35);
  --lift: 0 0 0 0 transparent; --drop: rgba(0, 0, 0, .42); --sheet-line: transparent;
  --win-back: #19191c; --win-back-line: #2a2a30; --win: #161618; --win-line: #34343a; --win-text: #8a8a93;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a1a1aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* light: white graph-paper boards on a warm paper page, Kea writes in the light-surface orange */
:root[data-theme="light"] {
  color-scheme: light;
  --page: #f5f5f3; --text: #18181b; --text2: #52525b; --text3: #67676f;
  --line: #e4e4e0; --line2: #d4d4cf; --panel: #ffffff; --field: #ffffff; --rail: #eeeeeb;
  --board: #ffffff; --board-edge: #e0e0dc; --grid: rgba(24, 24, 27, .065);
  --pen: #1f2433; --pen-soft: #5b5f6b;
  --btn: #18181b; --btn-text: #ffffff; --btn-hover: #3f3f46;
  --key: #ffffff; --key-line: #d4d4d8; --key-base: #c4c4ca; --key-text: #3f3f46;
  --kea: #cc4b0b; --kea-hand: #cc4b0b;
  --focus: 0 0 0 2px var(--page), 0 0 0 4px #18181b;
  --hover: #ebebe8; --track: #dcdcd8; --chip: #ffffff; --ring: rgba(24, 24, 27, .1); --err: #b91c1c;
  --pop: #ffffff; --pop-shadow: 0 0 0 1px #dcdcd8, 0 10px 30px rgba(24, 24, 27, .12);
  --key-down: #ececee; --key-down-line: #a1a1aa; --key-down-text: #18181b;
  --paper: #ffffff; --paper-shadow: 0 0 0 1px rgba(24, 24, 27, .07), 0 1px 2px rgba(24, 24, 27, .06), 0 14px 36px rgba(24, 24, 27, .09);
  --lift: 0 1px 2px rgba(24, 24, 27, .04), 0 16px 40px rgba(24, 24, 27, .07); --drop: rgba(24, 24, 27, .14); --sheet-line: rgba(24, 24, 27, .14);
  --win-back: #f4f4f2; --win-back-line: #e2e2de; --win: #ffffff; --win-line: #d8d8d3; --win-text: #67676f;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2367676f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.theme-swap *, .theme-swap *::before, .theme-swap *::after { transition: none !important; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.55 "Instrument Sans", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 56px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 8px 14px; border-radius: 8px; background: var(--btn); color: var(--btn-text); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { display: inline-flex; align-items: flex-end; border-radius: 6px; font-size: 25px; font-weight: 650; letter-spacing: -.045em; line-height: 1; text-decoration: none; }
.wordmark svg { width: .9em; height: .9em; margin: 0 0 .12em -.04em; overflow: visible; }
.wordmark path { fill: none; stroke: var(--kea); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.top nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); font-size: 15px; }
.top nav a:not(.btn) { color: var(--text2); text-decoration: none; white-space: nowrap; transition: color .15s; }
.top nav a[aria-current="page"] { color: var(--text); }
.top nav a:not(.btn):hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--btn); color: var(--btn-text); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, opacity .15s; }
.btn:hover { background: var(--btn-hover); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.small { height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; }
.theme-toggle { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin: 0 -6px; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--text2); cursor: pointer; transition: color .15s, background .15s; }
.theme-toggle:hover { color: var(--text); background: var(--hover); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon, :root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }

/* hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 0; text-align: center; }
.hero h1 { margin: 0 auto; font-size: clamp(46px, 7.4vw, 88px); font-weight: 650; line-height: 1.02; letter-spacing: -.045em; }
.circled { position: relative; display: inline-block; margin-left: .12em; }
.circled svg { position: absolute; left: -7%; top: -14%; width: 116%; height: 132%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--kea); stroke-width: 1.55; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .circled path { animation: none; stroke-dashoffset: 0; } }
.hero .sub { max-width: 46ch; margin: 22px auto 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--text2); text-wrap: balance; }
.hero .sub .for { color: var(--text); }
.hero .sub .nw { white-space: nowrap; }
@media (min-width: 540px) { .hero .sub { max-width: 52ch; } .hero .sub .for { display: block; } }
.inline-form { display: flex; gap: 8px; width: min(460px, 100%); margin: 34px auto 0; }
.field { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 10px; background: var(--field); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field::placeholder { color: var(--text3); }
.field:focus-visible { border-color: var(--text); box-shadow: 0 0 0 3px var(--ring); border-radius: 10px; }
select.field { appearance: none; padding-right: 40px; background-image: var(--chev); background-repeat: no-repeat; background-position: right 15px center; cursor: pointer; }
select.field:has(option[value=""]:checked) { color: var(--text3); }
select.field option { color: var(--text); background: var(--panel); }
.fine { margin: 12px 0 0; font-size: 14px; color: var(--text3); }

/* demo video */
.player { position: relative; width: min(900px, 100%); margin: clamp(48px, 7vw, 76px) auto 0; overflow: hidden; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--board-edge), var(--lift); text-align: left; }
.screen { position: relative; margin: 1px 1px 0; overflow: hidden; border-radius: 17px 17px 0 0; }
.board { background-color: var(--board); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.screen > svg { display: block; width: 100%; height: auto; }
.js .player:not(.ready) .ink { visibility: hidden; }
.keycast { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: var(--pop); box-shadow: var(--pop-shadow); color: var(--text2); font-size: 16px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.keycast.on { opacity: 1; transform: none; }
.keycast .plus { padding: 0 2px; font-size: 18px; font-weight: 500; line-height: 1; color: var(--text2); }
.keycast kbd { min-width: 46px; height: 36px; font-size: 15px; }
.keycast kbd.down { transform: translateY(3px); background: var(--key-down); box-shadow: inset 0 0 0 1px var(--key-down-line), 0 0 0 var(--key-base); color: var(--key-down-text); }
.controls { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 14px 0 8px; border-top: 1px solid var(--board-edge); }
.play { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 9px; background: none; color: var(--text); cursor: pointer; transition: background .15s; }
.play:hover { background: var(--hover); }
.play svg { width: 16px; height: 16px; fill: currentColor; }
.play .i-play { display: none; }
.player.paused .play .i-play { display: block; }
.player.paused .play .i-pause { display: none; }
.sound { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; min-width: 36px; height: 36px; margin-left: -8px; padding: 0 10px 0 8px; border: 0; border-radius: 9px; background: none; color: var(--text2); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.sound:hover { background: var(--hover); color: var(--text); }
.sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound .cone { fill: currentColor; stroke-width: 1.2; }
.sound .i-sound, .player.sound-on .sound .i-muted { display: none; }
.player.sound-on .sound .i-sound { display: inline; }
.player.sound-on .sound { color: var(--text); }
.player.sound-used .sound { padding: 0; }
.player.sound-used .sound-hint { display: none; }
.track { position: relative; flex: 1; height: 24px; cursor: pointer; touch-action: none; border-radius: 6px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 999px; background: var(--track); }
.fill { position: absolute; left: 0; top: 10px; height: 4px; width: 0; border-radius: 999px; background: var(--text); }
.fill::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--text); opacity: 0; transition: opacity .15s; }
.track:hover .fill::after, .track:focus-visible .fill::after { opacity: 1; }
.time { flex: none; min-width: 84px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text2); text-align: right; }

/* svg ink */
.s { font-family: "Student Pen", cursive; fill: var(--pen); }
.s.soft { fill: var(--pen-soft); }
.k { font-family: "Kea Hand", cursive; fill: var(--kea-hand); }
.ks { fill: none; stroke: var(--kea); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.kf { fill: var(--kea); }
.ps { fill: none; stroke: var(--pen); stroke-width: 2; stroke-linecap: round; }
.typed { font-family: "Instrument Sans", sans-serif; font-size: 16px; fill: var(--pen-soft); }
.typed b, .typed .b { font-weight: 650; fill: var(--text); }
.sel { fill: rgba(74, 140, 255, .1); stroke: #4a8cff; stroke-width: 1.4; stroke-dasharray: 5 4; }

kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 6px; background: var(--key); box-shadow: inset 0 0 0 1px var(--key-line), 0 2px 0 var(--key-base); font: 600 12px/1 "Instrument Sans", sans-serif; color: var(--key-text); transition: transform .08s, box-shadow .08s, background .08s; }
kbd.big { min-width: 38px; height: 34px; padding: 0 11px; border-radius: 8px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--key-line), 0 3px 0 var(--key-base); }

/* sections */
section { padding: clamp(80px, 11vw, 136px) 0 0; scroll-margin-top: 24px; }
.label { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--text2); }
h2 { margin: 0; font-size: clamp(32px, 4.6vw, 50px); font-weight: 650; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
h3 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.lede { max-width: 46ch; margin: 18px 0 0; font-size: 18px; color: var(--text2); text-wrap: pretty; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* tiles: three moves and features share them */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; text-align: left; }
.tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.tile > .board { border-bottom: 1px solid var(--line); }
.tile > .board svg { display: block; width: 100%; height: auto; }
.tile-body { padding: 20px 22px 24px; }
.tile p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--text2); }
.move-keys { display: flex; align-items: center; gap: 6px; height: 34px; margin-bottom: 16px; color: var(--text3); font-size: 15px; }
.pen-key svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 979px) {
  .moves { grid-template-columns: 1fr; }
  .moves .tile { display: grid; grid-template-columns: 1fr 1.08fr; }
  .moves .tile > .board { order: 2; display: flex; align-items: center; border-bottom: 0; border-left: 1px solid var(--line); }
  .moves .tile-body { align-self: center; padding: 24px 26px; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .moves .tile { display: flex; }
  .moves .tile > .board { order: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .features { grid-template-columns: 1fr; }
}
.drop { fill: var(--drop); }
.sheet { stroke: var(--sheet-line); }
.win-back { fill: var(--win-back); stroke: var(--win-back-line); }
.win { fill: var(--win); stroke: var(--win-line); }
.win-text { fill: var(--win-text); }
.win-rule { stroke: var(--win-line); }

/* exam */
.split { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: clamp(32px, 4vw, 48px); }
.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 16.5px; color: var(--text2); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); font-size: 13px; font-weight: 600; color: var(--text); }
.steps b { color: var(--text); font-weight: 600; }
.paper { position: relative; padding: 22px 24px 16px; border-radius: 8px; background: var(--paper); color: #1c1c1e; box-shadow: var(--paper-shadow); }
.paper .k { fill: var(--kea-paper); }
.paper .ks { stroke: var(--kea-paper); }
.paper .s { fill: #1f2433; }
.paper-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #deded9; font-size: 12.5px; color: #55554f; }
.paper-q { margin: 14px 0 0; padding-right: 96px; font-size: 15px; line-height: 1.45; }
.paper-q b { font-weight: 650; }
.paper-q span { color: #55554f; }
.paper > svg { display: block; width: 100%; height: auto; margin-top: 4px; }
.score { position: absolute; top: 50px; right: 14px; width: 80px; transform: rotate(4deg); }
.score svg { display: block; width: 100%; height: auto; overflow: visible; }
.pages { margin-top: 16px; padding: 8px; border-radius: 14px; background: var(--rail); box-shadow: inset 0 0 0 1px var(--line); }
.pages-topic { margin: 0; padding: 8px 10px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text3); }
.pages ul { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.pages li { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--text2); }
.pages li.is-on { background: var(--chip); box-shadow: inset 0 0 0 1px var(--line2); color: var(--text); }
.pages li svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--text3); }
.pages li.is-on svg { color: var(--text); }
.pages .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pages .t i { font-style: normal; color: var(--text3); }
.pages .meta { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text3); }
.pages .meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--kea); }
.pages .meta.score-meta::before { display: none; }
@media (max-width: 979px) { .split { grid-template-columns: 1fr; } }

/* why */
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px clamp(28px, 5vw, 64px); margin: 44px 0 0; padding: 0; list-style: none; }
.why-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.why-list svg { width: 30px; height: 26px; margin-top: 1px; overflow: visible; }
.why-list p { margin: 4px 0 0; font-size: 16px; color: var(--text2); }
@media (max-width: 600px) { .why-list { grid-template-columns: 1fr; gap: 26px; } }

/* founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 40px); align-items: start; max-width: 760px; margin: 0 auto; }
.photo { display: grid; place-items: center; width: clamp(76px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line2); font-size: 12px; color: var(--text3); }
.photo .doodle { width: 58%; height: 58%; overflow: visible; fill: none; stroke: var(--text); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.founder blockquote { margin: 0; font-size: clamp(20px, 2.3vw, 25px); line-height: 1.42; letter-spacing: -.012em; text-wrap: pretty; }
.founder blockquote.placeholder { color: var(--text3); }
.founder footer { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; font-size: 15px; color: var(--text2); }
.founder .sig { font-family: "Student Pen", cursive; font-size: 34px; line-height: 1; color: var(--text); }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; } }

/* access */
.access { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 20px; padding: clamp(22px, 3.4vw, 34px); border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.form label.lbl, .form legend { display: block; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.form .opt { font-weight: 450; color: var(--text3); }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 10px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line2); font-size: 15px; cursor: pointer; transition: box-shadow .12s, background .12s; }
.seg input:checked + span { background: var(--btn); color: var(--btn-text); box-shadow: none; font-weight: 600; }
.seg input:focus-visible + span { box-shadow: var(--focus); }
.form .field { background: var(--page); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-msg { margin: 0; font-size: 15px; color: var(--text2); }
.form-msg.err { color: var(--err); }
.form-msg a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.thanks { display: grid; gap: 10px; align-content: center; min-height: 320px; padding: clamp(22px, 3.4vw, 34px); border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.thanks svg { width: 46px; height: 40px; overflow: visible; }
.thanks h3 { font-size: 24px; letter-spacing: -.02em; }
.thanks p { margin: 0; color: var(--text2); }
.contact { margin-top: 26px; font-size: 16px; color: var(--text2); }
.contact a { color: var(--text); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 979px) { .access { grid-template-columns: 1fr; } }

.site-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(80px, 10vw, 120px); padding: 26px 0 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text3); }
.site-foot .wordmark { font-size: 19px; color: var(--text); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--text); }

/* sign-in holding page */
.hold { display: flex; flex-direction: column; align-items: center; min-height: calc(100svh - 76px - 300px); padding: clamp(64px, 11vw, 136px) 0 0; text-align: center; }
.hold h1 { margin: 0; font-size: clamp(38px, 5.6vw, 64px); font-weight: 650; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.underlined { position: relative; display: inline-block; }
.underlined svg { position: absolute; left: -4%; bottom: -.16em; width: 108%; height: .3em; overflow: visible; pointer-events: none; }
.underlined path { fill: none; stroke: var(--kea); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s .35s ease-out forwards; }
@media (prefers-reduced-motion: reduce) { .underlined path { animation: none; stroke-dashoffset: 0; } }
.hold .lede { max-width: 40ch; margin: 22px auto 0; font-size: clamp(17px, 1.8vw, 19px); }
.hold-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 34px; font-size: 15px; color: var(--text2); }
.hold .contact { margin-top: 22px; font-size: 15px; }

@media (max-width: 479px) { .top nav .contact-link { display: none; } }
@media (max-width: 400px) { .top nav { gap: 12px; } }
@media (max-width: 359px) { .top nav { gap: 10px; font-size: 14px; } .top .btn.small { padding: 0 11px; font-size: 13px; } }

@media (max-width: 560px) {
  .inline-form { flex-direction: column; }
  .controls { gap: 10px; }
  .time { min-width: 74px; }
  .keycast { right: 10px; bottom: 10px; padding: 6px 8px; gap: 4px; font-size: 13px; }
  .keycast kbd { min-width: 34px; height: 28px; padding: 0 6px; font-size: 12px; }
}
