@font-face {
  font-family: "Chivo";
  src: url("/fonts/chivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Commit Mono";
  src: url("/fonts/commit-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #0c0c0e;
  --panel: #151517;
  --surface: #1c1c1f;
  --line: #303033;
  --muted: #a2a2aa;
  --text: #f2f2f3;
  --gold: #f4b728;
  --gold-light: #ffcd58;
  --green: #7ed8ab;
  --red: #f3a398;
  --font-sans: "Chivo", "Segoe UI", sans-serif;
  --font-code: "Commit Mono", Consolas, monospace;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--gold); text-underline-offset: 5px; }
button, input { font: inherit; }
a, button, input, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
h1,h2,h3,p { margin-top: 0; }
p { margin-bottom: 1rem; }
code,.eyebrow,.file-label,.engine-label,.field-label,.timing,.proof-size { font-family: var(--font-code); }
code { font-size: .9em; }
.site-header { display: flex; align-items: center; justify-content: space-between; max-width: 1192px; padding: 27px 36px; margin: 0 auto; border-bottom: 1px solid #252527; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1rem; letter-spacing: -.025em; }
.brand-mark { width: 29px; height: 29px; border: 1.5px solid var(--gold); border-radius: 50%; display: inline-grid; place-items: center; transform: rotate(-32deg); }
.brand-mark i { width: 12px; height: 27px; border: 1px solid var(--gold); border-radius: 50%; display: block; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { color: #b7b7bd; font-size: .875rem; text-decoration: none; }
.site-header nav a:hover { color: var(--text); }
main { max-width: 960px; padding: 0 32px; margin: 0 auto; }
.intro { padding: 54px 0 32px; }
.eyebrow { color: var(--muted); font-size: .75rem; letter-spacing: .07em; margin: 0 0 13px; }
.intro-divider { margin: 0 11px; color: #55555c; }
h1 { font-size: clamp(2.2rem, 5vw, 3.45rem); line-height: 1.15; font-weight: 520; letter-spacing: -.045em; margin: 0 0 17px; }
.title-stop { color: var(--gold); }
.lede { color: #b3b3bb; font-size: 1.08rem; letter-spacing: -.015em; margin: 0; }
.workbench { background: var(--panel); border: 1px solid #353538; border-radius: 8px; overflow: hidden; }
.workbench-chrome { display: flex; justify-content: space-between; align-items: center; background: #1b1b1e; border-bottom: 1px solid var(--line); padding: 15px 27px; gap: 15px; }
.file-label { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: #d3d3d8; }
.file-icon { height: 15px; width: 12px; border: 1px solid #8b8b93; border-radius: 2px; display: inline-block; position: relative; }
.file-icon:after { content: ""; position: absolute; height: 1px; width: 5px; top: 7px; left: 2px; background: #8b8b93; box-shadow: 0 3px #8b8b93; }
.engine-label { font-size: .75rem; color: #aaaab2; }
.computation-strip { padding: 20px 29px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.computation-strip>code { color: #c2c2c9; font-size: .875rem; }
.chain { display: flex; align-items: center; gap: 11px; font-family: var(--font-code); font-size: .875rem; }
.chain span { color: #b6b6bf; min-width: 31px; text-align: center; }
.chain span.chain-final { color: var(--gold); border: 1px solid #f4b72847; background: #f4b7280b; padding: 2px 9px; border-radius: 4px; }
.chain i { width: 34px; height: 1px; background: #4e4e54; position: relative; }
.chain i:after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid #73737d; border-top: 1px solid #73737d; transform: rotate(45deg); }
.workbench-content { padding: 28px 30px 20px; }
.progress { display: flex; list-style: none; gap: 32px; padding: 0; margin: 0 0 28px; color: #92929b; font-size: .875rem; }
.progress li { display: flex; align-items: center; gap: 9px; }
.step-marker { width: 22px; height: 22px; border: 1px solid #4b4b52; border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--font-code); font-size: .7rem; color: #a4a4ae; }
.progress .active { color: var(--text); }
.progress .active .step-marker { color: var(--gold); border-color: #ba8a27; background: #f4b72810; }
.progress .complete { color: #bfcfc4; }
.progress .complete .step-marker { color: var(--green); border-color: #527662; background: #7ed8ab0a; }
h2 { font-size: 1.25rem; font-weight: 580; line-height: 1.4; letter-spacing: -.025em; margin: 0 0 8px; }
.experiment-intro p { color: var(--muted); font-size: 1rem; margin: 0; }
.statement-fields { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 26px; margin: 27px 0 24px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.field-label { font-size: .8rem; font-weight: 400; display: flex; align-items: center; gap: 8px; color: #b0b0ba; margin-bottom: 10px; }
.fixed-field strong { display: block; line-height: 51px; font-family: var(--font-code); font-size: 1.7rem; font-weight: 400; color: #e1e1e6; }
.lock-icon { display: inline-block; width: 9px; height: 8px; border: 1px solid #74747e; border-radius: 2px; position: relative; margin-left: 2px; flex: 0 0 auto; }
.lock-icon:before { content: ""; position: absolute; left: 1px; bottom: 6px; width: 5px; height: 5px; border: 1px solid #74747e; border-bottom: 0; border-radius: 4px 4px 0 0; }
.editable-label { color: #d5a644; font-size: .6rem; letter-spacing: .045em; }
.claim-field input { width: 100%; min-width: 0; background: #1d1d20; border: 1px solid #78602c; border-radius: 6px; padding: 7px 13px; color: var(--gold-light); font-family: var(--font-code); font-size: 1.5rem; line-height: 35px; font-weight: 400; }
.claim-field input:focus { border-color: var(--gold); outline: 2px solid #f4b7281c; outline-offset: 2px; }
.claim-field input[aria-invalid=true] { border-color: var(--red); color: var(--red); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 11px; font-size: .9rem; font-weight: 500; }
.prediction-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.prediction-options label { cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid #3a3a40; border-radius: 6px; color: #c4c4cb; font-size: .875rem; }
input[type=radio] { appearance: none; -webkit-appearance: none; width: 15px; height: 15px; border: 1px solid #74747e; border-radius: 50%; flex: 0 0 auto; margin: 0; background: transparent; }
input[type=radio]:checked { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px var(--panel); }
.prediction-options label:has(input:checked), .answer:has(input:checked) { border-color: #9b782e; color: var(--text); background: #f4b72808; }
.prediction-options label:hover { border-color: #797981; }
.verify-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 22px; }
.verify-actions p { margin: 0; font-size: .875rem; color: #92929e; }
.primary,.secondary { border: 1px solid var(--gold); border-radius: 6px; padding: 11px 21px; min-height: 46px; min-width: 153px; font-size: .9rem; font-weight: 650; }
.primary { background: var(--gold); color: #15100a; }
.primary:hover:not(:disabled) { background: var(--gold-light); border-color: var(--gold-light); }
.primary:disabled { background: #292927; border-color: #3a3933; color: #8b8980; }
.primary[aria-busy=true] { color: #f4d58f; background: #332a18; border-color: #78602c; }
.primary[aria-busy=true]:before { content: ""; display: inline-block; width: 12px; height: 12px; border: 1.5px solid #bda66e50; border-top-color: #f4d58f; border-radius: 50%; margin-right: 9px; vertical-align: -1px; }
.secondary { background: transparent; color: var(--gold); border-color: #8b6c28; margin-top: 19px; }
.secondary:hover:not(:disabled) { background: #f4b72810; }
.secondary:disabled { color: #8f8f97; border-color: #3c3c42; }
.outcome { border: 1px solid #3a3a43; border-left-width: 3px; background: #1b1b20; border-radius: 6px; padding: 17px 19px; margin-top: 22px; }
.outcome h3 { font-size: .95rem; margin: 0 0 5px; font-weight: 600; }
.outcome p { font-size: .9rem; color: #bbbcc5; margin: 0; }
.outcome p+p { margin-top: 6px; color: #93949f; font-size: .8rem; }
.outcome[data-status=accepted],.outcome[data-status=correct] { border-color: #7ed8ab3d; border-left-color: var(--green); background: #7ed8ab06; }
.outcome[data-status=accepted] h3,.outcome[data-status=correct] h3 { color: var(--green); }
.outcome[data-status=rejected] { border-color: #f4b72838; border-left-color: var(--gold); background: #f4b72805; }
.outcome[data-status=rejected] h3 { color: var(--gold-light); }
.outcome[data-status=invalid_input],.outcome[data-status=server_error],.outcome[data-status=incorrect] { border-left-color: var(--red); background: #f3a39806; border-top-color: #f3a3982b; border-right-color: #f3a3982b; border-bottom-color: #f3a3982b; }
.outcome[data-status=invalid_input] h3,.outcome[data-status=server_error] h3,.outcome[data-status=incorrect] h3 { color: var(--red); }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.next-step strong { font-size: .9rem; font-weight: 550; }
.next-step p { color: var(--muted); font-size: .875rem; margin: 4px 0 0; }
.text-button { color: #cbb16d; padding: 5px 0; border: 0; border-bottom: 1px solid #6b5729; border-radius: 0; background: transparent; font-size: .875rem; white-space: nowrap; }
.text-button:hover { color: var(--gold-light); }
.observation-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 17px; }
.observations { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 17px; font-size: .8rem; color: #b3beb8; }
.observations li { display: flex; align-items: center; gap: 6px; }
.observations li span { color: var(--green); }
.observations li:last-child { color: #92929d; }
.timing { font-size: .7rem; color: #90909a; }
.question-lock { display: flex; align-items: center; gap: 9px; color: #878791; font-size: .8rem; margin: 12px 0 0; }
.question-section { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 25px; }
.question-section .eyebrow { color: #c5a75d; }
.question-section h2 { font-size: 1.15rem; margin-bottom: 18px; max-width: 620px; }
.answer { border: 1px solid #36363d; border-radius: 6px; display: flex; align-items: flex-start; gap: 11px; padding: 13px 15px; font-size: .9rem; color: #c4c4cd; margin-top: 10px; cursor: pointer; }
.answer input { margin-top: 4px; }
.completion-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 21px; font-size: .875rem; }
.completion-actions a { text-decoration: none; }
.proof-details { border-top: 1px solid var(--line); background: #121214; }
.proof-details summary { display: flex; align-items: center; padding: 17px 30px; gap: 10px; color: #aaaab4; font-size: .8rem; list-style: none; }
.proof-details summary::-webkit-details-marker { display: none; }
.proof-details summary:before { content: ""; width: 6px; height: 6px; border: solid #96969f; border-width: 0 1px 1px 0; transform: rotate(-45deg); margin-right: 4px; }
.proof-details[open] summary:before { transform: rotate(45deg); }
.proof-size { margin-left: auto; font-size: .7rem; color: #7f7f89; }
.details-content { padding: 0 30px 20px; color: #9999a4; font-size: .875rem; }
.details-content dl { margin: 0 0 15px; }
.details-content dl>div { margin: 10px 0; }
.details-content dt { color: #c2c2cc; font-size: .75rem; }
.details-content dd { margin: 5px 0 0; }
.details-content code { overflow-wrap: anywhere; font-size: .8rem; color: #a9a9b6; }
.details-content p { margin: 10px 0 0; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0 38px; color: #85858f; font-size: .75rem; }
footer p { margin: 0; }
footer>span { color: #a5a5ae; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--gold); color: #111; padding: 10px 15px; z-index: 5; }
.skip-link:focus { top: 10px; }
.reading { max-width: 860px; margin: 35px auto; padding: 28px 32px 60px; }
.reading nav { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.reading h1 { font-size: 2.6rem; }
.reading h2 { margin-top: 34px; }
.reading h3 { margin-top: 24px; }
.reading p,.reading li { color: #bebec8; }
.reading li { margin: 7px 0; }
.reading pre { background: #19191e; border: 1px solid var(--line); border-radius: 6px; padding: 17px; overflow-x: auto; }
.reading table { border-collapse: collapse; display: block; overflow-x: auto; }
.reading th,.reading td { padding: 8px 12px; border: 1px solid var(--line); text-align: left; }
.noscript { max-width: 700px; margin: 20px auto; color: var(--red); padding: 20px; }
[hidden] { display: none !important; }
@media(max-width:700px) {
  .site-header { padding: 22px 25px; }
  .site-header nav { gap: 20px; }
  main { padding: 0 22px; }
  .intro { padding-top: 35px; }
  .statement-fields { gap: 17px; grid-template-columns: 1fr 1fr 1.3fr; }
  .field-label { font-family: inherit; font-size: .8rem; }
  .editable-label { display: none; }
  .workbench-content { padding: 25px 24px 20px; }
  .computation-strip { padding: 18px 24px; }
  .proof-details summary { padding: 16px 24px; }
  .details-content { padding: 0 24px 20px; }
  .prediction-options { gap: 8px; }
  .prediction-options label { padding: 10px; font-size: .8rem; }
}
@media(max-width:480px) {
  .site-header { padding: 20px; gap: 14px; }
  .site-header nav { gap: 17px; }
  .brand { font-size: .9rem; gap: 9px; }
  .brand-mark { width: 24px; height: 24px; }
  .brand-mark i { height: 22px; width: 10px; }
  .site-header nav a { font-size: .8rem; }
  main { padding: 0 16px; }
  .intro { padding: 31px 0 25px; }
  h1 { font-size: 2.5rem; }
  .eyebrow { font-size: .65rem; }
  .intro-divider { margin: 0 6px; }
  .lede { font-size: 1rem; max-width: 285px; }
  .workbench { border-radius: 8px; }
  .workbench-chrome { padding: 13px 18px; }
  .file-label { font-size: .75rem; }
  .engine-label { font-size: .65rem; }
  .computation-strip { gap: 14px; flex-wrap: wrap; padding: 16px 19px; }
  .computation-strip>code { font-size: .75rem; }
  .chain { gap: 5px; font-size: .8rem; }
  .chain i { width: 16px; }
  .chain span { min-width: 23px; }
  .workbench-content { padding: 23px 19px 18px; }
  .progress { gap: 25px; margin-bottom: 23px; font-size: .8rem; }
  h2 { font-size: 1.15rem; }
  .experiment-intro p { font-size: .9rem; }
  .statement-fields { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
  .claim-field { grid-column: 1/-1; }
  .fixed-field strong { line-height: 34px; font-size: 1.45rem; }
  .claim-field input { font-size: 1.5rem; }
  .prediction-options { grid-template-columns: 1fr; gap: 9px; }
  .prediction-options label { font-size: .875rem; padding: 11px 13px; }
  .verify-actions { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .verify-actions p { font-size: .8rem; text-align: center; }
  .primary { width: 100%; }
  .next-step { align-items: flex-start; flex-direction: column; gap: 8px; }
  .observation-row { flex-direction: column; align-items: flex-start; gap: 7px; }
  .observations { gap: 12px; font-size: .75rem; }
  .question-lock { font-size: .75rem; }
  .question-section h2 { font-size: 1.1rem; }
  .answer { font-size: .875rem; padding: 13px; }
  .proof-details summary { padding: 15px 19px; }
  .proof-size { font-size: .6rem; }
  .details-content { padding: 0 19px 19px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 19px; }
  .reading { padding: 25px 20px; margin-top: 15px; }
}
@media(prefers-reduced-motion:no-preference) {
  button,a,input,.prediction-options label,.answer { transition: background .15s ease, border-color .15s ease, color .15s ease; }
  .primary[aria-busy=true]:before { animation: spin .8s linear infinite; }
  body[data-verifying=true] .chain i { background: var(--gold); animation: signal 1.1s ease-in-out infinite; }
  body[data-verifying=true] .chain i:nth-of-type(2) { animation-delay: .2s; }
  .outcome h3,.outcome p { animation: reveal .2s ease-out both; }
  .question-section:not([hidden]) { animation: reveal .25s ease-out both; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes signal { 50% { opacity: .25; } }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Pilot polish: one accent, compact exercise, quiet typography. */
:root { --green: #e3e3e8; --red: #e3e3e8; }
.site-header { max-width: 1024px; padding: 20px 32px; border-bottom: 0; }
.brand { font-weight: 550; color: #c1c1c8; }
.site-header nav a { font-size: .9rem; }
main { max-width: 900px; }
.intro { padding: 21px 0 25px; }
h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 540; letter-spacing: -.045em; margin-bottom: 10px; }
.lede { font-size: 1rem; color: #aaaab3; }
.workbench-content { padding: 24px 28px 22px; }
.progress { gap: 28px; margin: 0 0 21px; color: #94949e; }
.progress li { padding-bottom: 5px; border-bottom: 1px solid transparent; }
.progress .active { border-bottom-color: var(--gold); }
.progress .complete { color: #c2c2ca; }
.statement-fields { margin-top: 0; margin-bottom: 21px; padding-bottom: 23px; }
.field-label { font-size: .875rem; }
.claim-field input { color: var(--text); border-color: #5c5c65; background: #1c1c20; }
.fixed-field strong { font-size: 1.5rem; }
.prediction-options label,legend { font-size: .9375rem; }
.question-lock { font-size: .875rem; }
.outcome[data-status=accepted],.outcome[data-status=correct] { background: #1b1b1f; border-color: #45454e; border-left-color: var(--text); }
.outcome[data-status=rejected] { background: #1b1b1f; border-color: #45454e; border-left-color: var(--gold); }
.outcome[data-status=invalid_input],.outcome[data-status=server_error],.outcome[data-status=incorrect] { background: #1b1b1f; border-color: #686873; }
.outcome p { color: #c0c0c9; font-size: .9375rem; }
.observations { color: #bcbcc6; font-size: .875rem; }
.question-section h2 { font-size: 1.2rem; }
.proof-details summary { font-size: .9rem; }
.proof-size,.timing { font-size: .75rem; }
.pilot-section { padding: 34px 0 56px; }
.pilot-section h2 { font-size: 1.4rem; margin-bottom: 4px; }
.section-note { color: var(--muted); font-size: .9375rem; }
#feedback-form { padding: 20px 0 0; }
.feedback-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 18px; }
#feedback-form label,.reading label { display: block; font-size: .9375rem; margin-bottom: 8px; }
select,textarea,#public-identity input,#maintainer-key { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #45454d; border-radius: 5px; background: #19191d; color: var(--text); font: inherit; }
select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23b7b7c1' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
select:focus-visible,textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
textarea { resize: vertical; min-height: 102px; }
#feedback-form .consent { display: flex; align-items: flex-start; gap: 10px; color: #c9c9d0; margin: 18px 0; }
input[type=checkbox] { accent-color: var(--gold); margin-top: 5px; width: 17px; height: 17px; flex: 0 0 auto; }
.optional,.privacy-note { color: var(--muted); font-size: .875rem; font-weight: 400; }
.optional { margin-left: 4px; }
.privacy-note { max-width: 73ch; line-height: 1.6; }
.feedback-actions { display: flex; align-items: center; gap: 20px; }
.feedback-actions .secondary { margin-top: 0; color: var(--text); border-color: #656570; }
#feedback-status { margin: 0; font-size: .9375rem; }
.public-feedback { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.public-feedback>h3 { font-size: 1rem; font-weight: 550; margin-bottom: 10px; }
.pilot-entry { border-bottom: 1px solid var(--line); padding: 20px 0; }
.pilot-entry h3 { font-size: 1rem; margin-bottom: 10px; }
.reflection { white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-meta { color: var(--muted); font-size: .875rem; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.review-actions .secondary { margin-top: 0; font-size: .875rem; }
#unlock-form button { margin-top: 16px; }
[hidden] { display: none !important; }
@media(max-width:600px) {
  .site-header { padding: 18px 20px; gap: 12px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: .875rem; }
  main { padding: 0 20px; }
  .intro { padding: 17px 0 22px; }
  .workbench-content { padding: 21px 18px; }
  .field-label { font-size: .875rem; }
  .prediction-options label { font-size: .9375rem; }
  .feedback-fields { grid-template-columns: 1fr; gap: 16px; }
  .feedback-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .feedback-actions button { width: 100%; }
  .proof-details summary { flex-wrap: wrap; gap: 4px; }
}
