:root {
  color-scheme: light;
  --navy: #0d2248;
  --ink: #182b4d;
  --muted: #60708b;
  --line: #d9e2ef;
  --line-strong: #bdcce0;
  --canvas: #f5f8fc;
  --surface: #fff;
  --blue: #1d63df;
  --blue-soft: #edf4ff;
  --teal: #0aa97a;
  --teal-soft: #eaf8f3;
  --amber: #e58716;
  --amber-soft: #fff6e9;
  --red: #df3b4f;
  --red-soft: #fff0f2;
  --gray: #7e8da5;
  --gray-soft: #f0f3f7;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-size: 15px; line-height: 1.65; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; top: -60px; left: 18px; z-index: 20; padding: 8px 12px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-size: 16px; font-weight: 780; text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; color: #fff; background: var(--blue); font-weight: 850; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { position: relative; padding: 21px 0 19px; color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--blue); }
nav a:hover::after, nav a:focus-visible::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--blue); }

.hero { padding: 86px 0 76px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #fff 0%, #fff 55%, #f4f8ff 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .55fr); align-items: center; gap: 76px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 840px; margin-bottom: 24px; color: var(--navy); font-size: clamp(42px, 5.2vw, 68px); line-height: 1.12; letter-spacing: -.04em; }
h2 { margin-bottom: 0; color: var(--navy); font-size: 30px; line-height: 1.25; letter-spacing: -.025em; }
h3 { color: var(--navy); }
.hero-copy > p { max-width: 720px; margin-bottom: 30px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; }
.hero-actions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--blue); border-radius: 7px; font-size: 14px; font-weight: 700; text-decoration: none; }
.primary-action { color: #fff; background: var(--blue); }
.secondary-action { color: var(--blue); background: #fff; }
.snapshot { border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 18px 55px rgb(35 68 117 / 9%); }
.snapshot div { display: grid; gap: 2px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.snapshot div:last-child { border-bottom: 0; }
.snapshot span { color: var(--muted); font-size: 12px; }
.snapshot strong { color: var(--navy); font-size: 14px; }

.section { padding: 76px 0; scroll-margin-top: 64px; }
.section-label { margin-bottom: 8px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.section-heading { margin-bottom: 28px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.split-heading > p { max-width: 500px; margin-bottom: 0; color: var(--muted); }

.overview-section { background: var(--canvas); }
.overview-layout { display: grid; grid-template-columns: 174px minmax(0, 1fr); gap: 50px; }
.stage-rail { position: relative; padding: 6px 0; }
.stage-rail ol { display: grid; gap: 34px; margin: 0; padding: 0 0 0 38px; list-style: none; }
.stage-rail li { display: grid; gap: 2px; min-height: 40px; color: var(--gray); }
.stage-rail li span { font-size: 11px; font-weight: 800; }
.stage-rail li strong { color: inherit; font-size: 13px; }
.stage-rail li.active { color: var(--blue); }
.rail-progress { position: absolute; top: 10px; bottom: 16px; left: 10px; width: 2px; background: var(--line-strong); }
.rail-progress::before, .rail-progress::after, .rail-progress span::after { position: absolute; left: 50%; width: 10px; height: 10px; border: 2px solid var(--line-strong); border-radius: 50%; content: ""; background: var(--canvas); transform: translateX(-50%); }
.rail-progress::before { top: 0; border-color: var(--blue); background: var(--blue); }
.rail-progress::after { bottom: 0; }
.rail-progress span { display: block; width: 100%; height: 17%; background: var(--blue); }
.rail-progress span::after { top: 25%; }
.progress-panel { margin-bottom: 28px; }
.progress-copy { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--navy); }
.progress-copy span { color: var(--teal); font-weight: 800; }
.progress-track { height: 10px; overflow: hidden; border-radius: 20px; background: #e3eaf3; }
.progress-track span { display: block; width: 27.27%; height: 100%; background: var(--teal); }
.status-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.status-summary article { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: center; padding: 22px; border-right: 1px solid var(--line); }
.status-summary article:last-child { border-right: 0; }
.status-summary article > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.status-summary article > strong { color: var(--navy); font-size: 26px; line-height: 1; }
.status-summary small { grid-column: 2 / 4; color: var(--gray); font-size: 11px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.done { background: var(--teal); }.dot.doing { background: var(--amber); }.dot.pending { background: var(--gray); }.dot.blocked { background: var(--red); }

.boundary-section { border-block: 1px solid var(--line); }
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.boundary-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.boundary-panel header { display: flex; align-items: center; gap: 11px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.boundary-panel header span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; font-weight: 800; }
.boundary-panel h3 { margin: 0; font-size: 17px; }
.boundary-panel ul { display: grid; gap: 12px; margin: 0; padding: 22px 26px 24px 44px; }
.boundary-panel li { padding-left: 3px; color: var(--muted); }
.official header { background: var(--teal-soft); }.official header span { color: #fff; background: var(--teal); }
.product header { background: var(--blue-soft); }.product header span { color: #fff; background: var(--blue); }

.roadmap-section { background: var(--canvas); }
.roadmap-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.filters button:hover, .filters button:focus-visible, .filters button.active { border-color: var(--blue); color: #fff; background: var(--blue); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 13px 16px; color: var(--muted); background: #f1f5fa; font-size: 11px; font-weight: 800; white-space: nowrap; }
td { min-width: 140px; padding: 15px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; vertical-align: middle; }
td:first-child { min-width: 180px; } td:first-child strong { color: var(--ink); }
tr[hidden] { display: none; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 5px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status::before { width: 6px; height: 6px; border-radius: 50%; content: ""; background: currentColor; }
.status.done { color: #087d5c; background: var(--teal-soft); }.status.doing { color: #b56500; background: var(--amber-soft); }.status.pending { color: #68778f; background: var(--gray-soft); }.status.blocked { color: #bd263a; background: var(--red-soft); }
.table-note { margin: 12px 0 0; color: var(--gray); font-size: 11px; }

.review-section { background: #f4f7fb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-rule { display: grid; grid-template-columns: 120px 1fr; gap: 20px; margin-bottom: 18px; padding: 14px 16px; border-left: 3px solid var(--amber); color: var(--muted); background: #fff9eb; font-size: 12px; }
.review-rule strong { color: var(--navy); }
.review-table td:first-child { min-width: 250px; }
.review-table td:nth-child(3) { min-width: 150px; }
.review-table td:nth-child(4) { min-width: 250px; }
.url-link { color: var(--blue); font-weight: 720; text-decoration: none; word-break: break-all; }
.url-link:hover, .url-link:focus-visible { text-decoration: underline; }
.url-empty { color: var(--gray); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.status.review { color: #835500; background: #fff0c7; }
.review-action { display: inline-flex; padding: 6px 10px; border: 1px solid var(--blue); border-radius: 5px; color: var(--blue); font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.review-action:hover, .review-action:focus-visible { color: #fff; background: var(--blue); }
.review-unavailable { color: var(--gray); font-size: 11px; white-space: nowrap; }
.account-label { color: var(--muted); font-size: 11px; white-space: nowrap; }
.account-code, .secret-value { color: var(--navy); font-size: 11px; }
.secret-line { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.secret-value { max-width: 210px; overflow-wrap: anywhere; color: var(--gray); }
.secret-toggle { display: inline-grid; flex: 0 0 28px; width: 28px; height: 28px; padding: 0; place-items: center; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--muted); background: #fff; cursor: pointer; }
.secret-toggle:hover, .secret-toggle:focus-visible, .secret-toggle.active { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.credential-state { display: inline-flex; padding: 4px 8px; border-radius: 5px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.credential-state.stored { color: #087d5c; background: var(--teal-soft); }
.credential-state.none { color: #53657d; background: var(--gray-soft); }
.credential-state.pending { color: #b56500; background: var(--amber-soft); }

.clients-section { border-bottom: 1px solid var(--line); }
.client-list { border-top: 2px solid var(--navy); }
.client-list article { display: grid; grid-template-columns: 190px 110px minmax(220px, .8fr) minmax(260px, 1.2fr); gap: 22px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.client-list p, .client-list small { margin: 0; color: var(--muted); }
.client-list small { font-size: 12px; }
.client-name { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.client-name span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--blue); background: var(--blue-soft); font-weight: 800; }

.acceptance-section { color: #fff; background: var(--navy); }
.acceptance-section h2 { color: #fff; }
.acceptance-section .section-label { color: #75b6ff; }
.acceptance-grid { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: 80px; }
.acceptance-lede { max-width: 420px; color: #b8c7dd; }
.evidence-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; padding: 0; border-top: 1px solid #375076; list-style: none; }
.evidence-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 22px 18px 22px 0; border-bottom: 1px solid #375076; }
.evidence-list li:nth-child(odd) { border-right: 1px solid #375076; }
.evidence-list li:nth-child(even) { padding-left: 22px; }
.evidence-list span { color: #75b6ff; font-weight: 800; }
.evidence-list strong { display: block; margin-bottom: 5px; }
.evidence-list p { margin: 0; color: #b8c7dd; font-size: 12px; }

.sources-section { background: var(--canvas); }
.sources-grid { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr); gap: 80px; }
.sources-grid > div:first-child > p:last-child { max-width: 390px; color: var(--muted); }
.source-list { border-top: 2px solid var(--navy); }
.source-list article { display: grid; grid-template-columns: minmax(210px, .75fr) 1.25fr; gap: 24px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.source-list code { color: var(--blue); font-weight: 750; }.source-list p { margin: 0; color: var(--muted); font-size: 12px; }

footer { padding: 24px 0; color: #b8c7dd; background: #08172f; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 940px) {
  nav { gap: 14px; }
  .hero-grid, .acceptance-grid, .sources-grid { grid-template-columns: 1fr; gap: 36px; }
  .overview-layout { grid-template-columns: 1fr; }
  .stage-rail { display: none; }
  .status-summary { grid-template-columns: 1fr 1fr; }
  .status-summary article:nth-child(2) { border-right: 0; }
  .status-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .client-list article { grid-template-columns: 180px 100px 1fr; }
  .client-list small { grid-column: 3; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1240px); }
  .site-header { position: static; }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px 0; }
  nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  nav a { padding: 4px 0 8px; white-space: nowrap; }
  .hero, .section { padding: 52px 0; }
  .hero { background: #fff; }
  h1 { font-size: 39px; }
  .hero-actions, .split-heading, .roadmap-heading, .footer-inner { align-items: flex-start; flex-direction: column; }
  .hero-actions a { width: 100%; }
  .status-summary, .boundary-grid, .evidence-list { grid-template-columns: 1fr; }
  .status-summary article { border-right: 0; border-bottom: 1px solid var(--line); }
  .status-summary article:last-child { border-bottom: 0; }
  .evidence-list li:nth-child(odd) { border-right: 0; }
  .evidence-list li:nth-child(even) { padding-left: 0; }
  .client-list article { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .client-list p, .client-list small { grid-column: 1 / 3; }
  .source-list article { grid-template-columns: 1fr; gap: 4px; }
  .review-rule { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
