:root {
  --ink: #070A12;
  --navy: #0C1730;
  --steel: #14233F;
  --line: #2A3D5E;
  --gold: #F5C451;
  --gold-soft: #FFE3A3;
  --cyan: #45E0D0;
  --magenta: #F2548B;
  --mist: #EAF0F8;
  --muted: #93A4C3;
  --rail-w: 220px;
  --content-max: 1180px;
  --gutter: 32px;
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote { margin: 0; }

ul, ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

a { color: var(--cyan); }

img {
  display: block;
  max-width: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-left: calc(var(--rail-w) + 52px);
  overflow-x: hidden;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 520px at 84% 4%, rgba(69, 224, 208, 0.10), transparent 65%),
    radial-gradient(820px 620px at 18% 0%, rgba(245, 196, 81, 0.075), transparent 62%),
    radial-gradient(circle at 1px 1px, rgba(234, 240, 248, 0.06) 1px, transparent 1.5px) 0 0 / 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--mist);
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p { max-width: 72ch; }

::selection {
  background: var(--gold);
  color: var(--ink);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

#main-content { scroll-margin-top: 100px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

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

.site-header {
  position: fixed;
  top: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 100;
  width: var(--rail-w);
  color: var(--mist);
}

.rail-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 18px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(165deg, rgba(20, 35, 63, 0.98), rgba(12, 23, 48, 0.96) 58%, rgba(7, 10, 18, 0.98));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(234, 240, 248, 0.08);
}

.rail-shell::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -45%;
  width: 190%;
  height: 58%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(245, 196, 81, 0.18), rgba(69, 224, 208, 0.07) 48%, transparent 70%);
  filter: blur(18px);
  animation: railGlow 14s ease-in-out infinite;
}

@keyframes railGlow {
  0%, 100% { transform: translate3d(-8%, -6%, 0) scale(1); opacity: 0.58; }
  50% { transform: translate3d(10%, 9%, 0) scale(1.12); opacity: 0.95; }
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 2px 4px 20px;
  border-bottom: 1px dashed rgba(42, 61, 94, 0.92);
  color: var(--mist);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 196, 81, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 227, 163, 0.96), rgba(245, 196, 81, 0.26) 44%, transparent 62%);
  box-shadow: 0 0 26px rgba(245, 196, 81, 0.28);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(69, 224, 208, 0.46);
  border-radius: 50%;
}

