:root {
  --black: #000000;
  --elevated: #161617;
  --dark-surface: #1d1d1f;
  --ink-dark: #f5f5f7;
  --muted-dark: #a1a1a6;
  --dim-dark: #86868b;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-dark-subtle: rgba(255, 255, 255, 0.08);

  --white: #ffffff;
  --stone: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #5e5e63;
  --line: #d2d2d7;
  --line-soft: #e5e5ea;

  --blue: #0071e3;
  --blue-hover: #0066cc;
  --blue-link-dark: #2997ff;
  --blue-tint: #f4f9ff;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;

  --max-width: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.container {
  width: min(var(--max-width), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 48px;
  background: rgba(12, 13, 18, 0.78);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.bar {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-dark);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand img {
  width: 24px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: rgba(245, 245, 247, 0.78);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.16s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-ghost,
.header-cta {
  height: 30px;
  padding: 0 13px;
  border-radius: 980px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.header-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ink-dark);
}

.header-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.4);
}

.header-cta {
  background: linear-gradient(180deg, #0a84ff 0%, #0066cc 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 12px rgba(0, 113, 227, 0.28);
  color: var(--white);
  max-width: 148px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-cta.is-authed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-cta.is-authed::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.9);
}

.header-cta:hover {
  background: linear-gradient(180deg, #2190ff 0%, #006ee0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 6px 16px rgba(0, 113, 227, 0.38);
}

.nowrap {
  white-space: nowrap;
}

/* Shared Typography & Buttons */
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue-hover);
}

.eyebrow.dark {
  color: var(--blue-link-dark);
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
  max-width: 54ch;
}

.section-copy.dark {
  color: var(--muted-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.btn.pill {
  border-radius: 980px;
}

.btn.wide {
  width: 100%;
}

.btn.primary {
  background: linear-gradient(180deg, #0a84ff 0%, #0066cc 100%);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 24px rgba(0, 113, 227, 0.34);
}

.btn.primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #1d8fff 0%, #006fe0 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 28px rgba(0, 113, 227, 0.44);
}

.btn.primary:active:not(:disabled) {
  transform: scale(0.985);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn.primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.btn.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn.secondary:hover:not(:disabled) {
  background: var(--stone);
  border-color: #86868b;
  transform: translateY(-1px);
}

.btn.secondary:active:not(:disabled) {
  transform: scale(0.985);
}

.btn.ghost-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--ink-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 24px rgba(0, 0, 0, 0.32);
}

.btn.ghost-dark:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.btn.ghost-dark:active:not(:disabled) {
  transform: scale(0.985);
}

.secondary:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 20px;
  border-radius: 980px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.secondary:not(.btn):hover {
  background: var(--stone);
  border-color: #86868b;
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--blue-hover);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link.light {
  color: var(--blue-link-dark);
}

/* Act 1: Hero Cinema */
.hero {
  background:
    radial-gradient(62% 38% at 50% 62%, rgba(255, 110, 68, 0.16), transparent 72%),
    radial-gradient(48% 36% at 22% 28%, rgba(139, 92, 246, 0.11), transparent 70%),
    radial-gradient(46% 36% at 78% 24%, rgba(0, 113, 227, 0.14), transparent 70%),
    #050508;
  color: var(--ink-dark);
  padding: clamp(32px, 5vw, 56px) 0 clamp(44px, 6vw, 72px);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #e4e4ea;
  max-width: 100%;
}

.hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ff7a52;
  box-shadow: 0 0 10px rgba(255, 122, 82, 0.85);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.125rem, 5.4vw, 4.125rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.032em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, #d8dce6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 17ch;
}

.hero-dim {
  background: linear-gradient(120deg, #e6e6ee 15%, #ffc4ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 54ch;
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.45vw, 1.1875rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-subaction {
  margin: 12px 0 0;
}

.hero-specs {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  color: #a8a8b0;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}

.hero-specs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-specs li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dim-dark);
  margin-right: 6px;
}

.hero-cinema {
  margin: clamp(24px, 4vw, 40px) 0 0;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--elevated);
  position: relative;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.85),
    0 0 80px rgba(255, 112, 67, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-cinema img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cinema:hover img {
  transform: scale(1.02);
}

.cinema-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 64px 24px 18px;
  background: linear-gradient(to top, rgba(5, 5, 10, 0.88) 12%, rgba(5, 5, 10, 0.42) 58%, transparent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.cinema-caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-dark);
  letter-spacing: -0.015em;
}

.cinema-caption span {
  font-size: 0.875rem;
  color: #c2c2c9;
}

.cinema-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 980px;
  background: rgba(14, 15, 22, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--ink-dark) !important;
  font-size: 0.8125rem !important;
  font-weight: 500;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  white-space: nowrap;
}

