:root {
  color-scheme: dark;
  --bg: #06070b;
  --bg-2: #0a0c12;
  --panel: #0f121a;
  --panel-2: #141824;
  --surface: rgba(20, 24, 36, 0.66);
  --surface-strong: rgba(21, 25, 37, 0.94);
  --text: #eef0f5;
  --text-2: #c4c9d5;
  --muted: #8d94a7;
  --line: rgba(150, 165, 200, 0.12);
  --line-strong: rgba(150, 165, 200, 0.22);
  --orange: #ff7a45;
  --orange-2: #ff4f3a;
  --amber: #ffb766;
  --accent-soft: rgba(255, 122, 69, 0.12);
  --accent-gradient: linear-gradient(135deg, #ff9156 0%, #ff5e3a 52%, #f2453b 100%);
  --cyan: #6cc8ff;
  --green: #5fe0a3;
  --red: #ff5d4d;
  --yellow: #f4c542;
  --blue: #5470ff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
  --radius: 20px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Ambient lighting + blueprint grid behind every page */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  inset: -20%;
  background:
    radial-gradient(48% 38% at 50% 8%, rgba(255, 106, 61, 0.15), transparent 70%),
    radial-gradient(40% 40% at 6% 38%, rgba(84, 112, 255, 0.11), transparent 70%),
    radial-gradient(36% 36% at 96% 72%, rgba(255, 183, 102, 0.07), transparent 70%);
  animation: ambient-drift 26s ease-in-out infinite alternate;
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 25%, transparent 75%);
}

@keyframes ambient-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.06); }
}

::selection {
  background: rgba(255, 122, 69, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14) padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.26);
}

::-webkit-scrollbar-track {
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid #ffb48a;
  outline-offset: 3px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--orange) 45%, var(--orange-2));
  box-shadow: 0 0 12px rgba(255, 110, 64, 0.7);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- Checkout notification ---------- */

.checkout-result {
  position: fixed;
  bottom: max(32px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  gap: 14px;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid rgba(255, 183, 102, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 30, 44, 0.94), rgba(14, 17, 26, 0.96));
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--shadow-lg), inset 0 1px rgba(255, 255, 255, 0.06);
  animation: checkout-toast-enter 420ms var(--ease-out);
  transition: opacity 400ms ease, transform 400ms ease;
}

.checkout-toast-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--amber);
  background: rgba(255, 183, 102, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 183, 102, 0.18);
}

.checkout-toast-icon svg {
  width: 24px;
  height: 24px;
}

.checkout-toast-check {
  display: none;
}

.checkout-result[data-status="paid"] {
  top: auto;
  bottom: max(32px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-color: rgba(95, 224, 163, 0.25);
  animation-name: checkout-toast-success-enter;
  transition: opacity 400ms ease, transform 400ms ease;
}

.checkout-result.checkout-toast-leaving {
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
}

.checkout-result[data-status="paid"] .checkout-toast-icon {
  color: var(--green);
  background: rgba(95, 224, 163, 0.1);
  box-shadow: inset 0 0 0 1px rgba(95, 224, 163, 0.2);
}

.checkout-result[data-status="paid"] .checkout-toast-check {
  display: block;
}

.checkout-result[data-status="paid"] .checkout-toast-info {
  display: none;
}

.checkout-result[data-status="error"] .checkout-toast-icon,
.checkout-result[data-status="failed"] .checkout-toast-icon {
  color: #ff8f80;
  background: rgba(255, 93, 77, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 93, 77, 0.2);
}

.checkout-toast-content strong {
  display: block;
  margin: 2px 0 6px;
  font-size: 0.98rem;
}

.checkout-toast-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.checkout-toast-close,
.checkout-toast-refresh {
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.checkout-toast-close {
  align-self: start;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 26px;
}

.checkout-toast-close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.checkout-toast-refresh {
  grid-column: 2 / -1;
  justify-self: start;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8rem;
}

.checkout-toast-refresh:hover {
  border-color: rgba(255, 183, 102, 0.5);
}

.checkout-toast-close:hover,
.checkout-toast-refresh:hover {
  color: var(--text);
}

.checkout-result button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.checkout-toast-refresh:disabled {
  cursor: wait;
  opacity: 0.6;
}

@keyframes checkout-toast-enter {
  from { opacity: 0; transform: translate(-50%, 14px) scale(0.96); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes checkout-toast-success-enter {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .checkout-result {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-result {
    animation: none;
    transition: none;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 7, 11, 0.5);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 10, 15, 0.78);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--header-height) - 1px);
  gap: 20px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(255, 90, 60, 0.18));
  transition: transform 0.6s var(--ease-spring);
}

.brand-block:hover .brand-logo {
  transform: rotate(-8deg) scale(1.05);
}

.brand-block:focus-visible,
.brand-signature:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
  border-radius: 8px;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.brand-block small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.6rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.main-nav a {
  position: relative;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

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

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

.primary-btn,
.ghost-btn,
.inline-link,
.close-btn {
  cursor: pointer;
}

.primary-btn,
.ghost-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 42px;
  padding: 0.66rem 1.25rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    filter 0.25s ease;
}

@property --btn-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* Forged-metal button: warm-black face, slow-turning champagne/ember rim, soft ember underglow. */
.primary-btn {
  --face: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(145deg, #25262c 0%, #14151a 100%);
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    var(--face) padding-box,
    conic-gradient(from var(--btn-angle), rgba(214, 184, 140, 0.85), rgba(214, 184, 140, 0.18) 25%, rgba(240, 232, 220, 0.8) 50%, rgba(214, 184, 140, 0.18) 75%, rgba(214, 184, 140, 0.85)) border-box;
  color: #f3e7d3;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 26px -14px rgba(0, 0, 0, 0.9),
    0 0 22px -10px rgba(214, 184, 140, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.5);
  animation: btn-rim 6s linear infinite;
}

@keyframes btn-rim { to { --btn-angle: 360deg; } }

.ghost-btn {
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  backdrop-filter: blur(8px);
}

/* Light sweep on hover */
.primary-btn::before,
.ghost-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 214, 170, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}

.ghost-btn::before {
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
}

/* Click ripple (position + size set by ui.js) */
.primary-btn::after,
.ghost-btn::after {
  content: '';
  position: absolute;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  z-index: -1;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.primary-btn.is-rippling::after,
.ghost-btn.is-rippling::after {
  animation: btn-ripple 0.65s ease-out;
}

@keyframes btn-ripple {
  from { opacity: 0.55; transform: scale(0); }
  to { opacity: 0; transform: scale(var(--ripple-scale, 40)); }
}

.primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  color: #fffaf0;
  --face: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(145deg, #2d2e35 0%, #191a20 100%);
  animation-duration: 2.4s;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 32px -14px rgba(0, 0, 0, 0.9),
    0 0 30px -8px rgba(214, 184, 140, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.5);
}

.ghost-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
}

.primary-btn:hover:not(:disabled)::before,
.ghost-btn:hover:not(:disabled)::before {
  transform: translateX(120%);
}

.primary-btn:active:not(:disabled),
.ghost-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.12s;
}

