:root {
  color-scheme: dark;
  --paper: #101011;
  --surface: #19191c;
  --border: #373739;
  --ink: #f7f7f8;
  --muted: #bdbdc4;
  --accent: #ff7c87;
  --brand: #da3e49;
  font: 16px Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-padding-top: 74px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ffb4bc; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: -10000px; top: 8px; padding: 10px; background: var(--paper); }
.skip:focus { left: 12px; z-index: 2; }
.masthead { position: sticky; top: 0; z-index: 1; background: var(--paper); border-bottom: 1px solid var(--border); }
.masthead-inner { max-width: 1060px; margin: auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 750; }
.mark { display: block; object-fit: contain; }
.masthead nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: .875rem; }
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover, .masthead nav [aria-current='page'] { color: var(--accent); text-decoration: underline; }
.page { max-width: 1060px; margin: 0 auto; padding: clamp(32px, 6vw, 76px) 24px 70px; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 10px 0 16px; font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: -.045em; line-height: 1.06; }
h2 { margin: 0 0 12px; font-size: 1.2rem; letter-spacing: -.02em; }
p, li { color: var(--muted); line-height: 1.65; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li + li { margin-top: 7px; }
.lede { max-width: 64ch; font-size: 1.05rem; }
.updated { margin: 12px 0 32px; font-size: .8rem; }
.summary { padding: 18px 22px; margin-bottom: 24px; border: 1px solid #4b3036; border-inline-start: 3px solid var(--brand); border-radius: 12px; background: #21181b; }
.summary p:last-child, .article p:last-child, .article ul:last-child { margin-bottom: 0; }
.layout { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 20px; align-items: start; }
.contents, .article { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.contents { position: sticky; top: 76px; padding: 14px; }
.contents strong { display: block; margin-bottom: 8px; font-size: .75rem; }
.contents a { display: block; padding: 6px 0; font-size: .82rem; text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.article { min-width: 0; padding: clamp(18px, 3.5vw, 34px); overflow-wrap: anywhere; }
.article section + section { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 24px; }
.callout { padding: 12px 15px; border-inline-start: 3px solid var(--brand); background: #21181b; }
.footer { padding: 22px 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }
.footer-inner { max-width: 1012px; margin: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
@media(max-width: 720px) {
  .masthead-inner, .page { padding-inline: 16px; }
  .layout { grid-template-columns: 1fr; }
  .contents { position: static; display: flex; flex-wrap: wrap; gap: 2px 12px; }
  .contents strong { width: 100%; }
}