.cinema-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
}

/* Act 2: Interactive Showcase */
.showcase {
  position: relative;
  overflow: clip;
  background: #050508;
  color: var(--ink-dark);
  border-top: 1px solid var(--line-dark-subtle);
  padding: clamp(56px, 8vw, 100px) 0;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 48% at 50% 48%, rgba(41, 151, 255, 0.16), transparent 72%),
    radial-gradient(45% 40% at 24% 62%, rgba(139, 92, 246, 0.12), transparent 72%);
  transition: opacity 0.45s ease;
}

.showcase[data-active-plate="coast"]::before {
  background:
    radial-gradient(60% 48% at 50% 48%, rgba(45, 212, 191, 0.15), transparent 72%),
    radial-gradient(46% 40% at 75% 58%, rgba(255, 110, 82, 0.15), transparent 72%);
}

.showcase[data-active-plate="sunset"]::before {
  background:
    radial-gradient(60% 48% at 50% 48%, rgba(255, 130, 82, 0.18), transparent 72%),
    radial-gradient(46% 40% at 28% 58%, rgba(236, 72, 153, 0.13), transparent 72%);
}

.showcase > .container {
  position: relative;
  z-index: 1;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-split h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.stage-frame {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #111218;
  box-shadow:
    0 32px 84px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.stage-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  z-index: 2;
  pointer-events: none;
}

.stage-media {
  overflow: hidden;
  background: #090a0f;
}

.stage-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.18s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-media img.is-switching {
  opacity: 0.32;
  transform: scale(1.018);
}

.stage-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(22, 23, 29, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 980px;
  background: rgba(41, 151, 255, 0.14);
  border: 1px solid rgba(41, 151, 255, 0.28);
  font-size: 0.75rem;
  font-weight: 600;
  color: #66b8ff;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.stage-bar h3 {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink-dark);
}

.stage-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #b5b5bd;
}

.plate-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.plate-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  color: var(--ink-dark);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.plate-btn::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, #2997ff 0%, #818cf8 52%, #ff8c69 100%);
  transition: opacity 0.2s ease;
}

.plate-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.plate-btn[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(36, 40, 56, 0.92) 0%, rgba(22, 24, 34, 0.96) 100%);
  border-color: rgba(41, 151, 255, 0.65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.plate-btn[aria-pressed="true"]::before {
  opacity: 1;
}

.plate-btn span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9898a2;
}

.plate-btn[aria-pressed="true"] span {
  color: #66b8ff;
}

.plate-btn strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.plate-btn em {
  font-style: normal;
  font-size: 0.875rem;
  color: #b5b5bd;
}

