/* URSee product site
   Palette and indicator language come from the apps themselves:
   green = live, orange = attention. Dark video-village ground. */

:root {
  --bg: #0b0910;
  --bg-raise: #100d17;
  --panel: #14101c;
  --panel-2: #171221;
  --line: #2b2438;
  --line-soft: #1d1827;
  --text: #eae9ef;
  --muted: #948da6;
  --faint: #625a75;
  --brand-deep: #2b1f3d;
  --brand: #b05edb;
  --brand-dim: #8a49b8;
  --live: #33d17a;
  --live-dim: #1d7a49;
  --rec: #ff8a3c;
  --cam-a: #5b87a6;
  --cam-b: #c08a4f;
  --cam-c: #4fa98b;
  --radius: 8px;
  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--text); }

::selection { background: var(--brand); color: #140a1c; }

/* ---------- type roles ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 660;
  font-stretch: 122%;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 640;
  font-stretch: 116%;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin-bottom: 0.6em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  font-stretch: 110%;
  line-height: 1.3;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.1em;
}

.lede { font-size: 1.15rem; color: var(--muted); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 680;
  font-stretch: 125%;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.wordmark svg { display: block; }

.wordmark-icon {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

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

@media (max-width: 800px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 108%;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #140a1c;
}
.btn-primary:hover { filter: brightness(1.08); }

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

.site-nav .btn { padding: 8px 16px; font-size: 0.85rem; color: #140a1c; }

/* ---------- App Store badges ---------- */

.badge-link { display: inline-block; line-height: 0; }

.badge-link img {
  display: block;
  height: 40px;
  width: auto;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.badge-link:hover img { transform: translateY(-2px); filter: brightness(1.15); }

.badge-link:active img { transform: translateY(0); }

.site-nav .badge-link img { height: 30px; }

.app-card .badge-link { margin-top: -4px; padding-top: 0; align-self: center; }

.app-card .app-coming {
  align-self: center;
  margin: -2px 0 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 99px;
  padding: 8px 16px;
}

.app-card .app-price {
  margin: auto 0 0;
  padding-top: 10px;
  align-self: center;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 800px) {
  .site-nav .badge-link { display: none; } /* keep the compact mobile header */
}

/* ---------- hero ---------- */

.hero {
  padding: 48px 0 24px;
}

/* hero: copy block, then the animated signal-flow diagram full width —
   it holds attention while the heavy 3D models below stream in */
.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-stack .hero-copy { max-width: none; }

.hero-copy .lede { max-width: none; }

.hero-ctas { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

ul.hero-points { list-style: none; padding: 0; }

.hero-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.point-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 12px;
  white-space: nowrap;
}

/* ---------- hero demo ---------- */

#onset .demo { max-width: 880px; }

.demo {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.cam-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cam-tile {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
  background: #0b0f12;
}

.cam-tile svg { display: block; width: 100%; height: auto; }

.cam-tag {
  position: absolute;
  left: 7px;
  top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #cfd8dc;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rec);
  animation: rec-blink 1.6s steps(2, start) infinite;
}

@keyframes rec-blink { to { opacity: 0.25; } }

.hub-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 99px;
  padding: 7px 14px;
  align-self: center;
}

.hub-bar .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 8px var(--live);
}

.viewer-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.viewer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.viewer-name {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.viewer-name .device { color: var(--faint); letter-spacing: 0.04em; }

.viewer-feed {
  border-radius: 4px;
  overflow: hidden;
  background: #0b0f12;
  border: 1px solid var(--line-soft);
}

.viewer-feed svg { display: block; width: 100%; height: auto; }

.chip-row { display: flex; gap: 5px; }

.chip {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 4px 0;
  text-align: center;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.chip.active {
  color: var(--live);
  border-color: var(--live-dim);
  background: color-mix(in srgb, var(--live) 10%, transparent);
}

.viewer-stats {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}

.viewer-stats .ms { color: var(--live); }

/* ---------- sections ---------- */

.section { padding: 60px 0; border-top: 1px solid var(--line-soft); }

.section-alt { background: var(--bg-raise); }

.section-head { max-width: 720px; margin-bottom: 48px; }

.principle {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 620;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.25;
  border-left: 2px solid var(--brand);
  padding-left: 22px;
  margin-top: 36px;
  max-width: 30ch;
}

/* ---------- app cards ---------- */

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr; } }

.app-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 24%;
  border: 1px solid var(--line-soft);
}

