/* ==========================================================================
   PRST by Feda Digital · Minimal Monochrome Studio Web Architecture
   Spotless pitch-black canvas, unified architectural header, zero box clutter,
   zero decorative stripes, continuous scroll-driven spatial choreography.
   ========================================================================== */

@font-face {
  font-family: "Bomr";
  src: url("../assets/fonts/Bomr.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/Geist-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/Geist-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --surface: #0b0b0b;
  --surface-2: #121212;
  --field: #141414;
  --control: #181818;
  --control-hover: #222222;
  --hairline: #191919;
  --border: #252525;
  --border-hover: #3d3d3d;
  --border-active: #e5e5e5;
  --ink-white: #ffffff;
  --ink-primary: #f2f2f2;
  --ink-secondary: #ababab;
  --ink-muted: #8a8a8a;
  --ink-on-chalk: #060606;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--bg);
  color: var(--ink-primary);
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-primary);
  overflow-x: clip;
  min-height: 100vh;
}

::selection { background: var(--ink-white); color: var(--ink-on-chalk); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222222; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 1.5px solid rgba(255, 255, 255, 0.88);
  outline-offset: 2px;
}

.tnum { font-variant-numeric: tabular-nums; }
.bomr { font-family: "Bomr", "Geist", sans-serif; font-weight: 700; }

/* ==========================================================================
   UNIFIED CLEAN HEADER (Single balanced architectural bar, zero box soup)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease-expo), border-color 0.25s var(--ease-expo), backdrop-filter 0.25s;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.header-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.nav-brand {
  justify-self: start;
  font-family: "Bomr", sans-serif;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-white);
  letter-spacing: 0.02em;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  font-size: 13.5px;
  color: var(--ink-secondary);
  padding: 6px 0;
  transition: color 0.16s;
}
.nav-link:hover,
.nav-link.active { color: var(--ink-white); }

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  padding: 4px 3px;
  cursor: pointer;
  transition: color 0.16s;
}
.lang-btn:hover { color: var(--ink-primary); }
.lang-btn.active { color: var(--ink-white); }
.lang-slash { color: #363636; user-select: none; }

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.16s;
}
.nav-account:hover,
.nav-account.active,
.nav-account.signed-in { color: var(--ink-white); }

.nav-account-dot {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--ink-white);
  display: none;
  flex-shrink: 0;
}
.nav-account.signed-in .nav-account-dot { display: inline-block; }

.nav-buy {
  height: 36px;
  padding: 0 15px;
  border-radius: 7px;
  border: none;
  background: var(--ink-primary);
  color: var(--ink-on-chalk);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background 0.16s, transform 0.16s;
}
.nav-buy:hover { background: var(--ink-white); }
.nav-buy:active { transform: scale(0.98); }

/* ==========================================================================
   Shared Buttons & Inputs
   ========================================================================== */
.btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--control);
  color: var(--ink-primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.16s;
}
.btn:hover { background: var(--control-hover); border-color: var(--border-hover); color: var(--ink-white); }
.btn:active { transform: scale(0.985); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-chalk {
  background: var(--ink-primary);
  color: var(--ink-on-chalk);
  border-color: var(--ink-primary);
}
.btn-chalk:hover { background: var(--ink-white); border-color: var(--ink-white); color: var(--ink-on-chalk); }

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-secondary);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: transparent; color: var(--ink-white); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 7px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 14.5px; border-radius: 9px; }

