:root {
  --bg: #ffffff;
  --ink: #080808;
  --muted: #666666;
  --line: rgba(8, 8, 8, 0.28);
  --line-strong: #080808;
  --accent: #5b28ff;
  --accent-hover: #4517df;
  --focus: rgba(91, 40, 255, 0.3);
  --shell: 1440px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --section: clamp(80px, 10vw, 156px);
  --font: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

code {
  color: inherit;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.91em;
  overflow-wrap: anywhere;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.site-nav a {
  position: relative;
  padding-block: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button svg,
.ledger a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.button-outline {
  background: var(--bg);
}

.button-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  min-height: min(770px, calc(100vh - 92px));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: clamp(40px, 8vw, 128px);
  padding-top: clamp(70px, 9vw, 132px);
  padding-bottom: clamp(72px, 9vw, 124px);
}

.hero h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(58px, 7.1vw, 112px);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero-lead {
  margin-bottom: 44px;
  color: #3d3d3d;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-actions .button {
  min-width: 196px;
}

.network-warning {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-mark {
  align-self: center;
  justify-self: end;
  width: min(100%, 390px);
  transform: translateY(8%) translateX(-3%);
}

.hero-mark img {
  width: 100%;
  height: auto;
}

.section-rule {
  height: 1px;
  margin-bottom: 26px;
  background: var(--line-strong);
}

.record h2,
.purpose h2,
.roadmap h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
}

.record-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.25fr 0.9fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.record-grid > div {
  min-width: 0;
  padding: 22px 22px 24px 0;
  border-bottom: 1px solid var(--line);
}

.record-grid dt,
.record-grid dd,
.ledger dt,
.ledger dd,
.principle-list dt,
.principle-list dd {
  margin: 0;
}

.record-grid dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
}

.record-grid dd {
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.record-grid .record-address {
  grid-column: 1 / -1;
  padding-right: 0;
}

.record-address dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.copy-button {
  min-height: 44px;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.copy-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.section-space {
  padding-top: var(--section);
}

.section-intro {
  max-width: 720px;
  margin-bottom: clamp(46px, 6vw, 88px);
  color: #383838;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.5;
}

.purpose-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.purpose-list li {
  min-width: 0;
  min-height: 260px;
  padding: 0 clamp(24px, 2.8vw, 44px);
  border-left: 1px solid var(--line);
}

.purpose-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.purpose-list li:last-child {
  padding-right: 0;
}

.index {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
}

.purpose-list h3 {
  min-height: 58px;
  margin-bottom: 28px;
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.purpose-list p {
  margin-bottom: 0;
  color: #333;
  font-size: 15px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 2.22fr);
  gap: clamp(48px, 9vw, 150px);
}

.section-heading h2,
.transparency-header h2 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading p,
.transparency-header p,
.roadmap-header p {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
}

.principle-list {
  margin: 0;
}

.principle-list > div {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.45fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list > div:first-child {
  border-top: 1px solid var(--line);
}

.principle-list dt {
  display: flex;
  gap: 16px;
  font-size: 17px;
  font-weight: 650;
}

.principle-list dt span {
  flex: none;
  color: var(--accent);
}

.principle-list dd {
  color: #333;
  font-size: 15px;
}

.principle-list .planned-rule {
  border-bottom-color: var(--accent);
}

.principle-list .planned-rule dt::after {
  align-self: flex-start;
  margin-left: auto;
  color: var(--accent);
  content: "ПЛАН";
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.transparency-header,
.roadmap-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.transparency-header h2,
.transparency-header p,
.roadmap-header h2,
.roadmap-header p {
  margin-bottom: 0;
}

.transparency-header p,
.roadmap-header p {
  justify-self: end;
  font-size: clamp(17px, 1.55vw, 22px);
}

.ledger {
  margin: 0;
  border-top: 1px solid var(--line);
}

.ledger > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 2fr);
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.ledger dt {
  font-weight: 620;
}

.ledger dd {
  min-width: 0;
  color: #303030;
  overflow-wrap: anywhere;
}

.ledger a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}

.risk-statement {
  margin-top: 36px;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--accent);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.risk-statement strong {
  color: var(--accent);
}

.roadmap-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-list::before {
  position: absolute;
  top: 48px;
  right: 10%;
  left: 0;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.roadmap-list li {
  position: relative;
  min-height: 250px;
  padding: 0 clamp(18px, 2vw, 30px) 36px 0;
}

.roadmap-list .index {
  margin-bottom: 34px;
  color: var(--ink);
}

.roadmap-dot {
  position: absolute;
  z-index: 2;
  top: 41px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
}

.roadmap-list h3 {
  margin-bottom: 13px;
  font-size: 20px;
  line-height: 1.2;
}

.roadmap-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.roadmap-list .is-current .index,
.roadmap-list .is-current h3,
.current-label {
  color: var(--accent);
}

.roadmap-list .is-current .roadmap-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.current-label {
  display: block;
  margin-top: 16px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.document-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.document-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-decoration: none;
}

.document-links a:first-child {
  padding-right: 32px;
}

.document-links a + a {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.document-links span {
  font-size: 20px;
  font-weight: 650;
}

.document-links small {
  max-width: 240px;
  color: var(--muted);
  text-align: right;
}

.document-links a:hover span {
  color: var(--accent);
}

.site-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  margin-top: var(--section);
  border-top: 1px solid var(--ink);
}

.footer-brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-footer nav {
  display: flex;
  gap: 30px;
}

.site-footer nav a {
  font-size: 14px;
}

.site-footer p {
  justify-self: end;
  margin: 0;
  font-size: 14px;
}

.site-footer strong {
  color: var(--accent);
}

.copy-status {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  max-width: calc(100vw - 40px);
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 24px;
    margin-inline: auto;
  }

  .header-action {
    display: none;
  }

  .purpose-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 56px;
  }

  .purpose-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-heading h2 br {
    display: none;
  }

  .roadmap-list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 44px;
  }

  .roadmap-list::before {
    display: none;
  }

  .roadmap-list li {
    min-height: 0;
    padding-left: 30px;
  }

  .roadmap-list .index {
    margin-bottom: 14px;
  }

  .roadmap-dot {
    top: 3px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 86px;
  }

  .header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 32px var(--gutter);
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.04em;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 68px;
  }

  .hero h1 {
    font-size: clamp(52px, 13vw, 86px);
  }

  .hero-mark {
    justify-self: end;
    width: min(48vw, 260px);
    margin-right: 4vw;
    transform: none;
  }

  .record-grid {
    grid-template-columns: 1fr 1fr;
  }

  .record-address dd {
    align-items: flex-start;
    flex-direction: column;
  }

  .transparency-header,
  .roadmap-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .transparency-header p,
  .roadmap-header p {
    justify-self: start;
  }

  .document-links {
    grid-template-columns: 1fr;
  }

  .document-links a + a {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .document-links a:first-child {
    padding-right: 0;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding-block: 40px;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    order: 3;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 44px;
    gap: 28px;
  }

  .hero h1 {
    max-width: 10ch;
    margin-bottom: 18px;
    font-size: clamp(50px, 14vw, 68px);
    line-height: 0.96;
  }

  .hero-lead {
    margin-bottom: 34px;
    font-size: 19px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .network-warning {
    font-size: 11px;
    line-height: 1.7;
  }

  .hero-mark {
    width: 120px;
    margin-right: 10vw;
  }

  .record h2,
  .purpose h2,
  .roadmap h2 {
    font-size: 36px;
  }

  .record-grid {
    grid-template-columns: 1fr;
  }

  .record-grid > div,
  .record-grid .record-address {
    grid-column: auto;
    padding: 18px 0;
  }

  .record-grid dd {
    font-size: 20px;
  }

  .purpose-list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .purpose-list li,
  .purpose-list li:nth-child(3) {
    min-height: 0;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .purpose-list li:first-child {
    border-top: 0;
  }

  .purpose-list h3 {
    min-height: 0;
    margin-bottom: 14px;
    font-size: 23px;
  }

  .section-heading h2,
  .transparency-header h2 {
    font-size: 46px;
  }

  .principle-list > div,
  .ledger > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .principle-list dt {
    font-size: 17px;
  }

  .principle-list .planned-rule dt::after {
    margin-left: 8px;
  }

  .ledger dd code {
    font-size: 12px;
  }

  .risk-statement {
    font-size: 18px;
  }

  .roadmap-list {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding-left: 8px;
  }

  .roadmap-list::before {
    top: 8px;
    bottom: 0;
    left: 15px;
    width: 1px;
    height: auto;
    display: block;
  }

  .roadmap-list li {
    min-height: 158px;
    padding: 0 0 42px 52px;
  }

  .roadmap-list .index {
    margin-bottom: 6px;
  }

  .roadmap-dot {
    top: 4px;
    left: 0;
  }

  .document-links a {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .document-links small {
    text-align: left;
  }

  .site-footer {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer nav {
    grid-column: auto;
    grid-row: auto;
    flex-wrap: wrap;
    gap: 20px;
  }

  .site-footer p {
    justify-self: start;
  }
}

/* Nexus One canonical visual system — shared values and component geometry. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --page: #f3f7ff;
  --surface: #ffffff;
  --ink: #111214;
  --muted: #566174;
  --blue: #0a84ff;
  --blue-deep: #0065db;
  --cyan: #5ac8fa;
  --line: rgba(17, 18, 20, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 3.35vw, 48px);
  --radius: 24px;
  --shadow: 0 18px 50px rgba(24, 45, 78, 0.1);
  --shell: 1440px;
  --section: clamp(88px, 10vw, 156px);
  --font: "Montserrat", Arial, sans-serif;
  --accent: var(--blue);
  --accent-hover: var(--blue-deep);
  --focus: rgba(10, 132, 255, 0.72);
  --bg: var(--page);
  --line-strong: rgba(17, 18, 20, 0.2);
}

html {
  scroll-padding-top: 112px;
  background: var(--page);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1.25s var(--ease), color 1.05s var(--ease);
}

body.theme-ice { background: #f3f7ff; color: #111214; }
body.theme-blue-mist { background: #eef6ff; color: #111214; }
body.theme-dark { background: #020307; color: #f5f8ff; }
body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: #111214;
  box-shadow: var(--shadow);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 24px;
  left: var(--gutter);
  display: grid;
  width: calc(100% - var(--gutter) * 2);
  height: 60px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  background: transparent;
  pointer-events: none;
  transition: color 1s var(--ease);
}

.site-header > * { pointer-events: auto; }

.brand,
.footer-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  transition: filter 1s var(--ease), opacity 1s var(--ease);
}

.desktop-nav {
  display: flex;
  min-height: 60px;
  padding: 8px 14px;
  align-items: center;
  border: 1px solid rgba(17, 18, 20, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(26, 39, 60, 0.08);
  transition: color 1s var(--ease), background-color 1s var(--ease), border-color 1s var(--ease), box-shadow 1s var(--ease);
}

.desktop-nav a {
  padding: 13px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-current { background: #edf4ff; color: var(--blue-deep); transform: scale(0.985); }

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.button svg { width: 18px; height: 18px; }
.button:hover { transform: scale(0.985); }
.button--blue,
.button-primary { background: var(--blue-deep); color: #fff; box-shadow: 0 12px 28px rgba(10, 132, 255, 0.22); }
.button--blue:hover,
.button-primary:hover { background: #0054b8; }
.button--white { min-height: 60px; padding-inline: 30px; background: #fff; color: var(--blue-deep); box-shadow: 0 14px 34px rgba(0, 28, 68, 0.16); }
.button--glass { min-height: 60px; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(14px); }
.header-action { min-width: 137px; }

.menu-button,
.mobile-menu { display: none; }

body.theme-dark .site-header { color: #f7f9ff; }
body.theme-dark .brand img { filter: invert(1); }
body.theme-dark .desktop-nav {
  border-color: rgba(255,255,255,.1);
  background: rgba(10,12,18,.84);
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
body.theme-dark .desktop-nav a:hover,
body.theme-dark .desktop-nav a.is-current { background: rgba(255,255,255,.09); color: #fff; }

.hero {
  width: 100%;
  max-width: none;
  min-height: 0;
  display: block;
  padding: 120px var(--gutter) 76px;
}

.hero-frame {
  position: relative;
  display: grid;
  width: 100%;
  min-height: min(72vw, calc(100svh - 160px));
  max-height: calc(100svh - 96px);
  overflow: hidden;
  place-items: center;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(102, 198, 255, .86) 0, rgba(25, 149, 255, .45) 20%, transparent 42%),
    radial-gradient(circle at 22% 18%, rgba(139, 216, 255, .46), transparent 31%),
    linear-gradient(145deg, #0065db 0%, #0a84ff 48%, #0054bd 100%);
  isolation: isolate;
}

.hero-frame::before,
.hero-frame::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  content: "";
}
.hero-frame::before { width: min(82vw, 1180px); aspect-ratio: 1; transform: rotate(17deg); }
.hero-frame::after { width: min(54vw, 780px); aspect-ratio: 1; transform: rotate(-28deg); }

.hero-orbit {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .96;
}

.hero-orbit > i {
  position: absolute;
  width: min(64vw, 920px);
  height: min(36vw, 520px);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
}
.hero-orbit > i:nth-child(1) { transform: rotate(18deg); }
.hero-orbit > i:nth-child(2) { transform: rotate(-24deg) scale(.8); }
.hero-orbit > i:nth-child(3) { transform: rotate(72deg) scale(.58); }

.hero-mark {
  display: none;
}
.hero-mark img { width: 100%; height: auto; }

.hero-copy {
  z-index: 2;
  display: flex;
  width: min(980px, calc(100% - 40px));
  align-items: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
}

.hero-copy > p:first-child {
  margin: 0 0 20px;
  font-size: clamp(15px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(54px, 7.1vw, 104px);
  font-weight: 600;
  letter-spacing: -0.064em;
  line-height: .96;
  text-wrap: balance;
}

.hero-actions { display: flex; justify-content: center; gap: 12px; margin: 34px 0 0; }
.hero-actions .button { min-width: 190px; }
.network-warning { margin: 28px 0 0; color: rgba(255,255,255,.72); font-family: var(--font); font-size: 10px; font-weight: 650; letter-spacing: .08em; }

.shell { width: min(100%, var(--shell)); padding-inline: var(--gutter); }

.record {
  margin-top: 0;
  padding-top: clamp(38px, 5vw, 72px);
}

.section-rule { display: none; }

.record h2,
.purpose h2,
.roadmap h2 {
  margin: 0 0 30px;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.055em;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border: 0;
}

.record-grid > div {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(17,18,20,.06);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.record-grid .record-address { grid-column: 1 / -1; min-height: auto; }
.record-grid dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.record-grid dd { margin-top: 18px; font-size: clamp(18px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.035em; }
.record-address dd { margin-top: 12px; }

.copy-button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #e8f3ff;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 650;
}

.section-space { padding-top: var(--section); }
.section-intro { max-width: 820px; margin-bottom: 54px; color: var(--muted); font-size: clamp(18px, 1.8vw, 25px); letter-spacing: -.025em; }

.purpose-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.purpose-list li {
  min-height: 330px;
  padding: 28px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #0b8cff, #0063d7);
  color: #fff;
  box-shadow: 0 20px 50px rgba(10,132,255,.17);
}
.purpose-list li:first-child,
.purpose-list li:last-child { padding-inline: 28px; }
.index { color: rgba(255,255,255,.66); font-family: var(--font); font-size: 12px; letter-spacing: .04em; }
.purpose-list h3 { min-height: 0; margin: 90px 0 18px; font-size: clamp(20px, 1.8vw, 27px); font-weight: 600; letter-spacing: -.035em; }
.purpose-list p { color: rgba(255,255,255,.72); font-size: 14px; }

.principles {
  width: 100%;
  max-width: none;
  margin-top: var(--section);
  padding: clamp(100px, 12vw, 180px) var(--gutter);
  border-radius: var(--radius) var(--radius) 0 0;
  background: #020307;
  color: #f5f8ff;
}

.principles .split-section { width: min(100%, calc(var(--shell) - var(--gutter) * 2)); margin-inline: auto; }
.section-heading h2,
.transparency-header h2 { font-size: clamp(46px, 6.2vw, 92px); font-weight: 600; letter-spacing: -.065em; }
.principles .section-heading p { color: rgba(245,248,255,.56); }
.principle-list > div { border-color: rgba(255,255,255,.13); }
.principle-list dt { font-weight: 600; }
.principle-list dt span { color: var(--blue); }
.principle-list dd { color: rgba(245,248,255,.58); }
.principle-list .planned-rule { border-bottom-color: var(--blue); }
.principle-list .planned-rule dt::after { color: var(--cyan); }

.transparency { padding-top: var(--section); }
.transparency-header,
.roadmap-header { margin-bottom: 54px; }
.transparency-header p,
.roadmap-header p { color: var(--muted); }
.ledger {
  padding: 12px 28px;
  border: 1px solid rgba(17,18,20,.06);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.ledger > div { border-color: var(--line); }
.ledger a { color: var(--blue-deep); }
.risk-statement { border: 0; border-radius: var(--radius); background: #07101f; color: #f5f8ff; }
.risk-statement strong { color: var(--cyan); }

.roadmap {
  width: calc(100% - var(--gutter) * 2);
  max-width: calc(var(--shell) - var(--gutter) * 2);
  margin-top: var(--section);
  padding: clamp(60px, 7vw, 104px);
  border-radius: var(--radius);
  background: #e8f3ff;
}
.roadmap-list::before { background: rgba(17,18,20,.22); }
.roadmap-dot { background: #e8f3ff; }
.roadmap-list .is-current .index,
.roadmap-list .is-current h3,
.current-label { color: var(--blue-deep); }
.roadmap-list .is-current .roadmap-dot { border-color: var(--blue); background: var(--blue); }
.document-links { border-color: rgba(17,18,20,.18); }
.document-links a + a { border-color: rgba(17,18,20,.1); }
.document-links a:hover span { color: var(--blue-deep); }

.site-footer {
  min-height: 180px;
  margin-top: var(--section);
  border-top: 1px solid var(--line);
}
.site-footer strong { color: var(--blue-deep); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Documents use the same typography, surfaces, spacing and brand chrome. */
body.document-page { background: var(--page); color: var(--ink); }
.document-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 92px;
  border: 0;
  background: rgba(243,247,255,.82);
  backdrop-filter: blur(24px);
}
.document-header .brand img { content: url("./nexus-mark.svg"); }
.document-back { padding: 12px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--blue-deep); font-size: 12px; font-weight: 650; }
.document { max-width: 1120px; }
.document-title { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 7vw, 100px); }
.document-title > p:first-child { color: var(--blue-deep); font-family: var(--font); font-weight: 650; }
.document-title h1 { font-size: clamp(58px, 9vw, 130px); font-weight: 600; letter-spacing: -.07em; }
.document-lead { color: var(--muted); font-size: clamp(20px, 2.5vw, 34px); }
.document-warning { border: 0; border-radius: var(--radius); background: #07101f; color: #f5f8ff; }
.document-toc { gap: 10px; border: 0; }
.document-toc a { padding: 16px 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 8px 24px rgba(24,45,78,.07); font-size: 12px; }
.document > section { margin-top: 24px; padding: clamp(34px, 4.5vw, 64px); border: 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.document > section h2 { font-size: clamp(34px, 4vw, 58px); font-weight: 600; letter-spacing: -.055em; }
.document > section h3 { color: var(--blue-deep); }
.document-index { color: var(--blue-deep); font-family: var(--font); }
.document-facts { border-color: var(--line); }
.document-facts > div { border-color: var(--line); }
.document-footer { margin-bottom: 80px; padding: 40px 0; border-color: var(--line); }
.document-footer a { color: var(--blue-deep); font-weight: 650; }

@media (max-width: 1080px) {
  .desktop-nav a { padding-inline: 9px; font-size: 10px; }
  .header-action { min-width: 112px; padding-inline: 18px; }
  .purpose-list { grid-template-columns: 1fr 1fr; }
  .purpose-list li:nth-child(3) { padding-left: 28px; }
  .roadmap { padding-inline: 44px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 96px; }
  .site-header {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    height: 70px;
    padding: 7px 10px 7px 18px;
    grid-template-columns: 1fr auto;
    border: 1px solid rgba(17,18,20,.06);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #111214 !important;
    box-shadow: 0 14px 38px rgba(24,45,78,.12);
    backdrop-filter: blur(22px);
  }
  .site-header .brand img { filter: none !important; }
  .desktop-nav { display: none; }
  .header-action { min-width: 118px; min-height: 54px; }
  .menu-button {
    display: grid;
    width: 54px;
    height: 54px;
    padding: 15px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }
  .menu-button span { grid-area: 1 / 1; width: 25px; height: 2px; margin: 0; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .25s ease; }
  .menu-button span:nth-child(1) { transform: translateY(-7px); }
  .menu-button span:nth-child(3) { transform: translateY(7px); }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    min-height: 100svh;
    padding: 116px 22px 36px;
    align-content: start;
    background: rgba(243,247,255,.98);
  }
  .mobile-menu a { display: flex; padding: 18px 2px; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
  .mobile-menu span { font-size: clamp(25px, 8vw, 36px); font-weight: 600; letter-spacing: -.045em; }
  .mobile-menu small { color: var(--muted); font-size: 10px; text-align: right; }

  .hero { padding: 104px 16px 54px; }
  .hero-frame { min-height: calc(100svh - 122px); max-height: none; border-radius: 20px; }
  .hero h1 { font-size: clamp(48px, 13vw, 76px); }
  .hero-copy > p:first-child { max-width: 290px; font-size: 14px; }
  .hero-actions { width: min(100%, 310px); flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-mark { right: -14px; bottom: 20px; width: 160px; }

  .record-grid { grid-template-columns: 1fr 1fr; }
  .purpose-list { grid-template-columns: 1fr 1fr; }
  .principles { padding-inline: 24px; border-radius: 20px 20px 0 0; }
  .roadmap { width: calc(100% - 32px); padding: 54px 24px; }
  .document-links { grid-template-columns: 1fr; }
  .document-links a { padding: 24px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr; gap: 22px; padding-block: 42px; }
  .site-footer nav { flex-wrap: wrap; }
  .site-footer p { justify-self: start; }
}

@media (max-width: 640px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .header-action { min-width: 116px; padding-inline: 16px; font-size: 13px; }
  .brand { font-size: 20px; }
  .record h2,
  .purpose h2,
  .roadmap h2 { font-size: clamp(38px, 11vw, 52px); }
  .record-grid { grid-template-columns: 1fr; }
  .record-grid .record-address { grid-column: auto; }
  .record-grid > div { min-height: 130px; }
  .record-address dd { gap: 18px; }
  .record-address code { font-size: 11px; }
  .purpose-list { display: flex; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .purpose-list::-webkit-scrollbar { display: none; }
  .purpose-list li { flex: 0 0 84%; min-height: 410px; scroll-snap-align: start; }
  .purpose-list h3 { margin-top: 150px; font-size: 26px; }
  .section-heading h2,
  .transparency-header h2 { font-size: clamp(44px, 13vw, 62px); }
  .principle-list > div { grid-template-columns: 1fr; gap: 10px; }
  .transparency-header,
  .roadmap-header { grid-template-columns: 1fr; gap: 22px; }
  .ledger { padding: 8px 18px; }
  .ledger > div { grid-template-columns: 1fr; gap: 7px; }
  .roadmap-list { grid-template-columns: 1fr; }
  .roadmap-list li { min-height: 0; padding: 4px 0 36px 34px; }
  .roadmap-list::before { top: 0; right: auto; bottom: 0; left: 6px; width: 1px; height: auto; }
  .roadmap-dot { top: 8px; left: 0; }
  .roadmap-list .index { margin-bottom: 8px; }
  .document-title h1 { font-size: clamp(48px, 15vw, 76px); }
  .document-toc { grid-template-columns: 1fr; }
  .document > section { padding: 30px 22px; }
}

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

/* Language navigation */
.language-link {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  place-items: center;
  border: 1px solid rgba(17, 18, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111214;
  box-shadow: 0 10px 30px rgba(26, 39, 60, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.language-link:hover { background: #edf4ff; transform: translateY(-1px); }
.mobile-menu .language-menu-link { color: var(--blue-deep, #006bd6); }
html[lang="en"] .principle-list .planned-rule dt::after { content: "PLAN"; }

@media (max-width: 900px) {
  .header-actions > .language-link { display: none; }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Documentation pages */

.document-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.document-back {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.document-back:hover {
  color: var(--accent);
}

.document {
  max-width: 1120px;
}

.document-title {
  padding-block: clamp(76px, 10vw, 148px) clamp(70px, 9vw, 124px);
}

.document-title > p:first-child {
  margin-bottom: 30px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.document-title h1 {
  margin: 0 0 30px;
  font-size: clamp(58px, 8.5vw, 124px);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.document-lead {
  max-width: 850px;
  margin-bottom: 44px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.document-warning {
  padding: 24px 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-size: 17px;
  font-weight: 620;
}

.document-toc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: var(--section);
  border-top: 1px solid var(--ink);
}

.document-toc a {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.document-toc a:hover {
  color: var(--accent);
}

.document > section {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  padding-block: clamp(68px, 8vw, 112px);
  border-top: 1px solid var(--ink);
}

.document > section > *:not(.document-index) {
  grid-column: 2;
}

.document-index {
  grid-row: 1 / span 20;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
}

.document section h2 {
  margin-bottom: 42px;
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.document section h3 {
  margin: 38px 0 12px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.document section p,
.document section li {
  max-width: 780px;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.6;
}

.document section ul,
.document section ol {
  max-width: 850px;
  margin: 0;
  padding-left: 1.25em;
}

.document section li + li {
  margin-top: 14px;
}

.document-facts {
  max-width: 850px;
  margin: 0 0 44px;
  border-top: 1px solid var(--line);
}

.document-facts > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.document-facts dt,
.document-facts dd {
  margin: 0;
}

.document-facts dt {
  color: var(--muted);
}

.document-facts dd {
  overflow-wrap: anywhere;
  font-weight: 620;
}

.document-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 48px 80px;
  border-top: 1px solid var(--ink);
}

.document-footer a {
  color: var(--accent);
  font-weight: 650;
}

@media (max-width: 640px) {
  .document-header {
    min-height: 76px;
  }

  .document-title h1 {
    overflow-wrap: anywhere;
    font-size: clamp(40px, 11vw, 64px);
  }

  .document-toc {
    grid-template-columns: 1fr 1fr;
  }

  .document > section {
    grid-template-columns: 1fr;
  }

  .document > section > *:not(.document-index) {
    grid-column: 1;
  }

  .document-index {
    grid-row: auto;
    margin-bottom: 24px;
  }

  .document-facts > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .document-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

[hidden] { display: none !important; }

/* Final document alignment with the canonical Nexus surfaces. */
body.document-page { background: var(--page); color: var(--ink); font-family: var(--font); }
.document-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 92px;
  border: 0;
  background: rgba(243,247,255,.82);
  backdrop-filter: blur(24px);
}
.document-header .brand img { content: url("./nexus-mark.svg"); width: 31px; height: 31px; }
.document-back { padding: 12px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--blue-deep); font-size: 12px; font-weight: 650; }
.document { max-width: 1120px; }
.document-title { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 7vw, 100px); }
.document-title > p:first-child { color: var(--blue-deep); font-family: var(--font); font-weight: 650; }
.document-title h1 { font-size: clamp(58px, 9vw, 130px); font-weight: 600; letter-spacing: -.07em; }
.document-lead { color: var(--muted); font-size: clamp(20px, 2.5vw, 34px); }
.document-warning { border: 0; border-radius: var(--radius); background: #07101f; color: #f5f8ff; }
.document-toc { gap: 10px; border: 0; }
.document-toc a { padding: 16px 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 8px 24px rgba(24,45,78,.07); color: var(--ink); font-size: 12px; }
.document > section { margin-top: 24px; padding: clamp(34px, 4.5vw, 64px); border: 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.document > section h2 { font-size: clamp(34px, 4vw, 58px); font-weight: 600; letter-spacing: -.055em; }
.document > section h3 { color: var(--blue-deep); }
.document-index { color: var(--blue-deep); font-family: var(--font); }
.document-facts { border-color: var(--line); }
.document-facts > div { border-color: var(--line); }
.document-footer { margin-bottom: 80px; padding: 40px 0; border-color: var(--line); }
.document-footer a { color: var(--blue-deep); font-weight: 650; }

@media (max-width: 640px) {
  .document-title h1 { font-size: clamp(48px, 15vw, 76px); }
  .document-toc { grid-template-columns: 1fr; }
  .document > section { padding: 30px 22px; }
}