.app-icon.round { border-radius: 50%; }

.app-platform {
  padding-right: 64px; /* keep clear of the corner icon */
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.app-role { color: var(--brand); font-weight: 600; font-size: 0.95rem; }

.app-card p { font-size: 0.94rem; color: var(--muted); }

.assembled {
  margin-top: 18px;
  border: 1px solid var(--brand-dim);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 6%, var(--panel));
  padding: 24px 26px;
  display: flex;
  gap: 20px;
  align-items: baseline;
  flex-wrap: wrap;
}

.assembled strong {
  font-family: var(--font-display);
  font-stretch: 116%;
  font-size: 1.15rem;
  white-space: nowrap;
}

.assembled span { color: var(--muted); font-size: 0.95rem; max-width: 58ch; }

/* ---------- media slots ---------- */

.dome-enter { margin-top: 22px; }
.dome-enter[hidden] { display: none; }

figure.media-slot { margin: 0; }

/* captions exist for Reader / spatial browsing, not the visual design */
.media-slot figcaption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.media-slot {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 16px;
}

.media-slot.wide { aspect-ratio: 21 / 9; }
.media-slot.card { aspect-ratio: 16 / 10; }

/* slots holding a real screenshot become gallery thumbnails */
.media-slot.has-shot {
  padding: 0;
  border-style: solid;
  cursor: zoom-in;
  overflow: hidden;
}

.media-slot.has-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* fullscreen carousel */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 5, 11, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox.open { display: flex; }

.lightbox figure {
  margin: 0;
  max-width: min(92vw, 1500px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.lightbox button {
  position: absolute;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox button:hover { border-color: var(--brand); color: var(--brand); }

.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.shot-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 900px) { .shot-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- differentiators ---------- */

.first-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 900px) { .first-grid { grid-template-columns: 1fr; } }

.first-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px 26px;
}

.first-card::before,
.first-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--live);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.25s;
}

.first-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.first-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.first-card:hover::before,
.first-card:hover::after { opacity: 1; }

.first-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.first-card h3 { margin-bottom: 10px; }

/* the switching diagram spans two rows beside cards 04 and 05 */
.first-diagram {
  grid-column: span 2;
  padding: 20px;
}

@media (max-width: 900px) { .first-diagram { grid-column: auto; } }

.first-card p { font-size: 0.94rem; color: var(--muted); }

.first-card.wide { grid-column: span 3; }
@media (max-width: 900px) { .first-card.wide { grid-column: auto; } }

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .support-grid { grid-template-columns: 1fr; } }

.support-item {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 18px 20px;
  background: transparent;
}

.support-item h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-size: 0.98rem;
  font-weight: 600;
}

.support-item p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- stat tiles ---------- */

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

@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .stat-grid { grid-template-columns: 1fr; } }

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px 26px 22px;
}

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 10px 0 0;
}

.stat-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.stat-footnote {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--faint);
  margin-top: 22px;
}

/* ---------- on set diagram ---------- */
/* Deliberately white while the site is dark: the product cutouts read
   best on white, so the diagram is a lightbox. Fixed inks, not tokens. */

.diagram {
  border: 1px solid #dfe4e7;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 28px;
  overflow-x: auto;
}

.diagram svg, .diagram img.dg-img {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}

/* small screens: scale the whole diagram to fit — never clip it.
   Tap opens the fullscreen zoomable viewer instead. */