.input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--field);
  color: var(--ink-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s, background 0.16s;
}
.input::placeholder { color: var(--ink-muted); }
.input:focus { border-color: var(--ink-white); background: #191919; }

/* Scroll-scrubbed word-by-word typography reveal */
.w-rev {
  display: inline-block;
  will-change: opacity, transform;
}

/* ==========================================================================
   ACT 1 · HERO (4-into-1 Spatial Convergence into PRST Window)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 112px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: clip;
  background: var(--bg);
}

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  perspective: 1600px;
}

.orbit-plate {
  position: absolute;
  width: clamp(220px, 22vw, 355px);
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #232323;
  background: var(--bg);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.9);
  will-change: transform, opacity;
  opacity: 0.78;
}
.orbit-plate img { width: 100%; height: auto; display: block; }

.orbit-tl { top: 14%; left: -3%; }
.orbit-bl { bottom: 10%; left: -2%; width: clamp(230px, 23.5vw, 375px); }
.orbit-tr { top: 15%; right: -3%; }
.orbit-br { bottom: 11%; right: -2%; width: clamp(230px, 23vw, 365px); }

.hero-core {
  position: relative;
  z-index: 3;
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

.hero-wordmark {
  font-family: "Bomr", sans-serif;
  font-size: clamp(4.2rem, 11vw, 8.2rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--ink-white);
  margin: 0 0 22px;
  user-select: none;
}

.hero-title {
  font-size: clamp(1.5rem, 2.75vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: var(--ink-primary);
  margin: 0 0 12px;
  text-wrap: balance;
}

.hero-sub {
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ACT 2 · PINNED PRST STAGE (Sliding Spring Pill + Cinema A/B Wipe!)
   ========================================================================== */
.chain-track {
  position: relative;
  height: 330vh;
}

.chain-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 76px 24px 28px;
}

.stage-controls {
  margin-bottom: 18px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.stage-controls::-webkit-scrollbar { display: none; }

.stage-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--hairline);
}

.tab-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 7px;
  background: var(--ink-primary);
  z-index: 0;
  will-change: transform, width;
  pointer-events: none;
}

.chain-slot {
  position: relative;
  z-index: 1;
  height: 34px;
  padding: 0 16px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}
.chain-slot:hover { color: var(--ink-white); }
.chain-slot.active { background: var(--ink-primary); color: var(--ink-on-chalk); }
.stage-tabs.has-indicator .chain-slot.active { background: transparent; }

.stage-perspective {
  width: min(100%, calc((100svh - 210px) * 1180 / 840));
  max-width: 1040px;
  perspective: 1800px;
}

.stage-shell {
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform-origin: center top;
  will-change: transform;
}

/* Registered Dual-Layer A/B Curtain Wipe Viewport (Exact 1180:840) */
.stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1180 / 840;
  background: var(--bg);
  overflow: hidden;
  touch-action: pan-y;
}

.stage-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.stage-layer-next {
  clip-path: inset(0 0 0 100%);
  will-change: clip-path;
}

.stage-scan-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 1px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  will-change: left, opacity;
}

.stage-caption {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  text-align: center;
  flex-wrap: wrap;
}
.stage-caption-title { font-size: 14px; font-weight: 600; color: var(--ink-white); }
.stage-caption-desc { font-size: 14px; color: var(--ink-secondary); }

/* ==========================================================================
   ACT 3 · POPULAR MICROPHONE PROFILES (Dual Opposing Curves + 3D Tilt Screen)
   ========================================================================== */
.band {
  position: relative;
  padding: 112px 28px;
  scroll-margin-top: 72px;
}

.band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head {
  max-width: 560px;
  margin-bottom: 44px;
}

.section-title {
  font-size: clamp(1.95rem, 3.6vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink-white);
  margin: 0 0 12px;
}

.section-lead {
  font-size: 15px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.55;
}

.mic-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.mic-panel {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}

.mic-readout-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.mic-active-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink-white);
}

