:root {
  --paper: #f6f4ee;
  --paper-2: #ece9e1;
  --ink: #11110f;
  --muted: #6f6d66;
  --pink: #ef2c83;
  --line: rgba(17,17,15,.2);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 500; line-height: 1.9; }
a { color: inherit; }
::selection { color: #fff; background: var(--pink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }

[data-progress] { position: fixed; z-index: 30; left: 0; top: 0; height: 3px; width: 0; background: var(--pink) !important; }
.shell { width: min(100%, var(--max)); margin: auto; border-inline: 1px solid var(--line); }

.topbar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto; color: var(--ink); background: rgba(246,244,238,.96); border-bottom: 1px solid var(--ink); backdrop-filter: blur(14px); }
.brand,.navlink { display: flex; align-items: center; min-height: 76px; text-decoration: none; }
.brand { gap: 13px; padding: 0 clamp(18px,4vw,58px); font-family: var(--serif); font-weight: 700; letter-spacing: .09em; }
.brand i { display: grid; place-items: center; width: 27px; height: 36px; border: 1px solid var(--ink); font-style: normal; font-size: 13px; }
.navlink { padding: 0 27px; color: var(--ink); border-left: 1px solid var(--line); font-size: 11px; }
.navlink:hover { color: #fff; background: var(--ink); }

.hero { position: relative; min-height: min(780px,calc(100svh - 76px)); padding: clamp(80px,11vw,162px) clamp(22px,7vw,112px) clamp(58px,7vw,104px); overflow: hidden; border-bottom: 1px solid var(--ink); }
.hero::after { display: none; }
.kicker,.mono { color: var(--pink); font: 10px var(--mono); letter-spacing: .18em; }
.hero h1 { max-width: 1120px; margin: clamp(90px,12vw,176px) 0 30px; color: var(--ink); font-family: var(--serif); font-size: clamp(68px,11vw,166px); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
.hero .dek { max-width: 730px; margin: clamp(80px,9vw,135px) 0 0 auto; color: var(--muted); font-size: clamp(14px,1.5vw,18px); font-weight: 500; line-height: 2; }
.meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 38px; justify-content: flex-end; }
.meta span { padding: 8px 12px; color: var(--muted); border: 0; border-left: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .12em; }

.speed { display: grid; grid-template-columns: .72fr 1fr 1.28fr; color: var(--ink); border-bottom: 1px solid var(--ink); }
.speed article { min-height: 320px; padding: clamp(38px,6vw,86px) clamp(22px,5vw,72px); border-right: 1px solid var(--line); }
.speed article:last-child { border: 0; }
.speed small { color: var(--pink); font: 10px var(--mono); letter-spacing: .14em; }
.speed h2 { margin: 32px 0 0; color: var(--ink); font-family: var(--serif); font-size: clamp(20px,2.5vw,36px); font-weight: 700; line-height: 1.65; letter-spacing: -.01em; }

.content { display: grid; grid-template-columns: minmax(0,1fr) 250px; }
.body { padding: clamp(72px,10vw,150px) clamp(22px,7vw,112px); }
.section { margin: 0 0 clamp(100px,13vw,185px); }
.section-label { display: flex; align-items: center; gap: 16px; margin-bottom: 38px; color: var(--pink); font: 10px var(--mono); letter-spacing: .17em; }
.section-label::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.section h2 { max-width: 850px; margin: 0 0 42px; color: var(--ink); font-family: var(--serif); font-size: clamp(38px,6vw,84px); font-weight: 700; line-height: 1.25; letter-spacing: -.04em; }
.section p { max-width: 760px; margin: 0 0 1.45em; color: #34332f; font-size: 16px; font-weight: 500; line-height: 2.05; }

.keys { display: block; border-top: 1px solid var(--ink); background: transparent; }
.key { display: grid; grid-template-columns: 120px 1fr; padding: 23px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.key b { margin: 0; color: var(--pink); font: 12px var(--mono); }
.key span { font-family: var(--serif); font-size: clamp(22px,3vw,38px); font-weight: 700; }

.factbox { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.factbox > div { min-height: 280px; padding: clamp(28px,4vw,55px); }
.factbox > div + div { border-left: 1px solid var(--line); }
.factbox h3 { margin: 0 0 28px; color: var(--ink); font-family: var(--serif); font-size: 22px; }
.factbox .confirmed h3,.factbox .caution h3 { color: var(--ink); }
.factbox .confirmed h3::before,.factbox .caution h3::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--pink); }
.factbox ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 14px; }
.factbox li + li { margin-top: 12px; }

.avoid { padding: clamp(30px,5vw,64px); color: var(--ink); background: var(--paper-2); border: 0; border-left: 4px solid var(--pink); }
.avoid h3 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(25px,3vw,40px); }
.avoid p { margin: 0; }

.rail { padding: 58px 24px; background: var(--paper-2); border-left: 1px solid var(--line); }
.rail-inner { position: sticky; top: 112px; }
.rail h2 { margin: 0 0 24px; font-family: var(--serif); font-size: 18px; }
.rail a { display: block; padding: 14px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; text-decoration: none; }
.rail a:hover { color: var(--pink); }

.sources { padding: clamp(60px,9vw,125px) clamp(22px,7vw,112px); border-top: 1px solid var(--ink); }
.sources h2 { margin: 0 0 36px; font-family: var(--serif); font-size: clamp(30px,4vw,56px); }
.sources ol { max-width: 900px; margin: 0; padding-left: 1.4em; }
.sources li { margin: 14px 0; color: var(--muted); font-size: 13px; }
.sources a { text-decoration-color: var(--pink); text-underline-offset: 4px; }
.note { margin-top: 34px; color: var(--muted); font-size: 11px; }
.foot { display: flex; justify-content: space-between; gap: 24px; padding: 38px clamp(20px,4vw,58px); color: var(--ink); border-top: 1px solid var(--ink); font-size: 12px; }
.foot a { text-decoration-color: var(--pink); text-underline-offset: 4px; }

@media (max-width: 800px) {
  .topbar { min-height: 64px; }
  .brand,.navlink { min-height: 64px; }
  .brand { padding: 0 15px; }
  .navlink { padding: 0 15px; }
  .hero { min-height: 650px; padding: 72px 20px 46px; }
  .hero h1 { margin-top: 100px; font-size: clamp(62px,20vw,100px); }
  .hero .dek { margin-top: 110px; }
  .meta { justify-content: flex-start; }
  .speed { display: block; }
  .speed article { min-height: 0; padding: 45px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .content { display: block; }
  .body { padding: 76px 20px; }
  .section { margin-bottom: 110px; }
  .section h2 { font-size: clamp(38px,13vw,64px); }
  .key { grid-template-columns: 70px 1fr; }
  .factbox { display: block; }
  .factbox > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .rail { border-left: 0; border-top: 1px solid var(--ink); }
  .rail-inner { position: static; }
  .sources { padding: 70px 20px; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