@media (max-width: 900px) {
  .diagram svg, .diagram img.dg-img { min-width: 0; }
  .diagram { cursor: zoom-in; }
}

/* fullscreen diagram viewer: large render, two-axis pan, pinch to zoom */
.diagram-full {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: #ffffff;
}

.diagram-full.open { display: block; }

.df-scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 60px 16px 24px;
  display: flex;
  touch-action: pan-x pan-y; /* we own pinch; the browser keeps panning */
}

.df-scroll svg {
  width: 1000px;
  max-width: none;
  height: auto;
  display: block;
  margin: auto;
  flex-shrink: 0;
}

.df-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #c7ced3;
  background: #ffffff;
  color: #14181b;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.swipe-hint {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a868d;
  transition: opacity 0.5s;
}

.swipe-hint.seen { opacity: 0; }

@media (min-width: 901px) { .swipe-hint { display: none; } }

.dg-shape rect, .dg-shape circle {
  fill: none;
  stroke: #5a666d;
  stroke-width: 1.6;
}

.dg-shape .dg-lens { fill: #ffffff; }

.dg-line line {
  stroke: #0e8a4d;
  stroke-width: 1.8;
  opacity: 0.8;
}

.dg-wireless line {
  stroke-width: 2.2;
  stroke-dasharray: 7 6;
  animation: dg-march-w 0.9s linear infinite;
}

/* bright pulses marching along the solid SDI cables */
.dg-flow line {
  stroke: #12b463;
  stroke-width: 3.6;
  stroke-dasharray: 7 20;
  stroke-linecap: round;
  opacity: 1;
  animation: dg-march 1.1s linear infinite;
}

/* the director's wired seat: Thunderbolt in brand purple */
.dg-tb line {
  stroke: #8a49b8;
  stroke-width: 2.4;
}

.dg-tb-flow line {
  stroke: #b05edb;
  stroke-width: 3.8;
  stroke-dasharray: 7 20;
  stroke-linecap: round;
  opacity: 1;
  animation: dg-march 0.9s linear infinite;
}

.dg-tb-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: #8a49b8;
}

/* interactive switcher diagram: per-viewer colored routes + camera chips */
.dg-vbase {
  stroke-width: 2.2;
  opacity: 0.85;
  transition: all 0.25s;
}

.dg-vpulse {
  stroke-width: 3.8;
  stroke-dasharray: 7 20;
  stroke-linecap: round;
  animation: dg-march 1s linear infinite;
}

.vchip { cursor: pointer; }

.vchip rect {
  fill: #ffffff;
  stroke: #b9c2c8;
  stroke-width: 1.2;
  transition: fill 0.2s;
}

.vchip text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  fill: #5a666d;
}

.vchip:hover rect { stroke: #5a666d; }

.vchip:focus-visible { outline: 2px solid #8a49b8; }

@media (prefers-reduced-motion: reduce) {
  .dg-vpulse { animation: none; display: none; }
}

.dg-panel rect {
  fill: #eef1f3;
  stroke: #c7ced3;
  stroke-width: 1;
}

@keyframes dg-march { to { stroke-dashoffset: -27; } }
@keyframes dg-march-w { to { stroke-dashoffset: -26; } }

@media (prefers-reduced-motion: reduce) {
  .dg-wireless line, .dg-flow line, .dg-tb-flow line { animation: none; }
  .dg-flow line, .dg-tb-flow line { display: none; }
}

.dg-live { fill: #0e8a4d; }

.dg-tile rect {
  fill: rgba(14, 138, 77, 0.13);
  stroke: #0e8a4d;
  stroke-width: 1;
}

.dg-bar { fill: #dfe4e7; }

.dg-name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: #14181b;
}

.dg-strong { font-size: 13px; }

.dg-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  fill: #7a868d;
}

.dg-title {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  fill: #14181b;
}

.dg-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  fill: #0e8a4d;
}

#onset > .container > p { max-width: 72ch; }

/* ---------- testimonial ---------- */

.quote-slot {
  position: relative;
  border: 0;
  border-left: 3px solid var(--brand);
  border-radius: 0;
  padding: 18px 0 18px 40px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.quote-slot p {
  color: var(--text);
  font-style: italic;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 560;
  font-stretch: 108%;
  line-height: 1.35;
  letter-spacing: -0.005em;
  max-width: 24em;
  margin: 0;
}

.quote-slot cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq-list { max-width: 780px; }

.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  list-style-position: outside;
}

.faq-item summary:hover { color: var(--brand); }

.faq-item p {
  color: var(--muted);
  padding: 0 0 16px;
  max-width: 70ch;
}

/* ---------- roadmap ---------- */

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.roadmap-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--rec);
  border-radius: 50%;
  align-self: center;
}

