:root {
  color-scheme: dark;
  --bg: #060809;
  --bg-soft: #0c1012;
  --surface: rgba(15, 19, 21, 0.84);
  --surface-strong: rgba(20, 25, 28, 0.92);
  --surface-hover: rgba(24, 31, 34, 0.94);
  --border: rgba(221, 229, 224, 0.13);
  --border-strong: rgba(221, 229, 224, 0.22);
  --text: #eff4f1;
  --muted: #a4aea9;
  --muted-deep: #69756f;
  --accent: #3ddbd9;
  --accent-strong: #75f0e9;
  --amber: #d8a24d;
  --cobalt: #8ea1ff;
  --danger: #ffb18a;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 26px 72px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(61, 219, 217, 0.12), transparent 30rem),
    linear-gradient(180deg, #080b0c 0%, var(--bg) 48%, #040505 100%);
  color: var(--text);
  font-family: Inter, "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
dl,
dt,
dd {
  margin: 0;
}

.page-grid,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.page-grid {
  background-image:
    linear-gradient(to right, rgba(221, 229, 224, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(221, 229, 224, 0.03) 1px, transparent 1px);
  background-position: center top;
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}

.page-grid::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(6, 8, 9, 0.88), transparent 24%, transparent 76%, rgba(6, 8, 9, 0.88));
}

.page-glow {
  inset: auto;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 240, 233, 0.11) 0%, rgba(117, 240, 233, 0.04) 38%, transparent 72%);
  filter: blur(2px);
  transform: translate3d(-999px, -999px, 0);
  will-change: transform;
}

.site-shell {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.hero-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  min-height: 126px;
  padding: 18px 0 18px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  border: 1px solid rgba(117, 240, 233, 0.25);
  background: linear-gradient(135deg, rgba(61, 219, 217, 0.92), rgba(142, 161, 255, 0.82));
  color: #031314;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(61, 219, 217, 0.16);
}

.hero-kicker,
.section-kicker,
.system-kicker,
.system-meta,
.site-footnote,
.footer-facts-text,
.topbar-meta,
.detail-meta,
.system-status {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
}

.hero-kicker,
.section-kicker {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 8px;
  font-size: 58px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 580px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(221, 229, 224, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #c6d0cc;
  font-size: 12px;
  line-height: 1.2;
}

.hero-meta span:first-child,
.hero-meta span:nth-child(2) {
  border-color: rgba(117, 240, 233, 0.18);
}

.glass-card,
.topbar,
.detail-hero,
.doc-section,
.assurance-shell {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.glass-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.glass-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 20%), rgba(117, 240, 233, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.glass-card:hover,
.glass-card:focus-visible {
  border-color: rgba(117, 240, 233, 0.34);
  background: var(--surface-hover);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.36);
}

.glass-card:hover::before,
.glass-card:focus-visible::before {
  opacity: 1;
}

.card-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(117, 240, 233, 0.22), transparent 22%, transparent 78%, rgba(216, 162, 77, 0.13)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%);
  opacity: 0.2;
}

.card-inner,
.card-content {
  position: relative;
  z-index: 1;
}

.compliance-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.compliance-card,
.system-card,
.detail-hero,
.doc-section,
.assurance-shell {
  border-radius: var(--radius-xl);
}

.compliance-card {
  min-height: 132px;
}

.compliance-card .card-content {
  min-height: 132px;
  padding: 22px;
}

.compliance-card h2,
.systems-header h2,
.system-card h3,
.detail-hero h1,
.doc-section h2,
.section-heading h2 {
  letter-spacing: 0;
}

.compliance-card h2 {
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.1;
}

.hero-meta,
.compliance-card p,
.system-description,
.system-boundary,
.footer-facts-text,
.detail-lede,
.doc-section li,
.doc-section td,
.detail-meta span,
.assurance-copy,
.section-heading > p,
.fact-card dd,
.topbar-meta span,
.topbar-meta small,
.brand-lockup small {
  color: var(--muted);
  line-height: 1.65;
}

.compliance-card .card-content > p:not(.section-kicker) {
  margin-top: 10px;
  font-size: 12px;
}

.systems-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 2px 0 18px;
}

.systems-header h2 {
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.1;
}

.systems-header h2 span {
  color: var(--muted-deep);
  margin-left: 8px;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-line {
  height: 1px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, rgba(221, 229, 224, 0.14), transparent);
}

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

.system-card {
  display: block;
  min-height: 300px;
  padding: 0;
  text-decoration: none;
}

.system-card:focus-visible,
.topbar a:focus-visible,
.legal-links a:focus-visible {
  outline: 2px solid rgba(117, 240, 233, 0.78);
  outline-offset: 4px;
}

.system-card .card-inner {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 24px;
}

.system-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: auto;
}

.system-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  height: 64px;
  padding: 10px;
  border-radius: 22px;
  color: var(--accent);
  background: rgba(61, 219, 217, 0.11);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.system-card:hover .system-icon,
.system-card:focus-visible .system-icon {
  transform: translateY(-2px);
}

.system-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: #cdd7d3;
  background: rgba(255, 255, 255, 0.065);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-live {
  color: #d8fff9;
  background: rgba(61, 219, 217, 0.1);
}

