@charset "UTF-8";

/* MG / RANGE SLICE — core visual system */
:root {
  --bg: #071012;
  --bg-soft: #0c1618;
  --panel: #111b1d;
  --panel-raised: #162326;
  --paper: #e9e6dc;
  --paper-cool: #dce4e0;
  --ink: #e9e6dc;
  --ink-dark: #101719;
  --muted: #a8b5b1;
  --muted-dark: #5d6b67;
  --grid: rgba(103, 216, 197, 0.09);
  --line: rgba(206, 225, 220, 0.17);
  --line-strong: rgba(206, 225, 220, 0.34);
  --orange: #ff6a3d;
  --orange-dark: #c9441b;
  --aqua: #67d8c5;
  --blue: #7990ff;
  --status: #b7e275;
  --display: "Barlow Condensed", "Noto Sans SC", sans-serif;
  --body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --header-h: 76px;
  --page-pad: clamp(20px, 5vw, 88px);
  --max-width: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 3%, rgba(103, 216, 197, 0.08), transparent 30rem),
    var(--bg);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: rgba(255, 106, 61, 0.2);
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

img,
svg {
  display: block;
}

::selection {
  color: var(--ink-dark);
  background: var(--orange);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink-dark);
  background: var(--orange);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.page-grid {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.72;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.55) 45%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.55) 45%, transparent 88%);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 18, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 16, 18, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  justify-self: start;
}

.brand-mark {
  width: 58px;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 48px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 17px;
  color: var(--ink-dark);
  background: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 180ms var(--ease), background 180ms ease;
}

.header-cta i {
  font-family: var(--mono);
  font-style: normal;
}

.header-cta:hover {
  background: #ff805c;
  transform: translateY(-2px);
}

.header-cta:active {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(58px, 8vh, 110px) var(--page-pad) 34px;
  isolation: isolate;
  overflow: clip;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -16%;
  width: min(64vw, 960px);
  aspect-ratio: 1;
  border: 1px solid rgba(103, 216, 197, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(103, 216, 197, 0.025),
    0 0 0 170px rgba(103, 216, 197, 0.018);
  content: "";
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 100px);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 30px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  background: var(--orange);
  box-shadow: 0 0 16px rgba(255, 106, 61, 0.72);
}

.eyebrow b {
  color: var(--aqua);
  font-weight: 500;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 span {
  color: var(--ink);
  white-space: nowrap;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-intro {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: var(--ink-dark);
  border-color: var(--orange);
  background: var(--orange);
}

.button-primary:hover {
  background: #ff805c;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: var(--aqua);
  background: rgba(103, 216, 197, 0.08);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 50px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.hero-signals li {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 17px 12px 17px 0;
  border-right: 1px solid var(--line);
}

.hero-signals li + li {
  padding-left: 18px;
}

.hero-signals li:last-child {
  border-right: 0;
}

.hero-signals span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
}

.hero-signals b {
  font-size: 13px;
  font-weight: 700;
}

.range-board {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(103, 216, 197, 0.07), transparent 36%),
    rgba(9, 19, 21, 0.9);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.range-board::before,
.range-board::after {
  position: absolute;
  z-index: 4;
  width: 72px;
  height: 5px;
  background: var(--orange);
  content: "";
}

.range-board::before {
  top: -1px;
  left: -1px;
}

.range-board::after {
  right: -1px;
  bottom: -1px;
  background: var(--aqua);
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.board-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--status);
}

.board-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.range-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(103, 216, 197, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 216, 197, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(103, 216, 197, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 216, 197, 0.035) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px, 18px 18px, 18px 18px;
}

.range-visual::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 47.8%, rgba(103, 216, 197, 0.18) 48%, transparent 48.2%),
    linear-gradient(transparent 51.8%, rgba(103, 216, 197, 0.18) 52%, transparent 52.2%);
  content: "";
}

.axis {
  position: absolute;
  z-index: 5;
  display: flex;
  color: rgba(233, 230, 220, 0.58);
  font-family: var(--mono);
  font-size: 8px;
}

.axis-x {
  right: 16px;
  bottom: 12px;
  left: 16px;
  justify-content: space-between;
}

.axis-y {
  top: 16px;
  bottom: 34px;
  left: 12px;
  flex-direction: column;
  justify-content: space-between;
}

