:root {
  color-scheme: light;
  --paper: #f5f5f2;
  --ink: #191b19;
  --muted: #52594f;
  --line: #d8dbd2;
  --lime: #c4fa6b;
  --mono: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
h1, h2, p { margin: 0; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, summary, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #407319; outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(100% - 40px, 930px); margin-inline: auto; }
.skip { position: absolute; left: 10px; top: -80px; padding: 10px; background: white; color: var(--ink); z-index: 2; }
.skip:focus { top: 6px; }
.mast { border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 64px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: .96rem; font-weight: 650; letter-spacing: -.035em; }
.monogram { display: grid; place-content: center; width: 39px; height: 39px; border-radius: 10px; background: var(--ink); color: #fafcf7; font-size: 1.35rem; font-weight: 730; letter-spacing: -.095em; padding-right: 2px; }
.quiet { min-height: 44px; padding: 4px 0 4px 12px; background: none; border: 0; font-size: .86rem; color: var(--muted); }
.quiet:hover, .help summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.intro { margin-block: clamp(26px, 5vh, 56px) 23px; }
h1 { margin-left: -.045em; font-size: clamp(2.5rem, 5.8vw, 4.4rem); line-height: 1.02; letter-spacing: -.068em; font-weight: 670; }
.title-dot { color: #51751f; }
.intro p { font-size: clamp(1rem, 2.2vw, 1.16rem); color: var(--muted); margin-top: 9px; }
.instructions { display: grid; grid-template-columns: 1fr 1fr; padding-block: 17px; gap: 22px; border-block: 1px solid var(--line); }
.instruction { display: flex; gap: 12px; align-items: flex-start; }
.instruction svg, .lock-icon svg { width: 23px; height: 23px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linejoin: round; stroke-linecap: round; }
.instruction svg { margin-top: 1px; }
.instruction h2 { font-size: .92rem; font-weight: 670; letter-spacing: -.025em; }
.instruction p { color: var(--muted); max-width: 46ch; font-size: .86rem; line-height: 1.5; margin-top: 2px; }
.instruction strong { font-weight: 650; color: #33392f; }
.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 24px 14px; align-items: start; }
.sample, .gate-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.sample { padding: clamp(18px, 3vw, 28px); }
.sample-head { display: flex; gap: 13px; align-items: center; }
.sample-head h2 { font-size: clamp(1.23rem, 2.5vw, 1.55rem); font-weight: 660; letter-spacing: -.05em; line-height: 1.17; }
.metadata { color: var(--muted); font-size: .8rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.format-icon, .lock-icon { flex: none; display: grid; place-content: center; width: 45px; height: 45px; border-radius: 12px; }
.format-icon { background: #252923; color: var(--lime); }
.dots { display: flex; align-items: center; justify-content: center; gap: 3px; }
.dots i { width: 5px; height: 17px; background-image: radial-gradient(circle closest-side, currentColor 86%, transparent 100%); background-size: 5px 6px; }
.dots i:nth-child(2) { height: 29px; }
.type-icon { background: #e7ecdF; color: #33432c; font: 600 1.12rem var(--mono); letter-spacing: -.085em; }
.reference { margin-block: 22px 17px; padding: 13px 16px 14px; background: #f2f4ec; border-radius: 11px; }
.reference > span { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.sample-id { display: block; font: 530 clamp(1.65rem, 3.8vw, 2.45rem)/1.23 var(--mono); letter-spacing: .045em; margin-top: 2px; }
audio { width: 100%; }
.player { display: flex; align-items: center; gap: 14px; }
.play-button, .enter { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: white; padding: 9px 14px; font-weight: 630; font-size: .89rem; }
.play-button { flex: none; }
.play-button:hover, .enter:hover { background: #343a31; }
.play-glyph { width: 14px; height: 14px; background: var(--lime); clip-path: polygon(12% 0, 95% 50%, 12% 100%); }
.play-button[data-active] .play-glyph { clip-path: inset(9% round 2px); }
.track { min-width: 0; flex: 1; }
.track progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 8px; margin-bottom: 4px; overflow: hidden; appearance: none; accent-color: #587830; background-color: #e4e7df; }
progress::-webkit-progress-bar { background: #e4e7df; }
progress::-webkit-progress-value { background: #587830; }
progress::-moz-progress-bar { background: #587830; }
.track span { color: var(--muted); font-size: .78rem; line-height: 1.3; display: block; overflow-wrap: anywhere; }
.comparison { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 15px; }
label { display: block; font-weight: 620; font-size: .86rem; margin-bottom: 6px; }
input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid #93998e; border-radius: 9px; background: white; color: var(--ink); }
.input-row { display: flex; gap: 7px; }
.input-row input { font: 500 1rem var(--mono); letter-spacing: .04em; }
.input-row input::placeholder { font: 400 .86rem Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: normal; color: #666e61; }
.input-row button { flex: none; min-height: 44px; background: white; border: 1px solid #93998e; border-radius: 9px; padding: 8px 13px; font-size: .85rem; font-weight: 620; }
.input-row button:hover { background: #f2f4ec; }
.result { font-size: .85rem; line-height: 1.45; color: var(--muted); }
.result:not(:empty) { margin-top: 8px; }
.result[data-kind="match"] { color: #33591d; font-weight: 650; }
.result[data-kind="mismatch"], .login-error { color: #94392d; }
.footnote, .help { font-size: .82rem; color: var(--muted); }
.help { margin-block: 6px 30px; }
.help summary { width: fit-content; padding-block: 10px; font-weight: 640; color: var(--ink); cursor: pointer; }
.help p { max-width: 80ch; margin-top: 2px; }
.gate-main { min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); display: grid; place-items: center; padding: 32px 20px; }
.gate-card { width: min(100%, 430px); padding: clamp(24px, 5vw, 39px); }
.lock-icon { background: var(--lime); color: #263c1e; margin-bottom: 23px; }
.gate-card h1 { font-size: clamp(2.25rem, 6.5vw, 3.1rem); }
.gate-card > p { color: var(--muted); margin-top: 13px; }
.gate-card form { margin-top: 25px; }
.enter { width: 100%; justify-content: space-between; margin-top: 14px; }
.enter span { color: var(--lime); font-size: 1.12rem; }
.login-error { margin-top: 7px; font-size: .86rem; }
@media (max-width: 690px) {
  .container { width: min(100% - 32px, 490px); }
  .instructions, .samples { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mast-inner { min-height: 58px; }
  .intro { margin-block: 28px 18px; }
  .samples { margin-top: 18px; }
}
@media (max-width: 340px) {
  .container { width: calc(100% - 22px); }
  .sample { padding: 16px; }
  .input-row { flex-wrap: wrap; }
}
@media (forced-colors: active) {
  .play-glyph, .dots i { background: ButtonText; }
  .format-icon, .lock-icon, .monogram { border: 1px solid CanvasText; }
}
