:root {
  color-scheme: dark;
  --bg: #050913;
  --bg-deep: #02050b;
  --panel: rgba(12, 20, 35, 0.74);
  --panel-solid: #0b1423;
  --line: rgba(151, 190, 225, 0.16);
  --line-strong: rgba(102, 221, 255, 0.32);
  --text: #f4f8fb;
  --muted: #9ba8b7;
  --dim: #677688;
  --cyan: #31d7ff;
  --blue: #146dff;
  --warm: #ff543d;
  --amber: #ffb638;
  --green: #3aff9a;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 7%, rgba(18, 99, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 36%, rgba(36, 215, 255, 0.06), transparent 31rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(86, 145, 190, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 145, 190, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a { color: inherit; }

a:focus-visible,
summary:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: white;
  color: black;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(49, 215, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(49, 215, 255, 0.14);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(49, 215, 255, 0.68);
  border-radius: 50%;
  content: "";
}

.brand-mark::after { inset: 10px; background: var(--cyan); border: 0; box-shadow: 0 0 12px var(--cyan); }
.brand-mark span { inset: -5px; border-color: rgba(49, 215, 255, 0.08); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-nav a { color: var(--muted); text-decoration: none; }
.header-nav a:hover,
.header-nav a[aria-current="page"] { color: var(--cyan); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  min-height: calc(100svh - 89px);
  padding-block: 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(58, 255, 154, 0.8);
}

.hero h1,
.section-heading h2,
.method-copy h2,
.limits-copy h2,
.support-intro h2,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  background: linear-gradient(100deg, #dcecff 10%, var(--cyan) 48%, #4c7eff 96%);
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.62;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--text); color: #07101e; border-color: var(--text); }
.button-primary:hover { background: var(--cyan); border-color: var(--cyan); }
.button-secondary { background: rgba(255, 255, 255, 0.035); color: var(--text); }
.button-secondary:hover { border-color: var(--cyan); }

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 25px;
  margin: 48px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.signal-list span { margin-right: 7px; color: var(--dim); }

.field-stage {
  position: relative;
  aspect-ratio: 0.94;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 36px;
  background:
    radial-gradient(circle at 62% 43%, rgba(255, 84, 61, 0.2), transparent 8%),
    radial-gradient(circle at 62% 43%, rgba(255, 182, 56, 0.12), transparent 21%),
    radial-gradient(circle at 27% 69%, rgba(49, 215, 255, 0.15), transparent 20%),
    linear-gradient(145deg, rgba(14, 28, 47, 0.96), rgba(3, 8, 17, 0.98));
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.42), inset 0 0 70px rgba(49, 215, 255, 0.025);
}

.field-stage::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 20%, transparent 80%, rgba(49, 215, 255, 0.06));
  content: "";
  pointer-events: none;
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(89, 160, 211, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 160, 211, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(550px) rotateX(55deg) scale(1.8) translateY(19%);
  transform-origin: bottom;
}

.field-core {
  position: absolute;
  top: 43%;
  left: 62%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff3dc;
  box-shadow: 0 0 12px white, 0 0 30px var(--amber), 0 0 65px var(--warm), 0 0 110px rgba(255, 84, 61, 0.68);
}

.field-orbit {
  position: absolute;
  top: 43%;
  left: 62%;
  border: 1px solid rgba(255, 174, 67, 0.48);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  box-shadow: 0 0 24px rgba(255, 84, 61, 0.06);
}

.orbit-a { width: 100px; height: 180px; }
.orbit-b { width: 180px; height: 310px; border-color: rgba(255, 102, 65, 0.34); }
.orbit-c { width: 280px; height: 440px; border-color: rgba(48, 204, 255, 0.24); }

.probe-line {
  position: absolute;
  top: 43%;
  left: 62%;
  width: 270px;
  border-top: 1px dashed rgba(49, 215, 255, 0.7);
  transform: rotate(137deg);
  transform-origin: left;
}

.probe-point {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan), 0 0 32px rgba(49, 215, 255, 0.55);
}

.point-a { top: 58%; left: 47%; }
.point-b { top: 69%; left: 35%; transform: scale(0.78); }
.point-c { top: 78%; left: 25%; transform: scale(0.58); }