.range-ring {
  position: absolute;
  z-index: 2;
  top: 52%;
  left: 48%;
  aspect-ratio: 1;
  border: 1px solid var(--aqua);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.range-ring-outer {
  width: 72%;
  border-color: rgba(103, 216, 197, 0.58);
  box-shadow: 0 0 46px rgba(103, 216, 197, 0.08) inset;
}

.range-ring-mid {
  width: 48%;
  border-style: dashed;
  border-color: rgba(255, 106, 61, 0.7);
}

.range-ring-inner {
  width: 22%;
  border-color: rgba(255, 106, 61, 0.92);
  background: rgba(255, 106, 61, 0.1);
}

.range-sector {
  position: absolute;
  z-index: 1;
  top: 52%;
  left: 48%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 250deg, rgba(103, 216, 197, 0.2), transparent 28%, transparent 100%);
  clip-path: polygon(50% 50%, 0 10%, 0 90%);
  transform: translate(-50%, -50%);
}

.impact-point,
.target {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
}

.impact-point {
  top: 52%;
  left: 48%;
  transform: translate(-50%, -50%);
}

.impact-point i {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid var(--orange);
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(255, 106, 61, 0.68);
}

.impact-point i::after {
  position: absolute;
  inset: 3px;
  background: var(--orange);
  content: "";
}

.target i {
  width: 9px;
  height: 9px;
  border: 1px solid var(--aqua);
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(103, 216, 197, 0.1);
}

.target-one {
  top: 27%;
  left: 69%;
}

.target-two {
  top: 64%;
  left: 74%;
}

.target-three {
  top: 76%;
  left: 31%;
}

.distance-line {
  position: absolute;
  z-index: 4;
  top: 41%;
  left: 49%;
  width: 21%;
  height: 1px;
  border-top: 1px dashed rgba(233, 230, 220, 0.52);
  transform: rotate(-19deg);
  transform-origin: left;
}

.distance-line b {
  position: absolute;
  top: -22px;
  right: 0;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  transform: rotate(19deg);
}

.scan-line {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: -8%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(103, 216, 197, 0.12), rgba(103, 216, 197, 0.5), transparent);
  filter: blur(0.2px);
  animation: range-scan 5.8s var(--ease) infinite;
}

.mg-ghost {
  position: absolute;
  z-index: 0;
  right: -0.03em;
  bottom: -0.22em;
  color: rgba(233, 230, 220, 0.035);
  font-family: var(--display);
  font-size: clamp(170px, 24vw, 320px);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1;
}

.board-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.board-metrics > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.board-metrics > div:last-child {
  border-right: 0;
}

.board-metrics span {
  color: var(--muted);
  font-size: 11px;
}

.board-metrics strong {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
}

.board-metrics small {
  color: var(--aqua);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}

.range-board figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.measure-rail {
  position: absolute;
  right: var(--page-pad);
  bottom: 24px;
  left: var(--page-pad);
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 2fr auto 3fr auto;
  align-items: center;
  gap: 10px;
  color: rgba(233, 230, 220, 0.42);
  font-family: var(--mono);
  font-size: 8px;
}

.measure-rail i {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(233, 230, 220, 0.28) 0 1px, transparent 1px 7px);
}

.section-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1.1fr) minmax(260px, 0.62fr);
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  margin-bottom: clamp(48px, 7vw, 92px);
}

.section-heading > p {
  margin: 0;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 5.8vw, 82px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-heading > div {
  display: grid;
  gap: 18px;
}

.section-heading > div p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.heading-line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--orange) 0 52px, var(--line) 52px);
}

