:root {
  color-scheme: dark;
  --bg: #050609;
  --surface: rgba(15, 17, 24, 0.78);
  --surface-solid: #101219;
  --surface-raised: #171a23;
  --text: #f6f7fb;
  --muted: #9ba1b2;
  --subtle: #666d7e;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --blue: #69a7ff;
  --violet: #a58bff;
  --warm: #d9b36c;
  --good: #76c99c;
  --danger: #d78b91;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  font-family: "SF Pro Display", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% -10%, rgba(72, 117, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 92% 26%, rgba(133, 79, 255, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img, canvas { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #fff;
  color: #090a0e;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: rgba(5, 6, 9, 0.48);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(5, 6, 9, 0.88); }
.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: inset 0 0 18px rgba(95, 138, 255, 0.2), 0 0 26px rgba(109, 118, 255, 0.18);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.brand-mark::before { inset: 7px; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.brand-mark::after { inset: -4px 4px; border: 1px solid rgba(136, 157, 255, 0.45); transform: rotate(42deg); }
.brand small { color: var(--subtle); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.nav-links a { padding: 8px 10px; border-radius: 8px; font-size: 14px; transition: color 160ms ease, background 160ms ease; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { background: rgba(255,255,255,.06); color: var(--text); }
.version-chip {
  min-width: max-content;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--subtle);
  font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.nav-toggle { display: none; border: 0; background: transparent; color: var(--text); }

main { min-height: 70vh; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 128px 0 70px;
}
.hero-canvas { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; opacity: .78; }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,9,.1), rgba(5,6,9,.36) 62%, var(--bg));
  pointer-events: none;
}
.hero-content { width: min(880px, 100%); text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #bec4d4;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue)); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 8.2vw, 104px);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 span { display: block; color: transparent; background: linear-gradient(100deg, #fff 18%, #97bfff 56%, #b9a7ff); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.55; }
.hero-mantra { margin: 34px 0 0; color: #7f8799; font: 500 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 42px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #e8ebf4;
  font-weight: 650;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.09); }
.button.primary { border-color: transparent; background: #f4f6fb; color: #0d0f14; }

.section { padding: 108px 0; }
.section.compact { padding: 72px 0; }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; margin-bottom: 46px; }
.section-kicker { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.section-heading h2,
.page-hero h1 { margin-bottom: 0; font-size: clamp(38px, 5.7vw, 72px); line-height: 1.06; letter-spacing: -.05em; }
.section-heading p { max-width: 630px; margin: 0; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.card:hover { transform: translateY(-4px) scale(1.006); border-color: rgba(144,163,255,.28); box-shadow: var(--shadow); }
.card::after { content: ""; position: absolute; inset: auto -30% -48% 25%; height: 170px; background: radial-gradient(ellipse, rgba(85,106,255,.16), transparent 67%); pointer-events: none; }
.card-index { color: var(--subtle); font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.card h3 { margin: 66px 0 12px; font-size: 25px; letter-spacing: -.035em; }
.card p { margin-bottom: 0; color: var(--muted); }
.card-link { display: inline-flex; margin-top: 26px; color: #d7dbea; font-weight: 650; }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #adb4c5; font-size: 11px; }
.tag.good { border-color: rgba(118,201,156,.26); color: var(--good); }
.tag.warm { border-color: rgba(217,179,108,.27); color: var(--warm); }
.tag.danger { border-color: rgba(215,139,145,.27); color: var(--danger); }

.statement { padding: 76px 0 86px; border-block: 1px solid var(--line); text-align: center; }
.statement blockquote { max-width: 900px; margin: 0 auto; color: #eef1f8; font-size: clamp(30px, 5.1vw, 64px); line-height: 1.12; letter-spacing: -.05em; }
.statement p { margin: 24px auto 0; color: var(--muted); }

.page-hero { padding: 170px 0 72px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero p { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 19px; }
.content-shell { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 58px; padding: 36px 0 110px; }
.content-aside { color: var(--muted); }
.content-aside strong { display: block; margin-bottom: 8px; color: var(--text); }
.content-main > * + * { margin-top: 20px; }
.detail-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.detail-card h2 { margin-bottom: 12px; font-size: 28px; letter-spacing: -.035em; }
.detail-card p { color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.metric { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }
.metric span { display: block; color: var(--subtle); font-size: 11px; text-transform: uppercase; }
.metric strong { display: block; margin-top: 7px; color: #e7eaf2; font-size: 19px; }
.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; padding: 0 0 42px 32px; border-left: 1px solid var(--line-strong); }
.timeline-item:last-child { padding-bottom: 0; border-color: transparent; }
.timeline-item::before { content: ""; position: absolute; top: 6px; left: -5px; width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; background: var(--bg); }
.timeline time { color: var(--subtle); font: 600 11px/1.4 ui-monospace, monospace; }
.timeline h2 { margin: 8px 0 8px; font-size: 24px; }
.timeline p { margin: 0; color: var(--muted); }
.empty-state { padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }

.site-footer { padding: 44px 0 32px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.footer-title { margin-bottom: 9px; color: #c8cdda; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-links [aria-disabled="true"] { opacity: .55; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-meta a:hover { color: #c7ccd8; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms ease, transform 620ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; width: 42px; height: 42px; place-items: center; }
  .nav-links {
    position: absolute;
    inset: 72px 16px auto;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(12,14,20,.98);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; }
  .version-chip { margin-left: auto; }
  .section-heading, .content-shell { grid-template-columns: 1fr; gap: 24px; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .card { min-height: 230px; }
  .card h3 { margin-top: 42px; }
}

@media (max-width: 620px) {
  .container, .nav-shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-shell { height: 64px; }
  .brand span:last-child { display: none; }
  .nav-links { top: 64px; }
  .hero { padding-top: 106px; }
  h1 { font-size: clamp(44px, 14.2vw, 68px); }
  .hero-lead { font-size: 17px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading p { font-size: 16px; }
  .page-hero { padding: 130px 0 44px; }
  .content-shell { padding-bottom: 78px; }
  .metric-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

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