/* Act 3: Studio Hardware */
.hardware {
  background: linear-gradient(180deg, #ffffff 0%, #fafafc 80%, #f5f5f7 100%);
  color: var(--ink);
  padding: clamp(64px, 9vw, 108px) 0;
}

.studio-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.studio-head h2 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.studio-head .section-copy {
  margin-inline: auto;
}

.studio-console {
  position: relative;
  margin: clamp(28px, 5vw, 48px) auto;
  max-width: 780px;
  background: transparent;
}

.studio-console img {
  position: relative;
  z-index: 1;
  width: 100%;
  mix-blend-mode: multiply;
}

.studio-console::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 2%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.14) 0%, rgba(15, 23, 42, 0.04) 50%, transparent 74%);
  pointer-events: none;
}

/* Glass Box 1:1 status capsule */
.glass-box {
  margin: 0 auto 30px;
  max-width: 780px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06), inset 0 1px 0 #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.gb-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

@keyframes gb-pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px var(--gb-ring, rgba(245, 158, 11, 0.22));
  }
  50% {
    box-shadow: 0 0 0 7px var(--gb-ring-soft, rgba(245, 158, 11, 0.08));
  }
}

.gb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  --gb-ring: rgba(245, 158, 11, 0.24);
  --gb-ring-soft: rgba(245, 158, 11, 0.08);
  background: #f59e0b;
  animation: gb-pulse 2.4s ease-in-out infinite;
}

.gb-dot.is-prelaunch {
  background: #f59e0b;
  --gb-ring: rgba(245, 158, 11, 0.24);
  --gb-ring-soft: rgba(245, 158, 11, 0.08);
}

.gb-dot.is-idle {
  background: #16a34a;
  --gb-ring: rgba(22, 163, 74, 0.24);
  --gb-ring-soft: rgba(22, 163, 74, 0.08);
}

.gb-dot.is-busy {
  background: var(--blue);
  --gb-ring: rgba(0, 113, 227, 0.24);
  --gb-ring-soft: rgba(0, 113, 227, 0.08);
}

.gb-dot.is-offline {
  background: #dc2626;
  --gb-ring: rgba(220, 38, 38, 0.22);
  --gb-ring-soft: rgba(220, 38, 38, 0.06);
  animation: none;
}

.gb-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gb-copy strong {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.gb-copy span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.gb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gb-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 980px;
  background: var(--stone);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#gbStoryPassChip {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.22);
  color: var(--blue-hover);
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.spec-item {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.spec-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, rgba(0, 113, 227, 0.16) 100%);
}

.spec-item:hover {
  transform: translateY(-3px);
  border-color: #d2d2d7;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.spec-val {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin-bottom: 8px;
}

.spec-item h3 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.spec-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

.studio-footer {
  margin-top: 32px;
  text-align: center;
}

