:root {
  color-scheme: dark;
  --obsidian: #05070d;
  --navy: #071426;
  --midnight: #0b1f3a;
  --blue: #0a84ff;
  --signal: #36a3ff;
  --white: #e8eef7;
  --muted: #9ba9ba;
  --line: rgba(155, 169, 186, .2);
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--obsidian);
  color: var(--white);
  font: 400 1rem/1.65 "Segoe UI", Inter, Arial, sans-serif;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 85% 0%, rgba(10, 132, 255, .14), transparent 34rem),
    linear-gradient(rgba(54, 163, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 163, 255, .035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}
a { color: var(--signal); text-underline-offset: .2em; }
a:hover { color: #79c1ff; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .65rem 1rem;
  border-radius: .45rem;
  background: white;
  color: #111827;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, .9);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 1.5rem; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 240px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  display: block;
  padding: .55rem .65rem;
  border-radius: .45rem;
  color: var(--muted);
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--midnight); color: white; }
.primary-nav a[aria-current="page"]::after { display: block; width: 1.25rem; height: 2px; margin: .15rem auto 0; background: var(--blue); content: ""; }

main { overflow: hidden; }
.hero { position: relative; padding: clamp(5rem, 10vw, 9rem) 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: center; }
.eyebrow, .kicker {
  margin: 0 0 .9rem;
  color: var(--signal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.1; letter-spacing: -.035em; }
h1 { max-width: 13ch; margin-bottom: 1.25rem; font-size: clamp(3.25rem, 8vw, 7.3rem); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.35rem; }
.lede { max-width: 47rem; color: #c4cfdd; font-size: clamp(1.12rem, 2vw, 1.38rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.1rem;
  border: 1px solid var(--blue);
  border-radius: .55rem;
  background: var(--blue);
  color: var(--obsidian);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(10, 132, 255, .18);
}
.button:hover { background: var(--signal); color: var(--obsidian); }
.button.secondary { border-color: var(--line); background: transparent; box-shadow: none; }
.button.secondary { color: white; }
.button.secondary:hover { border-color: var(--signal); background: var(--navy); color: white; }
.signal-card {
  position: relative;
  min-height: 340px;
  border: 1px solid rgba(54, 163, 255, .35);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(11, 31, 58, .9), rgba(7, 20, 38, .5));
  box-shadow: var(--shadow);
}
.signal-card::before, .signal-card::after { position: absolute; border: 1px solid rgba(54, 163, 255, .35); border-radius: 50%; content: ""; }
.signal-card::before { inset: 15%; }
.signal-card::after { inset: 32%; background: radial-gradient(circle, rgba(54,163,255,.65) 0 4px, transparent 5px); }
.signal-label { position: absolute; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--obsidian); color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.signal-label.one { top: 12%; left: 8%; }
.signal-label.two { top: 45%; right: 5%; }
.signal-label.three { bottom: 10%; left: 14%; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.alt { border-block: 1px solid var(--line); background: rgba(7, 20, 38, .65); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-head p { max-width: 38rem; margin: 0; color: var(--muted); }
.grid { display: grid; gap: 1.25rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(11,31,58,.72), rgba(7,20,38,.54));
}
.card p:last-child { margin-bottom: 0; }
.card-link { position: relative; transition: transform .2s ease, border-color .2s ease; }
.card-link:hover { border-color: rgba(54, 163, 255, .7); transform: translateY(-3px); }
.card-link > a::after { position: absolute; inset: 0; content: ""; }
.number { display: block; margin-bottom: 1.2rem; color: var(--signal); font: 800 1rem/1 monospace; }
.status, .tag {
  display: inline-block;
  padding: .25rem .5rem;
  border: 1px solid rgba(54, 163, 255, .35);
  border-radius: 999px;
  background: rgba(10, 132, 255, .09);
  color: #9fd1ff;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tag { margin: .2rem .25rem .2rem 0; }
.meta { color: var(--muted); font-size: .9rem; }
.metric { color: white; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1; }
.rule-list { padding-left: 1.2rem; }
.rule-list li { margin-block: .55rem; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 1px; background: var(--line); list-style: none; }
.feature-list li { padding: 1.5rem; background: var(--obsidian); }

.page-hero { padding: 5rem 0 3rem; }
.breadcrumb { margin-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: inherit; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 4rem; align-items: start; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.prose h3 { margin-top: 2.3rem; }
.prose p, .prose li { color: #c4cfdd; }
.prose strong { color: white; }
.aside { position: sticky; top: 105px; padding: 1.2rem; border-left: 2px solid var(--blue); background: var(--navy); }
.aside ul { margin: 0; padding-left: 1.1rem; }
.aside li { margin-bottom: .5rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: white; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
td { color: #c4cfdd; }
.notice { margin-block: 1.5rem; padding: 1rem 1.2rem; border: 1px solid rgba(54,163,255,.35); border-left: 4px solid var(--signal); background: rgba(10,132,255,.08); }
.download-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.site-footer { border-top: 1px solid var(--line); background: #03050a; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; padding: 4rem 0 2rem; }
.footer-logo { width: 260px; margin-bottom: 1rem; }
.footer-grid h2 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: white; }
.legal { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 76px; right: 1rem; left: 1rem; display: none; margin: 0; padding: .6rem; border: 1px solid var(--line); border-radius: .75rem; background: #071426; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .content-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.5rem; }
  .signal-card { min-height: 260px; }
  .aside { position: static; }
  .grid.three, .feature-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 1.25rem), var(--max)); }
  .nav-shell { min-height: 68px; }
  .brand { width: 44px; height: 44px; }
  .brand img { display: none; }
  .primary-nav { top: 68px; }
  .primary-nav ul, .grid.two, .grid.three, .feature-list, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.7rem); }
  .section-head, .legal, .download-item { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
}

/* Owner-approved blue/orange enhancement layer. */
:root {
  --orange: #f86000;
  --orange-bright: #ff7a1a;
  --art-navy: #001018;
}

body::before {
  background:
    radial-gradient(circle at 82% 0%, rgba(10, 132, 255, .16), transparent 33rem),
    radial-gradient(circle at 8% 52%, rgba(248, 96, 0, .09), transparent 28rem),
    linear-gradient(rgba(54, 163, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 163, 255, .03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.site-header {
  border-bottom-color: rgba(248, 96, 0, .32);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}

.brand {
  width: auto;
  height: auto;
  gap: .65rem;
  background: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3));
}
.brand img { display: block; width: 52px; height: 52px; }
.brand-wordmark {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}
.brand-wordmark strong { color: var(--orange-bright); }

.primary-nav a[aria-current="page"]::after {
  width: 1.8rem;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.eyebrow::before, .kicker::before {
  display: inline-block;
  width: 1.3rem;
  height: 2px;
  margin: 0 .55rem .2rem 0;
  background: var(--orange);
  content: "";
}

.hero { isolation: isolate; }
.home-hero::after {
  position: absolute;
  inset: auto -15% 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(90deg, transparent, rgba(10, 132, 255, .08), rgba(248, 96, 0, .06), transparent);
  content: "";
  filter: blur(34px);
}

.brand-hero-art {
  position: relative;
  aspect-ratio: 2.65 / 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 163, 255, .4);
  border-radius: 1.35rem;
  background: var(--art-navy);
  box-shadow: 0 32px 85px rgba(0, 0, 0, .46), 0 0 0 1px rgba(248, 96, 0, .1);
}
.brand-hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 16, 24, .05), transparent 55%, rgba(248, 96, 0, .08));
  content: "";
  pointer-events: none;
}
.brand-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section { position: relative; }
.section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(10, 132, 255, .42), rgba(248, 96, 0, .46), transparent 96%);
  content: "";
}