.primary-btn:active:not(:disabled) {
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.55),
    0 6px 16px -12px rgba(255, 106, 56, 0.7);
}

.primary-btn:focus-visible,
.ghost-btn:focus-visible,
.inline-link:focus-visible,
.close-btn:focus-visible {
  outline: 2px solid #ffb48a;
  outline-offset: 3px;
}

.primary-btn:disabled,
.ghost-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.3);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.35s var(--ease-out);
}

.primary-btn:hover:not(:disabled) .btn-arrow,
.ghost-btn:hover:not(:disabled) .btn-arrow,
.showcase-card:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.is-loading .btn-spinner {
  display: inline-block;
}

.is-loading .btn-arrow {
  display: none;
}

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

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  transition: color 0.2s ease, gap 0.3s var(--ease-out);
}

.inline-link:hover {
  color: var(--amber);
  gap: 10px;
}

.close-btn:hover {
  color: #fff;
}

.full {
  width: 100%;
}

/* ---------- Reveal-on-scroll animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out) var(--reveal-delay, 0ms),
    transform 0.9s var(--ease-out) var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section heading ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow.small {
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  font-size: 0.68rem;
}

.eyebrow.small::before {
  width: 12px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.75;
}

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

.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 32px;
}

.hero-simple {
  position: relative;
  z-index: 2;
}

.hero-stage {
  position: relative;
  height: 600px;
  margin: 0;
  isolation: isolate;
}

/* Perspective floor grid, faded at the edges */
.hero-stage-grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -40px;
  height: 260px;
  z-index: -2;
  background-image:
    linear-gradient(rgba(108, 200, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 200, 255, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse 55% 85% at 50% 100%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 85% at 50% 100%, #000 20%, transparent 75%);
  animation: grid-flow 2.6s linear infinite;
}

@keyframes grid-flow {
  to { background-position: 0 48px, 0 0; }
}

.hero-stage-glow {
  position: absolute;
  inset: 4% 0 10%;
  z-index: -1;
  background:
    radial-gradient(42% 46% at var(--gx, 38%) var(--gy, 48%), rgba(56, 196, 255, 0.34), transparent 72%),
    radial-gradient(36% 40% at 72% 44%, rgba(170, 200, 255, 0.16), transparent 70%),
    radial-gradient(50% 22% at 50% 96%, rgba(255, 106, 61, 0.22), transparent 70%);
  filter: blur(18px);
  animation: stage-breathe 7s ease-in-out infinite alternate;
}

@keyframes stage-breathe {
  from { opacity: 0.75; }
  to { opacity: 1; }
}

/* --px / --py (-0.5..0.5) are set from the pointer position by ui.js */
.hero-rig {
  position: absolute;
  inset: 0;
  transform: perspective(1400px) rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -6deg));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-case {
  position: absolute;
  bottom: 54px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.65));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease, opacity 0.4s ease;
}

.hero-case img {
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.hero-case.is-onyx {
  left: 2%;
  z-index: 2;
  height: 88%;
  aspect-ratio: 667 / 900;
  transform: translate3d(calc(var(--px, 0) * -22px), calc(var(--py, 0) * -12px), 40px);
}

.hero-case.is-ivory {
  right: 0;
  z-index: 1;
  height: 74%;
  aspect-ratio: 785 / 900;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6)) brightness(0.8) saturate(0.9);
  transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 6px), 0);
}

/* Hovering/focusing the white case brings it forward */
.hero-rig:has(.is-ivory:is(:hover, :focus-visible)) .is-ivory {
  z-index: 3;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7)) brightness(1.04);
  transform: translate3d(calc(var(--px, 0) * 10px - 18px), calc(var(--py, 0) * 6px - 8px), 60px) scale(1.06);
}

.hero-rig:has(.is-ivory:is(:hover, :focus-visible)) .is-onyx {
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.65)) brightness(0.55);
}

.hero-case.is-onyx:is(:hover, :focus-visible) {
  filter: drop-shadow(0 30px 44px rgba(56, 196, 255, 0.28)) brightness(1.08);
  transform: translate3d(calc(var(--px, 0) * -22px), calc(var(--py, 0) * -12px - 6px), 60px) scale(1.02);
}

.hero-case:focus-visible {
  outline: none;
}

/* Glass glare, masked to the case silhouette */
.hero-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.34) 49%, rgba(180, 230, 255, 0.12) 53%, transparent 60%);
  background-size: 260% 100%;
  background-position: 160% 0;
  mix-blend-mode: screen;
  animation: glass-glare 7s ease-in-out infinite;
  pointer-events: none;
}

.is-onyx .hero-glare {
  -webkit-mask: url("../hero/case-onyx.webp") center / 100% 100% no-repeat;
  mask: url("../hero/case-onyx.webp") center / 100% 100% no-repeat;
}

.is-ivory .hero-glare {
  -webkit-mask: url("../hero/case-ivory.webp") center / 100% 100% no-repeat;
  mask: url("../hero/case-ivory.webp") center / 100% 100% no-repeat;
  animation-delay: -3.5s;
}

.hero-case:hover .hero-glare {
  animation-duration: 1.6s;
}

@keyframes glass-glare {
  0%, 62% { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}

.hero-case-tag {
  position: absolute;
  left: 50%;
  top: 4%;
  padding: 5px 10px;
  border: 1px solid rgba(108, 200, 255, 0.45);
  border-radius: 4px;
  background: rgba(8, 10, 15, 0.82);
  color: #d8f2ff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.hero-case:is(:hover, :focus-visible) .hero-case-tag {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-stage-floor {
  position: absolute;
  left: 6%;
  right: 4%;
  bottom: 38px;
  height: 34px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.85), transparent);
}

.hero-stage-floor::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 200, 255, 0.55), rgba(255, 140, 90, 0.45), transparent);
}