.mic-active-spec {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.mic-canvas-well {
  position: relative;
  width: 100%;
  height: 248px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  overflow: hidden;
  margin-bottom: 12px;
}

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

.mic-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mic-note-line {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 0;
}

.mic-legend {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

.leg-item { display: inline-flex; align-items: center; gap: 6px; }
.leg-solid { width: 14px; height: 1.5px; background: var(--ink-white); }
.leg-dash { width: 14px; height: 0; border-top: 1.5px dashed rgba(255, 255, 255, 0.45); }

.mic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mic-chip {
  height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.mic-chip:hover { color: var(--ink-white); border-color: var(--border-hover); background: var(--control-hover); }
.mic-chip.active {
  background: var(--ink-primary);
  color: var(--ink-on-chalk);
  border-color: var(--ink-primary);
}

.mic-shot-col {
  perspective: 1200px;
  will-change: transform;
}

.clean-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: transform 0.35s var(--ease-expo);
  will-change: transform;
}
.clean-frame img { width: 100%; height: auto; display: block; }

.frame-caption {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   ACT 4 · VELOCITY-BANKED 3D PERSPECTIVE HORIZONTAL GALLERY ("Inside PRST")
   ========================================================================== */
.gallery-track {
  position: relative;
  height: 235vh;
  scroll-margin-top: 72px;
}

.gallery-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 72px 0 28px;
}

.gallery-top {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto 28px;
  padding: 0 28px;
}

.gallery-top .section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.gallery-rail {
  display: flex;
  align-items: flex-start;
  gap: 44px;
  padding: 0;
  perspective: 1600px;
  will-change: transform;
}

.gallery-item {
  flex: 0 0 min(760px, 64vw);
  will-change: transform, opacity;
}

.gallery-shot {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  aspect-ratio: 1180 / 840;
  max-height: calc(100svh - 245px);
}
.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.gallery-meta h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-white);
}
.gallery-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
  max-width: 52ch;
}

.gallery-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #2b2b2b;
  transition: width 0.25s var(--ease-expo), background 0.25s;
}
.gallery-dot.active { width: 20px; background: var(--ink-white); }

/* ==========================================================================
   ACT 4.5 · CROSS-DAW PRESET IMPORT SHOWCASE
   ========================================================================== */
.import-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.import-copy .section-lead {
  margin-bottom: 26px;
}

.daw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.daw-chip {
  height: 36px;
  padding: 0 13px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.daw-chip span {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-muted);
}
.daw-chip:hover { color: var(--ink-white); border-color: var(--border-hover); background: var(--control-hover); }
.daw-chip.active {
  background: var(--ink-primary);
  color: var(--ink-on-chalk);
  border-color: var(--ink-primary);
}
.daw-chip.active span { color: rgba(6, 6, 6, 0.65); }

.import-foot {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.55;
  max-width: 50ch;
}

.import-stage {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}

.import-label {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.import-source-box {
  padding: 14px 16px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.import-file-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.import-file-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-white);
}

.import-file-ext {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.import-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  color: var(--ink-secondary);
}
.import-arrow .bomr { font-size: 15px; color: var(--ink-white); }

.import-out-box {
  padding: 16px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--hairline);
}

.import-slots {
  display: grid;
  gap: 8px;
}

.imp-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 7px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  animation: impReveal 0.34s var(--ease-expo) forwards;
}

.imp-slot-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-white);
}

.imp-slot-tag {
  font-size: 12px;
  color: var(--ink-muted);
  white-space: nowrap;
}

@keyframes impReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ACT 5 · COMPACT SPECS + CLEAN PURCHASE BLOCK
   ========================================================================== */
.spec-ledger {
  border-top: 1px solid var(--hairline);
}

.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.spec-key { font-size: 14px; font-weight: 600; color: var(--ink-white); }
.spec-val { font-size: 14.5px; color: var(--ink-secondary); line-height: 1.55; }

.buy-band { padding-top: 32px; padding-bottom: 96px; }

.buy-block {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 42px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  will-change: transform, opacity;
}

.buy-brand {
  font-family: "Bomr", sans-serif;
  font-size: 36px;
  line-height: 1;
  color: var(--ink-white);
  margin-bottom: 12px;
}

.buy-desc {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin: 0;
  max-width: 40ch;
  line-height: 1.55;
}

.buy-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 228px;
}

.buy-amount {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-white);
}

.pricing-link {
  font-size: 13px;
  color: var(--ink-muted);
  text-underline-offset: 4px;
}
.pricing-link:hover { color: var(--ink-white); text-decoration: underline; }

/* ==========================================================================
   CLEAN MINIMAL FOOTER (Zero payment badges, zero wave, zero gimmicks)
   ========================================================================== */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 28px 44px;
  border-top: 1px solid var(--hairline);
}

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

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

.footer-brand {
  font-family: "Bomr", sans-serif;
  font-size: 20px;
  color: var(--ink-white);
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: var(--ink-muted);
  transition: color 0.16s;
}
.footer-nav a:hover { color: var(--ink-white); }

