:root { color-scheme: light; --ink: #1a1a1a; --ivory: #f7f5f3; --wine: #7a1a2e; --deep: #4a0d1b; --muted: #62585d; --line: #ded5d8; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--ivory); }
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
a { color: var(--wine); text-underline-offset: .25em; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 5px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; background: white; padding: 1rem; z-index: 1; }
.skip-link:focus { top: 1rem; }
.site-header, footer { max-width: 1100px; margin: auto; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { font-size: 1.7rem; font-weight: 750; text-decoration: none; }
.brand span { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); }
nav { display: flex; gap: 1.2rem; }
nav [aria-current] { font-weight: 750; text-decoration-thickness: 3px; }
main { max-width: 1000px; margin: auto; padding: 0 2rem; }
.intro { padding: 4rem 0 2rem; }
.eyebrow { color: var(--wine); font-size: .8rem; text-transform: uppercase; font-weight: 700; letter-spacing: .14em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); font-weight: 650; letter-spacing: -.05em; line-height: 1.08; margin: 1rem 0 1.7rem; max-width: 850px; }
h2 { font-size: 1.7rem; line-height: 1.3; letter-spacing: -.025em; }
h3 { font-size: 1.2rem; }
.lead { font-size: 1.2rem; max-width: 740px; color: var(--muted); }
.test-panel { background: white; border: 1px solid var(--line); border-top: 4px solid var(--wine); border-radius: 8px; padding: 1.5rem 2rem; }
.test-panel h2 { margin-top: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
button { font: inherit; font-weight: 650; border: 1px solid var(--wine); border-radius: 4px; padding: .8rem 1.6rem; cursor: pointer; background: var(--wine); color: white; min-height: 48px; }
button.secondary { background: white; color: var(--wine); }
button:hover:not(:disabled) { background: var(--deep); color: white; }
button:disabled { opacity: .5; cursor: not-allowed; }
#status { min-height: 1.65em; font-weight: 600; }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; padding-left: 1.2rem; font-size: .85rem; color: var(--muted); }
.phases li { border-top: 2px solid var(--line); padding-top: .5rem; margin-right: .6rem; }
.phases [aria-current] { color: var(--wine); border-color: var(--wine); font-weight: 750; }
.phases .done { border-color: #2d7a4a; color: #245b39; }
#results, .explanation { padding: 2rem 0; }
.capacity { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.capacity > div { padding: 1.5rem; background: var(--deep); color: white; border-radius: 6px; }
.capacity dd { margin: .5rem 0 0; font-size: clamp(1.6rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; background: white; }
caption { text-align: left; font-weight: 700; margin-bottom: .6rem; color: var(--wine); }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: .8rem; font-variant-numeric: tabular-nums; }
th { font-weight: 600; }
.metadata { color: var(--muted); font-size: .9rem; }
.metadata > div { display: grid; grid-template-columns: minmax(170px, 1fr) 2fr; gap: 1rem; padding: .4rem 0; }
.metadata dd { margin: 0; overflow-wrap: anywhere; }
#warnings { border-left: 4px solid #9a5b15; padding: .5rem 1rem; background: #fff5e8; }
summary { cursor: pointer; }
.explanation { border-top: 1px solid var(--line); color: var(--muted); }
.explanation h2 { color: var(--ink); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
[hidden] { display: none !important; }
@media (max-width: 640px) { .site-header, footer { padding: 1rem; } main { padding: 0 1rem; } .intro { padding-top: 2rem; } .test-panel { padding: 1.2rem; } .phases { grid-template-columns: 1fr 1fr; gap: 1rem; } .capacity { grid-template-columns: 1fr; } .metadata > div { grid-template-columns: 1fr; gap: .1rem; } footer { align-items: start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
