@font-face {
  font-family: "MikeInter";
  src: url("./assets/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MikeInter";
  src: url("./assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MikeInter";
  src: url("./assets/fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MikeInter";
  src: url("./assets/fonts/inter-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Dark Stone & Tide tokens (DESIGN.md) paired with byq.supply studio architecture */
:root {
  --bg: #0a0c0e;
  --surface: #131619;
  --surface-2: #191d21;
  --rule: rgba(255, 255, 255, 0.09);
  --rule-strong: rgba(255, 255, 255, 0.18);
  --ink: #f1f3f4;
  --ink-2: #9aa2a8;
  --ink-3: #767f87;
  --tide: #5cc6cc;
  --mint: #31deb6;
  --lime: #aff36a;
  --lime-hover: #bef784;
  --on-lime: #0c120b;
  --validation: #f2b8b5;
  --validation-bg: #3a1f1e;
  --rail-width: 1248px;
  --gutter: clamp(16px, 3vw, 32px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "MikeInter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(92, 198, 204, 0.28);
  color: var(--ink);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

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

.rail {
  width: 100%;
  max-width: var(--rail-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Sticky Top Bar (BYQ minimal studio bar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 12, 14, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

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

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

.wordmark-m {
  flex: none;
  height: auto;
}

.wordmark-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  transform: translateY(2px);
}

.header-divider {
  width: 1px;
  height: 18px;
  background: var(--rule);
}

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

.header-nav a {
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 150ms var(--ease-out), background-color 150ms var(--ease-out);
}

.header-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 90ms var(--ease-out),
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    opacity 160ms var(--ease-out);
}

.btn-sm {
  min-height: 36px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 13.5px;
}

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

.btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.btn-lime {
  background: var(--lime);
  color: var(--on-lime);
}

.btn-lime:hover:not(:disabled) {
  background: var(--lime-hover);
}

.btn-lime:disabled {
  background: var(--surface-2);
  border-color: var(--rule);
  color: var(--ink-2);
  cursor: not-allowed;
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--rule-strong);
  background: #22272c;
}

/* ==========================================================================
   1. Centered Hero + Email Gate + Live 4-Screen Strip (BYQ Beat 1)
   ========================================================================== */
.hero {
  padding: clamp(28px, 4.5vw, 56px) 0 0;
}

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

.hero-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--ink);
}

.cycle-slot {
  display: inline-block;
}

.cycle-word {
  display: inline-block;
  color: var(--ink-2);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.cycle-word.is-swapping {
  opacity: 0;
  transform: translateY(8px);
}

.hero-sub {
  margin: 16px 0 24px;
  max-width: 48ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Email Gate Card */
.gate-card {
  width: 100%;
  max-width: 500px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 10px;
  text-align: left;
  scroll-margin-top: 96px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gate-row {
  display: flex;
  gap: 8px;
}

.gate-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 15px;
  border-radius: 11px;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  caret-color: var(--lime);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.gate-input::placeholder {
  color: var(--ink-3);
}

.gate-input:hover {
  border-color: var(--rule-strong);
}

.gate-input:focus {
  outline: none;
  border-color: var(--tide);
  box-shadow: 0 0 0 3px rgba(92, 198, 204, 0.18);
}

.gate-input[aria-invalid="true"] {
  border-color: var(--validation);
  background: var(--validation-bg);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gate-meta {
  margin: 2px 4px 2px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
}

.gate-error {
  margin: 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--validation-bg);
  color: var(--validation);
  font-size: 13.5px;
  font-weight: 500;
}

.gate-error[hidden],
.gate-unlocked[hidden],
.gate-form[hidden] {
  display: none;
}

/* Unlocked TestFlight State */
.gate-unlocked {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: unlockIn 240ms var(--ease-out) both;
}

@keyframes unlockIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.unlock-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.unlock-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(175, 243, 106, 0.16);
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.unlock-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.unlock-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.unlock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.unlock-actions .btn-lime {
  flex: 1 1 200px;
}

.unlock-steps {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}

.unlock-steps a {
  color: var(--tide);
}

.unlock-reset {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: var(--ink-3);
  font-family: inherit;
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
}

.unlock-reset:hover {
  color: var(--ink);
}

/* ==========================================================================
   Hero 4-Up Live App Showcase (Peeking right above the fold — FIXED PROPORTIONS!)
   ========================================================================== */
.hero-gallery-wrap {
  margin: clamp(32px, 4vw, 48px) auto 0;
  max-width: 1320px;
  padding-inline: var(--gutter);
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.gallery-card {
  position: relative;
}

.gallery-surface {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  padding: 14px 14px 0;
  overflow: hidden;
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out);
}

.gallery-card:hover .gallery-surface {
  transform: translateY(-6px);
  border-color: var(--rule-strong);
}

.gallery-card.is-featured .gallery-surface {
  background: #171c20;
  border-color: rgba(175, 243, 106, 0.28);
}

.device-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 15.2;
  border-radius: 28px 28px 0 0;
  padding: 8px 8px 0;
  background: #050607;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.device-island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 15px;
  border-radius: 999px;
  background: #050607;
  z-index: 3;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 21px 21px 0 0;
  overflow: hidden;
  background: #ffffff;
}

.app-video,
.app-still {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: calc(100% - 24px);
  object-fit: cover;
  object-position: top center;
}

/* ==========================================================================
   Architectural 1px Outer Rail (BYQ signature structure)
   ========================================================================== */
.frame-shell {
  max-width: var(--rail-width);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: var(--bg);
}

/* ==========================================================================
   2. Sticky Left Sidebar + Live Video Chapters (BYQ Core Flow)
   ========================================================================== */
.walkthrough-header {
  padding: clamp(52px, 6vw, 88px) clamp(20px, 3.5vw, 48px) clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--rule);
}

.editorial-h2 {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.editorial-h3 {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.muted {
  color: var(--ink-2);
  font-weight: 500;
}

.walkthrough-split {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.walkthrough-sidebar {
  border-right: 1px solid var(--rule);
  padding: 40px 24px 40px clamp(20px, 3vw, 36px);
}

.sidebar-list {
  position: sticky;
  top: 108px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.sidebar-link:hover {
  color: var(--ink);
}

.sidebar-link.is-active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--lime);
}

.walkthrough-chapters {
  min-width: 0;
}

.chapter {
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 76px;
}

.chapter:last-child {
  border-bottom: none;
}

.chapter-head {
  padding: clamp(32px, 4vw, 52px) clamp(20px, 4vw, 48px) clamp(24px, 3vw, 32px);
}

.chapter-stage {
  position: relative;
  margin: 0 clamp(20px, 4vw, 48px) clamp(32px, 4vw, 48px);
  border-radius: 18px;
  border: 1px solid var(--rule);
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) 24px 0;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.stage-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.15) brightness(0.42);
  transform: scale(1.1);
}

.stage-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.25) 0%, rgba(10, 12, 14, 0.72) 100%);
}

.stage-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.stage-device {
  position: relative;
  width: min(270px, 70vw);
  aspect-ratio: 9 / 15.8;
  border-radius: 34px 34px 0 0;
  padding: 9px 9px 0;
  background: #050607;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  flex: none;
}

.stage-device-secondary {
  width: min(230px, 54vw);
  aspect-ratio: 9 / 14.2;
  opacity: 0.94;
}

.stage-readout {
  align-self: center;
  background: rgba(14, 16, 18, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  padding: 16px 18px;
  min-width: 196px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.readout-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
}

.readout-label {
  color: var(--ink-2);
}

.readout-val {
  font-weight: 700;
  color: var(--ink);
}

.accent-lime {
  color: var(--lime);
}

/* ==========================================================================
   3. 3-Column Interactive Visual Bento (BYQ Beat 3 — Live Controls over Real Food)
   ========================================================================== */
.bento-section {
  border-top: 1px solid var(--rule);
  padding: clamp(56px, 7vw, 96px) clamp(20px, 3.5vw, 48px);
}

.bento-heading {
  margin-bottom: clamp(32px, 4vw, 48px);
}

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

.bento-card {
  display: flex;
  flex-direction: column;
}

.bento-visual {
  position: relative;
  aspect-ratio: 4 / 3.5;
  border-radius: 16px;
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 16px;
}

.bento-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.46) saturate(1.1);
  transition: transform 360ms var(--ease-out);
}

.bento-card:hover .bento-bg {
  transform: scale(1.03);
}

.bento-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(10, 12, 14, 0.25), rgba(10, 12, 14, 0.72));
}