/* Act 3.5: Pricing & Packages */
.pricing {
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line-soft);
  padding: clamp(56px, 8vw, 96px) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 22px;
  background: var(--stone);
  border: 1px solid var(--line-soft);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.price-card.is-featured {
  background: linear-gradient(155deg, #10121a 0%, #191c28 60%, #1f1727 100%);
  color: var(--ink-dark);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.price-window {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card.is-featured .price-window {
  color: var(--muted-dark);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 980px;
  background: rgba(41, 151, 255, 0.18);
  border: 1px solid rgba(41, 151, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 600;
  color: #70beff;
}

.price-card h3 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.price-main strong {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.price-main span {
  font-size: 0.9375rem;
  color: var(--muted);
}

.price-card.is-featured .price-main span {
  color: var(--muted-dark);
}

.price-tier-list {
  list-style: none;
  margin: 4px 0 6px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.price-tier-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  font-size: 0.9375rem;
}

.price-card.is-featured .price-tier-list li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.price-tier-list li strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tier-save {
  font-style: normal;
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 980px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue-hover);
  font-size: 0.75rem;
  font-weight: 600;
}

.price-card.is-featured .tier-save {
  background: rgba(41, 151, 255, 0.2);
  color: #7cc4ff;
}

.price-card .btn {
  margin-top: auto;
}

.pricing-footnote {
  margin: 22px auto 0;
  max-width: 72ch;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Act 5: FAQ & Pilot */
.faq {
  background: var(--white);
  color: var(--ink);
  padding: clamp(64px, 8.5vw, 100px) 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.faq-lead {
  position: sticky;
  top: 76px;
}

.faq-lead h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

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

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

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.16s ease;
}

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

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

.faq-list summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--stone);
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-list summary:hover::after {
  border-color: var(--line);
  background: #ececf1;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.faq-list details p {
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.pilot-band {
  background: var(--white);
  padding: 0 0 clamp(60px, 8vw, 96px);
}

.pilot-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: linear-gradient(135deg, #0c0d13 0%, #151421 54%, #1b1626 100%);
  color: var(--ink-dark);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pilot-copy {
  padding: clamp(28px, 5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pilot-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.625rem, 3.2vw, 2.375rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.pilot-copy > p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 46ch;
}

.pilot-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pilot-status {
  margin: 14px 0 0;
  font-size: 0.8125rem !important;
  color: var(--dim-dark) !important;
}

.pilot-media {
  position: relative;
  min-height: 260px;
}

.pilot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pilot-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1b1626 0%, rgba(27, 22, 38, 0) 36%);
}

/* Footer */
.footer {
  background: var(--stone);
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.footer-note {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.footer-copy {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.75rem;
  cursor: pointer;
}

.footer-links button:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Light Apple Sheet Modal */
dialog {
  border: 0;
  padding: 0;
  color: inherit;
}

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

dialog::backdrop {
  background: rgba(5, 6, 12, 0.64);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal {
  width: min(500px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.modal.is-cabinet {
  width: min(620px, calc(100vw - 24px));
}

.modal[open],
.room[open] {
  animation: modal-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.close {
  float: right;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--stone);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.close:hover {
  background: var(--line-soft);
}

.modal h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.modal h3 {
  margin: 18px 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.modal p {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

.modal-details {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 14px 16px;
  background: var(--stone);
  border-radius: 14px;
}

.modal-details > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
}

.modal-details span {
  color: var(--muted);
}

.modal-details b {
  font-weight: 600;
  text-align: right;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.modal-code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 6px;
}

.help-list {
  margin: 14px 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.note {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--stone);
  font-size: 0.875rem !important;
  color: var(--muted) !important;
}

.modal .btn.primary {
  width: 100%;
  border-radius: 980px;
  margin-top: 6px;
}

.pay-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}

.pay-option {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pay-option[aria-pressed="true"] {
  background: var(--blue-tint);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
  color: var(--blue-hover);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  height: auto;
  min-height: 88px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.45;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.code-input {
  font-family: var(--mono) !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.2em;
  text-align: center;
}

.check-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.check-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.tariff-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-align: left;
  padding: 10px 12px;
}

.tariff-option strong {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
}

.tariff-option span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.3;
}

.tariff-option[aria-pressed="true"] span {
  color: var(--blue-hover);
}

.invite-box {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--stone);
  display: grid;
  gap: 8px;
}

.invite-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.invite-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.invite-row input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.875rem;
  text-transform: uppercase;
}

.invite-row input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.invite-row .btn.secondary {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.form-error {
  margin: -4px 0 12px !important;
  font-size: 0.875rem !important;
  color: #c9342b !important;
}

.invite-box .form-error,
.invite-box .form-success {
  margin: 0 !important;
}

.form-success {
  margin: 0 0 12px !important;
  font-size: 0.875rem !important;
  font-weight: 500;
  color: #15803d !important;
}

/* Device check modal internals */
.check-row {
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--stone);
  margin-bottom: 8px;
}

.check-row h3 {
  margin: 0 0 3px;
  font-size: 0.9375rem;
  color: var(--ink);
}

.check-row p {
  margin: 0 0 6px;
  font-size: 0.875rem;
}

.check-status {
  margin: 0 !important;
  font-weight: 600;
  font-size: 0.8125rem !important;
  color: var(--blue-hover) !important;
}

.check-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0;
}

.check-row .btn.secondary {
  border-radius: 10px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.875rem;
}

.rtt-meter {
  margin: 8px 0;
}

.rtt-track {
  width: 100%;
  height: 8px;
  border-radius: 980px;
  background: #e5e5ea;
  overflow: hidden;
}

.rtt-fill {
  height: 100%;
  width: 0%;
  border-radius: 980px;
  background: var(--blue);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.rtt-fill.is-good {
  background: #16a34a;
}

.rtt-fill.is-mid {
  background: #f59e0b;
}

.rtt-fill.is-high {
  background: #dc2626;
}

.rtt-disclaimer {
  margin: 6px 0 10px !important;
  font-size: 0.75rem !important;
  line-height: 1.4;
  color: var(--muted) !important;
}

.key-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.key-cap {
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 2px 0 #d2d2d7;
  cursor: pointer;
  transition: background-color 0.1s ease, border-color 0.1s ease, transform 0.08s ease, box-shadow 0.08s ease;
}

.key-cap.is-active {
  background: linear-gradient(180deg, #0a84ff 0%, #0066cc 100%);
  border-color: #005bb5;
  color: var(--white);
  box-shadow: 0 0 0 #005bb5;
  transform: translateY(2px);
}

.pad-telemetry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 6px 0 4px;
}

.trigger-list {
  display: grid;
  gap: 8px;
}

.trigger-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.trigger-bar {
  height: 8px;
  border-radius: 980px;
  background: #e5e5ea;
  overflow: hidden;
}

.trigger-fill {
  height: 100%;
  width: 0%;
  border-radius: 980px;
  background: var(--blue);
  transition: width 0.06s linear;
}

.stick-pair {
  display: flex;
  gap: 10px;
  align-items: center;
}

.stick-well {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
  box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.06);
}

.stick-well::before,
.stick-well::after {
  content: "";
  position: absolute;
  background: rgba(134, 134, 139, 0.28);
  pointer-events: none;
}

.stick-well::before {
  top: 50%;
  left: 6px;
  right: 6px;
  height: 1px;
}

.stick-well::after {
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 1px;
}

.stick-dot {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0a84ff 0%, #0066cc 100%);
  box-shadow: 0 2px 5px rgba(0, 113, 227, 0.35);
  transition: transform 0.05s linear;
}

.check-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ticket-banner {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--blue-tint);
  border: 1px solid rgba(0, 113, 227, 0.22);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.45;
}

.ticket-banner strong {
  display: block;
  color: var(--blue-hover);
  margin-bottom: 4px;
}

.modal-details .price-base {
  font-size: 0.8125rem;
  margin-right: 6px;
}

/* Personal Cabinet UI */
.cabinet-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-right: 36px;
}

.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a84ff 0%, #5856d6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.25);
}

.cabinet-user-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cabinet-user-meta strong {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.cabinet-user-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.cabinet-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--stone);
  border: 1px solid var(--line-soft);
  margin-bottom: 18px;
}

.cabinet-tabs.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cabinet-tab {
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.cabinet-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.cabinet-pane[hidden] {
  display: none;
}

.story-pass-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--blue-tint);
  border: 1px solid rgba(0, 113, 227, 0.2);
  margin-bottom: 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink);
}

.story-pass-card strong {
  display: block;
  color: var(--blue-hover);
  margin-bottom: 2px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 980px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--stone);
  color: var(--muted);
}

.status-badge.is-ok {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.status-badge.is-active {
  background: rgba(0, 113, 227, 0.12);
  color: var(--blue-hover);
}

.status-badge.is-cancelled {
  background: rgba(201, 52, 43, 0.12);
  color: #b91c1c;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--stone);
  margin: 6px 0 14px;
  font-size: 0.875rem;
  color: var(--ink);
  cursor: pointer;
}

.toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.session-card {
  padding: 16px;
  border-radius: 16px;
  background: var(--stone);
  border: 1px solid var(--line-soft);
  margin-bottom: 16px;
}

.session-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.session-card-head strong {
  font-size: 1rem;
  font-weight: 600;
}

.session-card-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.history-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--stone);
  border: 1px solid var(--line-soft);
  font-size: 0.875rem;
}