.stage-status,
.stage-vector {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(3, 9, 18, 0.72);
  backdrop-filter: blur(16px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.stage-status { top: 24px; left: 24px; grid-template-columns: auto 1fr; align-items: center; }
.stage-status strong { grid-column: 1 / -1; margin-top: 5px; font-size: 23px; letter-spacing: -0.04em; }
.stage-vector { right: 24px; bottom: 54px; color: var(--muted); }
.stage-vector strong { color: var(--text); font-size: 11px; }

.stage-note {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  margin: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.section-block { padding-block: 120px; border-top: 1px solid var(--line); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  column-gap: 100px;
  align-items: end;
}

.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2,
.method-copy h2,
.limits-copy h2,
.support-intro h2 { font-size: clamp(40px, 5vw, 68px); }
.section-heading > p:last-child,
.method-copy > p:last-child,
.support-intro > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.mode-card {
  min-height: 470px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 29, 48, 0.72), rgba(7, 13, 24, 0.9));
}

.mode-index,
.section-number {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.mode-card h3 { margin: 32px 0 12px; font-size: 25px; letter-spacing: -0.04em; }
.mode-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.68; }

.mini-radar,
.sample-cloud,
.trace {
  position: relative;
  height: 190px;
  margin: 28px -4px 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(2, 6, 14, 0.56);
}

.mini-radar::before,
.mini-radar::after,
.mini-radar span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(49, 215, 255, 0.27);
  border-radius: 50%;
  content: "";
}

.mini-radar::after { width: 98px; height: 98px; border-color: rgba(255, 182, 56, 0.43); }
.mini-radar span { width: 40px; height: 40px; border: 0; background: var(--warm); box-shadow: 0 0 30px var(--warm), 0 0 90px rgba(255, 84, 61, 0.85); }

.sample-cloud::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(49, 215, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(49, 215, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
  transform: perspective(300px) rotateX(55deg) scale(1.6);
}

.sample-cloud i {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(49, 215, 255, 0.76);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(49, 215, 255, 0.8);
}

.sample-cloud i:nth-child(1) { top: 28%; left: 25%; }
.sample-cloud i:nth-child(2) { top: 42%; left: 43%; width: 20px; height: 20px; border-color: var(--amber); box-shadow: 0 0 20px var(--warm); }
.sample-cloud i:nth-child(3) { top: 67%; left: 57%; }
.sample-cloud i:nth-child(4) { top: 31%; left: 74%; width: 5px; height: 5px; }
.sample-cloud i:nth-child(5) { top: 72%; left: 18%; width: 6px; height: 6px; }

.trace { display: flex; align-items: end; gap: 7px; padding: 28px 20px; }
.trace::before { position: absolute; inset: 50% 0 auto; border-top: 1px solid var(--line); content: ""; }
.trace span { flex: 1; height: 26%; border-radius: 4px 4px 1px 1px; background: linear-gradient(to top, var(--blue), var(--cyan)); opacity: 0.86; }
.trace span:nth-child(2) { height: 42%; }
.trace span:nth-child(3) { height: 33%; }
.trace span:nth-child(4) { height: 66%; }
.trace span:nth-child(5) { height: 54%; }
.trace span:nth-child(6) { height: 84%; background: linear-gradient(to top, var(--warm), var(--amber)); }
.trace span:nth-child(7) { height: 68%; }
.trace span:nth-child(8) { height: 49%; }
.trace span:nth-child(9) { height: 56%; }
.trace span:nth-child(10) { height: 37%; }
.trace span:nth-child(11) { height: 31%; }
.trace span:nth-child(12) { height: 25%; }

.method-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: radial-gradient(circle at 0 0, rgba(21, 109, 255, 0.12), transparent 38%), var(--panel);
}

.method-copy .eyebrow { margin-bottom: 23px; }
.method-copy > p:last-child { margin-top: 25px; }
.method-steps { margin: 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.method-steps li:first-child { padding-top: 0; }
.method-steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.method-steps > li > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--cyan); font-family: var(--mono); font-size: 10px; }
.method-steps strong { font-size: 18px; }
.method-steps p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.limits-section { display: grid; grid-template-columns: 0.37fr 1fr; gap: 80px; }
.limits-label { display: flex; align-items: flex-start; gap: 15px; color: var(--amber); font-family: var(--mono); font-size: 10px; font-weight: 750; letter-spacing: 0.16em; }
.warning-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255, 182, 56, 0.5); border-radius: 50%; }
.limits-copy p { max-width: 780px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.72; }

.support-section { display: grid; grid-template-columns: 0.77fr 1.23fr; gap: 90px; }
.support-intro > p { margin-top: 25px; }
.support-list { border-top: 1px solid var(--line); }
.support-list details { border-bottom: 1px solid var(--line); }
.support-list summary { display: flex; align-items: center; gap: 18px; padding: 23px 5px; cursor: pointer; font-size: 17px; font-weight: 650; list-style: none; }
.support-list summary::-webkit-details-marker { display: none; }
.support-list summary::after { margin-left: auto; color: var(--cyan); content: "+"; font-family: var(--mono); font-size: 20px; font-weight: 400; }
.support-list details[open] summary::after { content: "−"; }
.support-list summary span { color: var(--dim); font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; }
.support-list details p { margin: -5px 42px 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-block: 48px;
  border-top: 1px solid var(--line);
}

