
:root {
  color-scheme: light;
  --ink: #14263b;
  --muted: #52657a;
  --line: #dbe4ec;
  --paper: #fff;
  --wash: #f4f7fa;
  --navy: #10243a;
  --blue: #1463a5;
  --teal: #087f82;
  --shadow: 0 10px 30px rgba(20, 38, 59, .06);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--wash); color: var(--ink); line-height: 1.6; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #0a477a; }
:focus-visible { outline: 3px solid #178c9b; outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; background: white; padding: .7rem; }
.site-header { background: var(--navy); color: #fff; }
.header-inner { max-width: 1240px; margin: auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.brand { color: white; text-decoration: none; font-weight: 750; letter-spacing: .02em; }
.brand span { display: block; color: #b9cadd; font-size: .78rem; font-weight: 500; }
.primary-nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.primary-nav a { color: #dce8f2; text-decoration: none; padding: .45rem .65rem; border-radius: .45rem; font-size: .88rem; }
.primary-nav a:hover, .primary-nav a[aria-current=page] { background: #24415d; color: #fff; }
main { max-width: 1180px; margin: 2.5rem auto; padding: 0 1.5rem 3rem; }
.hero, .page-intro { padding: 2rem 0 1.5rem; max-width: 850px; }
.hero h1, .page-intro h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.045em; line-height: 1.08; margin: .35rem 0 1rem; }
.lead { font-size: 1.2rem; color: #334b63; max-width: 760px; }
.eyebrow { margin: 0 0 .5rem; color: var(--teal); text-transform: uppercase; font-size: .76rem; font-weight: 750; letter-spacing: .11em; }
.section { margin: 2.4rem 0; }
.section-heading { margin-bottom: 1rem; }
.section h2, .section-heading h2 { margin: .15rem 0 1rem; }
.status-grid, .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.status-card, .card, .panel, .callout { background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; padding: 1.35rem; box-shadow: var(--shadow); }
.status-card { border-top: 3px solid var(--teal); }
.status-card h2, .card h3 { margin: .2rem 0 .55rem; }
.status-card p, .card p { color: var(--muted); }
.text-link { font-weight: 700; }
.card-link { display: block; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; }
.card-link:hover { transform: translateY(-2px); border-color: #9abbd4; }
.callout { margin: 1.5rem 0; background: #edf5f8; border-left: 4px solid var(--teal); box-shadow: none; }
.definition-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .8rem; }
.definition-list div { padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .7rem; }
.definition-list dt { font-weight: 750; }
.definition-list dd { margin: .3rem 0 0; color: var(--muted); }
.steps { padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.steps li { counter-increment: step; background: white; border: 1px solid var(--line); border-radius: 1rem; padding: 1.3rem; }
.steps li:before { content: counter(step, decimal-leading-zero); color: var(--teal); font-weight: 800; }
.steps h2 { font-size: 1.15rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: white; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eaf0f5; }
.site-footer { border-top: 1px solid var(--line); padding: 1.4rem max(1.5rem, calc((100vw - 1180px) / 2)); color: var(--muted); background: white; }
.site-footer p { margin: 0; }
.category-index { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.category-index a { padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 2rem; background: white; color: var(--ink); text-decoration: none; }
.timeline { display: grid; gap: .8rem; }
.change { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: .8rem; padding: 1.1rem 1.3rem; }
.change h2 { margin: .1rem 0 .35rem; font-size: 1.15rem; }
.change p { margin: .3rem 0 .6rem; color: var(--muted); }
.task-category { margin: 2rem 0; scroll-margin-top: 1rem; }
.task-category > h2 { padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.task-list { list-style: none; padding: 0; display: grid; gap: .65rem; }
.task-item { display: grid; grid-template-columns: 3rem minmax(12rem, 1fr) auto; gap: .5rem .85rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: .8rem; padding: 1rem; scroll-margin-top: 1rem; }
.task-number { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 750; }
.task-title { font-weight: 750; }
.status { display: inline-flex; border-radius: 2rem; padding: .2rem .65rem; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.status-complete { background: #e5f5ed; color: #17633b; }
.status-deferred { background: #fff2d7; color: #855800; }
.status-planned { background: #edf1f5; color: #4f6173; }
.task-description { grid-column: 2 / 4; color: var(--muted); }
.verification-badge { display: inline-flex; width: fit-content; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .55rem; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.verification-automated { border-color: #7bb4b9; color: #0f5b62; }
.verification-real-world { border-color: #c0a36c; color: #704d11; }
#latest-roadmap-records { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.roadmap-record { display: grid; justify-items: start; gap: .45rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); }
.verification-summary { color: var(--muted); font-size: .88rem; }
.task-contract { grid-column: 2 / 4; border-top: 1px solid var(--line); padding-top: .7rem; overflow-wrap: anywhere; }
.task-contract summary, .panel > summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.task-contract h3 { margin-top: 1rem; font-size: .95rem; }
#next-task { border-left-color: var(--blue); }
#next-task > a { font-weight: 700; font-size: 1.1rem; }
#roadmap-rules p { overflow-wrap: anywhere; }
@media (max-width: 650px) {
  .header-inner { padding: 1rem; }
  .primary-nav { gap: 0; }
  .primary-nav a { font-size: .8rem; padding: .4rem .5rem; }
  main { margin: 1rem auto; padding: 0 1rem 2rem; }
  .hero, .page-intro { padding-top: 1.3rem; }
  .task-item { grid-template-columns: 2rem 1fr; }
  .task-item .status { grid-column: 2; justify-self: start; }
  .task-description, .task-contract { grid-column: 1 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; }
}