/* Spec callouts */
.hero-specs {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-spec {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 8px;
  border: 1px solid rgba(150, 165, 200, 0.22);
  border-radius: 4px;
  background: rgba(8, 10, 15, 0.72);
  backdrop-filter: blur(6px);
  color: var(--text-2);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero-spec b {
  color: #6cc8ff;
  font: 600 0.68rem var(--font-mono);
}

.hero-spec::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 36px;
  height: 1px;
}

.hero-spec::after {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6cc8ff;
  box-shadow: 0 0 10px rgba(108, 200, 255, 0.9);
  animation: spec-ping 2.4s ease-out infinite;
}

@keyframes spec-ping {
  0% { box-shadow: 0 0 0 0 rgba(108, 200, 255, 0.7), 0 0 10px rgba(108, 200, 255, 0.9); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(108, 200, 255, 0), 0 0 10px rgba(108, 200, 255, 0.9); }
}

.hero-spec.is-glass {
  top: 14%;
  left: 0;
}

.hero-spec.is-glass::before {
  left: 100%;
  background: linear-gradient(90deg, rgba(108, 200, 255, 0.1), rgba(108, 200, 255, 0.75));
}

.hero-spec.is-glass::after {
  left: calc(100% + 36px);
}

.hero-spec.is-size {
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-spec.is-size::before,
.hero-spec.is-size::after {
  display: none;
}

.hero-spec.is-color {
  top: 30%;
  right: 0;
}

.hero-spec.is-color::before {
  right: 100%;
  background: linear-gradient(270deg, rgba(108, 200, 255, 0.1), rgba(108, 200, 255, 0.75));
}

.hero-spec.is-color::after {
  right: calc(100% + 36px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 6px 16px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  color: var(--text-2);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.hero-badge-dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.hero-badge-dot::before,
.hero-badge-dot::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-badge-dot::after {
  animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
  from { opacity: 0.8; transform: scale(1); }
  to { opacity: 0; transform: scale(3); }
}

.hero-simple h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-title-line {
  display: block;
  width: max-content;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 30%, #b9bfcd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-line.is-accent {
  padding-bottom: 0.06em;
  background: linear-gradient(90deg, #ffd2ad 0%, #ff8a4c 30%, #ff4f3a 55%, #ffb766 80%, #ffd2ad 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: text-shimmer 9s linear infinite;
}

@keyframes text-shimmer {
  to { background-position: -220% 0; }
}

.hero-text {
  max-width: 520px;
  margin: 26px 0 0;
  text-wrap: pretty;
  color: var(--text-2);
  font-size: 1.06rem;
  line-height: 1.8;
}

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

.hero-actions .primary-btn,
.hero-actions .ghost-btn {
  min-height: 48px;
  padding-inline: 1.6rem;
  font-size: 0.96rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.scroll-cue {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: max-content;
  margin: 56px auto 0;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.scroll-cue:hover {
  color: var(--text);
}

.scroll-cue-mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  opacity: 0.8;
}

.scroll-cue-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--orange);
  animation: scroll-wheel 1.8s var(--ease-out) infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 0; transform: translateY(-3px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ---------- Showcase (2 chassis) ---------- */

.showcase-section {
  padding: 48px 0 110px;
  scroll-margin-top: var(--header-height);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

/* --accent is an "r, g, b" triplet so it can be used at any opacity */
.showcase-card {
  --accent: 92, 208, 255;
  --accent-solid: #5cd0ff;
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: linear-gradient(180deg, #0d0e11 0%, #0a0a0c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 40px 90px -50px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  outline: none;
}

.showcase-card[data-case-id="ivory"] {
  --accent: 255, 222, 186;
  --accent-solid: #ffdcb4;
}

.showcase-card.reveal {
  transition:
    opacity 0.9s var(--ease-out) var(--reveal-delay, 0ms),
    transform 0.9s var(--ease-out) var(--reveal-delay, 0ms),
    translate 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out);
}

/* Accent rim that follows the pointer */
.showcase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(var(--accent), 0.9), rgba(var(--accent), 0.12) 42%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Soft spotlight fill */
.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(var(--accent), 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  translate: 0 -6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 50px 100px -50px rgba(0, 0, 0, 0.95),
    0 30px 90px -50px rgba(var(--accent), 0.45);
}

.showcase-card:hover::before,
.showcase-card:hover::after,
.showcase-card:focus-visible::before {
  opacity: 1;
}

.showcase-card:focus-visible {
  box-shadow:
    0 0 0 2px rgba(var(--accent), 0.85),
    0 50px 100px -50px rgba(0, 0, 0, 0.95);
}

/* ---------- Showroom stage ---------- */

.showcase-media {
  position: relative;
  height: 400px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(48% 46% at 50% 54%, rgba(var(--accent), 0.2), transparent 72%),
    radial-gradient(38% 9% at 50% 87%, rgba(var(--accent), 0.32), transparent 70%),
    radial-gradient(80% 50% at 50% 0%, rgba(255, 255, 255, 0.03), transparent 70%),
    #08090b;
}

/* Breathing light bloom behind the chassis */
.showcase-media::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent), 0.42), transparent 70%);
  filter: blur(26px);
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0.85;
  transition: transform 0.9s var(--ease-out), opacity 0.6s ease;
  animation: showcase-breathe 6s ease-in-out infinite alternate;
}

@keyframes showcase-breathe {
  from { filter: blur(26px) brightness(0.85); }
  to { filter: blur(30px) brightness(1.1); }
}

.showcase-card:hover .showcase-media::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

/* Fade the stage into the card body */
.showcase-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 48px;
  background: linear-gradient(180deg, transparent, #0b0b0d);
  pointer-events: none;
}

/* Perspective floor grid; drifts only while hovered */
.showcase-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -24px;
  z-index: -1;
  height: 260px;
  background-image:
    linear-gradient(rgba(var(--accent), 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent), 0.4) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(380px) rotateX(58deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%), radial-gradient(ellipse 50% 100% at 50% 100%, #000 35%, transparent 75%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%), radial-gradient(ellipse 50% 100% at 50% 100%, #000 35%, transparent 75%);
  mask-composite: intersect;
  opacity: 0.7;
  animation: showcase-grid-flow 2.4s linear infinite paused;
  transition: opacity 0.6s ease;
}

.showcase-card:hover .showcase-floor {
  opacity: 1;
  animation-play-state: running;
}

@keyframes showcase-grid-flow {
  to { background-position: 0 44px, 0 0; }
}

/* Oversized faded index numeral (gradient fill; text-stroke shows glyph-overlap artifacts) */
.showcase-index {
  position: absolute;
  top: -8px;
  right: 22px;
  z-index: -1;
  font-family: var(--font);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px), 0);
  transition: transform 0.7s var(--ease-out), opacity 0.6s ease;
  user-select: none;
}

.showcase-card:hover .showcase-index {
  background-image: linear-gradient(180deg, rgba(var(--accent), 0.2), rgba(var(--accent), 0) 80%);
}

/* HUD corner brackets (eight short gradient strokes) */
.showcase-frame {
  --c: rgba(255, 255, 255, 0.22);
  --s: 14px;
  position: absolute;
  inset: 18px 18px 36px;
  z-index: 2;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) 1px,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--s),
    linear-gradient(var(--c), var(--c)) top right / var(--s) 1px,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--s),
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) 1px,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--s),
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) 1px,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--s);
  background-repeat: no-repeat;
  opacity: 0.7;
  transition: inset 0.6s var(--ease-out), opacity 0.4s ease;
  pointer-events: none;
}