.system-section {
  position: relative;
  padding: clamp(84px, 11vw, 156px) var(--page-pad);
  color: var(--ink-dark);
  background:
    linear-gradient(rgba(16, 23, 25, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 23, 25, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
}

.section-heading-dark > div p {
  color: var(--muted-dark);
}

.section-heading-dark .heading-line {
  background: linear-gradient(90deg, var(--orange) 0 52px, rgba(16, 23, 25, 0.2) 52px);
}

.capability-ledger {
  border-top: 2px solid var(--ink-dark);
}

.capability-ledger article {
  display: grid;
  grid-template-columns: minmax(110px, 0.25fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  min-height: 152px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(16, 23, 25, 0.22);
  transition: padding 220ms var(--ease), background 220ms ease;
}

.capability-ledger article:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.32);
}

.capability-code {
  margin: 0;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.capability-ledger h3 {
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.capability-ledger article div p {
  max-width: 660px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 14px;
}

.capability-signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 128px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.capability-signal::before {
  width: 9px;
  height: 9px;
  background: currentColor;
  content: "";
}

.signal-orange {
  color: var(--orange-dark);
}

.signal-aqua {
  color: #157a6b;
}

.signal-blue {
  color: #344fc4;
}

.signal-dark {
  color: var(--ink-dark);
}

.workflow-section {
  padding: clamp(84px, 11vw, 156px) var(--page-pad);
  background:
    radial-gradient(circle at 9% 100%, rgba(121, 144, 255, 0.09), transparent 32rem),
    var(--bg-soft);
}

.workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.workflow-track::before {
  position: absolute;
  z-index: 3;
  top: 46px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 3px, transparent 3px 10px);
  content: "";
}

.workflow-track li {
  position: relative;
  z-index: 2;
  min-height: 370px;
  padding: 26px clamp(24px, 3vw, 44px) 38px;
  background: var(--panel);
  overflow: hidden;
}

.workflow-track li::after {
  position: absolute;
  right: -56px;
  bottom: -62px;
  width: 170px;
  aspect-ratio: 1;
  border: 1px solid rgba(103, 216, 197, 0.1);
  border-radius: 50%;
  content: "";
}

.step-index {
  display: inline-grid;
  position: relative;
  z-index: 4;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink-dark);
  background: var(--orange);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.step-graphic {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 140px;
  margin: 34px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(103, 216, 197, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 216, 197, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.step-origin i {
  width: 28px;
  height: 28px;
  border: 2px solid var(--orange);
  transform: rotate(45deg);
  box-shadow: 0 0 0 12px rgba(255, 106, 61, 0.08);
}

.step-origin::before,
.step-origin::after {
  position: absolute;
  background: rgba(233, 230, 220, 0.38);
  content: "";
}

.step-origin::before {
  width: 70%;
  height: 1px;
}

.step-origin::after {
  width: 1px;
  height: 70%;
}

.step-radius i {
  position: absolute;
  border: 1px solid var(--aqua);
  border-radius: 50%;
}

.step-radius i:first-child {
  width: 92px;
  height: 92px;
}

.step-radius i:last-child {
  width: 48px;
  height: 48px;
  border-color: var(--orange);
  background: rgba(255, 106, 61, 0.08);
}

.step-result i {
  position: absolute;
  width: 104px;
  height: 58px;
  border: 1px solid var(--aqua);
  clip-path: polygon(0 0, 88% 0, 100% 22%, 100% 100%, 12% 100%, 0 78%);
}

.step-result b {
  color: var(--orange);
  font-family: var(--display);
  font-size: 58px;
  line-height: 1;
}

.workflow-track h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.workflow-track p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@keyframes range-scan {
  0%, 14% { left: -20%; opacity: 0; }
  20% { opacity: 1; }
  62% { left: 104%; opacity: 0.9; }
  72%, 100% { left: 104%; opacity: 0; }
}
.preview-section {
  padding: clamp(84px, 11vw, 156px) var(--page-pad);
  background: var(--bg);
}

.preview-shell {
  border: 1px solid var(--line-strong);
  background: rgba(10, 21, 23, 0.82);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.3);
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 480px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mode-switch button {
  min-height: 52px;
  padding: 0 20px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.mode-switch button:last-child {
  border-right: 0;
}

.mode-switch button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
}

.mode-switch button[aria-selected="true"] {
  color: var(--ink-dark);
  background: var(--orange);
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  min-height: 620px;
}

.map-panel {
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--line);
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.map-toolbar span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--status);
}

.map-toolbar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.map-canvas {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgba(103, 216, 197, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 216, 197, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, transparent 48%, rgba(103, 216, 197, 0.04) 48% 52%, transparent 52%);
  background-size: 52px 52px, 52px 52px, 104px 104px;
}

.map-canvas::before,
.map-canvas::after {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(103, 216, 197, 0.08);
  border-radius: 50%;
  content: "";
}

.map-canvas::before {
  top: -48%;
  right: -12%;
  width: 72%;
  aspect-ratio: 1;
}

.map-canvas::after {
  bottom: -42%;
  left: -16%;
  width: 64%;
  aspect-ratio: 1;
}

.map-crosshair {
  position: absolute;
  z-index: 2;
  top: 51%;
  left: 48%;
  width: 28px;
  height: 28px;
  border: 2px solid var(--orange);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 10px rgba(255, 106, 61, 0.09), 0 0 22px rgba(255, 106, 61, 0.28);
}

.map-crosshair::before,
.map-crosshair::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--orange);
  content: "";
  transform: translate(-50%, -50%);
}

