:root { --ink: #222; --muted: #666; --line: #ddd; --paper: #fff; --white: #fff; --accent: #333; --soft: #f7f7f7; --max: 980px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.hero { padding: 90px 0 75px; text-align: center; }
.eyebrow, .section-kicker, .mini-label { margin: 0 0 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 5.8rem); line-height: 1; letter-spacing: -.06em; font-weight: 700; }
.tagline { margin: 20px auto 8px; color: var(--muted); font-size: 1.25rem; }
.authors { display: flex; justify-content: center; gap: 20px; margin: 20px 0 3px; color: var(--ink); font-size: .95rem; flex-wrap: wrap; }
.authors span { white-space: nowrap; }
.authors sup, .equal-contribution sup { font-size: .7em; vertical-align: super; }
.affiliation { margin: 0; color: var(--muted); font-size: .9rem; }
.equal-contribution { margin: 3px 0 0; color: var(--muted); font-size: .76rem; }
.actions { display: flex; justify-content: center; gap: 9px; margin-top: 24px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 4px; font-size: .84rem; font-weight: 600; }
.button-primary { color: #fff; background: var(--accent); }.button-secondary { border: 1px solid #bbb; background: #fff; }
.media-frame { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.media-frame-dark { background: #090b12; box-shadow: 0 18px 42px rgba(23,32,51,.1); }
.media-frame-light { background: #fff; }
.media-frame img { display: block; width: 100%; height: auto; }
.method-pipeline { margin-top: 24px; }
.figure-note { margin: 14px 0 0; max-width: 850px; color: var(--muted); font-size: .86rem; }
.intro-band, .method, .results, .qualitative, .bibtex { padding-block: 70px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 20px; font-size: 2.15rem; line-height: 1.15; letter-spacing: -.04em; }
.section-title { font-weight: 700; }
.body-copy, .results-heading p, .qualitative-heading p { margin: 0; max-width: none; width: 100%; color: var(--muted); font-size: 1rem; }
.results-heading, .qualitative-heading { margin-bottom: 25px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.method-card { padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); min-height: 0; }
.method-card-accent { background: var(--soft); }
.card-index { display: inline-block; color: var(--muted); font-size: 1.45rem; line-height: 1; font-weight: 700; vertical-align: middle; }
.method-card h3 { display: inline-block; margin: 0 0 0 14px; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.04em; vertical-align: middle; }
.method-card p { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.schedule { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 50px; margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); }
.schedule h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.04em; }.schedule .mini-label { color: var(--muted); margin-bottom: 6px; }
.schedule-track { display: flex; align-items: center; gap: 12px; }
.schedule-step { display: grid; gap: 1px; min-width: 94px; }
.schedule-step b { color: var(--ink); font-size: .82rem; }.schedule-step span { color: var(--muted); font-size: .76rem; }.schedule-step strong { color: var(--ink); font-size: .88rem; }.schedule-line { height: 1px; flex: 1; background: #bbb; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.metric { padding: 20px 22px; border: 1px solid var(--line); background: var(--soft); }
.metric strong { display: block; font-size: 1.65rem; letter-spacing: -.05em; }
.metric span { color: var(--muted); font-size: .8rem; }
.results-placeholder { min-height: 235px; display: grid; place-items: center; align-content: center; gap: 14px; margin-top: 26px; padding: 28px; border: 1px dashed #aab2c1; border-radius: 8px; background: #fff; text-align: center; }
.placeholder-label { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 700; }
.placeholder-bars { display: flex; align-items: end; gap: 8px; height: 72px; }
.placeholder-bars i { display: block; width: 22px; height: 30%; background: #eee; border: 1px solid #ccc; }
.placeholder-bars i:nth-child(2) { height: 68%; }.placeholder-bars i:nth-child(3) { height: 48%; }.placeholder-bars i:nth-child(4) { height: 83%; }.placeholder-bars i:nth-child(5) { height: 60%; }.placeholder-bars i:nth-child(6) { height: 92%; background: #ddd; border-color: #bbb; }
.results-placeholder p { margin: 0; color: var(--muted); font-size: .78rem; }
code { padding: 2px 5px; border-radius: 4px; background: #eef0f4; font-size: .86em; }
.qualitative-heading { margin-bottom: 30px; }
.bib-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bib-header h2 { font-size: 2rem; }
.copy-button { border: 1px solid var(--line); border-radius: 5px; padding: 8px 13px; color: var(--ink); background: #fff; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; }
pre { margin: 0; padding: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; color: #222; background: #f5f5f5; font: .8rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

@media (max-width: 760px) {
  .shell { width: min(var(--max), calc(100% - 30px)); }
  .hero { padding: 68px 0 55px; }.intro-band, .method, .results, .qualitative, .bibtex { padding-block: 52px; }.method-grid, .metric-row { grid-template-columns: 1fr; }.schedule { grid-template-columns: 1fr; gap: 24px; padding: 20px; }.schedule-track { gap: 7px; }.schedule-step { min-width: 75px; }.schedule-line { min-width: 10px; }.footer { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) { h1 { font-size: 3.5rem; } }