.showcase-card:hover .showcase-frame {
  --c: rgba(var(--accent), 0.75);
  inset: 12px 12px 30px;
  opacity: 1;
}

.showcase-badge {
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.showcase-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-solid);
  box-shadow: 0 0 0 3px rgba(var(--accent), 0.15), 0 0 12px rgba(var(--accent), 0.9);
  animation: showcase-led 2.6s ease-in-out infinite;
}

@keyframes showcase-led {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* The chassis itself, with a floor reflection and pointer parallax */
.showcase-shot {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 1;
  height: 76%;
  transform:
    translate3d(calc(-50% + var(--px, 0) * 12px), calc(var(--py, 0) * 8px), 0)
    scale(1);
  transition: transform 0.8s var(--ease-out);
}

.showcase-card[data-case-id="onyx"] .showcase-shot {
  aspect-ratio: 667 / 900;
}

.showcase-card[data-case-id="ivory"] .showcase-shot {
  aspect-ratio: 785 / 900;
}

.showcase-card:hover .showcase-shot {
  transform:
    translate3d(calc(-50% + var(--px, 0) * 12px), calc(var(--py, 0) * 8px - 6px), 0)
    scale(1.045);
}

.showcase-shot img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.7));
  -webkit-box-reflect: below 2px linear-gradient(transparent 72%, rgba(0, 0, 0, 0.16));
}

/* Glass glare, masked to the case silhouette */
.showcase-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.32) 49%, rgba(var(--accent), 0.14) 53%, transparent 60%);
  background-size: 260% 100%;
  background-position: 160% 0;
  mix-blend-mode: screen;
  pointer-events: none;
}

.showcase-card[data-case-id="onyx"] .showcase-glare {
  -webkit-mask: url("../hero/case-onyx.webp") center / 100% 100% no-repeat;
  mask: url("../hero/case-onyx.webp") center / 100% 100% no-repeat;
}

.showcase-card[data-case-id="ivory"] .showcase-glare {
  -webkit-mask: url("../hero/case-ivory.webp") center / 100% 100% no-repeat;
  mask: url("../hero/case-ivory.webp") center / 100% 100% no-repeat;
}

.showcase-card:hover .showcase-glare {
  animation: showcase-glare 1.4s var(--ease-out) both;
}

@keyframes showcase-glare {
  from { background-position: 160% 0; }
  to { background-position: -60% 0; }
}

/* One-shot scan line across the stage on hover */
.showcase-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent), 0.9), transparent);
  box-shadow: 0 0 14px rgba(var(--accent), 0.7);
  opacity: 0;
  pointer-events: none;
}

.showcase-card:hover .showcase-scan {
  animation: showcase-scan 1.6s var(--ease-out) both;
}

@keyframes showcase-scan {
  0% { opacity: 0; transform: translateY(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateY(380px); }
}

/* ---------- Card body ---------- */

.showcase-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 6px 30px 28px;
}

.showcase-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.showcase-title h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.showcase-model {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.5s ease;
}

.showcase-card:hover .showcase-model {
  color: rgba(var(--accent), 0.85);
}

.showcase-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  color: var(--text-2);
}

.showcase-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

/* Short accent bar markers that extend on hover */
.showcase-features li::before {
  content: '';
  width: 10px;
  height: 2px;
  flex: none;
  border-radius: 2px;
  background: rgba(var(--accent), 0.75);
  box-shadow: 0 0 8px rgba(var(--accent), 0.45);
  transition: width 0.5s var(--ease-out);
}

.showcase-card:hover .showcase-features li::before {
  width: 18px;
}

.showcase-card:hover .showcase-features li:nth-child(2)::before {
  transition-delay: 60ms;
}

.showcase-card:hover .showcase-features li:nth-child(3)::before {
  transition-delay: 120ms;
}

.showcase-spec {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.showcase-spec span:last-child {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.showcase-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
}

.showcase-pricing {
  display: grid;
  gap: 4px;
}

.price-label {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.price-now {
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.price-was {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 93, 77, 0.7);
  font-size: 0.82rem;
}

/* Graphite button that brightens when the card is hovered */
.showcase-card .start-build-btn {
  min-height: 48px;
  padding-inline: 1.4rem;
}

.showcase-card:is(:hover, :focus-visible) .start-build-btn {
  color: #fffaf0;
  --face: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(145deg, #2d2e35 0%, #191a20 100%);
  animation-duration: 2.4s;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 32px -14px rgba(0, 0, 0, 0.9),
    0 0 30px -8px rgba(214, 184, 140, 0.5);
}

.showcase-card:is(:hover, :focus-visible) .start-build-btn::before {
  transform: translateX(120%);
}

@media (hover: none) {
  .showcase-floor {
    animation-play-state: running;
  }
}

/* ---------- Advisor band ---------- */

.advisor-section {
  padding: 10px 0 110px;
}

.advisor-panel {
  --mx: 30%;
  --my: 0%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 52px 56px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(255, 122, 69, 0.1), transparent 50%),
    linear-gradient(135deg, rgba(24, 28, 42, 0.9), rgba(12, 14, 21, 0.95));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.advisor-panel::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.015), 0 0 0 80px rgba(255, 255, 255, 0.01);
  pointer-events: none;
}

.advisor-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.advisor-copy > p:not(.eyebrow) {
  margin: 16px 0 0;
  max-width: 460px;
  color: var(--text-2);
  line-height: 1.8;
}

.advisor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.advisor-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.advisor-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.4s var(--ease-out);
}

.advisor-list li:hover {
  transform: translateX(4px);
  border-color: rgba(255, 183, 102, 0.3);
  background: rgba(255, 183, 102, 0.04);
}

.advisor-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--amber);
  background: linear-gradient(135deg, rgba(255, 183, 102, 0.16), rgba(255, 79, 58, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 183, 102, 0.18);
}

.advisor-icon svg {
  width: 20px;
  height: 20px;
}

.advisor-list strong {
  display: block;
  margin: 2px 0 4px;
  font-size: 0.96rem;
}

