:root {
  --ink-950: #07111F;
  --ink-900: #0B1A2E;
  --ink-800: #12263D;
  --cyan: #22E6FF;
  --cyan-soft: #9BF8FF;
  --orange: #FF6A2B;
  --orange-soft: #FFB27A;
  --warm-white: #F6F1E7;
  --paper: #FFFDF7;
  --text-on-light: #111C2B;
  --muted-slate: #5D7188;
  --line: #2A405B;
  --status-green: #4ADE80;
  --status-amber: #FFC857;
  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --content: 1280px;
  --wide: 1440px;
  --transition: 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.28);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(34, 230, 255, 0.10), transparent 62%),
    radial-gradient(900px 620px at 92% 18%, rgba(255, 106, 43, 0.055), transparent 60%),
    var(--ink-950);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main {
  display: block;
}
#main-content {
  scroll-margin-top: 120px;
}
img,
svg,
video,
canvas,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
a {
  color: var(--cyan-soft);
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}
a:hover {
  color: var(--cyan);
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: inherit;
}
h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}
h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--orange);
  color: var(--ink-950);
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink-950);
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform var(--transition);
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--ink-950);
}
.container {
  width: min(var(--content), calc(100% - clamp(32px, 6vw, 80px)));
  margin-inline: auto;
}
.container--wide {
  width: min(var(--wide), calc(100% - clamp(24px, 4vw, 56px)));
  margin-inline: auto;
}
.section {
  padding-block: clamp(56px, 8vw, 112px);
}
.section--tight {
  padding-block: clamp(36px, 5vw, 68px);
}
.section--light {
  background: var(--warm-white);
  color: var(--text-on-light);
}
.section--paper {
  background: var(--paper);
  color: var(--text-on-light);
}
.section--ink {
  background: var(--ink-950);
  color: var(--warm-white);
}
.section--light a:not(.btn),
.section--paper a:not(.btn) {
  color: #0B6272;
}
.section--light a:not(.btn):hover,
.section--paper a:not(.btn):hover {
  color: #06404A;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: clamp(26px, 4vw, 48px);
}
.section-head > * {
  max-width: 820px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section--light .eyebrow,
.section--paper .eyebrow {
  color: #08788C;
}
.lede {
  max-width: 68ch;
  color: rgba(246, 241, 231, 0.72);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.85;
}
.section--light .lede,
.section--paper .lede {
  color: #3A4A5D;
}
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
}
.grid--split {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}
.grid--dashboard {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 38, 61, 0.92), rgba(11, 26, 46, 0.9));
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-card);
}
.panel--light {
  border-color: rgba(42, 64, 91, 0.24);
  background: var(--paper);
  color: var(--text-on-light);
}
.card {
  position: relative;
  border: 1px solid rgba(42, 64, 91, 0.9);
  border-radius: 16px;
  background: rgba(18, 38, 61, 0.66);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(155, 248, 255, 0.22);
  border-radius: 999px;
  background: rgba(34, 230, 255, 0.06);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(255, 200, 87, 0.32);
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.08);
  color: var(--status-amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.status-pill--green {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.08);
  color: var(--status-green);
}
.status-pill--cyan {
  border-color: rgba(34, 230, 255, 0.28);
  background: rgba(34, 230, 255, 0.08);
  color: var(--cyan);
}
.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
}
.status-dot--amber {
  background: var(--status-amber);
  box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.12);
  animation: statusPulse 2.4s ease-in-out infinite;
}
.status-dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 230, 255, 0.12);
}
.status-dot--green {
  background: var(--status-green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
}
@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 200, 87, 0.3);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255, 200, 87, 0);
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  border-color: rgba(255, 178, 122, 0.4);
  background: var(--orange);
  color: #1B0B03;
  box-shadow: 0 8px 22px rgba(255, 106, 43, 0.24);
}
.btn--primary:hover {
  background: var(--orange-soft);
  color: var(--ink-950);
}
.btn--ghost {
  border-color: rgba(155, 248, 255, 0.35);
  background: transparent;
  color: var(--cyan-soft);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  background: rgba(34, 230, 255, 0.08);
  color: var(--paper);
}
.btn--quiet {
  border-color: rgba(246, 241, 231, 0.15);
  background: rgba(246, 241, 231, 0.06);
  color: var(--warm-white);
}
.btn--quiet:hover {
  border-color: rgba(155, 248, 255, 0.3);
  background: rgba(34, 230, 255, 0.08);
  color: var(--cyan-soft);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  color: rgba(246, 241, 231, 0.55);
  font-size: 13px;
  line-height: 1.5;
}
.breadcrumb a {
  color: var(--cyan-soft);
}
.breadcrumb--light {
  color: var(--muted-slate);
}
.breadcrumb--light a {
  color: #0B6272;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 38, 61, 0.5);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}
.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(42, 64, 91, 0.7);
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(7, 17, 31, 0.78);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.data-table tbody tr:hover {
  background: rgba(34, 230, 255, 0.04);
}
.image-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(34, 230, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(34, 230, 255, 0.14), transparent 45%),
    radial-gradient(circle at 78% 20%, rgba(255, 106, 43, 0.18), transparent 34%),
    var(--ink-800);
}
.image-frame img,
.image-frame picture,
.image-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: inherit;
  pointer-events: none;
}
.image-frame figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: rgba(246, 241, 231, 0.72);
  font-size: 12px;
  line-height: 1.5;
}
.image-frame--wide {
  aspect-ratio: 21 / 9;
}
.image-frame--portrait {
  aspect-ratio: 4 / 5;
}
.toc {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 38, 61, 0.65);
}
.toc-title {
  margin-bottom: 0.25rem;
  color: rgba(246, 241, 231, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.toc-link {
  display: block;
  padding: 0.45rem 0.6rem;
  border-left: 2px solid transparent;
  border-radius: 10px;
  color: rgba(246, 241, 231, 0.66);
  font-size: 14px;
  line-height: 1.55;
}
.toc-link:hover {
  color: var(--cyan-soft);
  background: rgba(34, 230, 255, 0.05);
}
.toc-link[aria-current="location"] {
  border-left-color: var(--cyan);
  background: rgba(34, 230, 255, 0.08);
  color: var(--cyan);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
  padding: clamp(10px, 1.4vw, 18px) clamp(12px, 3vw, 32px) 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.97) 0%, rgba(7, 17, 31, 0.76) 64%, rgba(7, 17, 31, 0) 100%);
}
.header-rail {
  position: fixed;
  left: clamp(10px, 1.6vw, 24px);
  top: 50%;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 8px;
  border: 1px solid rgba(34, 230, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.58);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%);
}
.rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.rail-label {
  color: rgba(246, 241, 231, 0.45);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.rail-value {
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.2;
  writing-mode: vertical-rl;
}
.header-shell {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  width: min(var(--content), 100%);
  min-height: 68px;
  margin-inline: auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(11, 26, 46, 0.97), rgba(7, 17, 31, 0.92));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover {
  color: var(--paper);
}
.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cyan) 0%, #0C7A92 52%, var(--ink-900) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 20px rgba(34, 230, 255, 0.18);
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 17px;
  height: 22px;
  border: 2px solid var(--ink-950);
  border-radius: 4px;
  transform: skewX(-13deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 6px;
  width: 6px;
  height: 28px;
  background: var(--orange);
  transform: skewX(-13deg);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1;
}
.brand-name {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
}
.brand-name-accent {
  color: var(--cyan);
}
.brand-line {
  color: rgba(246, 241, 231, 0.48);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
}
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 1.1rem;
  border-left: 1px solid rgba(42, 64, 91, 0.9);
  color: rgba(246, 241, 231, 0.65);
  font-size: 12.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.8vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.6rem;
  border-radius: 999px;
  color: rgba(246, 241, 231, 0.76);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: color var(--transition), background-color var(--transition);
}
.nav-link:hover {
  background: rgba(34, 230, 255, 0.08);
  color: var(--paper);
}
.nav-link[aria-current="page"] {
  color: var(--cyan);
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(34, 230, 255, 0.8);
  transform: translateX(-50%);
}
.nav-cta {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 0;
}
.entry-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(34, 230, 255, 0.22);
  border-radius: 999px;
  background: rgba(34, 230, 255, 0.07);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.header-cta {
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(155, 248, 255, 0.28);
  border-radius: 999px;
  background: rgba(34, 230, 255, 0.06);
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.nav-toggle:hover {
  border-color: rgba(34, 230, 255, 0.55);
  background: rgba(34, 230, 255, 0.1);
}
.nav-toggle-label {
  font-size: 13px;
  line-height: 1;
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle-bars span,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--transition), top var(--transition), opacity var(--transition);
}
.nav-toggle-bars::before {
  content: "";
  top: 0;
}
.nav-toggle-bars span {
  top: 5px;
}
.nav-toggle-bars::after {
  content: "";
  top: 10px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span {
  opacity: 0;
  transform: scaleX(0.4);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 5px;
  transform: rotate(-45deg);
}
.scroll-meter {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(34, 230, 255, 0.08);
  pointer-events: none;
}
.scroll-meter__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  box-shadow: 0 0 14px rgba(34, 230, 255, 0.5);
  transition: transform 80ms linear;
}
.site-footer {
  position: relative;
  border-top: 1px solid rgba(34, 230, 255, 0.18);
  background: var(--ink-950);
  color: var(--warm-white);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--orange), transparent);
  opacity: 0.65;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(420px, 2fr) minmax(260px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(var(--wide), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(48px, 7vw, 86px) 0 clamp(32px, 5vw, 54px);
}
.footer-brand {
  min-width: 0;
}
.footer-brandline {
  display: inline-flex;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}
.footer-brandline:hover {
  color: var(--cyan-soft);
}
.footer-summary {
  max-width: 32ch;
  margin-top: 14px;
  color: rgba(246, 241, 231, 0.62);
  font-size: 15px;
  line-height: 1.8;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(246, 241, 231, 0.46);
  font-size: 11px;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  min-width: 0;
}
.footer-col {
  min-width: 0;
}
.footer-col-title {
  margin-bottom: 1rem;
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: rgba(246, 241, 231, 0.68);
  font-size: 14px;
  line-height: 1.5;
}
.footer-links a:hover {
  color: var(--cyan);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: clamp(20px, 3vw, 38px);
  border-left: 1px solid var(--line);
}
.footer-contact-line {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(42, 64, 91, 0.65);
  color: rgba(246, 241, 231, 0.72);
  font-size: 13.5px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.footer-contact-label {
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.footer-note {
  margin-top: 14px;
  color: rgba(246, 241, 231, 0.5);
  font-size: 12.5px;
  line-height: 1.75;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  width: min(var(--wide), calc(100% - 40px));
  margin-inline: auto;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(42, 64, 91, 0.8);
}
.footer-bottom-copy {
  display: grid;
  gap: 0.35rem;
}
.footer-legal {
  color: rgba(246, 241, 231, 0.55);
  font-size: 13px;
  line-height: 1.6;
}
.footer-service {
  max-width: 68ch;
  color: rgba(246, 241, 231, 0.44);
  font-size: 12px;
  line-height: 1.7;
}
.footer-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-utility a {
  color: var(--cyan-soft);
  font-size: 13px;
}
.footer-utility a:hover {
  color: var(--cyan);
}
.footer-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 26px);
  bottom: clamp(14px, 2.5vw, 26px);
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(34, 230, 255, 0.35);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.86);
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background-color var(--transition);
}
.footer-top:hover {
  border-color: var(--cyan);
  background: rgba(11, 26, 46, 0.96);
  color: var(--paper);
  transform: translateY(-2px);
}
@media (max-width: 1360px) {
  .header-rail {
    display: none;
  }
}
@media (max-width: 1180px) {
  .header-shell {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
  }
  .header-status {
    display: none;
  }
  .entry-badge {
    display: none;
  }
  .nav-list {
    gap: 0.2rem;
  }
  .nav-link {
    padding: 0.5rem 0.48rem;
  }
}
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 24px;
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .footer-contact .footer-col-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .footer-contact .footer-note {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}
@media (max-width: 960px) {
  .site-header {
    padding: 10px 12px 0;
  }
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 62px;
    padding: 9px 10px 9px 12px;
    border-radius: 20px;
  }
  .brand {
    gap: 10px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand-name {
    font-size: 24px;
  }
  .brand-line {
    display: none;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-nav {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    max-height: calc(100vh - 120px);
    padding: 0.65rem;
    overflow: auto;
    border: 1px solid rgba(155, 248, 255, 0.24);
    border-radius: 20px;
    background: rgba(11, 26, 46, 0.98);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 36px));
    transition: transform 220ms ease, opacity 180ms ease, visibility 180ms ease;
  }
  .header-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .nav-link {
    justify-content: flex-start;
    padding: 0.82rem 0.85rem;
    border-radius: 12px;
    background: rgba(246, 241, 231, 0.045);
    font-size: 14.5px;
  }
  .nav-link[aria-current="page"] {
    background: rgba(34, 230, 255, 0.1);
  }
  .nav-link[aria-current="page"]::after {
    left: 0.95rem;
    bottom: 0.55rem;
    width: 16px;
    transform: none;
  }
  .nav-cta {
    display: flex;
    width: 100%;
    min-height: 46px;
    margin-top: 0.2rem;
  }
  .toc {
    position: static;
  }
}
@media (max-width: 900px) {
  .grid--split {
    grid-template-columns: 1fr;
  }
  .grid--dashboard {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .section-head {
    align-items: flex-start;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px 0 36px;
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-contact {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }
  .footer-contact .footer-col-title,
  .footer-contact .footer-note {
    grid-column: auto;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }
  .brand-name {
    font-size: 22px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .nav-toggle {
    padding: 0.5rem 0.58rem;
  }
  .nav-toggle-label {
    display: none;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .footer-utility {
    gap: 12px 16px;
  }
  .footer-top span:last-child {
    display: none;
  }
  .footer-top {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }
}
@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;
  }
  .btn:hover,
  .footer-top:hover {
    transform: none;
  }
  .scroll-meter__fill {
    transition: none;
  }
}
