:root {
  --bg: #f5f5f7;
  --ink: #111216;
  --muted: #787a84;
  --line: rgba(17, 18, 22, .1);
  --cyan: #5fe3ff;
  --blue: #32ade6;
  font-family: "Manrope", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); }
button, input { font: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }

.site-shell { width: min(1440px, 100%); margin: 0 auto; padding: 0 42px; }
.topbar { height: 88px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { position: relative; display: grid; place-items: center; width: 25px; height: 25px; border: 1.5px solid #111216; border-radius: 50%; transform: rotate(-18deg); }
.brand-mark::before { content: ""; width: 10px; height: 10px; border: 1.5px solid #111216; border-radius: 50%; }
.brand-mark span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.brand-text { display: flex; align-items: baseline; gap: 6px; letter-spacing: -.04em; }
.brand-text strong { font-size: 19px; font-weight: 800; }
.brand-text b { font-size: 13px; font-weight: 600; color: #666872; }
.header-note { margin-left: 22px; color: #9a9ba2; font-size: 10px; letter-spacing: .18em; }
.top-nav { margin-left: auto; display: flex; gap: 27px; color: #64666e; font-size: 12px; }
.top-nav a { transition: color .2s; }
.top-nav a:hover { color: var(--ink); }

.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: minmax(295px, .84fr) minmax(540px, 1.45fr); align-items: center; gap: clamp(35px, 6vw, 100px); padding: 48px 0 60px; }
.hero-copy { align-self: center; padding-bottom: 15px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #777982; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.eyebrow-line { width: 27px; height: 1px; background: var(--cyan); box-shadow: 0 0 7px rgba(95, 227, 255, .85); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(54px, 5.8vw, 87px); line-height: .98; letter-spacing: -.085em; font-weight: 700; }
h1 span, h1 em { display: block; white-space: nowrap; }
h1 em, h2 em { font-style: normal; color: #7c7f89; }
.hero-lede { max-width: 365px; margin-bottom: 33px; color: #6f717b; font-size: 15px; line-height: 1.85; }
.hero-meta { display: flex; gap: 27px; margin-bottom: 32px; }
.meta-item { display: flex; flex-direction: column; gap: 5px; }
.meta-item strong { font-size: 25px; font-weight: 600; letter-spacing: -.05em; }
.meta-item span { color: #93949b; font-size: 10px; }
.connection-card { width: min(100%, 340px); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(17, 18, 22, .08); border-radius: 14px; background: rgba(255,255,255,.5); box-shadow: 0 12px 30px rgba(47, 48, 60, .035); }
.status-orb { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(95, 227, 255, .14), 0 0 17px var(--cyan); animation: status-pulse 2s ease-in-out infinite; }
.connection-card div { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.connection-card strong { font-size: 11px; font-weight: 700; }
.connection-card span:not(.status-orb):not(.connection-arrow) { color: #8e9098; font-size: 10px; }
.connection-arrow { color: #8f929a; font-size: 16px; }
.scroll-hint { display: flex; align-items: center; gap: 9px; margin-top: 42px; color: #9a9ba3; font-size: 10px; letter-spacing: .02em; }
.scroll-wheel { position: relative; display: inline-block; width: 18px; height: 27px; border: 1px solid #b7b8bd; border-radius: 10px; }
.scroll-wheel::before { content: ""; position: absolute; top: 5px; left: 7px; width: 3px; height: 5px; border-radius: 3px; background: var(--cyan); }
@keyframes status-pulse { 0%,100% { opacity: .65; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }

.stage-wrap { min-width: 0; }
.stage-head { display: flex; justify-content: space-between; margin: 0 8px 11px; color: #9b9da5; font-size: 9px; letter-spacing: .17em; }
.stage-coord { color: #c0c1c6; }
.stage { position: relative; height: min(62vh, 640px); min-height: 460px; overflow: hidden; border: 1px solid rgba(25, 26, 32, .08); border-radius: 25px; background: linear-gradient(145deg, #fff 0%, #f5f5f7 53%, #e9e9ed 100%); box-shadow: 0 28px 70px rgba(38, 39, 51, .09), inset 0 1px rgba(255,255,255,.95); }
#webgl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; cursor: grab; }
#webgl:active { cursor: grabbing; }
.stage-glow { position: absolute; z-index: 0; left: 14%; top: 16%; width: 58%; height: 52%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.98), rgba(255,255,255,0) 69%); filter: blur(11px); pointer-events: none; }
.stage-hud { position: absolute; z-index: 6; pointer-events: none; color: #9a9da5; font-size: 9px; letter-spacing: .17em; }
.hud-top { top: 20px; left: 23px; display: flex; align-items: center; gap: 8px; }
.hud-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.stage-foot { position: absolute; z-index: 6; right: 22px; bottom: 21px; left: 22px; display: flex; justify-content: space-between; color: #aaaab1; font-size: 8px; letter-spacing: .15em; pointer-events: none; }
.stage-controls { position: absolute; z-index: 7; right: 20px; bottom: 48px; left: 20px; display: flex; align-items: center; gap: 7px; }
.control-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(17,18,22,.1); border-radius: 11px; color: #4e5059; background: rgba(255,255,255,.66); backdrop-filter: blur(14px); box-shadow: 0 5px 14px rgba(30,31,40,.04); cursor: pointer; font-size: 10px; transition: .2s ease; }
.control-button:hover { border-color: rgba(17,18,22,.22); background: rgba(255,255,255,.9); transform: translateY(-1px); }
.control-button.primary { color: #fff; border-color: #16181e; background: #16181e; box-shadow: 0 7px 16px rgba(17, 18, 22, .16); }
.control-button.primary:hover { background: #282a31; }
.button-icon { font-size: 14px; line-height: 10px; }
.toggle-control { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px 5px 9px; border: 1px solid rgba(17,18,22,.09); border-radius: 11px; background: rgba(255,255,255,.55); backdrop-filter: blur(14px); cursor: pointer; }
.toggle-label { display: inline-flex; align-items: center; gap: 4px; color: #555760; font-size: 10px; }
.toggle-spark { color: var(--cyan); font-size: 12px; }
.toggle-control input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { display: flex; align-items: center; width: 28px; height: 16px; padding: 2px; border-radius: 10px; background: #d7d8dd; transition: background .2s; }
.toggle-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.toggle-control input:checked + .toggle-track { background: var(--cyan); box-shadow: 0 0 9px rgba(95,227,255,.45); }
.toggle-control input:checked + .toggle-track .toggle-thumb { transform: translateX(12px); }
#callouts { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callout-line { stroke: rgba(95, 227, 255, .85); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.callout-line::after { content: ""; }
.callout { position: absolute; display: flex; align-items: center; gap: 8px; width: max-content; max-width: 180px; padding: 8px 11px; border: 1px solid rgba(17,18,22,.1); border-radius: 10px; color: #353740; background: rgba(255,255,255,.79); box-shadow: 0 8px 25px rgba(37,38,49,.1); backdrop-filter: blur(12px); font-size: 10px; opacity: 0; transform: translate(-50%, -50%); transition: opacity .22s; }
.callout::before { content: ""; width: 4px; height: 4px; flex: none; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.callout strong { display: block; font-size: 10px; font-weight: 700; }
.callout span { display: block; margin-top: 2px; color: #898b94; font-size: 9px; }
.mobile-hint { display: none; margin: 10px 0 0; color: #999ba3; text-align: center; font-size: 10px; }

.specs { display: grid; grid-template-columns: minmax(240px, .75fr) 1.25fr; gap: clamp(50px, 10vw, 150px); padding: 115px 0 135px; border-top: 1px solid var(--line); }
.spec-intro h2 { margin-bottom: 24px; font-size: clamp(35px, 4vw, 58px); line-height: 1.08; letter-spacing: -.08em; }
.spec-intro > p:last-child { max-width: 380px; color: #777982; font-size: 14px; line-height: 1.9; }
.spec-hero { width: min(100%, 470px); margin: 34px 0 0; }
.spec-hero picture, .spec-hero img { display: block; width: 100%; }
.spec-hero img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; border: 1px solid rgba(17,18,22,.08); box-shadow: 0 18px 45px rgba(37,38,49,.09); }
.spec-hero figcaption { margin-top: 10px; color: #999ba3; font-size: 10px; letter-spacing: .04em; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: center; }
.spec-card { min-height: 152px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.45); }
.spec-index { color: #a6a7ae; font-size: 10px; letter-spacing: .12em; }
.spec-card strong { margin-top: 12px; font-size: 14px; font-weight: 700; }
.spec-card span:last-child { color: #888a93; font-size: 10px; }
.footer { display: flex; justify-content: space-between; padding: 20px 0 27px; border-top: 1px solid var(--line); color: #9a9ba3; font-size: 10px; letter-spacing: .04em; }

@media (max-width: 980px) {
  .site-shell { padding: 0 25px; }
  .hero { grid-template-columns: 1fr; gap: 37px; padding-top: 70px; }
  .hero-copy { max-width: 570px; }
  .hero-lede { max-width: 440px; }
  .stage { height: min(70vw, 600px); min-height: 420px; }
  .specs { gap: 45px; }
}

@media (max-width: 560px) {
  .site-shell { padding: 0 17px; }
  .topbar { height: 70px; gap: 14px; }
  .header-note, .top-nav a:not(:last-child) { display: none; }
  .top-nav { gap: 0; font-size: 11px; }
  .hero { min-height: auto; padding: 34px 0 48px; gap: 18px; }
  h1 { font-size: clamp(53px, 16vw, 75px); }
  .hero-lede { font-size: 13px; line-height: 1.75; }
  .hero-meta { gap: 21px; }
  .meta-item strong { font-size: 22px; }
  .scroll-hint { display: none; }
  .stage { height: 112vw; min-height: 405px; max-height: 510px; border-radius: 19px; }
  .stage-controls { right: 12px; bottom: 38px; left: 12px; gap: 5px; }
  .control-button { padding: 9px 9px; gap: 5px; font-size: 9px; }
  .button-icon { font-size: 12px; }
  .toggle-control { padding-left: 7px; }
  .stage-foot { right: 14px; bottom: 15px; left: 14px; font-size: 7px; }
  .mobile-hint { display: block; }
  .callout { padding: 6px 8px; font-size: 9px; }
  .callout { max-width: 132px; }
  .callout strong { font-size: 9px; }
  .callout span { font-size: 8px; }
  .specs { display: block; padding: 83px 0 90px; }
  .spec-intro { margin-bottom: 35px; }
  .spec-hero { width: min(100%, 430px); margin-top: 28px; }
  .spec-grid { gap: 9px; }
  .spec-card { min-height: 130px; padding: 14px; }
  .spec-card strong { font-size: 12px; }
  .spec-card span:last-child { line-height: 1.45; }
  .footer { font-size: 9px; }
}
