/* AirSign 2.5.1 — signal dark shell, spec plate anatomy. */

@property --dwell-fill {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

:root {
  --ink: #070a08;
  --ink-2: #0a0f0c;
  --panel: #0c1310;
  --panel-2: #101a14;
  --panel-3: #15211a;
  --paper: #f0ede3;
  --paper-2: #e7e2d5;
  --paper-ink: #10160f;
  --paper-muted: #5d655c;
  --text: #eef5ef;
  --muted: #9aac9f;
  --dim: #75857a;
  --signal: #8dffbe;
  --signal-bright: #b5ffd4;
  --signal-deep: #0b7a43;
  --beam: #9fe8ff;
  --amber: #ffd58a;
  --rose: #ff9fb2;
  --line: rgba(196, 255, 219, 0.13);
  --line-soft: rgba(196, 255, 219, 0.07);
  --line-strong: rgba(196, 255, 219, 0.26);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --font-sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", ui-monospace, "Roboto Mono", Consolas, monospace;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --shadow-card: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 14% -8%, rgba(141, 255, 190, 0.07), transparent 62%),
    radial-gradient(900px 700px at 92% 6%, rgba(159, 232, 255, 0.05), transparent 60%),
    linear-gradient(180deg, #070a08 0%, #070a08 55%, #080c09 100%);
  pointer-events: none;
}

img,
svg,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}

::selection {
  background: var(--signal);
  color: #04110a;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--signal);
  color: #04110a;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

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

.shell {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.2vw, 56px);
}

/* Ambient ---------------------------------------------------------------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 255, 219, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 255, 219, 0.028) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 10%, transparent 78%);
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow-a {
  top: -280px;
  left: 42%;
  width: 680px;
  height: 520px;
  background: radial-gradient(circle, rgba(141, 255, 190, 0.16), transparent 66%);
}

.glow-b {
  top: 480px;
  right: -260px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(159, 232, 255, 0.08), transparent 66%);
}

.ambient-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* Type helpers ----------------------------------------------------------- */

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 0.98;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(141, 255, 190, 0.04);
  color: var(--signal);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.atlas-label {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding-block: clamp(78px, 9vw, 132px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.65fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.section-head h2 {
  text-wrap: balance;
}

.section-side {
  display: grid;
  gap: 16px;
  max-width: 430px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.65;
}

.side-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(141, 255, 190, 0.1), 0 0 12px rgba(141, 255, 190, 0.55);
  animation: signal-pulse 2.4s ease-in-out infinite;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-signal {
  background: var(--signal);
  color: #04140b;
  box-shadow: 0 12px 36px -16px rgba(141, 255, 190, 0.6);
}

.btn-signal:hover {
  background: var(--signal-bright);
  box-shadow: 0 18px 44px -16px rgba(141, 255, 190, 0.7);
}

.btn-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: rgba(141, 255, 190, 0.05);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

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

.btn-ink:hover {
  background: #0c1510;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 16px 26px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-glyph {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

.arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow,
.text-link:hover span {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid rgba(141, 255, 190, 0.28);
  padding-bottom: 4px;
  width: fit-content;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  color: var(--signal-bright);
  border-color: var(--signal-bright);
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 8, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  border-bottom-color: var(--line-soft);
}

.scroll-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--signal), var(--beam));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(141, 255, 190, 0.13), rgba(141, 255, 190, 0.02));
  color: var(--signal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
}

.brand-mark-lg {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.brand-mark-lg svg {
  width: 26px;
  height: 26px;
}

.brand-type {
  display: grid;
  gap: 1px;
}

.brand-name {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-sub {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.version-pill {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.quiet-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.quiet-link:hover {
  color: var(--signal);
}

.menu-btn {
  display: none;
  position: relative;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}

.menu-btn span:first-child {
  transform: translateY(-4px);
}

.menu-btn span:last-child {
  transform: translateY(4px);
}

.site-header.menu-open .menu-btn span:first-child {
  transform: rotate(45deg);
}

.site-header.menu-open .menu-btn span:last-child {
  transform: rotate(-45deg);
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(126px, 14vw, 176px);
  padding-bottom: clamp(26px, 3vw, 44px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.86fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(141, 255, 190, 0.035);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-sep {
  color: var(--dim);
}

.hero h1 {
  font-size: clamp(58px, 8.4vw, 112px);
  line-height: 0.87;
  letter-spacing: -0.065em;
  font-weight: 600;
  text-wrap: balance;
}

.h1-line {
  display: block;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--signal);
  padding-right: 0.06em;
}

.lede {
  max-width: 490px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.62;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(22px, 3vw, 46px);
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: grid;
  gap: 4px;
}

.hero-facts dt {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-facts dd {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-micro {
  margin-top: 22px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-micro span {
  margin-inline: 6px;
  color: rgba(196, 255, 219, 0.28);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

/* Tracker console -------------------------------------------------------- */

.tracker {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 32%, rgba(255, 255, 255, 0.02)),
    #0a100c;
  box-shadow:
    0 50px 100px -50px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.tracker::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 19%;
  right: 19%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 190, 0.7), transparent);
}

.tracker-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 14px;
}

.tracker-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
}

.tracker-serial {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.tracker-stage {
  position: relative;
  height: clamp(360px, 36vw, 476px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 17px;
  background:
    radial-gradient(120% 85% at 50% 108%, rgba(141, 255, 190, 0.13), transparent 60%),
    radial-gradient(80% 60% at 50% 0%, rgba(159, 232, 255, 0.05), transparent 60%),
    #050a07;
  --rig-line: #9dffc5;
  --rig-line-soft: rgba(157, 255, 197, 0.28);
  --rig-fill: rgba(141, 255, 190, 0.12);
  --rig-surface: #06110a;
  --rig-accent: #d6ffe6;
  isolation: isolate;
}

.tracker-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 42%), rgba(141, 255, 190, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.tracker:hover .tracker-stage::after {
  opacity: 1;
}

.tracker-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 255, 219, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 255, 219, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 82% 78% at 50% 52%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 52%, #000 35%, transparent 100%);
}

.tracker-scan {
  position: absolute;
  left: -10%;
  right: -10%;
  top: -34%;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(141, 255, 190, 0.07) 55%, rgba(141, 255, 190, 0.16) 100%);
  border-bottom: 1px solid rgba(141, 255, 190, 0.22);
  animation: scan-line 7s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  pointer-events: none;
}

.tracker-corner {
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: rgba(141, 255, 190, 0.5);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}

.tracker-corner.tl { top: 15px; left: 15px; border-width: 1px 0 0 1px; }
.tracker-corner.tr { top: 15px; right: 15px; border-width: 1px 1px 0 0; }
.tracker-corner.bl { bottom: 15px; left: 15px; border-width: 0 0 1px 1px; }
.tracker-corner.br { bottom: 15px; right: 15px; border-width: 0 1px 1px 0; }

.tracker-rig {
  position: absolute;
  inset: 4% 7%;
  z-index: 2;
  display: grid;
  place-items: center;
}

.tracker-coords {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 4;
  display: grid;
  gap: 2px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-align: right;
  pointer-events: none;
}

.tracker-coords b {
  color: var(--signal);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.tracker-status {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 10, 7, 0.6);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.tracker-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
}

.tracker-pose {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 4;
  display: grid;
  gap: 3px;
  pointer-events: none;
}

.tracker-pose-label {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tracker-pose-note {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.tracker-poses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.tracker-poses button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tracker-poses button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.tracker-poses button.is-active {
  border-color: rgba(141, 255, 190, 0.3);
  background: rgba(141, 255, 190, 0.1);
  color: var(--signal);
}

.pose-key {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.tracker-poses button.is-active .pose-key {
  color: var(--signal);
}

.tracker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 6px 2px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tracker-caption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding-left: 4px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.caption-tick {
  width: 14px;
  height: 1px;
  flex: none;
  margin-top: 7px;
  background: var(--signal);
}

/* Hero field ------------------------------------------------------------- */

.hero-field {
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-field-rings {
  transform-origin: 286px 238px;
  animation: hero-field-turn 90s linear infinite;
}

.hero-field-ring {
  fill: none;
  stroke: rgba(141, 255, 190, 0.13);
  stroke-width: 1;
  stroke-dasharray: 1 12;
}

.hero-frame {
  fill: rgba(5, 13, 8, 0.46);
  stroke: rgba(157, 255, 197, 0.16);
  stroke-width: 1;
  transition: stroke 0.4s ease;
}

.hero-chrome-dot {
  fill: rgba(157, 255, 197, 0.22);
}

.hero-card-shell {
  fill: rgba(9, 24, 15, 0.94);
  stroke: rgba(157, 255, 197, 0.14);
  stroke-width: 1;
}

.hero-card-thumb {
  fill: url(#heroCardThumb);
  stroke: rgba(157, 255, 197, 0.16);
  stroke-width: 1;
}

.hero-line {
  fill: rgba(214, 255, 230, 0.5);
}

.hero-line--dim {
  fill: rgba(214, 255, 230, 0.22);
}

.hero-card {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.55, 0, 0.2, 1), opacity 0.35s ease;
}

.hero-card--drag {
  transform: rotate(-3deg);
}

.hero-card--idle {
  transform: rotate(2deg);
}

.tracker[data-pose="fist"] .hero-card--drag {
  transform: translate(-6px, -12px) rotate(-6deg);
}

.tracker[data-pose="fist"] .hero-card--idle,
.tracker[data-pose="pinch"] .hero-card {
  opacity: 0.55;
}

.tracker[data-pose="fist"] .hero-frame {
  stroke: rgba(255, 213, 138, 0.3);
}

.tracker[data-pose="pinch"] .hero-frame {
  stroke: rgba(159, 232, 255, 0.32);
}

.tracker[data-pose="scroll"] .hero-frame {
  stroke: rgba(159, 232, 255, 0.24);
}

.hero-tag {
  fill: rgba(157, 255, 197, 0.42);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
}

.hero-button {
  fill: rgba(141, 255, 190, 0.13);
  stroke: rgba(141, 255, 190, 0.32);
  stroke-width: 1;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.hero-button-label {
  fill: var(--signal);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  transition: fill 0.3s ease;
}

.tracker[data-pose="pinch"] .hero-button {
  fill: var(--signal);
  stroke: var(--signal);
}

.tracker[data-pose="pinch"] .hero-button-label {
  fill: #04170d;
}

.hero-target-ring {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.1;
  stroke-dasharray: 2 6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.3s ease;
}

.tracker[data-pose="pinch"] .hero-target-ring {
  opacity: 0.9;
  animation: hero-target-pulse 2.4s ease-in-out infinite;
}

.hero-click-ripple {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.tracker.is-clicking .hero-click-ripple {
  animation: hero-ripple 0.75s var(--ease) both;
}

.hero-rail-track {
  fill: rgba(8, 20, 13, 0.72);
  stroke: rgba(157, 255, 197, 0.18);
  stroke-width: 1;
  transition: stroke 0.3s ease;
}

.hero-rail-thumb {
  fill: rgba(157, 255, 197, 0.32);
  transition: fill 0.3s ease;
}

.hero-rail-chevron {
  fill: rgba(157, 255, 197, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tracker[data-pose="scroll"] .hero-rail-track {
  stroke: rgba(141, 255, 190, 0.5);
}

.tracker[data-pose="scroll"] .hero-rail-thumb {
  fill: var(--signal);
  animation: hero-rail-glide 2.8s ease-in-out infinite;
}

.tracker[data-pose="scroll"] .hero-rail-chevron {
  opacity: 1;
}

.hero-trail {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 2 8;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tracker[data-pose="point"] .hero-trail--point,
.tracker[data-pose="pinch"] .hero-trail--pinch,
.tracker[data-pose="fist"] .hero-trail--fist,
.tracker[data-pose="scroll"] .hero-trail--scroll {
  opacity: 0.42;
}

.hero-origin-ring {
  fill: none;
  stroke: rgba(141, 255, 190, 0.45);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-origin-pulse 3.2s ease-out infinite;
}

.hero-origin-dot {
  fill: var(--signal);
}

.hero-cursor {
  transition: transform 0.7s cubic-bezier(0.55, 0, 0.15, 1);
}

.tracker[data-pose="point"] .hero-cursor {
  transform: translate(282px, 242px);
}

.tracker[data-pose="pinch"] .hero-cursor {
  transform: translate(366px, 313px);
}

.tracker[data-pose="fist"] .hero-cursor {
  transform: translate(198px, 194px);
}

.tracker[data-pose="scroll"] .hero-cursor {
  transform: translate(506px, 226px);
}

.hero-cursor-core {
  animation: hero-cursor-bob 5s ease-in-out infinite;
}

.hero-cursor-halo {
  fill: url(#heroFieldGlow);
}

.hero-cursor-ring {
  fill: none;
  stroke: rgba(214, 255, 230, 0.55);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-cursor-spin 14s linear infinite;
}

.hero-cursor-ticks {
  fill: none;
  stroke: rgba(141, 255, 190, 0.6);
  stroke-width: 1;
}

.hero-cursor-arrow {
  fill: #eafff3;
  stroke: #04130a;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.hero-cursor-tip {
  fill: var(--signal);
}

.hero-grip {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tracker[data-pose="fist"] .hero-grip {
  opacity: 1;
}

.hero-grip-ring {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.2;
  stroke-dasharray: 3 7;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-grip-spin 18s linear infinite;
}

.hero-grip-ticks {
  fill: none;
  stroke: rgba(141, 255, 190, 0.55);
  stroke-width: 1;
}

@keyframes hero-field-turn {
  to { transform: rotate(360deg); }
}

@keyframes hero-cursor-spin {
  to { transform: rotate(-360deg); }
}

@keyframes hero-cursor-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes hero-origin-pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

@keyframes hero-target-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 0.55; }
}

@keyframes hero-ripple {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes hero-rail-glide {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(78px); }
}

@keyframes hero-grip-spin {
  to { transform: rotate(360deg); }
}

/* Hand rig --------------------------------------------------------------- */

.hand-rig-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.rig-inner {
  transform-origin: 180px 300px;
}

.rig-aura {
  opacity: 0.85;
}

.rig-cuff {
  stroke: var(--rig-line-soft, rgba(141, 255, 190, 0.25));
  stroke-width: 1;
}

.atlas-plate .rig-cuff {
  display: none;
}

.rig-palm {
  stroke: none;
}

.rig-palm-edge {
  fill: none;
  stroke: var(--rig-line-soft, rgba(141, 255, 190, 0.25));
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
}

.rig-finger {
  transition: opacity 0.4s ease;
}

.rig-volume {
  fill: none;
  stroke: var(--rig-fill, rgba(141, 255, 190, 0.12));
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rig-bone {
  fill: none;
  stroke: var(--rig-line, #9dffc5);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.82;
}

.rig-joints circle {
  fill: var(--rig-surface, #06110a);
  stroke: var(--rig-line, #9dffc5);
  stroke-width: 1.2;
}

.rig-tip {
  fill: var(--rig-accent, #d6ffe6);
}

.rig-wrist-joint {
  fill: var(--rig-surface, #06110a);
  stroke: var(--rig-line-soft, rgba(141, 255, 190, 0.28));
  stroke-width: 1.1;
}

.rig-cursor-halo {
  fill: var(--rig-line, #9dffc5);
  opacity: 0.1;
}

.rig-cursor-ticks {
  fill: none;
  stroke: var(--rig-line, #9dffc5);
  stroke-width: 1;
}

.rig-cursor-dot {
  fill: var(--rig-accent, #d6ffe6);
}

.rig-contact-ring {
  fill: none;
  stroke: var(--rig-accent, #d6ffe6);
  stroke-width: 1.1;
  stroke-dasharray: 3 4;
}

.rig-contact-core {
  fill: var(--rig-accent, #d6ffe6);
}

.rig-grip-ring {
  fill: none;
  stroke: var(--rig-line, #9dffc5);
  stroke-width: 1.1;
  stroke-dasharray: 2 7;
  opacity: 0.65;
}

.rig-grip-tick {
  fill: none;
  stroke: var(--rig-line, #9dffc5);
  stroke-width: 1;
  opacity: 0.55;
}

.rig-dwell-track,
.rig-dwell-fill {
  fill: none;
  stroke-width: 1.4;
}

.rig-dwell-track {
  stroke: var(--rig-line-soft, rgba(141, 255, 190, 0.28));
}

.rig-cursor,
.rig-contact,
.rig-grip,
.rig-dwell {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hand-rig-svg[data-pose="point"] .rig-cursor,
.hand-rig-svg[data-pose="scroll"] .rig-cursor,
.hand-rig-svg[data-pose="pinch"] .rig-cursor,
.hand-rig-svg[data-pose="pinch"] .rig-contact {
  opacity: 1;
}

.hand-rig-svg[data-pose="fist"] .rig-grip {
  opacity: 1;
}

.hand-rig-svg[data-pose="point"] .rig-finger--thumb,
.hand-rig-svg[data-pose="point"] .rig-finger--middle,
.hand-rig-svg[data-pose="point"] .rig-finger--ring,
.hand-rig-svg[data-pose="point"] .rig-finger--pinky,
.hand-rig-svg[data-pose="scroll"] .rig-finger--thumb,
.hand-rig-svg[data-pose="scroll"] .rig-finger--ring,
.hand-rig-svg[data-pose="scroll"] .rig-finger--pinky,
.hand-rig-svg[data-pose="pinch"] .rig-finger--middle,
.hand-rig-svg[data-pose="pinch"] .rig-finger--ring,
.hand-rig-svg[data-pose="pinch"] .rig-finger--pinky {
  opacity: 0.36;
}

.atlas-rig[data-mode="dwell"] .rig-dwell {
  opacity: 1;
}

.atlas-rig[data-mode="dwell"] .rig-dwell-fill {
  animation: dwell-sweep 2.6s linear infinite;
}

.rig-dwell-fill {
  stroke: var(--rig-accent, #d6ffe6);
  stroke-dasharray: 157.1;
  stroke-dashoffset: 157.1;
  transform: rotate(-90deg);
  transform-origin: center;
}

@keyframes dwell-sweep {
  from { stroke-dashoffset: 157.1; }
  to { stroke-dashoffset: 0; }
}

.rig-inner--plain .rig-cursor,
.rig-inner--plain .rig-contact,
.rig-inner--plain .rig-grip,
.rig-inner--plain .rig-dwell {
  display: none;
}

.tracker[data-pose="pinch"] .tracker-pose-label {
  color: var(--beam);
}

.tracker.is-clicking .tracker-stage {
  box-shadow: inset 0 0 60px rgba(141, 255, 190, 0.09);
}

.tracker.is-clicking .rig-contact-ring {
  animation: contact-ping 0.7s var(--ease);
}

.tracker[data-pose="fist"] .tracker-pose-label {
  color: var(--amber);
}

.tracker[data-pose="scroll"] .tracker-pose-label {
  color: var(--beam);
}

/* Signal strip ----------------------------------------------------------- */

.signal-strip {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(4, 20, 11, 0.22);
  background: var(--signal);
  color: #05170d;
}

.strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 46px;
  animation: marquee 46s linear infinite;
}

.strip-item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-inline: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.strip-item i {
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  opacity: 0.5;
}

.strip-sep {
  font-size: 7px;
  opacity: 0.4;
}

/* Playground ------------------------------------------------------------- */

.playground-section {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(141, 255, 190, 0.035), transparent 66%),
    var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}

.lab {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008) 30%),
    #090f0b;
  box-shadow: var(--shadow-card);
  --room: 0.5;
}

.lab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 190, 0.45), transparent);
  z-index: 2;
}

.lab-top {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.lab-ident {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #4a5a4f;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.lab.is-live .status-dot {
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(141, 255, 190, 0.09), 0 0 14px rgba(141, 255, 190, 0.55);
  animation: signal-pulse 2.4s ease-in-out infinite;
}

.lab.is-paused .status-dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 213, 138, 0.09), 0 0 12px rgba(255, 213, 138, 0.4);
}

.lab.is-starting .status-dot {
  background: var(--beam);
  box-shadow: 0 0 0 4px rgba(159, 232, 255, 0.09), 0 0 12px rgba(159, 232, 255, 0.5);
  animation: signal-pulse 1s ease-in-out infinite;
}

.lab-ident div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lab-ident strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lab-ident span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lab.is-paused .lab-ident span {
  color: var(--amber);
}

.lab-metrics {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.metric {
  display: grid;
  gap: 1px;
  min-width: 88px;
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.metric span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.13em;
}

.metric strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.lab-actions {
  display: flex;
  gap: 7px;
}

.lab-actions .btn {
  white-space: nowrap;
}

.lab-body {
  position: relative;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 13px;
  padding: 15px;
}

.practice {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  transition: border-color 0.25s ease, background 0.25s ease;
}

.practice:hover {
  border-color: var(--line);
}

.p-click { grid-column: span 4; min-height: 312px; }
.p-light { grid-column: span 4; min-height: 312px; }
.p-slider { grid-column: span 4; min-height: 312px; }
.p-stage { grid-column: span 7; min-height: 306px; }
.p-feed { grid-column: span 5; min-height: 306px; }
.p-coach { grid-column: span 3; min-height: 240px; }

.practice-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.practice-no {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.practice-hint {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.practice-caption {
  max-width: 44ch;
  margin: auto 0 0;
  padding-top: 16px;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.55;
}

/* Target */

.target {
  position: relative;
  display: grid;
  place-items: center;
  width: min(172px, 76%);
  aspect-ratio: 1;
  margin: 12px auto 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 44%, rgba(141, 255, 190, 0.16), rgba(141, 255, 190, 0.025) 52%, transparent 70%);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.target::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 255, 190, 0.12), transparent 70%);
  filter: blur(12px);
  transition: opacity 0.25s ease;
}

.target-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.target-rings > span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(141, 255, 190, 0.17);
  border-radius: 50%;
  transition: border-color 0.25s ease, transform 0.35s var(--ease);
}

.target-rings > span:nth-child(2) { inset: 13%; border-color: rgba(141, 255, 190, 0.28); }
.target-rings > span:nth-child(3) { inset: 27%; border-color: rgba(141, 255, 190, 0.4); }

.target-rings::after {
  content: "";
  position: absolute;
  top: 7%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  transform-origin: 0 74px;
  animation: orbit 10s linear infinite;
}

.target:hover .target-rings > span {
  border-color: rgba(141, 255, 190, 0.6);
  transform: scale(1.035);
}

.target-core {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 1px;
}

.target-core strong {
  color: #f4fff7;
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.target-core small {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.target.hit {
  animation: target-pop 0.42s var(--ease);
}

.target.hit .target-rings > span {
  animation: ring-flash 0.5s var(--ease);
}

/* Lamp */

.lamp {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 30px 0 8px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.lamp-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.lamp-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lamp-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lamp-copy strong {
  font-size: 12.5px;
  font-weight: 600;
}

.lamp-copy small {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lamp .switch {
  margin-left: auto;
}

.lamp[aria-checked="true"] {
  border-color: rgba(255, 213, 138, 0.28);
  background: rgba(255, 213, 138, 0.06);
  box-shadow: inset 0 0 40px rgba(255, 213, 138, 0.035);
}

.lamp[aria-checked="true"] .lamp-icon {
  border-color: rgba(255, 213, 138, 0.4);
  background: rgba(255, 213, 138, 0.14);
  color: var(--amber);
  box-shadow: 0 0 26px rgba(255, 213, 138, 0.22);
}

.lamp[aria-checked="true"] .lamp-copy small {
  color: var(--amber);
}

/* Switch */

.switch {
  display: inline-flex;
  align-items: center;
  width: 35px;
  height: 21px;
  flex: none;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.22s ease;
}

.switch > span {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #87968b;
  transition: transform 0.22s var(--ease), background 0.22s ease, box-shadow 0.22s ease;
}

[aria-checked="true"] > .switch {
  background: rgba(141, 255, 190, 0.32);
}

[aria-checked="true"] > .switch > span {
  background: var(--signal);
  transform: translateX(14px);
  box-shadow: 0 0 12px rgba(141, 255, 190, 0.6);
}

/* Slider */

.slider {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  margin: auto 4px 8px;
  cursor: pointer;
  touch-action: none;
  border-radius: 8px;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
}

.slider-fill {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(141, 255, 190, 0.45), var(--signal));
  box-shadow: 0 0 16px rgba(141, 255, 190, 0.35);
}

.slider-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: #eefff5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 0 16px rgba(141, 255, 190, 0.18);
  transform: translate(-50%, -50%);
  transition: box-shadow 0.2s ease, transform 0.2s var(--ease);
  pointer-events: none;
}

.slider-thumb > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0a7a44;
}

.slider:hover .slider-thumb,
.slider.dragging .slider-thumb {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 0 0 5px rgba(141, 255, 190, 0.1), 0 0 22px rgba(141, 255, 190, 0.35);
}

.slider.dragging .slider-thumb {
  transform: translate(-50%, -50%) scale(1.1);
}

.slider:focus-visible {
  outline-offset: 7px;
}

/* Drag stage */

.drag-stage {
  position: relative;
  flex: 1;
  min-height: 182px;
  margin: 13px 0 2px;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(2, 7, 4, 0.35);
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 82%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 82%);
}

.stage-tag {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}

.note-card {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 2;
  display: grid;
  gap: 3px;
  width: 176px;
  padding: 17px 15px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: linear-gradient(152deg, #f8f4ea 0%, #e9e1d0 100%);
  color: #1d1a14;
  text-align: left;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
  transform: rotate(-2.4deg);
  transition: box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.note-card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: rgba(177, 135, 79, 0.55);
  box-shadow: 0 1px 2px rgba(80, 54, 20, 0.25) inset;
}

.note-card:hover {
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.48), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
}

.note-card.dragging {
  cursor: grabbing;
  transform: rotate(0) scale(1.035);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.52), 0 0 0 3px rgba(141, 255, 190, 0.18);
  transition: box-shadow 0.2s ease;
}

.note-grip {
  position: absolute;
  top: 9px;
  right: 11px;
  color: rgba(85, 68, 40, 0.35);
  font-size: 11px;
  letter-spacing: -2px;
}

.note-title {
  padding-top: 7px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.note-meta {
  color: #8a7b64;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Feed */

.feed {
  position: relative;
  margin: 11px -3px 2px;
  padding: 2px 5px;
  border-radius: 10px;
}

.feed-item {
  display: flex;
  gap: 12px;
  padding: 10px 9px;
  border-bottom: 1px solid var(--line-soft);
}

.feed-item:last-child {
  border-bottom: 0;
}

.feed-item > span {
  padding-top: 1px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.feed-item strong {
  display: block;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}

.feed-item p {
  margin: 3px 0 0;
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.5;
}

/* Live coach */

.coach-view {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 168px;
  margin: 10px 0 2px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background:
    linear-gradient(rgba(196, 255, 219, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 255, 219, 0.04) 1px, transparent 1px),
    #060c08;
  background-size: 22px 22px, 22px 22px, auto;
  --rig-line: #9dffc5;
  --rig-line-soft: rgba(157, 255, 197, 0.25);
  --rig-fill: rgba(141, 255, 190, 0.1);
  --rig-surface: #060c08;
  --rig-accent: #d6ffe6;
}

.coach-rig {
  width: 66%;
  height: 160px;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.p-coach.is-off .coach-rig {
  opacity: 0.16;
  filter: grayscale(0.6);
}

.coach-off {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 10, 7, 0.82);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.p-coach:not(.is-off) .coach-off {
  opacity: 0;
}

/* Tuning */

.tuning {
  grid-column: span 9;
  display: grid;
  grid-template-columns: minmax(150px, 0.62fr) minmax(0, 2.35fr);
  align-items: center;
  gap: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(141, 255, 190, 0.045), rgba(255, 255, 255, 0.014) 42%, rgba(255, 255, 255, 0.014));
}

.tuning-copy h3 {
  margin: 7px 0 5px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.tuning-copy p {
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.5;
}

.tuning-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

.setting-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.setting-toggle:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.setting-toggle > span:first-child {
  display: grid;
  gap: 2px;
}

.setting-toggle strong {
  font-size: 11px;
  font-weight: 600;
}

.setting-toggle small {
  color: var(--dim);
  font-size: 8.5px;
  letter-spacing: 0.01em;
}

.setting {
  min-width: 0;
}

.setting-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.setting-head strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.setting-head small {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.segmented {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.2);
}

.segmented button {
  flex: 1;
  padding: 6px 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.segmented button:hover {
  color: var(--text);
}

.segmented button.is-active {
  background: rgba(141, 255, 190, 0.13);
  color: var(--signal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.range {
  width: 100%;
  height: 20px;
  margin: 0;
  accent-color: var(--signal);
  cursor: pointer;
}

/* Start overlay */

.start-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 26px;
  background: rgba(5, 9, 7, 0.36);
  -webkit-backdrop-filter: blur(7px) saturate(85%);
  backdrop-filter: blur(7px) saturate(85%);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lab.is-live .start-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.start-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  width: min(680px, 100%);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(540px 240px at 84% -20%, rgba(141, 255, 190, 0.13), transparent 70%),
    rgba(8, 13, 10, 0.97);
  box-shadow: 0 46px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.start-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26%;
  right: 26%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 190, 0.65), transparent);
  z-index: 2;
}

.start-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
  background:
    radial-gradient(70% 70% at 50% 95%, rgba(141, 255, 190, 0.16), transparent 68%),
    #050b07;
  --rig-line: #9dffc5;
  --rig-line-soft: rgba(157, 255, 197, 0.26);
  --rig-fill: rgba(141, 255, 190, 0.1);
  --rig-surface: #050b07;
  --rig-accent: #d6ffe6;
}

.start-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 255, 219, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 255, 219, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 55%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000, transparent 80%);
}

.start-rig {
  position: relative;
  width: 74%;
  height: 226px;
}

.start-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 9, 6, 0.72);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.start-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dim);
}

.start-copy-wrap {
  padding: 30px 30px 26px;
  text-align: left;
}

.mini-label {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.start-copy-wrap h3 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.start-copy {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.start-copy-wrap .btn {
  width: 100%;
}

.start-error {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 159, 178, 0.35);
  border-radius: 10px;
  background: rgba(255, 159, 178, 0.08);
  color: #ffc3ce;
  font-size: 11px;
  line-height: 1.5;
}

.load-note {
  margin-top: 10px;
  color: var(--beam);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.privacy-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.45;
}

.privacy-line svg {
  width: 13px;
  height: 13px;
  flex: none;
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.noscript-note {
  margin-top: 12px;
  color: var(--rose);
  font-size: 11px;
}

.start-card .btn.is-busy {
  pointer-events: none;
  opacity: 0.62;
}

.lab-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding: 13px 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lab-hints b {
  color: var(--muted);
  font-weight: 500;
}

.lab-local {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--signal);
}

.lab-local i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
}

.lab-note {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Gesture atlas ---------------------------------------------------------- */

.gesture-section {
  background:
    radial-gradient(1000px 600px at 50% 10%, rgba(240, 237, 227, 0.035), transparent 65%),
    #0a0f0c;
  border-bottom: 1px solid var(--line-soft);
}

.atlas {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.atlas-tabs {
  display: grid;
  gap: 6px;
  position: sticky;
  top: 96px;
}

.atlas-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.atlas-tab:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.atlas-tab.is-active {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8);
}

.atlas-tab-no {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.atlas-tab.is-active .atlas-tab-no {
  color: var(--signal-deep);
}

.atlas-tab-body {
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.atlas-tab-body strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.atlas-tab-body small {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.atlas-tab.is-active .atlas-tab-body small {
  color: #485046;
}

.atlas-tab-arrow {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.atlas-tab.is-active .atlas-tab-arrow {
  opacity: 1;
  transform: none;
  color: var(--signal-deep);
}

.atlas-main {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 16px;
  align-items: stretch;
}

/* Spec plate */

.atlas-plate {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(16, 22, 15, 0.2);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(16, 22, 15, 0.045) 39px 40px),
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.6), transparent 60%);
  color: var(--paper-ink);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
  --rig-line: #121c15;
  --rig-line-soft: rgba(18, 28, 21, 0.24);
  --rig-fill: rgba(18, 28, 21, 0.06);
  --rig-surface: var(--paper);
  --rig-accent: #0b7a43;
}

.atlas-plate::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(16, 22, 15, 0.12);
  border-radius: 15px;
  pointer-events: none;
}

.plate-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid rgba(16, 22, 15, 0.16);
}

.plate-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.plate-alias {
  padding: 4px 8px;
  border: 1px solid rgba(16, 22, 15, 0.28);
  border-radius: 999px;
  color: var(--signal-deep);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.plate-rig {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 392px;
  flex: 1;
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid rgba(16, 22, 15, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(rgba(16, 22, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 15, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.18);
  background-size: 26px 26px, 26px 26px, auto;
}

.plate-grid {
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(16, 22, 15, 0.16);
  border-radius: 8px;
  pointer-events: none;
}

.plate-axis {
  position: absolute;
  color: rgba(16, 22, 15, 0.35);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.axis-x {
  left: 18px;
  bottom: 14px;
}

.axis-y {
  left: 18px;
  top: 14px;
}

.atlas-rig {
  width: min(78%, 360px);
  height: 356px;
}

.finger-keys {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 4px;
}

.finger-key {
  display: grid;
  place-items: center;
  gap: 0;
  width: 32px;
  height: 38px;
  border: 1px solid rgba(16, 22, 15, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.4);
  color: rgba(16, 22, 15, 0.45);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.finger-key small {
  font-size: 5.5px;
  letter-spacing: 0.03em;
  opacity: 0.7;
}

.finger-key.is-active {
  border-color: var(--paper-ink);
  background: var(--paper-ink);
  color: var(--signal);
}

.plate-note,
.plate-scale {
  position: absolute;
  bottom: 16px;
  left: 18px;
  color: rgba(16, 22, 15, 0.38);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

.plate-scale {
  left: auto;
  right: 198px;
  bottom: 20px;
  font-size: 7px;
}

.plate-readout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  padding: 2px 4px 0;
}

.plate-readout > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding-top: 9px;
  border-top: 1px dashed rgba(16, 22, 15, 0.18);
}

.plate-readout dt {
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plate-readout dd {
  font-size: 11.5px;
  line-height: 1.5;
}

/* Atlas side */

.atlas-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.action-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #080d0a;
  box-shadow: var(--shadow-card);
}

.ap-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #050907;
}

.ap-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
}

.ap-dots {
  display: inline-flex;
  gap: 3px;
}

.ap-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.ap-url {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

.ap-rec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.ap-rec i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
  animation: signal-pulse 2s ease-in-out infinite;
}

.ap-page {
  position: relative;
  height: 234px;
  overflow: hidden;
  padding: 42px 16px 34px;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(141, 255, 190, 0.055), transparent 65%),
    linear-gradient(rgba(196, 255, 219, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 255, 219, 0.035) 1px, transparent 1px),
    #060b08;
  background-size: auto, 24px 24px, 24px 24px, auto;
}

.ap-page::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16px;
  width: 38%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 0 -1px rgba(255, 255, 255, 0.05);
}

.ap-card {
  position: absolute;
  top: 46px;
  display: grid;
  gap: 4px;
  width: 116px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.ap-card-a {
  left: 16px;
}

.ap-card-b {
  left: 146px;
}

.ap-thumb {
  display: block;
  width: 100%;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(141, 255, 190, 0.22), rgba(159, 232, 255, 0.08));
}

.ap-card-b .ap-thumb {
  background: linear-gradient(135deg, rgba(159, 232, 255, 0.16), rgba(141, 255, 190, 0.06));
}

.ap-card b {
  color: var(--text);
  font-size: 8.5px;
  font-weight: 600;
}

.ap-card em {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
}

.ap-button {
  position: absolute;
  right: 16px;
  bottom: 54px;
  padding: 7px 12px;
  border: 1px solid rgba(141, 255, 190, 0.4);
  border-radius: 999px;
  background: rgba(141, 255, 190, 0.12);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.ap-slider {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 22px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.ap-slider i {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: var(--signal);
}

.ap-slider b {
  position: absolute;
  top: 50%;
  left: 58%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(141, 255, 190, 0.5);
}

.ap-cursor {
  position: absolute;
  left: 30%;
  top: 58%;
  z-index: 5;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ap-cursor-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--signal);
  border-radius: 50%;
  opacity: 0.65;
}

.ap-cursor-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
  transform: translate(-50%, -50%);
}

.ap-click-pulse {
  position: absolute;
  right: 32px;
  bottom: 61px;
  z-index: 4;
  width: 56px;
  height: 56px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  opacity: 0;
  transform: translate(50%, 50%);
  pointer-events: none;
}

.ap-dwell-ring {
  position: absolute;
  right: 48px;
  bottom: 77px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(var(--signal) var(--dwell-fill), rgba(141, 255, 190, 0.16) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  opacity: 0;
  pointer-events: none;
}

.ap-tag {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 5;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--signal);
  color: #05130b;
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ap-tag::before {
  content: "MOVE";
}

.action-preview[data-gesture="pinch"] .ap-tag::before { content: "CLICK"; }
.action-preview[data-gesture="drag"] .ap-tag::before { content: "DRAG"; }
.action-preview[data-gesture="scroll"] .ap-tag::before { content: "SCROLL"; }
.action-preview[data-gesture="dwell"] .ap-tag::before { content: "DWELL"; }

.action-preview[data-gesture="point"] .ap-cursor {
  animation: ap-cursor-point 5.2s ease-in-out infinite;
}

.action-preview[data-gesture="pinch"] .ap-cursor {
  animation: ap-cursor-pinch 5.2s ease-in-out infinite;
}

.action-preview[data-gesture="pinch"] .ap-click-pulse {
  animation: ap-click 5.2s ease-out infinite;
}

.action-preview[data-gesture="drag"] .ap-cursor {
  animation: ap-cursor-drag 5.2s ease-in-out infinite;
}

.action-preview[data-gesture="drag"] .ap-card-a {
  animation: ap-card-drag 5.2s ease-in-out infinite;
}

.action-preview[data-gesture="scroll"] .ap-cursor {
  animation: ap-cursor-scroll 5.2s ease-in-out infinite;
}

.action-preview[data-gesture="scroll"] .ap-card,
.action-preview[data-gesture="scroll"] .ap-button,
.action-preview[data-gesture="scroll"] .ap-slider {
  animation: ap-page-scroll 5.2s ease-in-out infinite;
}

.action-preview[data-gesture="dwell"] .ap-cursor {
  animation: ap-cursor-dwell 5.2s ease-in-out infinite;
}

.action-preview[data-gesture="dwell"] .ap-dwell-ring {
  animation: ap-dwell 5.2s linear infinite;
}

.action-preview[data-gesture="dwell"] .ap-click-pulse {
  animation: ap-click-dwell 5.2s ease-out infinite;
}

.action-preview.is-run .ap-window {
  animation: ap-in 0.5s var(--ease);
}

.ap-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 4px 0;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
}

.ap-caption i {
  color: var(--signal);
  font-style: normal;
}

/* Atlas steps */

.atlas-steps {
  padding: 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.atlas-steps ol {
  display: grid;
  gap: 0;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.atlas-steps li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.atlas-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.atlas-steps li > span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 8px;
}

.atlas-steps p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.atlas-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(159, 232, 255, 0.18);
  border-radius: 12px;
  background: rgba(159, 232, 255, 0.045);
}

.tip-mark {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1px solid rgba(159, 232, 255, 0.35);
  border-radius: 50%;
  color: var(--beam);
  font-family: var(--font-mono);
  font-size: 9px;
}

.atlas-tip p {
  color: #a9c4c9;
  font-size: 10.5px;
  line-height: 1.5;
}

.atlas-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.icon-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-nav:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.auto-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  padding: 0 14px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.auto-btn.is-on {
  color: var(--signal);
  border-color: rgba(141, 255, 190, 0.28);
}

.auto-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.auto-btn.is-on .auto-dot {
  box-shadow: 0 0 7px currentColor;
  animation: signal-pulse 2.4s ease-in-out infinite;
}

/* Pipeline --------------------------------------------------------------- */

.how-section {
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.pipeline {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006) 40%),
    #090f0b;
  box-shadow: var(--shadow-card);
}

.pipeline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.pipeline-title {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.pipeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.pipeline-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr) 62px minmax(0, 1fr) 62px minmax(0, 1fr);
  align-items: stretch;
  padding: clamp(20px, 3vw, 34px);
}

.pipe-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pipe-no {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.pipe-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 8px 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(141, 255, 190, 0.04);
  color: var(--signal);
}

.pipe-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pipe-step h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.pipe-step p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.pipe-time {
  margin-top: auto;
  padding-top: 14px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

.pipe-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pipe-link i {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  position: relative;
}

.pipe-link i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -2px;
  border: 2.5px solid transparent;
  border-left-color: var(--line-strong);
}

.pipe-link b {
  font-weight: 400;
  padding-top: 4px;
}

.pipeline-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.pipeline-meter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--signal);
}

.pipeline-meter i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.pipeline-meter b {
  margin-left: 6px;
  font-weight: 500;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin-top: 26px;
}

.privacy-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tick {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid rgba(141, 255, 190, 0.3);
  border-radius: 50%;
  color: var(--signal);
  font-size: 11px;
}

.privacy-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13.5px;
  font-weight: 600;
}

.privacy-point p {
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.55;
}

/* Bento features --------------------------------------------------------- */

.features-section {
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(159, 232, 255, 0.035), transparent 60%),
    #0a0f0c;
  border-bottom: 1px solid var(--line-soft);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
  transition: border-color 0.25s ease, transform 0.3s var(--ease), background 0.25s ease;
}

.bento-card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}

.bento-card h3 {
  margin-bottom: 9px;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.bento-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.bento-privacy {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: 24px;
  min-height: 254px;
  background:
    radial-gradient(80% 120% at 100% 50%, rgba(141, 255, 190, 0.08), transparent 62%),
    linear-gradient(140deg, rgba(141, 255, 190, 0.06), rgba(255, 255, 255, 0.01) 55%);
}

.bento-card:nth-child(2) {
  grid-column: span 5;
}

.bento-card:nth-child(3),
.bento-card:nth-child(4) {
  grid-column: span 4;
}

.bento-card:nth-child(6) {
  grid-column: 7 / span 6;
  grid-row: 3;
}

.bento-card:nth-child(7) {
  grid-column: 9 / span 4;
  grid-row: 2;
}

.bento-pause {
  grid-column: 1 / span 6;
  grid-row: 3;
}

.feature-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(141, 255, 190, 0.28);
  border-radius: 999px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(141, 255, 190, 0.04);
  color: var(--signal);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
}

.pv-shield {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(141, 255, 190, 0.35);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(141, 255, 190, 0.13), transparent 68%),
    rgba(5, 12, 8, 0.55);
  box-shadow: 0 0 0 12px rgba(141, 255, 190, 0.03), 0 0 60px rgba(141, 255, 190, 0.1);
}

.pv-shield span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.pv-shield small {
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pv-lines {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.pv-lines i {
  position: absolute;
  border: 1px solid rgba(141, 255, 190, 0.12);
  border-radius: 50%;
}

.pv-lines i:nth-child(1) { width: 172px; height: 172px; }
.pv-lines i:nth-child(2) { width: 212px; height: 212px; border-style: dashed; opacity: 0.7; }
.pv-lines i:nth-child(3) { width: 252px; height: 252px; opacity: 0.4; }

/* Pause card */

.bento-pause.is-paused {
  border-color: rgba(255, 213, 138, 0.28);
  background:
    repeating-linear-gradient(135deg, rgba(255, 213, 138, 0.025) 0 12px, transparent 12px 24px),
    linear-gradient(155deg, rgba(255, 213, 138, 0.05), rgba(255, 255, 255, 0.006));
}

.pause-demo {
  margin-top: 20px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.pause-site {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 11px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.pause-site-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 12px;
  font-style: italic;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.pause-site-name {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.01em;
}

.pause-state {
  margin-left: auto;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.bento-pause.is-paused .pause-state {
  color: var(--amber);
}

.bento-pause.is-paused .pause-site-icon {
  border-color: rgba(255, 213, 138, 0.35);
  background: rgba(255, 213, 138, 0.1);
  color: var(--amber);
}

.bento-pause .setting-toggle {
  width: 100%;
}

/* Tune card */

.tune-visual {
  margin-top: auto;
  padding: 3px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.tune-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}

.tune-row + .tune-row {
  border-top: 1px solid var(--line-soft);
}

.tune-row span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tune-row i {
  position: relative;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: rgba(196, 255, 219, 0.12);
}

.tune-row b {
  position: relative;
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(141, 255, 190, 0.35), var(--signal));
  box-shadow: 0 0 9px rgba(141, 255, 190, 0.28);
}

.tune-row b::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(141, 255, 190, 0.1);
  transform: translate(50%, -50%);
}

.tune-v1 { width: 58%; }
.tune-v2 { width: 35%; }
.tune-v3 {
  width: 18%;
  background: rgba(196, 255, 219, 0.28);
  box-shadow: none;
}
.tune-v3::after {
  background: rgba(196, 255, 219, 0.45);
  box-shadow: none;
}

.bento-card:hover .tune-row b {
  filter: brightness(1.15);
}

.tune-row em {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.02em;
  text-align: right;
}

.js [data-reveal] .tune-row b {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease) 0.2s;
}

.js [data-reveal] .tune-row:nth-child(2) b {
  transition-delay: 0.32s;
}

.js [data-reveal] .tune-row:nth-child(3) b {
  transition-delay: 0.44s;
}

.js [data-reveal].is-in .tune-row b {
  clip-path: inset(0 0 0 0);
}

/* Install ---------------------------------------------------------------- */

.install-section {
  background:
    radial-gradient(1000px 600px at 22% 20%, rgba(141, 255, 190, 0.045), transparent 62%),
    var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.install-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 18px;
  align-items: start;
}

.install-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006) 36%),
    #0a110d;
  box-shadow: var(--shadow-card);
}

.install-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.install-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.install-brand div {
  display: grid;
  gap: 1px;
}

.install-brand strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.install-brand span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.install-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 20px 0 16px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.22);
}

.install-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--dim);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.install-tab:hover {
  color: var(--text);
}

.install-tab.is-active {
  border-color: rgba(141, 255, 190, 0.22);
  background: rgba(141, 255, 190, 0.1);
  color: var(--signal);
}

.tab-flag {
  padding: 2px 5px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.install-panel {
  animation: panel-in 0.35s var(--ease);
}

.install-panel h3 {
  margin-bottom: 8px;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.install-panel > p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.install-panel .btn {
  margin-top: 18px;
}

.install-fineprint {
  margin-top: 12px;
  color: var(--dim) !important;
  font-family: var(--font-mono);
  font-size: 9px !important;
  line-height: 1.55 !important;
}

.steps {
  display: grid;
  gap: 0;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.steps li:last-child {
  border-bottom: 0;
}

.step-no {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  padding-top: 2px;
  flex: none;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12.5px;
  font-weight: 600;
}

.steps p {
  color: var(--dim);
  font-size: 11px;
  line-height: 1.55;
}

.steps code {
  padding: 1px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.install-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.install-meta div {
  display: grid;
  gap: 2px;
}

.install-meta dt {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.install-meta dd {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.install-aside {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(16, 22, 15, 0.045) 39px 40px),
    var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}

.install-aside::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(16, 22, 15, 0.13);
  border-radius: 17px;
  pointer-events: none;
}

.install-note-label {
  color: var(--signal-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.install-notes {
  display: grid;
  gap: 0;
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
}

.install-notes li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(16, 22, 15, 0.18);
}

.install-notes li > span {
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  padding-top: 2px;
}

.install-notes p {
  font-size: 12px;
  line-height: 1.55;
}

.install-aside .text-link {
  color: var(--signal-deep);
  border-color: rgba(11, 122, 67, 0.3);
  margin-bottom: 14px;
  display: flex;
}

.install-aside .text-link:hover {
  color: #075c32;
  border-color: #075c32;
}

.install-aside-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 22, 15, 0.16);
  color: var(--paper-muted);
  font-size: 10.5px;
  line-height: 1.55;
}

/* FAQ -------------------------------------------------------------------- */

.faq-section {
  background: #0a0f0c;
  border-bottom: 1px solid var(--line-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 106px;
}

.faq-intro h2 {
  margin-bottom: 20px;
}

.faq-intro p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.faq-intro .text-link {
  margin-top: 22px;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  color: var(--text);
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 550;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--signal);
}

.faq-list summary span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
  background: rgba(141, 255, 190, 0.08);
}

.faq-list details > p {
  max-width: 66ch;
  padding: 0 2px 22px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.faq-list code {
  padding: 1px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

/* Privacy band ----------------------------------------------------------- */

.privacy-band {
  background: var(--signal);
  color: #05170d;
}

.privacy-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  padding-block: clamp(40px, 5vw, 64px);
}

.privacy-lock {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(5, 23, 13, 0.3);
  border-radius: 50%;
  background: rgba(5, 23, 13, 0.06);
}

.privacy-lock svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #05170d;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-band-copy h2 {
  font-size: clamp(27px, 3.2vw, 41px);
  letter-spacing: -0.045em;
}

.privacy-band-copy p {
  max-width: 68ch;
  margin-top: 10px;
  color: rgba(5, 23, 13, 0.74);
  font-size: 13px;
  line-height: 1.65;
}

.privacy-band .btn-ink {
  white-space: nowrap;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  padding-top: clamp(50px, 6vw, 76px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 100px);
  padding-bottom: 46px;
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 16px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.footer-cols h4 {
  margin-bottom: 14px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-cols a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-cols a:hover {
  color: var(--signal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.footer-built {
  text-align: right;
}

/* Camera bubble ---------------------------------------------------------- */

.camera-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147482000;
  width: 268px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #070d09;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: bubble-in 0.4s var(--ease) both;
}

.camera-bubble.dragging {
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.74),
    0 0 0 1px rgba(141, 255, 190, 0.18);
}

.bubble-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px 8px 11px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.028);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.camera-bubble.dragging .bubble-bar {
  cursor: grabbing;
}

.bubble-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mini-mark {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  border: 1px solid var(--signal);
  border-radius: 50%;
}

.mini-mark span {
  position: absolute;
  inset: 3.5px;
  border-radius: 50% 50% 50% 2px;
  background: var(--signal);
}

.bubble-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bubble-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5c6b60;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.camera-bubble[data-state="live"] .bubble-live {
  color: var(--signal);
}

.camera-bubble[data-state="live"] .bubble-live i {
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
}

.camera-bubble[data-state="paused"] .bubble-live {
  color: var(--amber);
}

.camera-bubble[data-state="paused"] .bubble-live i {
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
}

.bubble-tools {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.icon-btn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn svg rect {
  fill: currentColor;
  stroke: none;
}

.icon-btn-stop:hover {
  background: rgba(255, 159, 178, 0.1);
  color: var(--rose);
}

.bubble-view {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #050a07;
}

#bubbleCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

.bubble-msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 8, 5, 0.72);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-align: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.bubble-msg.is-error {
  color: #ffc3ce;
}

.view-corner {
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: rgba(141, 255, 190, 0.45);
  border-style: solid;
  pointer-events: none;
}

.view-corner.tl { top: 9px; left: 9px; border-width: 1px 0 0 1px; }
.view-corner.tr { top: 9px; right: 9px; border-width: 1px 1px 0 0; }
.view-corner.bl { bottom: 9px; left: 9px; border-width: 0 0 1px 1px; }
.view-corner.br { bottom: 9px; right: 9px; border-width: 0 1px 1px 0; }

.bubble-pose {
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 10, 7, 0.84);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pose-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5c6b60;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.camera-bubble[data-pose="point"] .pose-dot {
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
}

.camera-bubble[data-pose="click"] .pose-dot {
  background: var(--beam);
  box-shadow: 0 0 6px var(--beam);
}

.camera-bubble[data-pose="drag"] .pose-dot,
.camera-bubble[data-pose="scroll"] .pose-dot {
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
}

.bubble-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Reveal ----------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Keyframes -------------------------------------------------------------- */

@keyframes signal-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes scan-line {
  0% { transform: translateY(0); }
  55%, 100% { transform: translateY(360%); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes target-pop {
  0% { transform: scale(1); }
  35% { transform: scale(0.94); }
  70% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes ring-flash {
  0% { border-color: rgba(141, 255, 190, 0.95); transform: scale(1); }
  100% { border-color: rgba(141, 255, 190, 0.17); transform: scale(1); }
}

@keyframes contact-ping {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

@keyframes ap-in {
  0% { opacity: 0.4; transform: scale(0.985); }
  100% { opacity: 1; transform: none; }
}

@keyframes ap-cursor-point {
  0%, 100% { left: 28%; top: 58%; }
  25% { left: 52%; top: 36%; }
  50% { left: 72%; top: 62%; }
  75% { left: 46%; top: 76%; }
}

@keyframes ap-cursor-pinch {
  0%, 18% { left: 28%; top: 58%; }
  45%, 78% { left: calc(100% - 62px); top: calc(100% - 69px); }
  100% { left: 28%; top: 58%; }
}

@keyframes ap-click {
  0%, 42% { opacity: 0; transform: translate(50%, 50%) scale(0.6); }
  52% { opacity: 0.9; transform: translate(50%, 50%) scale(0.75); }
  62%, 100% { opacity: 0; transform: translate(50%, 50%) scale(1.5); }
}

@keyframes ap-cursor-drag {
  0%, 16% { left: 36%; top: 42%; }
  28%, 38% { left: 30%; top: 36%; }
  60%, 72% { left: 52%; top: 64%; }
  90%, 100% { left: 36%; top: 42%; }
}

@keyframes ap-card-drag {
  0%, 28% { transform: translate(0, 0) rotate(0deg); }
  40%, 72% { transform: translate(44px, 34px) rotate(2deg); }
  92%, 100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes ap-cursor-scroll {
  0%, 100% { left: 58%; top: 30%; }
  30% { left: 54%; top: 22%; }
  60% { left: 62%; top: 44%; }
  80% { left: 56%; top: 34%; }
}

@keyframes ap-page-scroll {
  0%, 18% { transform: translateY(0); }
  35%, 55% { transform: translateY(-16px); }
  72%, 100% { transform: translateY(0); }
}

@keyframes ap-cursor-dwell {
  0%, 15% { left: 38%; top: 62%; }
  35%, 82% { left: calc(100% - 62px); top: calc(100% - 69px); }
  100% { left: 38%; top: 62%; }
}

@keyframes ap-dwell {
  0% { opacity: 1; --dwell-fill: 0%; }
  20% { opacity: 1; --dwell-fill: 0%; }
  68% { --dwell-fill: 100%; }
  80%, 100% { opacity: 0; --dwell-fill: 100%; }
}

@keyframes ap-click-dwell {
  0%, 66% { opacity: 0; transform: translate(50%, 50%) scale(0.6); }
  72% { opacity: 0.9; transform: translate(50%, 50%) scale(0.75); }
  82%, 100% { opacity: 0; transform: translate(50%, 50%) scale(1.5); }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(54px, 7.6vw, 92px);
  }

  .atlas {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .atlas-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }

  .atlas-rig {
    height: 310px;
  }

  .plate-rig {
    min-height: 350px;
  }

  .atlas-tab {
    padding: 13px 14px;
  }

  .bento-card.bento-privacy,
  .bento-card:nth-child(2) {
    grid-column: span 12;
  }

  .bento-card,
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(6),
  .bento-card:nth-child(7),
  .bento-pause {
    grid-column: span 6;
    grid-row: auto;
  }

  .p-coach {
    grid-column: span 3;
  }

  .tuning {
    grid-column: span 9;
  }
}

@media (max-width: 1020px) {
  .p-click,
  .p-light {
    grid-column: span 6;
  }

  .p-slider,
  .p-coach {
    grid-column: span 6;
  }

  .p-stage,
  .p-feed {
    grid-column: span 12;
  }

  .tuning {
    grid-column: span 12;
  }

  .pipeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 30px;
  }

  .pipe-link {
    display: none;
  }

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

@media (max-width: 880px) {
  html {
    scroll-padding-top: 84px;
  }

  .hero-grid,
  .section-head,
  .faq-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 122px;
  }

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

  .hero-visual {
    margin: 12px auto 0;
    max-width: 540px;
  }

  .section-head {
    align-items: start;
  }

  .section-side {
    max-width: 580px;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(8, 13, 10, 0.97);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 12px 12px;
    font-size: 15px;
    border-radius: 9px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .site-nav a::after {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
    gap: 10px;
  }

  .quiet-link {
    display: none;
  }

  .atlas {
    grid-template-columns: 1fr;
  }

  .atlas-tabs {
    position: static;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 0 30px 4px 0;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
  }

  .atlas-tabs::-webkit-scrollbar {
    display: none;
  }

  .atlas-tab {
    flex: none;
    width: auto;
    min-width: 168px;
    padding: 11px 13px;
    scroll-snap-align: start;
  }

  .atlas-tab-arrow {
    display: none;
  }

  .atlas-main {
    grid-template-columns: 1fr;
  }

  .atlas-rig {
    width: min(70%, 330px);
    height: 330px;
  }

  .plate-rig {
    min-height: 370px;
  }

  .faq-intro {
    position: static;
    max-width: 520px;
  }

  .privacy-points {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bento-card,
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(6),
  .bento-card:nth-child(7),
  .bento-privacy,
  .bento-pause {
    grid-column: span 12;
    grid-row: auto;
  }

  .bento-privacy {
    grid-template-columns: 1fr;
  }

  .privacy-visual {
    min-height: 150px;
  }

  .privacy-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .privacy-band .btn-ink {
    grid-column: 2;
    width: fit-content;
  }

  .footer-top {
    gap: 34px;
  }

  .footer-built {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .hero-facts {
    gap: 22px;
  }

  .tracker-stage {
    height: 342px;
  }

  .lab-top {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 15px;
  }

  .lab-metrics {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .metric {
    flex: 1;
  }

  .practice-grid {
    padding: 12px;
    gap: 11px;
  }

  .p-click,
  .p-light,
  .p-slider,
  .p-coach,
  .p-stage,
  .p-feed {
    grid-column: span 12;
    min-height: 0;
  }

  .p-click {
    min-height: 300px;
  }

  .target {
    width: min(164px, 60%);
  }

  .tuning {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .tuning-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start-layer {
    padding: 14px;
  }

  .start-card {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: 100%;
  }

  .start-visual {
    min-height: 168px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .start-rig {
    height: 150px;
    width: 46%;
  }

  .start-copy-wrap {
    padding: 22px;
  }

  .lab-hints {
    gap: 8px 16px;
    padding: 12px 15px;
  }

  .lab-local {
    margin-left: 0;
    width: 100%;
  }

  .pipeline-track {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pipe-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "icon no"
      "icon title"
      "icon copy"
      "icon time";
    column-gap: 16px;
    row-gap: 5px;
    align-items: start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
  }

  .pipe-step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .pipe-no { grid-area: no; }
  .pipe-step h3 { grid-area: title; margin-top: 0; }
  .pipe-icon { grid-area: icon; margin: 0; }
  .pipe-step p { grid-area: copy; }
  .pipe-time { grid-area: time; padding-top: 5px; margin-top: 0; }

  .pipeline-foot {
    flex-wrap: wrap;
  }

  .install-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .install-tabs {
    grid-template-columns: 1fr;
  }

  .privacy-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .privacy-lock {
    width: 58px;
    height: 58px;
  }

  .privacy-band .btn-ink {
    grid-column: 1;
  }

  .footer-cols {
    gap: 26px;
  }
}

@media (max-width: 560px) {
  .shell {
    padding-inline: 18px;
  }

  .hero {
    padding-top: 114px;
  }

  .hero h1 {
    font-size: clamp(48px, 14.5vw, 70px);
  }

  .eyebrow {
    font-size: 8px;
    padding: 7px 10px;
    letter-spacing: 0.09em;
  }

  .lede {
    font-size: 15px;
    margin-top: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-facts dt {
    font-size: 19px;
  }

  .hero-facts dd {
    font-size: 7.5px;
    letter-spacing: 0.05em;
  }

  .tracker {
    padding: 10px;
    border-radius: 20px;
  }

  .tracker-stage {
    height: 300px;
  }

  .tracker-poses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-foot {
    font-size: 6.5px;
  }

  .tracker-coords {
    font-size: 7.5px;
    top: 18px;
    right: 18px;
  }

  .tracker-status {
    top: 18px;
    left: 18px;
  }

  .tracker-pose {
    left: 18px;
    bottom: 16px;
  }

  .tracker-pose-label {
    font-size: 22px;
  }

  .header-inner {
    height: 70px;
    gap: 10px;
  }

  .brand-sub,
  .version-pill {
    display: none;
  }

  .site-nav {
    top: 70px;
  }

  .btn-sm {
    padding: 9px 13px;
    font-size: 11.5px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .section {
    padding-block: 66px;
  }

  .lab-top .btn {
    padding: 9px 12px;
  }

  .lab-hints {
    font-size: 7.5px;
  }

  .atlas-plate {
    padding: 15px;
  }

  .plate-head {
    flex-wrap: wrap;
  }

  .plate-rig {
    min-height: 320px;
  }

  .atlas-rig {
    width: 82%;
    height: 280px;
  }

  .finger-key {
    width: 27px;
    height: 33px;
    font-size: 9px;
  }

  .finger-key small {
    display: none;
  }

  .plate-note {
    font-size: 6px;
    bottom: 12px;
    left: 13px;
  }

  .plate-scale {
    display: none;
  }

  .plate-readout > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .action-preview {
    padding: 9px;
  }

  .ap-page {
    height: 210px;
    padding-inline: 12px;
  }

  .ap-card {
    width: 104px;
    padding: 8px;
  }

  .ap-card-b {
    left: 128px;
  }

  .ap-thumb {
    height: 38px;
  }

  .pipeline-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .install-card {
    padding: 18px;
  }

  .install-card-top {
    flex-wrap: wrap;
  }

  .install-meta {
    gap: 14px;
  }

  .bento-card {
    padding: 20px;
  }

  .privacy-band-copy h2 {
    font-size: 27px;
  }

  .start-copy-wrap {
    padding: 18px;
  }

  .start-copy-wrap h3 {
    font-size: 22px;
  }

  .start-visual {
    min-height: 138px;
  }

  .start-rig {
    height: 128px;
  }

  .coach-rig {
    height: 140px;
  }

  .lab-note {
    font-size: 8px;
  }

  .site-footer {
    padding-top: 44px;
  }

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

@media (max-width: 380px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-actions .btn {
    padding-inline: 14px;
  }

  .tracker-stage {
    height: 272px;
  }

  .practice-grid {
    padding: 9px;
  }
}

/* Reduced motion --------------------------------------------------------- */

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .strip-track {
    animation: none;
  }

  .tracker-scan,
  .ambient-glow,
  .live-dot {
    animation: none;
  }
}