.roadmap-list b { font-weight: 600; font-stretch: 108%; }
.roadmap-list span { color: var(--muted); font-size: 0.92rem; }

/* ---------- early access ---------- */

.access-grid {
  display: grid;
  grid-template-columns: 5fr 5fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) { .access-grid { grid-template-columns: 1fr; } }

.access-form { display: flex; flex-direction: column; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-note { font-size: 0.82rem; color: var(--faint); }

.form-success {
  border: 1px solid var(--live-dim);
  border-radius: 6px;
  background: color-mix(in srgb, var(--live) 8%, var(--panel));
  padding: 18px;
  font-size: 0.95rem;
  display: none;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 56px;
  font-size: 0.82rem;
  color: var(--faint);
}

.footer-top {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.footer-apps {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-left: auto;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--text); }

.legal { max-width: 78ch; line-height: 1.7; }

/* ---------- legal pages (privacy, terms) ---------- */

.legal-page { max-width: 720px; }

.legal-page h3 {
  margin: 32px 0 10px;
  font-size: 1.05rem;
}

.legal-page p { color: var(--muted); }

.legal-page a { color: var(--text); }

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--faint);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- camera band (brief, full-width, rotating) ---------- */

.camera-band {
  position: relative;
  height: 480px;
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  background:
    radial-gradient(50% 70% at 62% 55%, color-mix(in srgb, var(--brand) 6%, transparent), transparent 72%),
    var(--bg-raise);
}

@media (max-width: 700px) { .camera-band { height: 400px; } }

#stage { position: absolute; inset: 0; }

#stage-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#stage.dragging #stage-canvas { cursor: grabbing; }

#stage.no3d { display: none; }

/* legibility scrim behind the copy */
.camera-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-raise) 8%, transparent 52%);
  pointer-events: none;
}

.camera-copy {
  position: relative;
  z-index: 2;
  padding-top: 108px;
  pointer-events: none;
}

.camera-copy h2 { max-width: 15ch; }

.camera-copy .lede { max-width: 34ch; font-size: 1.05rem; }

.drag-hint {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  pointer-events: none;
}

/* ---------- vision pro stage (differentiators) ---------- */