.brand-mark-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-name {
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.brand-descriptor {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.site-nav {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: nav;
}

.nav-item { min-width: 0; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.nav-link::before {
  content: counter(nav, decimal-leading-zero);
  counter-increment: nav;
  flex: 0 0 auto;
  color: var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.nav-link::after {
  content: "";
  display: none;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.nav-link:hover {
  border-color: rgba(69, 224, 208, 0.26);
  background: rgba(69, 224, 208, 0.08);
  color: var(--mist);
}

.nav-link[aria-current="page"] {
  border-color: rgba(245, 196, 81, 0.56);
  background: rgba(245, 196, 81, 0.13);
  color: var(--gold-soft);
  box-shadow:
    inset 3px 0 0 var(--gold),
    0 8px 24px rgba(245, 196, 81, 0.08);
}

.nav-link[aria-current="page"]::before { color: var(--gold); }

.nav-link[aria-current="page"]::after { display: block; }

.header-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.rail-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.rail-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: statusPulse 2.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.12); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(245, 196, 81, 0.18);
}

.btn-primary:hover {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
  box-shadow: 0 12px 28px rgba(245, 196, 81, 0.24);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(20, 35, 63, 0.55);
  color: var(--mist);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

.btn-cyan {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.btn-cyan:hover {
  background: #7CF0E4;
  border-color: #7CF0E4;
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.header-cta {
  width: 100%;
  min-height: 42px;
  padding-inline: 12px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.52);
  color: var(--mist);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle-label {
  line-height: 1;
}

.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  padding-bottom: 40px;
  border-top: 1px solid rgba(42, 61, 94, 0.82);
  background:
    linear-gradient(180deg, rgba(12, 23, 48, 0.72), rgba(7, 10, 18, 0.98) 78%),
    var(--ink);
  color: var(--mist);
}

.footer-inner {
  width: min(calc(100% - var(--gutter) * 2), var(--content-max));
  margin-inline: auto;
  padding-top: 38px;
}

.footer-stripe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 10, 18, 0.45);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer-stripe-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.footer-stripe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(69, 224, 208, 0.8);
}

.footer-lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: end;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(245, 196, 81, 0.08), transparent 65%),
    linear-gradient(145deg, rgba(20, 35, 63, 0.96), rgba(12, 23, 48, 0.97));
  box-shadow:
    10px 10px 0 -2px var(--navy),
    11px 11px 0 -1px rgba(42, 61, 94, 0.85);
}

.footer-brand-block { min-width: 0; }

.footer-brand {
  display: inline-block;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-brand::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
  vertical-align: 0.2em;
}

.footer-brand:hover { color: var(--gold-soft); }

.footer-brand-line {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-hint {
  min-width: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(42, 61, 94, 0.9);
}

.footer-hint-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid rgba(69, 224, 208, 0.45);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.footer-hint-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding: 48px 0 34px;
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(69, 224, 208, 0.5);
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 12px;
  line-height: 1.6;
}

.footer-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.copy-chip {
  display: inline;
  max-width: 100%;
  padding: 1px 0;
  border: 0;
  border-bottom: 1px dashed rgba(147, 164, 195, 0.55);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.copy-chip:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.copy-chip.is-copied {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
  background: rgba(245, 196, 81, 0.08);
}

.footer-service {
  margin-top: 16px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.footer-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.copy-status {
  min-height: 1.5em;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 11px;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(42, 61, 94, 0.82);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-copyright { text-align: right; }

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--content-max));
  margin-inline: auto;
}

.section { padding-block: clamp(44px, 7vw, 96px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(69, 224, 208, 0.7);
}

.section-title {
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
}

.section-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 35, 63, 0.66);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tag-gold {
  border-color: rgba(245, 196, 81, 0.54);
  background: rgba(245, 196, 81, 0.12);
  color: var(--gold-soft);
}

.tag-cyan {
  border-color: rgba(69, 224, 208, 0.5);
  background: rgba(69, 224, 208, 0.1);
  color: var(--cyan);
}

.tag-magenta {
  border-color: rgba(242, 84, 139, 0.55);
  background: rgba(242, 84, 139, 0.1);
  color: #FF9DBE;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(69, 224, 208, 0.8);
}

.paper-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(20, 35, 63, 0.97), rgba(12, 23, 48, 0.98));
  box-shadow:
    8px 8px 0 -2px var(--navy),
    9px 9px 0 -1px rgba(42, 61, 94, 0.78);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.paper-card:hover {
  border-color: rgba(69, 224, 208, 0.48);
  transform: translate(-2px, -2px);
}

.paper-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.paper-card-body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.card-index {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.card-title {
  margin-top: 4px;
  color: var(--mist);
  font-size: 22px;
  line-height: 1.2;
}

.data-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(20, 35, 63, 0.94), rgba(12, 23, 48, 0.97));
  box-shadow: inset 0 1px 0 rgba(234, 240, 248, 0.05);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
}

.stat {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(42, 61, 94, 0.72);
  border-radius: 14px;
  background: rgba(7, 10, 18, 0.38);
}

.stat-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.stat-value {
  margin-top: 4px;
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 36px);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.stat-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 23, 48, 0.68);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: var(--mist);
  font-size: 14px;
}

.data-table th {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 35, 63, 0.82);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(42, 61, 94, 0.56);
  line-height: 1.6;
  vertical-align: middle;
}

.data-table tbody tr:hover { background: rgba(69, 224, 208, 0.055); }

.data-table tbody tr:last-child td { border-bottom: 0; }