/* ==========================================================================
   Checkout Modal (Simulated Dual-Rail International + RF Checkout)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 3, 3, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-expo);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal-card {
  width: 100%;
  max-width: 468px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-hover);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
  padding: 26px;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.28s var(--ease-expo);
}
.modal-backdrop.open .modal-card { transform: translateY(0) scale(1); }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 20px;
}
.modal-head h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink-white); }

.method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.method-tab {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--field);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}
.method-tab:hover { border-color: var(--border-hover); }
.method-tab.active { background: #1e1e1e; border-color: var(--border-active); }
.method-tab strong { display: block; font-size: 13.5px; color: var(--ink-white); }
.method-tab span { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

.issued-key-box {
  padding: 16px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border-active);
  text-align: center;
  margin: 14px 0 18px;
}
.issued-key-code {
  font-family: "Geist", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-white);
  letter-spacing: 0.06em;
  user-select: all;
}

/* ==========================================================================
   Account Portal & Legal Read Pages
   ========================================================================== */
.portal-main {
  min-height: calc(100vh - 130px);
  padding: 108px 24px 80px;
}

.auth-shell {
  max-width: 472px;
  margin: 0 auto;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
}

.auth-brand { text-align: center; margin-bottom: 24px; }
.auth-brand .bomr { font-size: 34px; color: var(--ink-white); display: block; line-height: 1; }
.auth-brand p { font-size: 13.5px; color: var(--ink-muted); margin: 8px 0 0; }

.seg-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: var(--field);
  border: 1px solid var(--hairline);
  margin-bottom: 22px;
}
.seg-tab {
  height: 36px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.seg-tab.active { background: var(--ink-primary); color: var(--ink-on-chalk); }

.field-group { margin-bottom: 14px; }
.field-label {
  display: block;
  font-size: 12.5px;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.form-status {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-primary);
  display: none;
}
.form-status.show { display: block; }
.form-status.err { border-color: var(--ink-white); }

.dev-hint {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--ink-muted);
}
.dev-hint strong { color: var(--ink-primary); }
.dev-hint code {
  font-family: "Geist", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-white);
  background: var(--control);
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
}

.dash-wrap { max-width: 1060px; margin: 0 auto; }
.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.dash-head h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.dash-head p { margin: 6px 0 0; font-size: 14px; color: var(--ink-muted); }

.dash-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.panel {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 24px;
  margin-bottom: 20px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 18px;
}
.panel-head h2 { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink-white); }

.product-card {
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 16px;
}
.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--control);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-white);
}
.status-pill .slot-dot {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--ink-white);
}

.kv-table { display: grid; gap: 10px; margin-bottom: 16px; }
.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  padding-bottom: 9px;
  border-bottom: 1px solid #161616;
  flex-wrap: wrap;
}
.kv-row:last-child { border-bottom: none; padding-bottom: 0; }
.kv-row span { color: var(--ink-muted); }
.kv-row strong { color: var(--ink-primary); font-weight: 600; }

.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--field);
  border: 1px solid var(--hairline);
  margin-top: 8px;
  flex-wrap: wrap;
}
.device-name { font-size: 13.5px; font-weight: 600; color: var(--ink-white); }
.device-sub { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

.download-box {
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 18px;
  margin-bottom: 14px;
}
.sha-line {
  margin-top: 12px;
  font-family: "Geist", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--ink-muted);
  word-break: break-all;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--hairline);
}

/* Legal Read Mode */
.legal-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 112px 24px 80px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 52px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 88px;
  border-left: 1px solid var(--hairline);
  padding-left: 18px;
}
.legal-toc-title { font-size: 12.5px; font-weight: 600; color: var(--ink-white); margin: 0 0 12px; }
.legal-toc a {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  padding: 5px 0;
  transition: color 0.16s;
}
.legal-toc a:hover { color: var(--ink-white); }