.button {
  background: linear-gradient(135deg, var(--blue), #2e98ff);
  box-shadow: 0 12px 34px rgba(10, 132, 255, .24), inset 0 1px rgba(255, 255, 255, .2);
}
.button:hover { background: linear-gradient(135deg, var(--signal), #63b7ff); }
.button.secondary { border-color: rgba(248, 96, 0, .72); }
.button.secondary:hover { border-color: var(--orange-bright); background: rgba(248, 96, 0, .14); }

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(11,31,58,.86), rgba(7,20,38,.65));
  box-shadow: 0 22px 54px rgba(0, 0, 0, .2);
}
.card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  content: "";
  opacity: .74;
}
.card-link:hover { border-color: rgba(248, 96, 0, .65); box-shadow: 0 28px 64px rgba(0, 0, 0, .3); }
.number { color: var(--orange-bright); }
.status, .tag { border-color: rgba(248, 96, 0, .34); background: rgba(248, 96, 0, .08); }

.feature-list {
  gap: 1px;
  background: linear-gradient(90deg, rgba(10, 132, 255, .28), rgba(248, 96, 0, .32));
}
.feature-list li { background: linear-gradient(145deg, var(--obsidian), var(--navy)); }

.founder-panel { position: sticky; top: 105px; }
.founder-art {
  position: relative;
  aspect-ratio: .93 / 1;
  margin: 0 0 1rem;
  overflow: hidden;
  border: 1px solid rgba(248, 96, 0, .4);
  border-radius: 1.25rem;
  background: var(--art-navy);
  box-shadow: 0 28px 65px rgba(0, 0, 0, .38);
}
.founder-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-copy { padding: 1rem 1.15rem; border-left: 2px solid var(--orange); background: var(--navy); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.footer-brand img { width: 64px; height: 64px; }
.footer-brand strong { color: var(--orange-bright); }
.footer-grid > div:first-child::before { content: none; }
.footer-logo { display: none; }
.footer-brand span {
  white-space: nowrap;
}
.site-footer { border-top-color: rgba(248, 96, 0, .26); background: linear-gradient(180deg, #03050a, #001018); }

@media (max-width: 920px) {
  .brand-hero-art { max-width: 760px; }
  .founder-panel { position: static; max-width: 440px; }
}

@media (max-width: 620px) {
  .brand {
    width: auto;
    height: auto;
    background: none;
  }
  .brand img { display: block; width: 48px; height: 48px; }
  .brand-wordmark { display: none; }
  .brand-hero-art { aspect-ratio: 1.42 / 1; }
  .brand-hero-art img { width: 100%; height: 100%; object-fit: cover; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .aside { display: none; }
  body { background: white; color: #111827; }
  body::before { display: none; }
  .prose, .prose p, .prose li, .meta, td { color: #111827; }
  a { color: #111827; }
  .page-hero, .section { padding: 1rem 0; }
}
