:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --ink: #1c302b;
  --muted: #55645c;
  --accent: #185e52;
  --line: #d5dbd0;
  --soft: #e9ede2;
  --warm: #f0e4d4;
  --radius: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 650; letter-spacing: -0.045em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.025em; }
p { max-width: 64ch; }
code { font-size: 0.95em; overflow-wrap: anywhere; }
.page-shell { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.hub { padding-block: 40px 56px; }
.hub > .link-grid { margin-top: 24px; }
.skip-link { position: absolute; left: 20px; top: -80px; padding: 12px 20px; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 12px; color: white; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.045em; text-decoration: none; white-space: nowrap; }
.brand img { margin-right: 12px; flex-shrink: 0; }
.brand-dot { color: var(--accent); }
nav { display: flex; gap: 30px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; }
nav a { text-decoration: none; padding-block: 9px; }
.hero { display: grid; gap: 60px; align-items: center; padding-block: 88px 92px; }
.home-hero { grid-template-columns: 1fr 220px; gap: 30px; }
.detail-hero { grid-template-columns: 1.3fr 1fr; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 0.69rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 22px; }
.small-line { width: 26px; height: 2px; background: currentColor; flex-shrink: 0; }
.lede { font-size: 1.08rem; line-height: 1.8; color: var(--muted); margin-top: 26px; max-width: 52ch; }
.hero-subtitle { font-size: clamp(1.4rem, 2.5vw, 1.9rem); line-height: 1.3; letter-spacing: -0.035em; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--accent); color: white; padding: 13px 21px; border: 1px solid var(--accent); border-radius: 6px; font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.button:hover { color: white; background: #104b41; }
.hero > div > .button { margin-top: 30px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.section-block { padding-block: 42px 56px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.section-heading p { color: var(--muted); font-size: 0.9rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fcfbf7; }
.card-art { height: 180px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cone-art { background: var(--soft); color: var(--accent); }
.cone-art svg { width: 310px; height: 126px; fill: var(--accent); }
.cone-fill { opacity: 0.1; }
.diagram-line { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.art-caption { position: absolute; left: 22px; bottom: 16px; font: 0.6rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.11em; color: var(--muted); }
.board-art { background-color: #e8dcc8; background-image: repeating-conic-gradient(#ddcfb8 0% 25%, #e8dcc8 0% 50%); background-size: 64px 64px; }
.board-art svg { width: 106px; height: 116px; fill: #2e493e; filter: drop-shadow(3px 5px 0 #c5b69c); }
.board-art .art-caption { color: #394f42; background: #e8dcc8; padding: 2px 6px; }
.card-body { padding: 28px 30px 30px; }
.card-body .eyebrow { margin-bottom: 12px; font-size: 0.63rem; }
.card-title { text-decoration: none; display: flex; align-items: center; justify-content: space-between; }
.card-title span { font-size: 1.1rem; color: var(--accent); }
.card-body h3 { font-size: 1.75rem; }
.card-body p:not(.eyebrow) { color: var(--muted); margin-block: 18px 22px; font-size: 0.93rem; }
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.destination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; border-bottom: 1px solid var(--line); text-decoration: none; min-width: 0; }
.destination strong { font-size: 1rem; font-weight: 600; }
.destination-host { display: block; font: 0.7rem ui-monospace, monospace; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.news-strip { margin-top: 36px; background: var(--soft); padding: 28px 30px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.news-strip .eyebrow { margin-bottom: 8px; }
.news-strip h3 { font-size: 1.2rem; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; padding-block: 27px 40px; font-size: 0.75rem; color: var(--muted); }
.site-footer > span > span { margin-inline: 9px; }
.rain-art { height: 240px; position: relative; display: grid; place-items: center; }
.orbit { width: 184px; height: 184px; border: 1px solid #c5d3c6; border-radius: 50%; position: absolute; }
.orbit-two { width: 132px; height: 132px; }
.rain-core { width: 65px; height: 65px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: var(--accent); box-shadow: -12px 12px 0 #d9e3d6; }
.rain-art .art-caption { left: 0; right: 0; bottom: 2px; text-align: center; }
.study-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.study-panel .eyebrow { margin-bottom: 10px; }
.model-step { display: flex; gap: 20px; padding-block: 22px; border-bottom: 1px solid #cbd6c6; }
.model-step > span { font: 0.7rem ui-monospace, monospace; color: var(--accent); padding-top: 5px; }
.model-step strong { font-size: 0.95rem; font-weight: 650; }
.model-step p { color: var(--muted); font-size: 0.8rem; margin-top: 5px; }
.panel-note { margin-top: 18px; font-size: 0.7rem; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.index-number { display: block; color: var(--accent); font: 0.75rem ui-monospace, monospace; margin-bottom: 22px; }
.info-grid h3 { font-size: 1.2rem; margin-bottom: 14px; }
.info-grid p, .release-section > div > p:not(.eyebrow) { font-size: 0.93rem; color: var(--muted); }
.release-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 56px 64px; }
.release-section h2 { margin-bottom: 22px; }
.release-section > div > p + p { margin-top: 16px; }
.release-box { border: 1px solid var(--line); background: #fcfbf7; padding: 30px; border-radius: var(--radius); }
.status-label { display: inline-block; background: var(--soft); color: var(--accent); padding: 5px 10px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.03em; border-radius: 4px; margin-bottom: 20px; }
.release-box h3 { font-size: 1.4rem; }
.release-box p { font-size: 0.9rem; color: var(--muted); margin-top: 16px; }
.stacked-links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 26px; }
.stacked-links .text-link { font-size: 0.8rem; }
.chess-hero-art { display: flex; align-items: center; justify-content: center; position: relative; min-height: 330px; border-radius: var(--radius); border: 1px solid #d9cdb9; }
.chess-hero-art svg { width: 178px; height: 200px; }
.chess-page { --accent: #6c482f; --soft: #eee5d8; }
.chess-page .button:hover { background: #53331e; }
.not-found { padding-block: 90px; }
@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 64px); }
  .home-hero { grid-template-columns: 1fr 160px; }
  .rain-art { transform: scale(0.8); }
  .detail-hero { gap: 34px; }
  .release-section { gap: 36px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
}
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { padding-block: 22px; min-height: 0; flex-wrap: wrap; gap: 15px; }
  nav { gap: 24px; font-size: 0.8rem; }
  .hero { padding-block: 54px 60px; }
  .home-hero, .detail-hero { grid-template-columns: 1fr; }
  .rain-art { display: none; }
  .lede { font-size: 1rem; }
  .feature-grid, .info-grid, .release-section { grid-template-columns: 1fr; }
  .feature-grid { gap: 22px; }
  .card-art { height: 156px; }
  .card-body { padding: 24px; }
  .section-block { padding-block: 34px 42px; }
  .news-strip { align-items: flex-start; flex-direction: column; padding: 24px; }
  .info-grid { gap: 30px; }
  .index-number { margin-bottom: 12px; }
  .info-grid h3 { margin-bottom: 10px; }
  .release-section { gap: 26px; }
  .study-panel, .release-box { padding: 24px; }
  .chess-hero-art { min-height: 250px; }
  .chess-hero-art svg { width: 140px; height: 160px; }
  .site-footer { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 420px) {
  .link-grid { grid-template-columns: 1fr; }
  .button-row { gap: 20px; }
  .brand { font-size: 1.1rem; }
  .eyebrow { font-size: 0.61rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