.badge-pending {
  color: var(--danger);
  background: rgba(255, 177, 138, 0.1);
}

.system-kicker {
  margin-top: 28px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.system-card h3 {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 760;
  line-height: 1.04;
}

.system-description,
.system-boundary {
  margin-top: 12px;
  font-size: 12px;
}

.system-boundary {
  color: #d8b28b;
}

.system-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 36px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(221, 229, 224, 0.08);
  color: var(--muted-deep);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.system-meta span {
  overflow-wrap: anywhere;
}

.system-cta {
  margin-top: 14px;
  color: #e6fffb;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.system-card[data-palette="lagoon"] .system-icon {
  color: var(--accent-strong);
  background: rgba(61, 219, 217, 0.12);
}

.system-card[data-palette="ember"] .system-icon {
  color: #ffc36f;
  background: rgba(216, 162, 77, 0.13);
}

.system-card[data-palette="cobalt"] .system-icon {
  color: var(--cobalt);
  background: rgba(142, 161, 255, 0.13);
}

.system-card[data-palette="lagoon"]:hover .system-cta,
.system-card[data-palette="lagoon"]:focus-visible .system-cta {
  color: var(--accent-strong);
}

.system-card[data-palette="ember"]:hover .system-cta,
.system-card[data-palette="ember"]:focus-visible .system-cta {
  color: #ffc36f;
}

.system-card[data-palette="cobalt"]:hover .system-cta,
.system-card[data-palette="cobalt"]:focus-visible .system-cta {
  color: var(--cobalt);
}

.footer-shell {
  margin-top: 48px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(221, 229, 224, 0.08);
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-facts-text {
  font-size: 11px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-links a,
.topbar-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(221, 229, 224, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d6ddd9;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.legal-links a:hover,
.topbar-links a:hover {
  border-color: rgba(117, 240, 233, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.site-footnote {
  margin-top: 18px;
  color: #56615c;
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 999px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-lockup strong,
.topbar-meta strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.brand-lockup small,
.topbar-meta small,
.topbar-meta span {
  display: block;
  font-size: 12px;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-meta {
  text-align: right;
}

.detail-hero,
.doc-section,
.assurance-shell {
  padding: 28px;
}

.page-detail .detail-hero {
  margin-top: 28px;
}

.detail-hero h1 {
  margin-top: 10px;
  font-size: 56px;
  line-height: 0.98;
}

.detail-lede {
  margin-top: 16px;
  max-width: 68ch;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-content {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.doc-section h2,
.section-heading h2 {
  font-size: 34px;
  line-height: 1.02;
}

.doc-section ul {
  margin-top: 16px;
  padding-left: 20px;
}

.doc-section li {
  margin-top: 8px;
}

.contact-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
}

.contact-table th,
.contact-table td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(221, 229, 224, 0.08);
  text-align: left;
}

.contact-table th {
  width: 128px;
  color: var(--muted);
}

.callout {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(117, 240, 233, 0.18);
  border-radius: var(--radius-md);
  background: rgba(117, 240, 233, 0.06);
}

.assurance-shell {
  margin-top: 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.section-heading h2 {
  margin-top: 8px;
}

.assurance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.assurance-copy {
  font-size: 14px;
}

.assurance-copy .legal-links {
  margin-top: 18px;
}

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

.fact-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(221, 229, 224, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.fact-card dt {
  color: var(--muted-deep);
  font-size: 12px;
}

.fact-card dd {
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .compliance-section,
  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100vw - 24px, 1320px);
    padding: 20px 0 40px;
  }

  .hero-header {
    min-height: auto;
    padding: 22px 0 18px;
  }

  .brand-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .hero-title {
    font-size: 44px;
    line-height: 1;
  }

  .compliance-section,
  .systems-grid,
  .section-heading,
  .assurance-grid,
  .assurance-facts {
    grid-template-columns: 1fr;
  }

  .compliance-card,
  .compliance-card .card-content {
    min-height: 112px;
  }

  .compliance-card .card-content {
    padding: 18px;
  }

  .compliance-card h2 {
    margin-top: 14px;
    font-size: 20px;
  }

  .compliance-card .card-content > p:not(.section-kicker) {
    margin-top: 8px;
  }

  .systems-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-line {
    width: 100%;
    flex: none;
  }

  .system-card,
  .system-card .card-inner {
    min-height: 312px;
  }

  .system-card .card-inner {
    padding: 24px;
  }

  .system-card h3 {
    font-size: 25px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--radius-xl);
  }

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

  .topbar-meta {
    text-align: left;
  }

  .legal-links a,
  .topbar-links a {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100vw - 18px, 1320px);
  }

  .brand-block {
    gap: 12px;
  }

  .hero-title {
    max-width: 6em;
    font-size: 40px;
  }

  .hero-meta span {
    min-height: 32px;
    justify-content: center;
  }

  .system-card-head {
    gap: 10px;
  }

  .system-icon {
    width: 64px;
    min-width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 10px;
  }

  .system-status {
    white-space: normal;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .page-glow {
    display: none;
  }
}