.history-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.history-main strong {
  font-weight: 600;
  color: var(--ink);
}

.history-main span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.history-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.history-side strong {
  font-variant-numeric: tabular-nums;
}

.cabinet-section {
  padding: 14px;
  border-radius: 14px;
  background: var(--stone);
  margin-bottom: 12px;
}

.cabinet-section h3 {
  margin: 0 0 8px;
  font-size: 0.9375rem;
}

.danger-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 8px;
}

.btn-danger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 980px;
  border: 1px solid rgba(201, 52, 43, 0.35);
  background: rgba(201, 52, 43, 0.06);
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-danger-outline:hover {
  background: rgba(201, 52, 43, 0.12);
  border-color: rgba(201, 52, 43, 0.55);
}

.btn-danger-outline.is-armed {
  background: #c9342b;
  border-color: #c9342b;
  color: #ffffff;
}

/* Test drive modal (#room) */
.room {
  width: min(940px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  background: var(--black);
  color: var(--ink-dark);
  border-radius: 22px;
  border: 1px solid var(--line-dark);
  padding: 20px;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.72);
}

.room-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.room-bar .eyebrow {
  margin-bottom: 2px;
}

.room-bar strong {
  font-size: 1.125rem;
  font-weight: 600;
}

.room-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

#roomTimer {
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted-dark);
}