.map-crosshair::before {
  width: 54px;
  height: 1px;
}

.map-crosshair::after {
  width: 1px;
  height: 54px;
}

.map-ring {
  position: absolute;
  z-index: 1;
  top: 51%;
  left: 48%;
  aspect-ratio: 1;
  border: 1px solid var(--aqua);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 260ms ease, border-color 260ms ease, background 260ms ease, transform 360ms var(--ease);
}

.map-ring-a {
  width: min(66%, 470px);
  border-color: rgba(103, 216, 197, 0.62);
  box-shadow: 0 0 52px rgba(103, 216, 197, 0.06) inset;
}

.map-ring-b {
  width: min(35%, 248px);
  border-style: dashed;
  border-color: rgba(255, 106, 61, 0.92);
  background: rgba(255, 106, 61, 0.07);
}

.map-wedge {
  position: absolute;
  z-index: 1;
  top: 51%;
  left: 48%;
  width: min(66%, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 202deg, rgba(103, 216, 197, 0.27), rgba(103, 216, 197, 0.03) 22%, transparent 22% 100%);
  transform: translate(-50%, -50%);
  transition: opacity 260ms ease, transform 360ms var(--ease);
}

.map-route {
  position: absolute;
  z-index: 3;
  top: 44%;
  left: 49%;
  width: 29%;
  height: 1px;
  border-top: 1px dashed rgba(233, 230, 220, 0.72);
  transform: rotate(-18deg);
  transform-origin: left;
  transition: opacity 260ms ease;
}

.map-impact {
  position: absolute;
  z-index: 5;
  top: 51%;
  left: 48%;
  transform: translate(-50%, -50%);
}

.map-impact i {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.map-target {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  transition: color 220ms ease, transform 360ms var(--ease), opacity 220ms ease;
}

.map-target i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--aqua);
  background: var(--bg);
  box-shadow: 0 0 0 5px rgba(103, 216, 197, 0.08);
}

.map-target-a {
  top: 28%;
  left: 70%;
}

.map-target-b {
  top: 64%;
  left: 72%;
}

.map-target-c {
  top: 72%;
  left: 29%;
}

.map-label {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: var(--ink-dark);
  background: var(--aqua);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: opacity 180ms ease, transform 260ms var(--ease);
}

.label-radius {
  top: 17%;
  right: 15%;
}

.label-falloff {
  top: 52%;
  left: 13%;
  color: var(--ink-dark);
  background: var(--orange);
}

.label-cover {
  right: 13%;
  bottom: 17%;
  background: var(--blue);
}

.preview-shell[data-mode="radius"] .label-falloff,
.preview-shell[data-mode="radius"] .label-cover,
.preview-shell[data-mode="falloff"] .label-radius,
.preview-shell[data-mode="falloff"] .label-cover,
.preview-shell[data-mode="coverage"] .label-radius,
.preview-shell[data-mode="coverage"] .label-falloff {
  opacity: 0.18;
  transform: translateY(7px);
}

.preview-shell[data-mode="falloff"] .map-ring-a {
  border-color: rgba(255, 106, 61, 0.72);
  background: radial-gradient(circle, rgba(255, 106, 61, 0.17), rgba(255, 106, 61, 0.035) 46%, transparent 70%);
  transform: translate(-50%, -50%) scale(0.95);
}

.preview-shell[data-mode="falloff"] .map-ring-b {
  border-color: var(--orange);
  background: rgba(255, 106, 61, 0.16);
  transform: translate(-50%, -50%) scale(1.08);
}

.preview-shell[data-mode="falloff"] .map-wedge {
  opacity: 0.22;
  transform: translate(-50%, -50%) rotate(20deg);
}