.numeric {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.media-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(560px 320px at 72% 10%, rgba(69, 224, 208, 0.18), transparent 62%),
    radial-gradient(circle at 1px 1px, rgba(234, 240, 248, 0.1) 1px, transparent 1.5px) 0 0 / 24px 24px,
    linear-gradient(150deg, var(--steel), var(--ink));
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(7, 10, 18, 0.78));
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame--tall { aspect-ratio: 3 / 4; }

.media-caption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.media-stack {
  display: grid;
  gap: 16px;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(20, 35, 63, 0.56);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.accordion-trigger:hover { background: rgba(69, 224, 208, 0.06); }

.accordion-trigger[aria-expanded="true"] { color: var(--gold-soft); }

.accordion-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  color: var(--gold);
  transform: rotate(45deg);
}

.accordion-panel {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.accordion-panel[hidden] { display: none; }

.accordion-inner { max-width: 68ch; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.breadcrumb-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}

.breadcrumb-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(69, 224, 208, 0.5);
}

.breadcrumb-sep {
  color: var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
}

.breadcrumb-current {
  color: var(--gold-soft);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.62s var(--ease),
    transform 0.62s var(--ease);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 1181px) and (max-height: 760px) {
  .brand-descriptor { display: none; }
  .nav-link { padding: 8px 12px; font-size: 14px; }
  .rail-note { display: none; }
  .rail-shell { padding-top: 18px; padding-bottom: 16px; }
}

@media (max-width: 1180px) {
  body {
    padding-left: 0;
    padding-top: 88px;
  }

  .site-header {
    top: 12px;
    right: 16px;
    bottom: auto;
    left: 16px;
    width: auto;
  }

  .rail-shell {
    flex-direction: row;
    align-items: center;
    height: 64px;
    padding: 0 10px 0 14px;
    overflow: visible;
    border-radius: 22px;
  }

  .rail-shell::before {
    top: -150%;
    left: -10%;
    width: 120%;
    height: 300%;
  }

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    padding: 0;
    border-bottom: 0;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
  }

  .brand-mark::before { inset: 5px; }

  .brand-name {
    font-size: 17px;
    letter-spacing: 0.03em;
  }

  .brand-descriptor { display: none; }

  .site-nav {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 90;
    max-height: min(70vh, 540px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(12, 23, 48, 0.985);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.68);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition:
      opacity 0.22s var(--ease),
      transform 0.22s var(--ease),
      visibility 0.22s var(--ease);
  }

  .site-header[data-open] .site-nav,
  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-link {
    padding: 14px;
    border-color: rgba(42, 61, 94, 0.72);
    background: rgba(20, 35, 63, 0.55);
    font-size: 15px;
  }

  .header-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
  }

  .rail-note { display: none; }

  .header-cta {
    width: auto;
    min-height: 40px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .nav-toggle { display: inline-flex; }

  .site-header[data-open] .rail-shell {
    border-color: rgba(245, 196, 81, 0.42);
  }

  #main-content { scroll-margin-top: 88px; }
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-lead {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-hint {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid rgba(42, 61, 94, 0.9);
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }

  .footer-copyright {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }

  body { padding-top: 84px; }

  .site-header {
    top: 10px;
    right: 12px;
    left: 12px;
  }

  .rail-shell {
    height: 60px;
    padding: 0 8px 0 12px;
    border-radius: 20px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name { font-size: 16px; }

  .header-cta { display: none; }

  .site-nav {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-height: 76vh;
  }

  .nav-list { grid-template-columns: 1fr; }

  .footer-inner { padding-top: 28px; }

  .footer-lead { padding: 20px; }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

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

  .paper-card { padding: 20px; }

  .footer-stripe {
    align-items: flex-start;
    padding: 12px 14px;
    font-size: 10px;
  }

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

  .footer-copyright { text-align: left; }

  #main-content { scroll-margin-top: 84px; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .rail-shell::before,
  .rail-note-dot { animation: none; }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