.sim-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 280px;
  background: rgba(14, 16, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

/* Interactive 28-segment ring */
.ring-sim {
  position: relative;
  width: 124px;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}

.ring-center strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ring-center span {
  font-size: 11px;
  color: var(--ink-2);
}

.ring-seg {
  transition: opacity 220ms var(--ease-out), fill 220ms var(--ease-out);
}

.sim-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.sim-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 150ms var(--ease-out),
    border-color 150ms var(--ease-out),
    color 150ms var(--ease-out),
    transform 90ms var(--ease-out);
}

.sim-pill:hover {
  color: var(--ink);
  border-color: var(--rule-strong);
}

.sim-pill:active {
  transform: scale(0.96);
}

.sim-pill.is-on {
  background: rgba(175, 243, 106, 0.16);
  border-color: rgba(175, 243, 106, 0.45);
  color: var(--lime);
}

/* Interactive logging menu */
.sim-menu-panel {
  align-items: stretch;
  gap: 10px;
}

.sim-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition:
    background-color 150ms var(--ease-out),
    color 150ms var(--ease-out),
    border-color 150ms var(--ease-out);
}

.sim-menu-item:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.sim-menu-item.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--rule-strong);
}

.sim-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--tide);
}

.sim-output {
  padding-top: 9px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.4;
}

