/* EliteTyper — glass UI. Near-black canvas, translucent white surfaces, blur + saturate,
   inset top highlight, 16px radii, soft blue blooms behind content. */

:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #ffffff0b;
  --surface-2: #ffffff12;
  --border: #ffffff14;
  --border-2: #ffffff1f;
  --text: #fff;
  --text-2: #ffffffa3;
  --text-3: #ffffff66;
  --accent: #3b82f6;
  --good: #7ee0a1;
  --bad: #ff8f8f;
  --f0: #c084fc; --f1: #60a5fa; --f2: #34d399; --f3: #fbbf24;
  --f4: #fb923c; --f5: #2dd4bf; --f6: #818cf8; --f7: #f472b6;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fustat", "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --elev: 0 25px 50px -12px #00000080, inset 0 1px #ffffff0a;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: var(--text); text-decoration: none; }
p a, .hint a, .note a { color: #93c5fd; } p a:hover, .note a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; margin: 0; color: #fff; }
h1 { font-size: clamp(32px, 4vw, 48px); margin: .15em 0 .3em; }
h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 1.6em 0 .5em; }
h3 { font-size: 19px; }
p { margin: 0 0 .8em; }
code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: #fff; }
::selection { background: #3b82f655; }

/* Ambient light behind everything: gives the glass something to blur. */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before, .ambient::after, .ambient i { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); }
.ambient i { width: 50vw; height: 50vh; left: -14vw; top: 38vh; background: radial-gradient(closest-side, #3b82f64d, #3b82f600); }
.ambient::before { width: 80vw; height: 70vh; left: 10vw; top: -26vh; background: radial-gradient(closest-side, #3b82f680, #3b82f600); }
.ambient::after { width: 60vw; height: 60vh; right: -14vw; bottom: -20vh; background: radial-gradient(closest-side, #6366f166, #6366f100); }

main { max-width: 1120px; margin: 0 auto; padding: 118px 28px 72px; }

/* ---- Glass primitive ------------------------------------------------------ */
.glass, .card, .config, .arena, .result, .alt-card, .note, details.focus, .table-wrap, .kb-panel {
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--elev), inset 0 0 0 1px var(--border-2);
  border-radius: 16px;
}

/* ---- Nav -------------------------------------------------------------------- */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 20; padding: 12px 24px; pointer-events: none; }
.nav-inner {
  position: relative; max-width: 1120px; margin: 0 auto; min-height: 64px; padding: 0 12px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: auto;
}
.nav-glass {
  position: absolute; inset: 0; z-index: 0; border-radius: 16px; opacity: 0; transform: translateY(-10px);
  background: #ffffff0f; box-shadow: inset 0 0 0 1px var(--border-2), 0 18px 50px -22px #000c;
  backdrop-filter: blur(0) saturate(100%); -webkit-backdrop-filter: blur(0) saturate(100%);
  transition: opacity .42s var(--ease), transform .42s var(--ease), backdrop-filter .42s var(--ease), -webkit-backdrop-filter .42s var(--ease);
  pointer-events: none;
}
.site-nav.is-stuck .nav-glass { opacity: 1; transform: none; backdrop-filter: blur(48px) saturate(150%); -webkit-backdrop-filter: blur(48px) saturate(150%); }
.nav-logo, .nav-links, .nav-right { position: relative; z-index: 1; flex-shrink: 0; }
.nav-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.nav-logo .ph { width: 28px; height: 28px; margin: 0; color: var(--accent); }
.nav-logo b { font-weight: 500; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 12px;
  font-size: 14px; font-weight: 500; color: var(--text-2); transition: background .3s ease, color .3s ease;
}
.nav-link .ph { width: 16px; height: 16px; margin: 0; }
.nav-link:hover, .nav-link.on { background: #ffffff1a; color: #fff; text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 6px; margin: 0; }

select, input[type=number] {
  font: 500 14px/1 var(--sans); color: #fff; background: #ffffff0f; border: 0; border-radius: 10px; height: 36px; padding: 0 12px;
  box-shadow: inset 0 0 0 1px var(--border-2); outline: 0; transition: background .2s ease, box-shadow .2s ease;
}
select { padding-right: 8px; cursor: pointer; } select option { background: #111; color: #fff; }
select:hover, input[type=number]:hover { background: #ffffff1a; }
select:focus-visible, input:focus-visible, button:focus-visible, a:focus-visible, .arena:focus-visible { box-shadow: inset 0 0 0 1px #ffffff59, 0 0 0 3px #3b82f640; }
input[type=number] { width: 5.5em; }
input[type=checkbox] { accent-color: #fff; width: 15px; height: 15px; vertical-align: -2px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; cursor: pointer;
  color: var(--text-2); background: #ffffff0f; box-shadow: inset 0 0 0 1px var(--border-2); transition: background .2s ease, color .2s ease;
}
.icon-btn:hover { background: #ffffff1f; color: #fff; } .icon-btn .ph { margin: 0; width: 16px; height: 16px; }

@media (max-width: 860px) { .nav-link span { display: none; } .nav-link { padding: 0 10px; } .nav-logo-word { display: none; } }
@media (max-width: 560px) { .site-nav { padding: 10px 12px; } .nav-inner { padding: 0 8px; gap: 6px; } .nav-glass { background: #0e0e0ef0; backdrop-filter: none; -webkit-backdrop-filter: none; } .site-nav.is-stuck .nav-glass { backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---- Buttons ----------------------------------------------------------------- */
.btn, .hero-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border: 0; border-radius: 12px;
  background: #fff; color: #000; font: 600 14px/1 var(--sans); cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.btn:hover, .hero-btn:hover { background: #ffffffe6; text-decoration: none; }
.btn .ph { margin: 0 2px 0 0; width: 16px; height: 16px; }
.btn.ghost { background: #ffffff14; color: #fff; box-shadow: inset 0 0 0 1px var(--border-2); } .btn.ghost:hover { background: #ffffff24; }
.btn.small { height: 34px; padding: 0 14px; font-size: 13px; } .btn[disabled] { opacity: .5; cursor: default; }
.hero-btn .ph { margin: 0; width: 16px; height: 16px; transition: transform .2s ease; } .hero-btn:hover .ph { transform: translateX(2px); }

/* ---- Type helpers ---------------------------------------------------------------- */
.lead { font-size: 18px; font-weight: 300; color: var(--text-2); max-width: 62ch; } .lead.small { font-size: 16px; }
.hint, .tag { color: var(--text-3); font-size: 13.5px; }
.crumb { margin: 0; color: var(--text-3); font-size: 14px; } .crumb a { color: var(--text-2); }
.tag-inline { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); font: 500 12px/1 var(--sans); color: var(--text-2); letter-spacing: 0; }
.note { display: flex; gap: 2px; align-items: baseline; padding: 12px 16px; font-size: 14.5px; color: var(--text-2); }
.note .ph { color: var(--accent); flex: none; transform: translateY(3px); }
.ph { width: 1.1em; height: 1.1em; vertical-align: -.18em; margin-right: .4em; flex: none; }

/* ---- Hero -------------------------------------------------------------------------- */
.hero { padding: 24px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 72px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #ffffff1a;
  box-shadow: inset 0 0 0 2px #ffffff0d; font-size: 14px; font-weight: 500; line-height: 1; transition: gap .5s var(--ease), background .3s ease;
}
.pill:hover { gap: 14px; background: #ffffff24; text-decoration: none; } .pill .ph { margin: 0; width: 16px; height: 16px; }
.hero-h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.06; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.accent { color: var(--accent); }
.hero-sub { margin: 0; max-width: 576px; font-size: 18px; font-weight: 200; line-height: 1.4; color: #ffffff80; text-wrap: pretty; }
.hero-form {
  display: flex; align-items: center; gap: 6px; width: 100%; max-width: 560px; padding: 6px; margin: 0; border-radius: 16px;
  background: #0000004d; backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 25px 50px -12px #00000080, inset 0 0 0 1px var(--border-2); transition: background .2s ease, box-shadow .2s ease;
}
.hero-form:focus-within { background: #0000006b; box-shadow: 0 25px 50px -12px #00000080, inset 0 0 0 1px #ffffff2e; }
.hero-select { flex: 1; display: flex; align-items: center; gap: 4px; padding-left: 12px; color: var(--text-3); }
.hero-select .ph { margin: 0; } .hero-select select { flex: 1; background: transparent; box-shadow: none; height: 40px; font-size: 15px; }
.hero-helper { margin-top: -12px; display: flex; gap: 8px; font-size: 12.5px; color: var(--text-3); }

.hero-shot { position: relative; width: 100%; max-width: 820px; margin-bottom: 40px; }
.hero-panel { padding: 28px; border-radius: 16px; background: #ffffff0d; backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); box-shadow: 0 25px 50px -12px #00000080, inset 0 0 0 1px var(--border-2); }
.panel-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 6px; }
.panel-head h2 { margin: 0; font-size: 22px; } .panel-head p { margin: 0; color: var(--text-3); font-size: 13.5px; max-width: 46ch; }
.float {
  position: absolute; z-index: 2; width: 26%; min-width: 150px; padding: 16px 18px; border-radius: 16px; background: #0c0e178c;
  box-shadow: 0 25px 50px -12px #00000080, inset 0 0 0 1px var(--border-2);
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); transition: transform .5s var(--ease);
}
.float:hover { transform: translateY(-8px); } .float-tr { top: -8%; right: -8%; } .float-bl { bottom: -16%; left: -9%; }
.float-label { font-size: 12px; font-weight: 500; color: var(--text-3); }
.float-figure { margin-top: 8px; font: 600 36px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.float-note { margin-top: 8px; font-size: 12.5px; color: var(--text-3); }
.panel-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.panel-stat { padding: 12px 14px; border-radius: 12px; background: #ffffff0a; box-shadow: inset 0 1px #ffffff08, inset 0 0 0 1px var(--border); }
.panel-stat b { display: block; font: 600 22px/1.1 var(--display); font-variant-numeric: tabular-nums; } .panel-stat span { font-size: 12px; color: var(--text-3); }
@media (max-width: 1000px) { .float { position: static; width: auto; transform: none; } .float:hover { transform: none; } .hero-shot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .hero-panel { grid-column: 1 / -1; } }
@media (max-width: 640px) { .hero-shot { grid-template-columns: 1fr; } .panel-stats { grid-template-columns: 1fr 1fr; } .hero-btn span { display: none; } .hero-btn { width: 40px; padding: 0; } }

/* ---- Sections / bento -------------------------------------------------------------------- */
.section-head { margin: 96px 0 32px; }
.kicker { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 16px; font-weight: 500; color: var(--accent); } .kicker .ph { margin: 0; width: 20px; height: 20px; }
.section-head h2 { margin: 12px 0 0; font-size: clamp(30px, 3.4vw, 48px); }
.section-head p { margin: 8px 0 0; font-size: clamp(16px, 1.4vw, 22px); font-weight: 200; color: #ffffff80; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; display: block; padding: 24px 24px 26px; isolation: isolate; transition: box-shadow .7s ease; }
.card::before {
  content: ""; position: absolute; z-index: -1; right: -8%; bottom: -34%; width: 24rem; height: 24rem; border-radius: 50%;
  background: radial-gradient(closest-side, #3b82f629, #3b82f600); filter: blur(28px); pointer-events: none; transition: opacity .5s ease;
}
.card:nth-child(3n+2)::before { right: auto; left: -10%; bottom: -40%; background: radial-gradient(closest-side, #6366f124, #6366f100); }
.card:nth-child(3n)::before { right: 10%; bottom: auto; top: -45%; }
.card:hover { box-shadow: var(--elev), inset 0 0 0 1px #ffffff33; text-decoration: none; }
.card h3 { display: flex; align-items: center; gap: 4px; font-size: 22px; margin-bottom: 4px; }
.card h3 .ph { width: 24px; height: 24px; margin: 0 8px 0 0; color: var(--accent); }
.card .tag { color: var(--text-2); font-size: 14.5px; margin: 0 0 10px; } .card p { color: #ffffff80; font-size: 14px; margin: 0; }
.card:nth-child(n) { animation: rise .6s var(--ease) both; } .card:nth-child(2) { animation-delay: 60ms; } .card:nth-child(3) { animation-delay: 120ms; } .card:nth-child(4) { animation-delay: 180ms; } .card:nth-child(5) { animation-delay: 240ms; } .card:nth-child(6) { animation-delay: 300ms; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---- Keyboard ------------------------------------------------------------------------------------ */
.kb { margin: 18px 0 8px; display: flex; flex-direction: column; align-items: flex-start; }
.hero-panel .kb { align-items: center; }
.kb-row { display: flex; gap: 6px; margin-bottom: 6px; } .kb-row.r1 { margin-left: 20px; } .kb-row.r2 { margin-left: 50px; }
.hero-panel .kb-row.r1, .hero-panel .kb-row.r2 { margin-left: 0; } .hero-panel .kb-row.r1 { transform: translateX(20px); } .hero-panel .kb-row.r2 { transform: translateX(50px); }
.k {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; font: 600 15px var(--mono); text-transform: uppercase;
  color: var(--kc); background: color-mix(in srgb, var(--kc) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kc) 38%, transparent), inset 0 1px #ffffff14;
  transition: transform .2s var(--ease), background .2s ease;
}
.k:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--kc) 26%, transparent); }
.k.hl { background: color-mix(in srgb, var(--kc) 42%, transparent); box-shadow: inset 0 0 0 1.5px #fff, 0 0 22px -4px var(--kc); color: #fff; }
.k.f0, i.f0 { --kc: var(--f0); } .k.f1, i.f1 { --kc: var(--f1); } .k.f2, i.f2 { --kc: var(--f2); } .k.f3, i.f3 { --kc: var(--f3); }
.k.f4, i.f4 { --kc: var(--f4); } .k.f5, i.f5 { --kc: var(--f5); } .k.f6, i.f6 { --kc: var(--f6); } .k.f7, i.f7 { --kc: var(--f7); }
.kb-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.hero-panel .kb-legend { justify-content: center; }
.kb-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--kc); }

/* ---- Tables ---------------------------------------------------------------------------------------- */
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
table.data th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--text-3); padding: 12px 16px; }
table.data td { padding: 12px 16px; border-top: 1px solid var(--border); color: var(--text-2); } table.data td:first-child { color: #fff; font-weight: 500; }
table.data.compact td, table.data.compact th { padding: 9px 14px; }
table.data tbody tr { transition: background .2s ease; } table.data tbody tr:hover { background: #ffffff08; } table.data tr.cur { background: #3b82f61a; }
section > table.data, .two > section > table.data, body main > table.data, details.focus table.data { background: var(--surface); box-shadow: var(--elev), inset 0 0 0 1px var(--border-2); border-radius: 16px; overflow: hidden; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 28px; } .two h2 { margin-top: .6em; font-size: 24px; }
ul.plain { padding: 0; list-style: none; } ul.plain li { padding: 14px 18px; margin-bottom: 10px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.inline { margin-top: 24px; }

/* ---- Alt lab ---------------------------------------------------------------------------------------- */
.alt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 16px; margin-top: 24px; }
.alt-card { position: relative; overflow: hidden; isolation: isolate; padding: 22px 24px; }
.alt-card::before { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -50%; width: 22rem; height: 22rem; border-radius: 50%; background: radial-gradient(closest-side, #3b82f61f, #3b82f600); filter: blur(28px); pointer-events: none; }
.alt-card h3 { font-size: 18px; line-height: 1.3; margin-bottom: 8px; } .alt-card p { color: var(--text-2); font-size: 14.5px; }
.actions { margin: 14px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.verdict { display: flex; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; }
.verdict .ph { transform: translateY(2px); } .verdict.good { color: var(--good); } .verdict.bad { color: var(--bad); }

/* ---- Drill page ---------------------------------------------------------------------------------------- */
.config { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px 18px; margin: 16px 0; font-size: 14px; color: var(--text-2); }
.config .fld { display: inline-flex; align-items: center; gap: 8px; }
.config fieldset { flex-basis: 100%; margin: 0; padding: 10px 14px 12px; border: 0; border-radius: 12px; background: #ffffff08; box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-wrap: wrap; gap: 6px 20px; }
.config legend { padding: 0 6px; font-size: 12px; color: var(--text-3); } .chk { display: inline-flex; align-items: center; gap: 7px; }
details.focus { margin: 16px 0; padding: 14px 18px; } details.focus summary { cursor: pointer; color: var(--text-2); font-weight: 500; } details.focus table.data { margin-top: 12px; box-shadow: none; background: transparent; }

.arena {
  position: relative; height: 12.5em; margin: 18px 0 10px; padding: 24px 30px; overflow: hidden; font: 500 26px/1.95 var(--mono); outline: 0;
  background: #ffffff0d; backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 25px 50px -12px #00000080, inset 0 1px #ffffff14, inset 0 0 0 1px var(--border-2); transition: box-shadow .2s ease, background .2s ease;
}
.arena .words { display: flex; flex-wrap: wrap; gap: 0 .9em; }
.w { white-space: nowrap; } .w.done { color: #ffffff2e; } .w.hide { visibility: hidden; } .w.dim { opacity: .4; } .w.inburst { color: #fff; }
.c { color: #ffffff59; } .w.cur .c, .w.inburst .c { color: #ffffffb3; }
.c.ok { color: #fff; } .c.bad { color: var(--bad); background: #f871711f; border-radius: 4px; } .c.extra { background: #f871712e; border-radius: 4px; }
.c.next { border-bottom: 2px solid var(--accent); }
.w.done .c.ok { color: #ffffff2e; }
.w.masked .c { color: transparent; background: #ffffff1a; border-radius: 4px; } .w.masked .c.ok { background: #7ee0a133; } .w.masked .c.bad { background: #f8717155; }
.overlay { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: #00000073; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 18px var(--sans); color: #fff; cursor: text; }
.overlay small { color: var(--text-3); font-size: 13px; font-weight: 400; } .overlay[hidden] { display: none; }
.arena.locked { box-shadow: 0 25px 50px -12px #00000080, inset 0 0 0 1.5px #3b82f6b3, 0 0 40px -8px #3b82f680; }
.arena.early { box-shadow: 0 25px 50px -12px #00000080, inset 0 0 0 1.5px #ff8f8fb3; } .arena.err { background: #1a0d0f66; }
.gapbar { height: 6px; background: #ffffff12; border-radius: 3px; overflow: hidden; } .gapbar[hidden] { display: none; } .gapbar > div { height: 100%; width: 100%; background: var(--accent); border-radius: 3px; }
.live { height: 1.7em; color: var(--text-3); font: 500 13.5px var(--mono); }
.result { padding: 22px 26px; } .result[hidden] { display: none; }
.stats-grid { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-bottom: 8px; }
.stat b { display: block; font: 600 38px/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .stat span { font-size: 13px; color: var(--text-3); }

/* ---- Footer ---------------------------------------------------------------------------------------------- */
.site-foot { max-width: 1120px; margin: 0 auto; padding: 0 28px 36px; }
.foot-panel { padding: 24px 26px; border-radius: 16px; background: #0f0f0f; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; box-shadow: inset 0 0 0 1px var(--border); }
.foot-brand { display: flex; align-items: center; gap: 8px; font: 500 18px var(--display); } .foot-brand .ph { width: 26px; height: 26px; margin: 0; color: var(--accent); }
.foot-note { color: var(--text-3); font-size: 13px; margin: 0; } .foot-note strong { color: var(--text-2); font-weight: 500; }

@media (max-width: 640px) {
  main { padding: 100px 16px 56px; } .arena { font-size: 18px; padding: 18px; } .k { width: 30px; height: 30px; font-size: 12px; border-radius: 8px; }
  .kb-row { gap: 4px; margin-bottom: 4px; } .kb-row.r1 { margin-left: 12px; } .kb-row.r2 { margin-left: 30px; }
  .hero-panel .kb-row.r1 { transform: translateX(12px); } .hero-panel .kb-row.r2 { transform: translateX(30px); } .hero-panel { padding: 18px; }
  .alt-grid, .cards { grid-template-columns: 1fr; } .two { grid-template-columns: 1fr; } .site-foot { padding: 0 16px 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