#game {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line-dark-subtle);
  background: #0d0d10;
}

.room-controls {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pad {
  display: flex;
  gap: 8px;
}

.hud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.875rem;
  color: var(--muted-dark);
}

.hud strong {
  color: var(--ink-dark);
  font-variant-numeric: tabular-nums;
}

/* Responsive */
@media (max-width: 960px) {
  .section-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stage-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-lead {
    position: static;
  }

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

  .pilot-media::after {
    background: linear-gradient(180deg, #151421 0%, rgba(21, 20, 33, 0) 42%);
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .pricing-grid,
  .plate-tabs,
  .spec-strip {
    grid-template-columns: 1fr;
  }

  .cinema-caption {
    padding: 28px 16px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cinema-caption > div > span {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-specs {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 6px 20px;
  }

  .hero-specs li + li::before {
    display: none;
  }
}

@media (max-width: 440px) {
  .bar {
    gap: 8px;
  }

  .brand {
    gap: 6px;
  }

  .brand span {
    font-size: 0.8125rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-ghost,
  .header-cta {
    height: 28px;
    padding: 0 9px;
    font-size: 0.725rem;
  }

  .header-cta {
    max-width: 92px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .modal {
    padding: 20px;
  }

  .invite-row {
    flex-direction: column;
  }

  .invite-row .btn.secondary {
    width: 100%;
  }

  .pay-options {
    grid-template-columns: 1fr;
  }

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

  .history-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .history-side {
    align-items: flex-start;
  }

  .cinema-badge {
    font-size: 0.75rem !important;
    padding: 4px 10px;
  }
}

@media (max-width: 360px) {
  .brand img {
    width: 20px;
    height: 15px;
  }

  .brand span {
    font-size: 0.75rem;
  }

  .header-ghost,
  .header-cta {
    height: 27px;
    padding: 0 7px;
    font-size: 0.6875rem;
  }
}

/* Scroll reveal (non-blocking) */
body.reveal-ready .reveal-item {
  opacity: 1;
  transform: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

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

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

  .hero-cinema:hover img,
  .plate-btn:hover,
  .spec-item:hover,
  .btn:hover,
  .btn:active {
    transform: none !important;
  }

  body.reveal-ready .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