.sim-output strong {
  color: var(--ink);
}

/* Interactive Ask Mike chat */
.sim-chat-panel {
  align-items: stretch;
}

.sim-chat-bubble {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(92, 198, 204, 0.12);
  border: 1px solid rgba(92, 198, 204, 0.24);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
  min-height: 76px;
}

.bento-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ==========================================================================
   4. Closing Editorial CTA
   ========================================================================== */
.closing-cta {
  border-top: 1px solid var(--rule);
  padding: clamp(64px, 8vw, 108px) clamp(20px, 4vw, 48px);
  text-align: center;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.closing-mascot {
  height: auto;
}

.closing-title {
  margin: 0;
  max-width: 19ch;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 36px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-wordmark-text {
  font-size: 20px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--ink-2);
}

.footer-links a {
  text-decoration: none;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .header-nav,
  .header-divider {
    display: none;
  }

  .hero-gallery {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-card {
    scroll-snap-align: start;
  }

  .walkthrough-split {
    grid-template-columns: 1fr;
  }

  .walkthrough-sidebar {
    position: sticky;
    top: 68px;
    z-index: 20;
    background: rgba(10, 12, 14, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 12px 16px;
  }

  .sidebar-list {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
  }

  .sidebar-link {
    border-left: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--surface);
    white-space: nowrap;
    font-size: 13.5px;
  }

  .sidebar-link.is-active {
    background: rgba(175, 243, 106, 0.16);
    color: var(--lime);
  }

  .stage-device-secondary,
  .stage-readout {
    display: none;
  }

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

@media (max-width: 600px) {
  .frame-shell {
    border-left: none;
    border-right: none;
  }

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

  .gate-row .btn {
    width: 100%;
  }

  .chapter-stage {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .gate-unlocked {
    animation: none;
  }
  .btn,
  .gallery-surface,
  .bento-bg,
  .cycle-word,
  .ring-seg {
    transition: none;
  }
}
