/* EDIT: colors, font, and spacing here. No framework or build step is required. */
:root {
  --ink: #263238;
  --muted: #5f6b72;
  --scan: #16836d;
  --blue: #356a9a;
  --orange: #ba6218;
  --line: #dce1e4;
  --soft: #f6f7f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); background: #fff; }
a { color: var(--scan); text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button, video { font: inherit; }
:focus-visible { outline: 3px solid var(--scan); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1050px; margin: 0 auto; padding: 0 24px; }
.text-container { max-width: 898px; }
.hero { padding: 66px 0 26px; text-align: center; }
h1 { margin: 0; font-size: clamp(32px, 4vw, 49px); line-height: 1.18; letter-spacing: -1.4px; font-weight: 700; }
.project-name { display: block; color: var(--scan); font-size: 1.12em; margin-bottom: 8px; }
.authors { margin: 24px 0 12px; font-size: 21px; }
.tagline { color: var(--muted); font-size: 18px; line-height: 1.5; }
.affiliation-logo { display: block; width: 260px; max-width: 100%; margin: 0 auto; }
.affiliation-logo img { display: block; width: 100%; height: auto; }
.publication-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; gap: 10px; background: #30363b; color: #fff; border-radius: 100px; padding: 8px 20px; font-size: 16px; text-decoration: none; }
.button:hover { background: #465057; text-decoration: none; }
.section { padding: 42px 0; scroll-margin-top: 20px; }
.section-soft { background: var(--soft); }
h2 { margin: 0 0 23px; text-align: center; font-size: 30px; line-height: 1.25; letter-spacing: -.5px; }
h3 { margin: 0 0 9px; line-height: 1.4; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.abstract { text-align: justify; }
.highlights-section { padding-top: 20px; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.highlight-card { padding: 25px 20px; border: 1px solid #e0eae6; border-radius: 12px; background: #f7faf8; text-align: center; }
.highlight-value { color: var(--scan); font-size: 40px; line-height: 1.25; font-weight: 700; margin-bottom: 12px; }
.highlight-card h3 { font-size: 18px; }
.highlight-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.section-intro { max-width: 850px; margin: 0 auto 24px; }
.method-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 18px; }
.method-hint + .method-tabs { margin-top: 10px; }
.method-tab { --method-color: var(--scan); border: 1px solid var(--line); border-radius: 100px; background: white; color: var(--muted); padding: 8px 24px; cursor: pointer; font-size: 16px; font-weight: 600; }
.method-tab.stlcg { --method-color: var(--blue); }
.method-tab.stlcgpp { --method-color: var(--orange); }
.method-tab:hover { border-color: var(--method-color); }
.method-tab[aria-selected="true"] { background: var(--method-color); border-color: var(--method-color); color: #fff; }
video { display: block; width: 100%; height: auto; background: #f7f8fa; border: 1px solid var(--line); border-radius: 9px; }
.method-panel video { aspect-ratio: 16 / 9; }
.caption, figcaption { margin: 13px auto 0; max-width: 850px; font-size: 15px; line-height: 1.6; text-align: center; color: var(--muted); }
.small-note { margin: 14px 0 0; font-size: 14px; text-align: center; color: var(--muted); }
figure { margin: 22px 0 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 9px; background: white; }
details { margin: 20px 0 0; padding: 13px 18px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
details figure { margin: 20px 0 6px; }
summary { cursor: pointer; font-size: 16px; font-weight: 600; }
.result-heading { margin: 34px 0 15px; text-align: center; font-size: 22px; }
.robot-figure { max-width: 860px; margin: 25px auto 0; }
.robot-figure video { aspect-ratio: 1128 / 768; }
.witnesses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 860px; margin: 26px auto; text-align: center; }
.witnesses > div { border-top: 2px solid #c8ded6; padding-top: 12px; }
.witnesses strong { display: block; color: var(--scan); font-size: 24px; }
.witnesses span { display: block; font-size: 14px; color: var(--muted); }
#robot details { margin-bottom: 24px; }
pre { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow-x: auto; font-size: 14px; line-height: 1.6; }
code { font-family: ui-monospace, Consolas, monospace; }
.citation { white-space: nowrap; }
.references { margin: 0; padding-left: 1.5em; font-size: 16px; }
.references li { padding: 12px; border-radius: 8px; scroll-margin-top: 24px; }
.references li + li { margin-top: 12px; }
.references li:target { background: #eef7f3; }
footer { padding: 30px 0; text-align: center; font-size: 14px; color: var(--muted); }
footer p { margin: 0 0 6px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 12px; }
@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero { padding: 40px 0 15px; }
  h1 { font-size: 33px; letter-spacing: -.7px; }
  .desktop-break { display: none; }
  .authors { font-size: 19px; }
  .tagline { font-size: 16px; }
  .button { padding: 8px 16px; font-size: 15px; }
  .section { padding: 30px 0; }
  h2 { font-size: 26px; }
  .abstract { text-align: left; }
  .highlights { grid-template-columns: 1fr; gap: 14px; }
  .highlight-card { padding: 20px; }
  .highlight-value { font-size: 34px; margin-bottom: 8px; }
  .method-tab { padding: 8px 17px; font-size: 15px; }
  .witnesses { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  pre { padding: 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