.advisor-list span:not(.advisor-icon) {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

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

.site-footer {
  --gold: 214, 184, 140;
  position: relative;
  padding: 72px 0 30px;
  border-top: 1px solid rgba(var(--gold), 0.14);
  background:
    radial-gradient(60% 120% at 50% -30%, rgba(var(--gold), 0.07), transparent 70%),
    linear-gradient(180deg, #0b0b0e, #060608);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(520px, 70%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(var(--gold), 0.7), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1.1fr 1.25fr;
  gap: 0;
  align-items: stretch;
}

.footer-col {
  min-width: 0;
  padding: 0 32px;
  border-left: 1px solid rgba(var(--gold), 0.1);
}

.footer-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

.footer-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand small {
  color: rgba(var(--gold), 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.brand-signature {
  display: block;
  width: 156px;
  padding: 11px 15px;
  background: #ece8e0;
  border: 1px solid rgba(var(--gold), 0.35);
  border-radius: 10px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9), inset 0 0 0 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.brand-signature:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -20px rgba(var(--gold), 0.35), 0 0 0 1px rgba(var(--gold), 0.3);
}

.brand-signature img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer p,
.site-footer li {
  color: #8f8c86;
  line-height: 1.7;
  font-size: 0.86rem;
}

.site-footer p {
  max-width: 250px;
  margin: 0;
}

.site-footer h4 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 14px;
  color: rgb(var(--gold));
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 1px;
  background: rgba(var(--gold), 0.6);
}

.site-footer ul {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li a {
  position: relative;
  color: #c9c4ba;
  transition: color 0.25s ease;
}

.site-footer li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: rgba(var(--gold), 0.8);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.site-footer li a:hover {
  color: rgb(var(--gold));
}

.site-footer li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-emails li {
  display: grid;
  gap: 1px;
  overflow-wrap: anywhere;
  color: #c9c4ba;
}

.footer-emails li span {
  color: #6f6c66;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(var(--gold), 0.12);
}

.footer-bottom p {
  max-width: none;
  color: #6f6c66;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .footer-col:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .footer-col:nth-child(even) {
    padding-right: 0;
  }
}

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

  .footer-col,
  .footer-col:nth-child(even) {
    padding: 0;
    border-left: 0;
  }
}

/* ---------- Shared pill/tag ---------- */

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.8rem;
  font-variant-numeric: tabular-nums;
}

.pill {
  color: var(--amber);
  border-color: rgba(255, 183, 102, 0.3);
  background: rgba(255, 183, 102, 0.08);
}

/* ---------- Shared form controls ---------- */

.payment-form input,
.tier-specs select {
  transition: border-color 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

/* ---------- Cart / summary (reused inside wizard) ---------- */

.cart-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

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

.cart-header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.summary-item strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.summary-case-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255, 222, 186, 0.07), transparent 72%), #0a0a0b;
  border-radius: 14px;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 1rem;
}

.summary-total strong {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #fff, #ffd2ad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Build wizard ---------- */

.wizard {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--text);
}

.checkout-result.hidden,
.checkout-result .hidden,
.wizard.hidden {
  display: none;
}

.wizard-summary.hidden {
  display: none;
}

.wizard-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 40%, rgba(255, 214, 170, 0.035), transparent 70%),
    rgba(4, 4, 5, 0.84);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  animation: backdrop-in 0.4s ease both;
}

/* Warm, matte surface: the panel re-scopes the palette so every nested rule
   (steps, review list, summary, form) inherits neutral tones instead of blue-grey. */
.wizard-panel {
  --text: #f3efe8;
  --text-2: #cdc6bb;
  --muted: #8e887f;
  --line: rgba(236, 224, 206, 0.075);
  --line-strong: rgba(236, 224, 206, 0.15);
  --w-accent: #e8c9a0;
  --w-accent-soft: rgba(232, 201, 160, 0.1);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1320px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  background:
    radial-gradient(90% 50% at 50% -12%, rgba(255, 220, 180, 0.055), transparent 62%),
    linear-gradient(180deg, #131213, #0c0c0d 60%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 22px 32px 22px;
  box-shadow:
    0 70px 140px -50px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: wizard-in 0.6s var(--ease-out) both;
  transform-origin: 50% 60%;
}

/* Top-edge light catch */
.wizard-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 214, 0.35), transparent);
  pointer-events: none;
}

.wizard.is-closing .wizard-backdrop {
  animation: backdrop-out 0.24s ease forwards;
}

.wizard.is-closing .wizard-panel {
  animation: wizard-out 0.24s ease-in forwards;
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes backdrop-out {
  to { opacity: 0; }
}

@keyframes wizard-in {
  from { opacity: 0; transform: translateY(24px) scale(0.975); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes wizard-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(16px) scale(0.975); }
}

.wizard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.wizard-title .eyebrow {
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.22em;
}

.wizard-title .eyebrow::before {
  background: var(--w-accent);
  opacity: 0.8;
}

.wizard-title h3 {
  margin: 4px 0 0;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.close-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.4s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.close-btn:active {
  transform: rotate(90deg) scale(0.92);
}

/* progress bar */

.wizard-progress {
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
  margin-bottom: 20px;
}

.wizard-progress-track {
  position: relative;
  height: 1px;
  background: var(--line-strong);
  overflow: visible;
}

.wizard-progress-fill {
  position: relative;
  height: 1px;
  width: 0%;
  min-width: 8px;
  background: linear-gradient(90deg, rgba(232, 201, 160, 0.15), var(--w-accent));
  transition: width 0.8s var(--ease-out);
}

/* Small glowing head riding the end of the fill */
.wizard-progress-fill::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w-accent);
  box-shadow: 0 0 0 3px rgba(232, 201, 160, 0.12), 0 0 12px rgba(232, 201, 160, 0.6);
}

.wizard-step-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
}

.wizard-step-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.4s ease;
}

.step-index {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.5s var(--ease-spring);
}

.wizard-step-list li.active {
  color: var(--text);
  font-weight: 600;
}

.wizard-step-list li.active .step-index {
  background: var(--w-accent);
  color: #1b1712;
  box-shadow: 0 0 0 4px var(--w-accent-soft);
  transform: scale(1.04);
}

.wizard-step-list li.done {
  color: var(--text-2);
}

.wizard-step-list li.done .step-index {
  color: transparent;
  box-shadow: inset 0 0 0 1px rgba(232, 201, 160, 0.45);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.8 11 12 5.5' fill='none' stroke='%23e8c9a0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* body layout */

.wizard-body {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 22px;
  align-items: start;
  min-height: 0;
  overflow-y: auto;
  padding: 2px;
  margin: -2px;
}

.wizard-body.no-summary {
  grid-template-columns: 1fr;
}

.wizard-stage {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 4px;
  margin: -4px;
}

.wizard-stage-content {
  animation: stage-in 0.5s var(--ease-out);
}

@keyframes stage-in {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

.wizard-stage-content.slide-back {
  animation-name: stage-in-back;
}

@keyframes stage-in-back {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

.stage-heading {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.stage-subtext {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.option-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.option-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.option-item.selected {
  border-color: rgba(255, 138, 76, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 138, 76, 0.5), 0 18px 40px -22px rgba(255, 90, 60, 0.6);
}

.option-item input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.option-item strong {
  font-size: 1rem;
}

.option-item small {
  color: var(--muted);
}

.option-item .option-price {
  font-weight: 700;
  color: var(--amber);
}

/* tier selection step (whole-machine presets) */

/* The step indicator already names this step; keep the heading for screen readers only */
.tier-stage-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* One connected surface divided by hairlines, not three separate boxed cards */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.012);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 8px;
  isolation: isolate;
  cursor: pointer;
  transition: background-color 0.5s ease;
  animation: tier-in 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 80ms + 80ms);
}

.tier-card + .tier-card {
  box-shadow: inset 1px 0 0 var(--line);
}

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

/* Pointer spotlight (position from script.js) */
.tier-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 228, 196, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.tier-card:hover::after {
  opacity: 1;
}

/* Accent rule that draws across the top of the selected column */
.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--w-accent), transparent);
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out);
}