.preview-shell[data-mode="coverage"] .map-ring-a,
.preview-shell[data-mode="coverage"] .map-ring-b {
  border-color: rgba(121, 144, 255, 0.64);
}

.preview-shell[data-mode="coverage"] .map-wedge,
.preview-shell[data-mode="coverage"] .map-route {
  opacity: 0.16;
}

.preview-shell[data-mode="coverage"] .map-target {
  color: var(--ink);
  transform: scale(1.08);
}

.preview-shell[data-mode="coverage"] .map-target i {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(121, 144, 255, 0.12);
}

.map-panel figcaption {
  min-height: 48px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.readout-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(30px, 4vw, 58px);
  background:
    linear-gradient(180deg, rgba(103, 216, 197, 0.05), transparent 42%),
    var(--panel);
}

.readout-mode {
  margin: 0 0 26px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.readout-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

#mode-description {
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.readout-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.readout-list div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.readout-list dt {
  color: var(--muted);
  font-size: 12px;
}

.readout-list dd {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}

.readout-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.readout-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.readout-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status);
  box-shadow: 0 0 10px var(--status);
}

.readout-status b {
  color: var(--aqua);
  font-weight: 500;
}

.access-section {
  padding: 0 var(--page-pad) clamp(72px, 8vw, 116px);
  background: var(--bg);
}

.access-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--ink-dark);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--orange);
  background-size: 48px 48px;
}

.access-copy {
  padding: clamp(36px, 6vw, 82px);
}