.legal-article { max-width: 68ch; }
.legal-article h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 10px;
  color: var(--ink-white);
}
.legal-updated { font-size: 13.5px; color: var(--ink-muted); margin: 0 0 36px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.legal-article h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-white);
  margin: 36px 0 12px;
  scroll-margin-top: 84px;
}
.legal-article p, .legal-article li {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.66;
}
.legal-article ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }

/* Toast */
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 140;
  max-width: calc(100vw - 40px);
  padding: 13px 18px;
  border-radius: 9px;
  background: var(--ink-primary);
  color: var(--ink-on-chalk);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.78);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease-expo), opacity 0.2s;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }

/* ==========================================================================
   RESPONSIVE & MOBILE ADAPTATION (<= 900px Tablet, <= 600px Phone)
   ========================================================================== */
@media (max-width: 1120px) {
  .orbit-plate { opacity: 0.28; }
  .mic-split { grid-template-columns: 1fr; gap: 28px; }
  .import-split { grid-template-columns: 1fr; gap: 28px; }
  .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr; padding: 0 18px; }
  .nav-links { display: none; }
  .orbit-plate { display: none; }

  .hero { min-height: 76svh; padding: 108px 20px 44px; }

  .chain-track { height: auto; }
  .chain-sticky { position: static; height: auto; padding: 12px 16px 56px; }
  .stage-perspective { width: 100%; }
  .stage-tabs { max-width: 100%; }
  .chain-slot { padding: 0 12px; font-size: 12.5px; height: 34px; }

  .band { padding: 68px 18px; }
  .section-head { margin-bottom: 28px; }

  /* Mobile horizontal swipe carousel for Inside PRST */
  .gallery-track { height: auto; padding: 64px 0; }
  .gallery-sticky { position: static; height: auto; padding: 0; overflow: visible; }
  .gallery-top { padding: 0 18px; margin-bottom: 20px; }
  .gallery-rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding: 0 6vw;
    transform: none !important;
  }
  .gallery-rail::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 88vw;
    scroll-snap-align: center;
    opacity: 1 !important;
    transform: none !important;
  }
  .gallery-shot { max-height: none; }
  .gallery-meta { gap: 6px; margin-top: 12px; }
  .gallery-dots { display: flex; }

  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .buy-band { padding-top: 24px; padding-bottom: 64px; }
  .buy-block { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .buy-right { align-items: stretch; text-align: left; min-width: 0; }
  .buy-amount { font-size: 42px; }

  .site-footer { padding: 28px 18px 36px; }
  .footer-nav { gap: 14px 18px; }

  .legal-wrap { grid-template-columns: 1fr; gap: 28px; padding: 92px 18px 60px; }
  .legal-toc { position: static; }
}

@media (max-width: 600px) {
  .site-header { height: 56px; }
  .header-inner { padding: 0 14px; gap: 10px; }
  .nav-brand { font-size: 19px; }
  .nav-actions { gap: 12px; }
  .lang-switch { font-size: 12px; }
  .nav-account { font-size: 12.5px; max-width: 88px; }
  #navAccountLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-buy { height: 32px; padding: 0 11px; font-size: 12px; }

  .hero { min-height: 68svh; padding: 96px 16px 36px; }
  .hero-wordmark { font-size: clamp(3.6rem, 17vw, 5.2rem); margin-bottom: 16px; }
  .hero-title { font-size: 1.45rem; }
  .hero-sub { font-size: 14px; margin-bottom: 24px; }
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .stage-controls { width: 100%; display: flex; justify-content: flex-start; }
  .stage-caption { flex-direction: column; align-items: center; gap: 4px; margin-top: 12px; }

  .mic-panel { padding: 18px 16px; }
  .mic-canvas-well { height: 204px; }
  .mic-chip { height: 32px; padding: 0 10px; font-size: 12.5px; }
  .import-stage { padding: 18px 14px; }
  .daw-chip { height: 32px; padding: 0 10px; font-size: 12.5px; }

  .portal-main { padding: 84px 14px 56px; }
  .auth-shell { padding: 24px 18px; }
  .panel { padding: 18px 16px; }
  .input-row { grid-template-columns: 1fr; }
  .modal-card { padding: 20px 18px; }
  .method-tabs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .w-rev { opacity: 1 !important; transform: none !important; }
}