.only-head {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

.only-head .section-head { margin-bottom: 0; }

@media (max-width: 900px) { .only-head { grid-template-columns: 1fr; gap: 8px; } }

.avp-stage {
  position: relative;
  height: 400px;
  overflow: hidden;      /* contain the oversized model box */
  border-radius: 12px;
}

@media (max-width: 900px) { .avp-stage { height: 300px; } }

.avp-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.avp-stage.dragging canvas { cursor: grabbing; }

.avp-stage.no3d { display: none; }

/* ---------- app-icon tokens ---------- */

.apps-head {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

.apps-head .section-head { margin-bottom: 0; }

@media (max-width: 900px) { .apps-head { grid-template-columns: 1fr; gap: 8px; } }

/* full-width header for the apps section */
#apps .section-head.apps-head-wide { max-width: none; margin-bottom: 20px; }

/* the seven ways, numbered and enumerated right under the promise */
.ways-list {
  list-style: none;
  counter-reset: way;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.ways-list li {
  counter-increment: way;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 12px;
  white-space: nowrap;
}

.ways-list li::before {
  content: counter(way, decimal-leading-zero) " · ";
  color: var(--brand);
  font-weight: 600;
}

#apps .apps-head-wide .lede { max-width: none; }

/* token row sits directly over the app cards, one coin per column */
.token-stage {
  position: relative;
  height: 280px;
  margin-bottom: 24px;
  background: radial-gradient(55% 60% at 50% 50%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 72%);
}

@media (max-width: 900px) { .token-stage { display: none; } }

.token-stage canvas { display: block; width: 100%; height: 100%; }

.token-model-row { display: flex; height: 100%; gap: 18px; }

.token-model-row model { flex: 1; min-width: 0; height: 100%; }

.token-stage.no3d { display: none; }

/* ---------- spatial web (visionOS model element, AR Quick Look) ---------- */

.spatial-model {
  display: block;
  width: 100%;
  height: 100%;
}

/* camera band, native path: keep the URSA right of the copy and render it
   larger (the element is oversized; the band's overflow crops empty margin) */
/* native path: #stage becomes a contained portal box on the right,
   aligned to the container edge, near-square so the sphere-fit camera
   fills it (the viewer fits the model to the smaller dimension) */
#stage.spatial {
  inset: auto;
  right: calc(max(24px, (100% - 1112px) / 2));
  top: 4%;
  width: min(46%, 540px);
  height: 92%;
  border-radius: 12px;
  overflow: hidden;
}

/* oversize the model inside the clipped box so the sphere-fit camera
   fills it; the box's overflow crops the empty margins */
#stage.spatial .spatial-model {
  position: absolute;
  width: 132%;
  height: 132%;
  left: -16%;
  top: -16%;
}

#stage.spatial .ar-link { left: 16px; bottom: 14px; z-index: 2; }

#stage.spatial .drag-hint { right: 16px; bottom: 14px; z-index: 2; }

@media (max-width: 700px) {
  /* stack: copy first, model portal below it, badge inside the portal */
  .camera-band { height: auto; display: flex; flex-direction: column; }
  .camera-band::before { display: none; }
  .camera-copy { order: 1; padding: 40px 24px 12px; position: static; }
  #stage.spatial {
    order: 2;
    position: relative;
    inset: auto;
    width: calc(100% - 48px);
    height: 300px;
    margin: 8px auto 40px;
  }
  #stage.spatial .drag-hint { display: none; }
}

.avp-stage .spatial-model {
  position: absolute;
  left: 0;
  top: -6%;
  width: 100%;
  height: 112%;
}

.token-stage.spatial { height: 340px; }

.ar-link {
  display: none;
  position: absolute;
  left: 20px;
  bottom: 14px;
  z-index: 2;
}

.ar-link.show { display: block; }

.ar-link img { display: block; height: 34px; }

/* ---------- app feature lists ---------- */

.feat-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.feat-list li {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.feat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 5px;
  height: 5px;
  background: var(--live-dim);
}

/* ---------- videos ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

.video-card { display: flex; flex-direction: column; gap: 10px; }

.video-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-size: 0.98rem;
  font-weight: 600;
}

.video-card p { font-size: 0.85rem; color: var(--muted); margin: 0; }

.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-slot video, .video-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-facade {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.yt-facade .yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
}

.yt-facade:hover .yt-thumb { transform: scale(1.03); opacity: 1; }

.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-facade .play-badge {
  position: relative;
  z-index: 2;
  background: rgba(11, 9, 16, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.play-badge {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
}

.play-badge svg { width: 14px; height: 14px; fill: currentColor; margin-left: 2px; }

/* keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rec-dot { animation: none; }
}