.tier-card.selected {
  background: linear-gradient(180deg, rgba(232, 201, 160, 0.065), rgba(232, 201, 160, 0.012) 45%, transparent);
}

.tier-card.selected::before {
  transform: scaleX(1);
}

.tier-card:focus-visible {
  outline: 1.5px solid var(--w-accent);
  outline-offset: -6px;
  border-radius: 18px;
}

.tier-head {
  position: relative;
  padding-bottom: 14px;
}

.tier-select-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.tier-select-row input[type='radio'] {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.tier-select-row input[type='radio']::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1b1712;
  transform: scale(0);
  transition: transform 0.45s var(--ease-spring);
}

.tier-card:hover .tier-select-row input[type='radio']:not(:checked) {
  box-shadow: inset 0 0 0 1.5px rgba(232, 201, 160, 0.55);
}

.tier-select-row input[type='radio']:checked {
  background: var(--w-accent);
  box-shadow: 0 0 0 4px var(--w-accent-soft);
}

.tier-select-row input[type='radio']:checked::before {
  transform: scale(1);
}

.tier-select-row input[type='radio']:focus-visible {
  outline: 1.5px solid var(--w-accent);
  outline-offset: 3px;
}

.tier-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s ease;
}

.tier-card.selected .tier-tag {
  color: var(--w-accent);
}

