:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #101715;
  color: #f0f4ef;
  --accent: #bdf78b;
  --muted: #b4c2b9;
  --border: #34413a;
}

* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(57rem, calc(100% - 2.5rem)); margin: 0 auto; padding-bottom: 3rem; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.brand { color: var(--accent); font-size: 1.5rem; font-weight: 750; letter-spacing: -.05em; }
a { color: inherit; text-underline-offset: .24em; }
h1 { margin: clamp(3rem, 11vh, 8rem) 0 1.2rem; font-size: clamp(2.65rem, 9vw, 6rem); letter-spacing: -.07em; line-height: .97; }
p { color: var(--muted); line-height: 1.5; }
.intro { margin: 0 0 2.6rem; }
.tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
section { min-width: 0; padding: clamp(1.1rem, 4vw, 2rem); border: 1px solid var(--border); border-radius: 1rem; background: #17211c; }
h2 { margin: 0; font-size: 1.3rem; }
section p { margin-top: .45rem; }
output { display: flex; align-items: center; min-height: 4.7rem; color: var(--accent); font-size: clamp(1.15rem, 3vw, 1.7rem); font-variant-numeric: tabular-nums; }
button { padding: .8rem 1rem; color: #101715; background: var(--accent); border: 0; border-radius: .45rem; font: inherit; font-weight: 650; cursor: pointer; }
button:hover:not(:disabled) { background: #d1ffad; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 35rem) { .tests { grid-template-columns: 1fr; } }