.site-footer > div > p { margin: 16px 0 0; color: var(--dim); font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; color: var(--dim); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--cyan); }

/* Privacy */
.legal-main { padding-block: 88px 130px; }
.legal-hero { max-width: 900px; padding-bottom: 80px; }
.legal-hero h1 { font-size: clamp(54px, 8vw, 104px); }
.legal-hero > p:not(.eyebrow) { max-width: 750px; margin: 30px 0 0; color: var(--muted); font-size: 20px; line-height: 1.65; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 36px; color: var(--dim); font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(60px, 9vw, 130px); padding-top: 48px; border-top: 1px solid var(--line); }
.legal-aside { position: sticky; top: 30px; align-self: start; }
.legal-aside > p { margin: 0 0 15px; color: var(--dim); font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; }
.legal-aside nav { display: grid; }
.legal-aside a { padding: 8px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.legal-aside a:hover { color: var(--cyan); }
.legal-content section { position: relative; padding: 0 0 48px 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; border-bottom: 0; }
.section-number { position: absolute; top: 7px; left: 0; }
.legal-content h2 { margin: 0 0 18px; font-size: clamp(27px, 3vw, 38px); letter-spacing: -0.045em; }
.legal-content h3 { margin: 28px 0 8px; font-size: 17px; }
.legal-content p { margin: 0 0 15px; color: var(--muted); font-size: 15px; line-height: 1.76; }
.privacy-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0; }
.privacy-facts div { display: grid; gap: 6px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.02); }
.privacy-facts strong { font-size: 13px; }
.privacy-facts span { color: var(--dim); font-size: 12px; line-height: 1.5; }
.contact-section { padding: 35px 35px 38px 78px !important; border: 1px solid var(--line-strong) !important; border-radius: 20px; background: var(--panel); }
.contact-section .section-number { top: 42px; left: 31px; }
.contact-link { color: var(--cyan); font-size: clamp(25px, 4vw, 42px); font-weight: 720; letter-spacing: -0.04em; text-decoration: none; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 7px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .field-stage { width: min(620px, 100%); justify-self: center; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1fr; column-gap: 34px; min-height: 0; }
  .mode-card .mode-index { grid-column: 1 / -1; }
  .mode-card > div:nth-child(2) { grid-row: 2 / 4; }
  .mode-card h3 { align-self: end; }
  .method-panel,
  .support-section { grid-template-columns: 1fr; }
  .limits-section { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 580px); }
  .site-header { min-height: 72px; }
  .brand { font-size: 10px; letter-spacing: 0.16em; }
  .brand-mark { width: 24px; height: 24px; }
  .header-nav { gap: 14px; font-size: 9px; }
  .header-nav a:first-child { display: none; }
  .hero { padding-block: 68px 84px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-lede { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .signal-list { display: grid; grid-template-columns: 1fr 1fr; }
  .field-stage { border-radius: 24px; }
  .stage-vector { display: none; }
  .stage-status { top: 16px; left: 16px; }
  .stage-note { right: 16px; bottom: 14px; left: 16px; text-align: left; }
  .section-block { padding-block: 84px; }
  .mode-grid { margin-top: 48px; }
  .mode-card { display: block; min-height: 0; }
  .mode-card h3 { margin-top: 28px; }
  .method-panel { gap: 50px; border-radius: 22px; }
  .support-section { gap: 50px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
  .legal-main { padding-block: 68px 90px; }
  .legal-hero { padding-bottom: 60px; }
  .legal-hero > p:not(.eyebrow) { font-size: 17px; }
  .legal-layout { display: block; padding-top: 0; }
  .legal-aside { position: static; overflow-x: auto; padding: 20px 0; border-block: 1px solid var(--line); }
  .legal-aside > p { display: none; }
  .legal-aside nav { display: flex; gap: 18px; width: max-content; }
  .legal-aside a { padding: 0; }
  .legal-content { padding-top: 54px; }
  .legal-content section { padding-left: 38px; }
  .privacy-facts { grid-template-columns: 1fr; }
  .contact-section { padding: 30px 20px 32px !important; }
  .contact-section .section-number { position: static; display: block; margin-bottom: 14px; }
}

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