.tier-badge {
  position: absolute;
  top: -1px;
  right: 0;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(232, 201, 160, 0.35);
  color: var(--w-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tier-card h4 {
  margin: 14px 0 4px;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tier-blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}

.tier-price-value {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s ease;
}

.tier-card.selected .tier-price-value {
  color: var(--w-accent);
}

.tier-price-value.is-updated {
  animation: price-tick 0.55s var(--ease-out);
}

@keyframes price-tick {
  from { opacity: 0.25; transform: translateY(6px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.tier-price > span {
  color: var(--muted);
  font-size: 0.76rem;
}

.tier-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  transition: opacity 0.4s ease;
}

/* Unselected columns recede slightly so the chosen build reads first */
.tier-card:not(.selected) .tier-specs {
  opacity: 0.72;
}

.tier-card:hover .tier-specs {
  opacity: 1;
}

.tier-specs li {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

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

.tier-specs li span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Brief highlight on the row whose part was just swapped */
.tier-specs li.is-changed::before {
  content: '';
  position: absolute;
  inset: 3px -10px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(232, 201, 160, 0.12);
  animation: row-flash 1.1s ease forwards;
}

@keyframes row-flash {
  to { opacity: 0; }
}

.tier-specs select {
  width: 100%;
  height: 32px;
  padding: 0 22px 0 0;
  border: 0;
  border-radius: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%238e887f' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 2px center / 11px no-repeat,
    transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.25s ease, background-position 0.3s var(--ease-out);
}

.tier-specs select:hover {
  color: var(--text);
  background-position: right 0 center, 0 0;
}

.tier-specs select:focus {
  outline: none;
}

.tier-specs select:focus-visible {
  outline: 1.5px solid var(--w-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.tier-specs option {
  background: #161514;
  color: var(--text);
}

/* review step */

.review-list {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.review-item:hover {
  border-color: var(--line-strong);
  background: rgba(255, 236, 214, 0.03);
}

.review-item strong {
  font-variant-numeric: tabular-nums;
}

.review-item-info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--text-2);
}

.review-item-info span {
  min-width: 0;
}

.review-option-thumb {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 721px) {
  .wizard-panel.review-step {
    width: min(1200px, 100%);
  }

  .review-step .wizard-title h3 {
    font-size: 1.4rem;
  }

  .review-step .wizard-body {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.85fr);
    gap: 16px;
  }

  .review-step .stage-heading {
    font-size: 1.2rem;
  }

  .review-step .stage-subtext {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .review-step .review-list {
    gap: 5px;
    margin-bottom: 0;
  }

  .review-step .review-item {
    gap: 8px;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.84rem;
  }

  .review-step .review-item-info {
    gap: 8px;
  }

  .review-step .review-item strong {
    white-space: nowrap;
  }

  .review-step .review-option-thumb {
    width: 28px;
    height: 28px;
  }

  .review-step .cart-card {
    padding: 14px;
  }

  .review-step .cart-header {
    margin-bottom: 8px;
  }

  .review-step .cart-header h3 {
    font-size: 1.05rem;
  }

  .review-step .summary-list {
    margin: 8px 0;
  }

  .review-step .summary-case-image {
    margin: 0;
  }

  .review-step .summary-total {
    padding-top: 10px;
    font-size: 0.95rem;
  }

  .review-step .summary-total strong {
    font-size: 1.3rem;
  }
}

/* payment step */

@media (min-width: 721px) {
  .wizard-panel.payment-step {
    width: min(820px, 100%);
  }

  .payment-step .wizard-title h3 {
    font-size: 1.4rem;
  }

  .payment-step .stage-heading {
    font-size: 1.2rem;
  }

  .payment-step .stage-subtext {
    font-size: 0.85rem;
  }

  .payment-step .payment-stage .stage-subtext {
    margin-bottom: 14px;
  }

  .payment-step .payment-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
  }

  .payment-step .payment-card-field,
  .payment-step .split-fields {
    grid-column: 1 / -1;
  }

  .payment-step .payment-form label {
    gap: 6px;
    font-size: 0.8rem;
  }

  .payment-step .payment-form input {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }

  .payment-step .payment-status {
    margin-top: 10px;
  }

  .payment-step .payment-meta {
    margin-top: 12px;
    padding-top: 12px;
  }
}

.payment-stage {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.payment-stage .stage-subtext {
  margin-bottom: 18px;
}

.payment-form {
  display: grid;
  gap: 12px;
}

.payment-form label {
  display: grid;
  gap: 6px;
  color: var(--text-2);
  font-size: 0.85rem;
  font-weight: 500;
}

.payment-form .payment-address-field {
  grid-column: 1 / -1;
}

.payment-form input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
}

/* Stop Chrome's blue autofill tint from breaking the warm palette */
.payment-form input:-webkit-autofill,
.payment-form input:-webkit-autofill:hover,
.payment-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 40px #141312 inset;
  caret-color: var(--text);
  transition: background-color 9999s ease 0s;
}

.payment-form input::placeholder {
  color: rgba(142, 136, 127, 0.75);
}

.payment-form input:hover {
  border-color: rgba(236, 224, 206, 0.26);
}

.payment-form input:focus {
  outline: none;
  border-color: rgba(232, 201, 160, 0.7);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 0 4px rgba(232, 201, 160, 0.1);
}

.split-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-status {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-size: 0.86rem;
  color: #ff8f80;
}

.payment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.payment-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.payment-meta strong {
  color: var(--text);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.payment-meta p:first-child {
  flex: none;
}

.accepted-cards {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
}

.card-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #17294d;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}

.card-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 3px;
}

.card-mark:has(img[alt='USDT']) img {
  width: 20px;
  height: 20px;
}

/* success step */

.success-stage {
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
  padding: 30px 0;
}

.success-check {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(95, 224, 163, 0.12);
  box-shadow: 0 0 0 10px rgba(95, 224, 163, 0.05);
  display: grid;
  place-items: center;
  animation: success-pop 0.6s var(--ease-spring);
}

@keyframes success-pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-check svg {
  width: 36px;
  height: 36px;
  stroke: var(--green);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw-check 0.5s ease 0.2s forwards;
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

.wizard-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  margin: 16px -32px -22px;
  padding: 14px 32px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
}

.wizard-footer .primary-btn {
  min-width: 140px;
  min-height: 46px;
}

.wizard-footer-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-left: auto;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
  pointer-events: none;
}

.wizard-footer-meta.is-visible {
  opacity: 1;
  transform: none;
}

.wizard-footer-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.wizard-footer-meta strong {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

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

@media (max-width: 980px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .advisor-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }

  .wizard-body {
    grid-template-columns: 1fr;
  }

  .review-step .wizard-body {
    grid-template-rows: max-content max-content;
  }

  .review-step .wizard-stage {
    overflow: visible;
  }

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

  .tier-card + .tier-card {
    box-shadow: inset 0 1px 0 var(--line);
  }

  .tier-card::before {
    left: 22px;
    right: 22px;
  }

  .tier-blurb {
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .hero-simple {
    text-align: center;
  }

  .hero-title-line {
    margin-inline: auto;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-stage {
    width: min(560px, 100%);
    height: 500px;
    margin-inline: auto;
  }
}

@media (max-width: 1100px) {
  .contact-nav-wrap {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .main-nav.contact-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .showcase-section {
    scroll-margin-top: 160px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 108px;
  }

  .container {
    width: min(1200px, calc(100% - 32px));
  }

  .nav-wrap {
    gap: 12px;
  }

  .site-header .brand-block {
    gap: 9px;
  }

  .site-header .brand-name {
    font-size: 1.02rem;
  }

  .site-header .brand-logo {
    width: 34px;
    height: 34px;
  }

  .nav-actions .primary-btn {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .brand-signature {
    width: min(220px, 100%);
  }

  .main-nav {
    display: none;
  }

  .contact-nav-wrap {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .main-nav.contact-nav {
    display: flex;
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav.contact-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav.contact-nav a {
    flex: 1 0 auto;
    text-align: center;
    padding: 6px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .option-grid,
  .footer-grid,
  .split-fields {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .hero-stage {
    order: -1;
    height: 320px;
  }

  .hero-case {
    bottom: 24px;
  }

  .hero-stage-floor {
    bottom: 10px;
  }

  .hero-specs {
    display: none;
  }

  .hero-trust {
    gap: 10px 18px;
  }

  .scroll-cue {
    display: none;
  }

  .showcase-media {
    height: 340px;
  }

  .showcase-body {
    padding: 4px 22px 24px;
  }

  .showcase-title {
    flex-direction: column;
    gap: 6px;
  }

  .showcase-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .showcase-card .start-build-btn {
    width: 100%;
  }

  .showcase-index {
    font-size: 7.5rem;
  }

  .advisor-panel {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .advisor-actions .primary-btn,
  .advisor-actions .ghost-btn {
    flex: 1;
  }

  .wizard {
    padding: 10px;
  }

  .wizard-panel {
    padding: 16px;
    border-radius: 20px;
    max-height: calc(100dvh - 20px);
  }

  .wizard-footer {
    margin: 14px -16px -16px;
    padding: 12px 16px;
  }

  .wizard-panel.review-step {
    padding: 12px;
  }

  .wizard-panel.review-step .wizard-footer {
    margin: 12px -12px -12px;
    padding: 12px;
  }

  .review-step .wizard-title h3 {
    font-size: 1.3rem;
  }

  .review-step .wizard-step-list li {
    font-size: 0.72rem;
  }

  .review-step .stage-heading {
    font-size: 1.2rem;
  }

  .review-step .stage-subtext {
    font-size: 0.82rem;
  }

  .review-step .review-list {
    gap: 6px;
    margin-bottom: 0;
  }

  .review-step .review-item {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .review-step .review-item-info {
    gap: 8px;
  }

  .review-step .review-item strong {
    font-size: 0.8rem;
  }

  .review-step .review-option-thumb {
    width: 28px;
    height: 28px;
  }

  .review-step .cart-card {
    padding: 12px;
  }

  .review-step .cart-header {
    margin-bottom: 8px;
  }

  .review-step .cart-header h3 {
    font-size: 1.05rem;
  }

  .review-step .summary-list {
    margin: 8px 0;
  }

  .review-step .summary-case-image {
    max-width: 220px;
    margin: 0 auto;
  }

  .review-step .summary-total {
    padding-top: 10px;
    font-size: 0.95rem;
  }

  .review-step .summary-total strong {
    font-size: 1.25rem;
  }

  .wizard-step-list li {
    padding-right: 10px;
    font-size: 0.74rem;
  }

  .tier-specs li {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 44px;
  }

  .tier-card {
    padding: 22px 18px 10px;
  }

  .tier-price-value {
    font-size: 1.5rem;
  }

  .wizard-title h3 {
    font-size: 1.45rem;
  }

  .wizard-step-list {
    gap: 8px 18px;
  }

  .wizard-footer-meta span {
    display: none;
  }

  .payment-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .accepted-cards {
    justify-content: flex-start;
  }
}

/* ---------- Motion preferences ---------- */

@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;
    transition-delay: 0ms !important;
  }

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

.delivery-note, .summary-note { margin: 14px 0 0; font-size: 0.9rem; color: var(--muted); }
.summary-note { margin-top: 10px; text-align: right; }

/* ---------- Shell film: borderless editorial stage ---------- */
.film-section { position: relative; padding: 40px 0 120px; isolation: isolate; }
.film-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(480px 420px at 74% 52%, rgba(255, 122, 69, 0.10), transparent 70%),
    radial-gradient(900px 300px at 74% 100%, rgba(255, 236, 220, 0.05), transparent 70%);
}
.film-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 96px;
  align-items: center;
  padding: 0 0 0 4px;
}
.film-panel::before, .film-panel::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0.16) 82%, transparent);
}
.film-panel::before { top: -40px; }
.film-panel::after { bottom: -40px; }
.film-copy h2 {
  margin: 0 0 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.22;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.film-copy > p:not(.eyebrow) { max-width: 44ch; margin: 0; color: var(--muted); line-height: 1.9; font-size: 0.98rem; }
.film-points { list-style: none; margin: 44px 0 0; padding: 0; max-width: 520px; counter-reset: film; }
.film-points li {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-2); font-size: 0.98rem; letter-spacing: 0.01em;
  transition: color 0.4s ease, padding-left 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.4s ease;
}
.film-points li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.film-points li span { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--orange); opacity: 0.8; font-variant-numeric: tabular-nums; }
.film-points li:hover { color: #fff; padding-left: 8px; border-top-color: rgba(255, 122, 69, 0.45); }
.film-spin-link { margin-top: 32px; }

.film-player { position: relative; margin: 0; display: grid; justify-items: center; gap: 22px; }
.film-device {
  position: relative; width: 232px; aspect-ratio: 348 / 516;
  border-radius: 6px; background: #000; overflow: visible;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.9), 0 0 90px -20px rgba(255, 122, 69, 0.22);
  transition: box-shadow 0.8s ease;
}
.film-player.is-playing .film-device { box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.9), 0 0 130px -10px rgba(255, 150, 100, 0.38); }
.film-device::before { /* offset hairline frame */
  content: ''; position: absolute; inset: -14px; border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; pointer-events: none; transition: border-color 0.6s ease, inset 0.6s cubic-bezier(.2,.7,.2,1);
}
.film-player:hover .film-device::before, .film-player.is-playing .film-device::before { inset: -18px; border-color: rgba(255, 122, 69, 0.4); }
.film-device::after { /* floor reflection */
  content: ''; position: absolute; left: 8%; right: 8%; bottom: -46px; height: 22px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.18), transparent 70%);
  filter: blur(8px);
}
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; pointer-events: none; filter: saturate(0.96) contrast(1.03); }
.film-toggle {
  position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer; border-radius: 4px; overflow: hidden;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 50%);
  transition: background 0.4s ease;
}
.film-toggle svg {
  width: 64px; height: 64px; padding: 20px 18px 20px 22px; box-sizing: border-box; fill: #fff; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.4s ease, background 0.3s ease;
}
.film-toggle::before { /* breathing ring while idle */
  content: ''; position: absolute; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); animation: filmPulse 2.8s ease-out infinite;
}
@keyframes filmPulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.9); opacity: 0; } }
.film-toggle:hover svg { transform: scale(1.1); background: rgba(255, 122, 69, 0.85); border-color: transparent; }
.film-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
.film-icon-pause { display: none; }
.film-icon-play { transform: translateX(0); }
.film-player.is-playing .film-icon-play { display: none; }
.film-player.is-playing .film-icon-pause { display: inline; }
.film-player.is-playing .film-toggle { background: transparent; }
.film-player.is-playing .film-toggle::before { animation: none; opacity: 0; }
.film-player.is-playing .film-toggle svg { opacity: 0; }
.film-player.is-playing .film-toggle:hover svg, .film-player.is-playing .film-toggle:focus-visible svg { opacity: 1; }
.film-progress { position: absolute; left: 0; right: 0; bottom: -14px; height: 1px; background: rgba(255, 255, 255, 0.14); pointer-events: none; }
.film-progress i { display: block; height: 100%; width: 100%; background: var(--orange); box-shadow: 0 0 8px var(--orange); transform: scaleX(0); transform-origin: left; }
.film-player figcaption {
  display: flex; gap: 14px; align-items: center; margin-top: 18px;
  font-size: 0.66rem; letter-spacing: 0.3em; color: var(--muted);
}
.film-player figcaption::before, .film-player figcaption::after { content: ''; width: 22px; height: 1px; background: rgba(255, 255, 255, 0.2); }
@media (max-width: 860px) {
  .film-panel { grid-template-columns: 1fr; gap: 72px; }
  .film-panel::before { top: -28px; } .film-panel::after { bottom: -28px; }
}
.film-audio { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; }
.film-mute { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, 0.7); cursor: pointer; transition: color 0.3s; }
.film-mute:hover { color: var(--orange); }
.film-mute:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.film-mute svg { width: 18px; height: 18px; fill: currentColor; }
.film-cross { display: none; }
.film-audio.is-muted .film-cross { display: inline; }
.film-audio.is-muted .film-wave { display: none; }
.film-volume { --v: 60%; -webkit-appearance: none; appearance: none; width: 96px; height: 14px; background: transparent; cursor: pointer; }
.film-volume::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--orange) var(--v), rgba(255, 255, 255, 0.2) var(--v)); }
.film-volume::-moz-range-track { height: 1px; background: rgba(255, 255, 255, 0.2); }
.film-volume::-moz-range-progress { height: 1px; background: var(--orange); }
.film-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 8px rgba(255, 122, 69, 0.7); }
.film-volume::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #fff; }
@media (prefers-reduced-motion: reduce) { .film-toggle::before { animation: none; } }

