:root {
  color-scheme: dark;
  --bg: #0b1018;
  --panel: #121923;
  --surface: #181f2b;
  --line: #343e4e;
  --muted: #a3adbd;
  --text: #eef1f5;
  --accent: #b6b7ff;
}

* { box-sizing: border-box; }
html { background: #080b10; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #080b10;
  color: var(--text);
  font: 15px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 30px; }
.skip-link {
  position: absolute;
  top: -90px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 5px;
  background: #fff;
  color: #111;
}
.skip-link:focus { top: 12px; }

.sitehead { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: #0b1018; }
.headrow { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5f6fb;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand-icon { display: block; width: 32px; height: 32px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav a, .nav summary { color: var(--muted); }
.nav a:hover, .nav summary:hover, .actions > a:not(.btn):hover { color: var(--text); }
.nav details, .mobilemenu details { position: relative; }
.nav summary, .mobilemenu summary { cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker, .mobilemenu summary::-webkit-details-marker { display: none; }
.nav summary span, .mobilemenu summary span { margin-left: 4px; }
.menu {
  position: absolute;
  z-index: 12;
  top: 34px;
  left: -20px;
  min-width: 280px;
  max-height: min(75vh, 620px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #181f2b;
  box-shadow: 0 10px 30px #0007;
}
.menu a { display: block; padding: 8px 4px; }
.menu a:hover { text-decoration: underline; }
.menu small {
  display: block;
  margin: 10px 4px 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.actions { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.actions > a:not(.btn) { color: var(--muted); font-size: 14px; }
.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid #9c9fea;
  border-radius: 6px;
  background: var(--accent);
  color: #15172a;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.btn:hover { background: #d5d6ff; color: #111326; box-shadow: 0 4px 22px #9da2ff30; }
.mobilemenu { display: none; }

.hero {
  padding-block: 86px 54px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 30%, #18243e 0, transparent 55%), linear-gradient(160deg, #101826, #080d15 70%);
}
.heroGrid, .split { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 16px 0 20px;
  color: #f5f6fb;
  font-size: clamp(42px, 5.3vw, 70px);
  font-weight: 640;
  letter-spacing: -.065em;
  line-height: 1.05;
}
.hero h1 em { color: #bfc1ff; font-style: normal; }
.hero p { max-width: 640px; margin: 0 0 25px; color: var(--muted); font-size: 18px; }
.hero .btn { box-shadow: 0 4px 22px #9da2ff30; }
.boundary-art { min-width: 0; margin: 0; }
.boundary-art svg { display: block; width: 100%; height: auto; }
.boundary-art figcaption { margin-top: 0; color: var(--muted); font-size: 12px; text-align: center; }
.proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 30px;
  margin: 36px 0 0;
  padding: 0;
  color: #c4ccda;
  font-size: 13px;
  list-style: none;
}
.proof li { display: flex; align-items: center; gap: 8px; }
.symbol {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid #525d7c;
  border-radius: 6px;
  background: #182235;
  color: var(--accent);
  font-size: 14px;
}

.section { padding-block: 58px; border-bottom: 1px solid var(--line); }
.section h2 {
  margin: 0 0 16px;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 550;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.section p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #151e2b, #121923);
}
.tile h3 { margin: 0 0 9px; font-size: 18px; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.tile p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.textlink { margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 550; }
.textlink:hover { text-decoration: underline; }
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.callout h2 { margin: 0 0 7px; font-size: 25px; }
.callout p { margin: 0; color: var(--muted); }
.callout .btn { flex-shrink: 0; }

.foot { padding-block: 38px 20px; }
.footgrid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; }
.foot h3 { margin: 0 0 10px; color: #d9e0ec; font-size: 12px; font-weight: 650; }
.foot p { color: var(--muted); font-size: 13px; }
.footgrid a:not(.brand) { display: block; padding: 3px 0; color: var(--muted); font-size: 13px; }
.footgrid a:not(.brand):hover, .footbottom a:hover { color: var(--text); text-decoration: underline; }
.footbottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 22px;
  margin-top: 28px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footlegal { display: flex; flex-wrap: wrap; gap: 22px; }
.footlegal a { color: var(--muted); }

@media (max-width: 960px) {
  .nav, .actions { display: none; }
  .mobilemenu { display: block; }
  .mobilemenu summary {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
  }
  .mobilemenu .menu { right: 0; left: auto; min-width: min(280px, calc(100vw - 40px)); }
  .heroGrid, .split { gap: 30px; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .brand { gap: 11px; font-size: 18px; line-height: 32px; }
  .brand-icon { width: 33px; height: 33px; }
  .headrow { min-height: 72px; }
  .hero { padding-block: 42px 26px; }
  .heroGrid { grid-template-columns: 1fr; gap: 22px; }
  .split, .grid, .grid.four { grid-template-columns: 1fr; gap: 16px; }
  .hero h1 { font-size: 43px; }
  .hero p { font-size: 16px; }
  .section { padding-block: 36px; }
  .tile { padding: 19px; }
  .boundary-art svg { max-height: 280px; }
  .proof { gap: 12px; margin-top: 20px; }
  .callout { align-items: flex-start; flex-direction: column; padding: 20px; }
  .footgrid { gap: 20px; }
  .footgrid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}