:root {
  color-scheme: light;
  --ink: #102039;
  --muted: #5b687b;
  --line: #d9e4ef;
  --blue: #1768e5;
  --blue-dark: #0b4fad;
  --navy: #071d3e;
  --cyan: #18b8c9;
  --green: #15966a;
  --green-soft: #e4f8f0;
  --amber: #a86400;
  --amber-soft: #fff7e5;
  --paper: #fff;
  --soft: #f3f8fd;
  --shadow: 0 18px 55px rgba(17, 50, 91, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #edf7ff 0, #fff 40rem);
  color: var(--ink);
  font: 16px/1.65 "Segoe UI", Arial, sans-serif;
}
code { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
button { font: inherit; }
code, .mono { font-family: Consolas, "Courier New", monospace; overflow-wrap: anywhere; word-break: break-word; }
.wrap { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.topbar {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; }
.brand small { display: block; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px 13px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-weight: 720; text-decoration: none; }
.nav a:hover, .nav a:focus { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav .download-link { padding: 5px 10px; border-radius: 999px; background: var(--blue); color: #fff; }
.nav .download-link:hover, .nav .download-link:focus { color: #fff; background: var(--blue-dark); }
.language {
  border: 1px solid #b9cde5;
  border-radius: 999px;
  padding: 5px 11px;
  background: #fff;
  color: var(--blue-dark) !important;
}

.hero {
  padding: 58px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 38px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 8px;
  color: var(--blue-dark);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #37d39a;
  box-shadow: 0 0 0 5px rgba(55, 211, 154, .16);
}
.hero h1 {
  margin: .55rem 0 1rem;
  font-size: clamp(2.45rem, 5.6vw, 4.55rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}
.lead { max-width: 760px; color: var(--muted); font-size: 1.14rem; }
.lead strong { color: var(--ink); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0; }
.badge {
  padding: 6px 11px;
  border-radius: 999px;
  background: #e4efff;
  color: var(--blue-dark);
  font-size: .88rem;
  font-weight: 780;
}
.actions { display: flex; gap: 11px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid var(--blue);
  border-radius: 11px;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(23, 104, 229, .22); }
.button.secondary { background: #fff; color: var(--blue); }
.button.subtle { border-color: var(--line); background: var(--soft); color: var(--ink); }
.button:hover { transform: translateY(-1px); }

.release-card {
  min-width: 0;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--navy), #0d54a7);
  color: #fff;
  box-shadow: var(--shadow);
}
.release-card h2 { margin: 0 0 7px; }
.release-card p { color: #d6e6fa; }
.release-card p, .release-card code { overflow-wrap: anywhere; word-break: break-word; }
.release-card a { color: #adf3ff; }
.release-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 16px 0; }
.release-item { padding: 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 11px; background: rgba(255, 255, 255, .07); }
.release-item span { display: block; color: #b8cee8; font-size: .76rem; text-transform: uppercase; }
.release-item strong { display: block; margin-top: 2px; font-size: .94rem; }
.hash {
  margin: 13px 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: #03152f;
}
.hash-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; color: #b8cee8; font-size: .78rem; }
.hash code { display: block; margin-top: 8px; color: #fff; font-size: .78rem; line-height: 1.45; overflow-wrap: anywhere; }
.copy {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
}

main section { padding: 48px 0; scroll-margin-top: 16px; }
.section-head { max-width: 820px; margin-bottom: 22px; }
.kicker { color: var(--blue-dark); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
h2 { margin: 5px 0 13px; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; }
h3 { line-height: 1.3; }
.intro { margin: 0; color: var(--muted); font-size: 1.04rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 0 8px 26px rgba(25, 59, 102, .06);
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }
.icon { margin-bottom: 9px; font-size: 1.5rem; }
.tone-green { border: 2px solid var(--green); }
.tone-blue { border: 2px solid var(--blue); }
.tone-amber { border: 2px solid #e5a229; }
.tone-gray { border: 2px solid #8390a3; }

.truth-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.truth-item { padding: 18px; border-radius: 14px; background: var(--navy); color: #fff; }
.truth-item strong { display: block; margin-bottom: 4px; }
.truth-item span { color: #bfcee2; font-size: .9rem; }

.dashboard-shell {
  min-width: 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 25px;
  align-items: start;
  padding: 24px;
  border: 1px solid #b9d2ec;
  border-radius: 22px;
  background: linear-gradient(145deg, #f7fbff, #e7f1fb);
  box-shadow: var(--shadow);
}
.status-label {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dashboard-mock { min-width: 0; overflow: hidden; border: 1px solid #b8cbe0; border-radius: 15px; background: #fff; }
.mock-top { display: flex; justify-content: space-between; gap: 12px; padding: 13px 15px; background: #0b4f91; color: #fff; font-weight: 800; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 13px; }
.mock-stat { padding: 10px; border-radius: 10px; background: var(--soft); }
.mock-stat strong { display: block; font-size: 1.25rem; }
.mock-stat span { color: var(--muted); font-size: .78rem; }
.mock-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .8rem; }
.mock-table th, .mock-table td { padding: 9px 10px; border-top: 1px solid var(--line); text-align: left; }
.mock-table th, .mock-table td { overflow-wrap: anywhere; }
.mock-table th { background: #edf5ff; color: var(--blue-dark); }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--green); }
.dot.off { background: #8a96a5; }
.roadmap { display: grid; gap: 11px; margin-top: 17px; }
.phase { padding: 14px 15px; border: 2px solid var(--blue); border-radius: 10px; background: #fff; }
.phase.done { border-color: var(--green); }
.phase.next { border-color: #e5a229; }
.phase.later { border-color: #8390a3; }
.phase strong { display: block; }
.phase span { color: var(--muted); font-size: .91rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; counter-reset: step; padding: 0; }
.steps li { position: relative; min-height: 150px; padding: 48px 17px 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--muted); list-style: none; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 14px; left: 17px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 850; }
.steps strong { display: block; margin-bottom: 4px; color: var(--ink); }
.notice { margin-top: 18px; padding: 17px 19px; border: 1px solid #efd79a; border-radius: 14px; background: var(--amber-soft); }
.notice strong { color: #754600; }
.success { border-color: #a8dcc9; background: var(--green-soft); }

.link-list { display: grid; gap: 9px; margin: 0; padding: 0; }
.link-list li { list-style: none; }
.link-list a { font-weight: 780; }
details { margin: 10px 0; padding: 14px 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
summary { cursor: pointer; font-weight: 760; }

.page-hero { padding: 48px 0 26px; }
.page-hero h1 { margin: 7px 0 12px; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.06; letter-spacing: -.04em; }
.page-hero p { max-width: 800px; color: var(--muted); font-size: 1.08rem; }
.article { display: grid; gap: 16px; padding-bottom: 46px; }
.article-section { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.article-section h2 { font-size: 1.45rem; }
.article-section h3 { margin-bottom: 6px; }
.article-section p, .article-section li { color: var(--muted); }
.article-section code { overflow-wrap: anywhere; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shot-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 32px rgba(17, 50, 91, .08); }
.shot-frame { display: grid; place-items: center; min-height: 240px; padding: 14px; background: linear-gradient(145deg, #eaf4ff, #f8fbff); }
.shot-frame.compact { min-height: 210px; }
.shot-frame img { display: block; max-height: 560px; border: 1px solid #b9cbe0; border-radius: 10px; box-shadow: 0 10px 28px rgba(7, 29, 62, .13); }
.shot-copy { padding: 18px 20px 20px; }
.shot-copy h2, .shot-copy h3 { margin: 0 0 7px; font-size: 1.15rem; }
.shot-copy p { margin: 0; color: var(--muted); }
.evidence-tag { display: inline-flex; margin-bottom: 8px; padding: 4px 9px; border-radius: 999px; background: var(--green-soft); color: #087955; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.policy-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 18px 0; }
.policy-meta div { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.policy-meta span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; }
.policy-meta strong { display: block; margin-top: 3px; }
.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.policy-list { margin: 8px 0 0; padding-left: 21px; }
.policy-list li + li { margin-top: 7px; }
.author-profile { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; }
.author-mark { display: grid; place-items: center; width: 150px; aspect-ratio: 1; border-radius: 32px; background: linear-gradient(145deg, #0b4fad, #18b8c9); color: #fff; font-size: 2rem; font-weight: 900; box-shadow: var(--shadow); }
.doc-role { border: 2px solid var(--blue); }
.doc-role strong { display: block; margin-bottom: 4px; }
.toc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.toc-grid a { display: block; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 780; text-decoration: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.data { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; }
table.data th, table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { background: #edf5ff; color: var(--blue-dark); }
table.data tr:last-child td { border-bottom: 0; }
.good { color: #087955; font-weight: 780; }
.warn { color: #925a00; font-weight: 780; }
.bad { color: #b42318; font-weight: 780; }
pre { overflow-x: auto; padding: 13px; border-radius: 11px; background: #071d3e; color: #eff7ff; }

footer { margin-top: 34px; padding: 34px 0; background: var(--navy); color: #cad8eb; }
footer a { color: #aeeafb; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fine { max-width: 720px; color: #9fb4cf; font-size: .85rem; }

@media (max-width: 980px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .truth-strip { grid-template-columns: repeat(2, 1fr); }
  .policy-meta { grid-template-columns: repeat(2, 1fr); }
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; justify-content: initial; }
  .nav a { min-width: 0; overflow-wrap: anywhere; }
  .language { justify-self: start; }
  .eyebrow { display: block; width: 100%; }
  .eyebrow::before { display: inline-block; margin-right: 8px; }
  .hero, .dashboard-shell { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
  .grid, .grid.three, .grid.four, .steps { grid-template-columns: 1fr; }
  .release-grid, .truth-strip { grid-template-columns: 1fr; }
  .gallery-grid, .policy-grid { grid-template-columns: 1fr; }
  .author-profile { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wrap { width: min(calc(100% - 22px), 1160px); }
  .hero h1 { font-size: 2.35rem; }
  .mock-stats { grid-template-columns: 1fr; }
  .nav a { font-size: .92rem; }
  .eyebrow { font-size: .72rem; }
  .release-card { padding: 21px; }
  .dashboard-mock { overflow-x: auto; }
  .policy-meta, .toc-grid { grid-template-columns: 1fr; }
  .shot-frame { min-height: 170px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