/* ---------- Lit builds: two wide players ---------- */
.lit-section { position: relative; padding: 20px 0 130px; isolation: isolate; }
.lit-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 320px at 28% 62%, rgba(80, 255, 170, 0.07), transparent 70%),
    radial-gradient(420px 320px at 72% 62%, rgba(255, 150, 220, 0.08), transparent 70%);
}
.lit-head { text-align: center; max-width: 560px; margin: 0 auto 72px; }
.lit-head h2 {
  margin: 0 0 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.22;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lit-head p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.9; font-size: 0.98rem; }
.lit-grid { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; }
.film-player--wide .film-device { width: min(400px, 82vw); aspect-ratio: 16 / 9; }
.lit-grid .film-player:first-child .film-device { box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.9), 0 0 90px -20px rgba(80, 255, 170, 0.22); }
.lit-grid .film-player:first-child.is-playing .film-device { box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.9), 0 0 130px -10px rgba(80, 255, 170, 0.35); }
.lit-grid .film-player:last-child .film-device { box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.9), 0 0 90px -20px rgba(255, 150, 220, 0.24); }
.lit-grid .film-player:last-child.is-playing .film-device { box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.9), 0 0 130px -10px rgba(255, 150, 220, 0.38); }

/* Advisor panel: drop the blue-grey slab for a warm black surface with a hairline edge */
.advisor-panel {
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(255, 122, 69, 0.09), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 40%),
    #0a0a0c;
  border-color: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .primary-btn { animation: none; }
}