.access-copy > p {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.access-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.access-copy > span {
  display: block;
  max-width: 580px;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 600;
}

.access-action {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: center;
  min-width: 280px;
  padding: 36px;
  color: var(--ink);
  background: var(--ink-dark);
  transition: background 200ms ease, transform 200ms var(--ease);
}

.access-action:hover {
  background: #172326;
  transform: translate(-6px, -6px);
}

.access-action small {
  grid-column: 1 / -1;
  align-self: start;
  color: var(--aqua);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.access-action strong {
  align-self: end;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 800;
}

.access-action i {
  align-self: end;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 28px;
  font-style: normal;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 110px;
  padding: 22px var(--page-pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050c0e;
}

.footer-brand .brand-mark {
  width: 52px;
}

.footer-brand .brand-copy strong {
  color: var(--ink);
  font-size: 21px;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  transition: color 180ms ease;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--ink);
}

.site-footer > p {
  justify-self: end;
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

/* Branded 404 */
.error-page {
  min-height: 100svh;
}

.error-main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: 56px var(--page-pad);
}

.error-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  width: min(100%, 1120px);
  padding: clamp(32px, 6vw, 76px);
  border: 1px solid var(--line-strong);
  background: rgba(10, 21, 23, 0.9);
  overflow: hidden;
}

.error-orbit {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.error-orbit::before,
.error-orbit::after {
  position: absolute;
  border: 1px solid var(--aqua);
  border-radius: 50%;
  content: "";
}

.error-orbit::before {
  inset: 6%;
}

.error-orbit::after {
  inset: 24%;
  border-style: dashed;
  border-color: var(--orange);
}

.error-code {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(96px, 16vw, 210px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.error-copy > p:first-child {
  margin: 0 0 20px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.error-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.error-copy > p:not(:first-child) {
  max-width: 520px;
  margin: 24px 0 32px;
  color: var(--muted);
}

@media (max-width: 1180px) {
  :root {
    --page-pad: clamp(20px, 4vw, 54px);
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(58px, 7vw, 86px);
  }

  .range-visual {
    min-height: 390px;
  }

  .section-heading {
    grid-template-columns: 110px minmax(0, 1fr) minmax(240px, 0.55fr);
    gap: 34px;
  }

  .preview-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
  }

  .js .nav-toggle {
    display: flex;
    grid-column: 3;
  }

  .header-cta {
    grid-column: 4;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 30px;
    padding: 0 0 16px;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px var(--page-pad) 20px;
    border-bottom: 1px solid var(--line-strong);
    background: rgba(7, 16, 18, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 220ms var(--ease);
  }

  .js .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .js .site-nav a {
    min-height: 50px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding-top: clamp(70px, 10vw, 110px);
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(68px, 11vw, 106px);
  }

  .range-board {
    width: 100%;
  }

  .range-visual {
    min-height: min(58vw, 520px);
  }

  .measure-rail {
    display: none;
  }

  .section-heading {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .section-heading > div {
    grid-column: 2;
  }

  .capability-ledger article {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .capability-signal {
    grid-column: 2;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .map-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .readout-panel {
    min-height: 460px;
  }

  .readout-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .readout-list div {
    display: grid;
    gap: 8px;
    border-right: 1px solid var(--line);
  }

  .readout-list div:last-child {
    border-right: 0;
  }

  .access-shell {
    grid-template-columns: 1fr;
  }

  .access-action {
    grid-template-columns: 1fr auto;
    min-width: 0;
    min-height: 150px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 10px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 52px;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 12px;
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  .eyebrow b {
    display: none;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 78px);
    line-height: 0.94;
  }

  .hero-intro {
    margin-top: 24px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-signals {
    margin-top: 36px;
  }

  .hero-signals li,
  .hero-signals li + li {
    padding: 14px 8px;
  }

  .range-visual {
    min-height: 360px;
  }

  .range-ring-outer,
  .range-sector {
    width: 90%;
  }

  .range-ring-mid {
    width: 62%;
  }

  .range-ring-inner {
    width: 28%;
  }

  .target-one {
    left: 74%;
  }

  .target-two {
    left: 78%;
  }

  .target-three {
    left: 19%;
  }

  .board-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .board-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .board-metrics > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > div {
    grid-column: auto;
  }

  .section-heading h2 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .system-section,
  .workflow-section,
  .preview-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .capability-ledger article {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 28px 0;
  }

  .capability-signal {
    grid-column: auto;
    margin-top: 10px;
  }

  .capability-ledger article:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .workflow-track {
    grid-template-columns: 1fr;
  }

  .workflow-track::before {
    display: none;
  }

  .workflow-track li {
    min-height: 330px;
  }

  .mode-switch {
    max-width: none;
    border-right: 0;
  }

  .mode-switch button {
    padding: 0 10px;
  }

  .map-toolbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    gap: 4px;
  }

  .map-canvas {
    min-height: 410px;
  }

  .map-ring-a,
  .map-wedge {
    width: 84%;
  }

  .map-ring-b {
    width: 48%;
  }

  .map-target-a {
    left: 72%;
  }

  .map-target-b {
    left: 70%;
  }

  .map-target-c {
    left: 18%;
  }

  .map-label {
    font-size: 7px;
  }

  .label-radius {
    right: 7%;
  }

  .label-falloff {
    left: 4%;
  }

  .label-cover {
    right: 5%;
  }

  .readout-panel {
    min-height: 500px;
    padding: 30px 22px;
  }

  .readout-list {
    grid-template-columns: 1fr;
  }

  .readout-list div {
    display: flex;
    border-right: 0;
  }

  .access-section {
    padding-right: 20px;
    padding-bottom: 72px;
    padding-left: 20px;
  }

  .access-copy,
  .access-action {
    padding: 30px 24px;
  }

  .access-copy h2 {
    font-size: clamp(56px, 16vw, 82px);
  }

  .access-action {
    min-height: 138px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-footer > p {
    justify-self: start;
  }

  .error-card {
    grid-template-columns: 1fr;
  }

  .error-orbit {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 46px;
  }

  .brand-copy strong {
    font-size: 21px;
  }

  .header-cta {
    font-size: 12px;
  }

  .header-cta i {
    display: none;
  }

  .nav-toggle {
    width: 42px;
  }

  .hero-signals b {
    font-size: 11px;
  }

  .board-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 68px;
    gap: 4px;
  }

  .range-visual {
    min-height: 330px;
  }

  .target b,
  .distance-line b {
    display: none;
  }

  .board-metrics > div {
    padding: 14px 12px;
  }

  .board-metrics strong {
    font-size: 28px;
  }

  .map-canvas {
    min-height: 360px;
  }

  .map-target b {
    display: none;
  }

  .access-action strong {
    font-size: 36px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scan-line {
    display: none;
  }
}

@media (forced-colors: active) {
  .range-ring,
  .map-ring,
  .map-target i,
  .impact-point i,
  .map-crosshair {
    border-color: CanvasText;
  }

  .button,
  .header-cta,
  .access-action,
  .mode-switch button {
    border: 2px solid ButtonText;
  }
}