/* ============================================================================
   NOVA — LIQUID CHROME enhancement layer (loads after styles.molten.css).
   Turns the molten base into a cinematic, glossy 3D "liquid metal" experience
   inspired by the brand logo: candy-gloss surfaces, chrome-bevel typography,
   a WebGL liquid-metal hero, and a studio-lit stage. Same class hooks — all
   forms, calculator, terminal, and onboarding logic stay intact.
   ============================================================================ */

:root {
  --btc: #ff7a18;
  --btc-hi: #ffc879;
  --btc-deep: #e2560a;
  --pm: #1e5bff;
  --pm-hi: #74a2ff;
  --violet: #9a6bff;
  --stage-0: #050409;
  --stage-1: #0a0912;
  --ink-text: #eef0f8;
  --muted: #aab0c6;
  --faint: #7c84a0;
  --line: rgba(255, 255, 255, 0.1);
  --line-bright: rgba(255, 255, 255, 0.2);
  --molten-h: linear-gradient(100deg, #ffce8a 0%, #ff8a2a 26%, #ff5f0c 52%, #1e5bff 56%, #2f6bff 82%, #9cc0ff 100%);
  --chrome-v: linear-gradient(180deg, #ffffff 0%, #ffe1bd 26%, #ff9a3c 49%, #ffffff 51%, #d4e2ff 68%, #6f9bff 100%);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  --glass-deep: rgba(11, 12, 20, 0.55);
  --radius: 22px;
}

/* ----- Stage / cinematic backdrop -------------------------------------- */
html {
  scroll-behavior: smooth;
}
body {
  background: var(--stage-0) !important;
  color: var(--ink-text) !important;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 50% at 12% 2%, rgba(255, 122, 24, 0.2), transparent 60%),
    radial-gradient(55% 55% at 92% 78%, rgba(30, 91, 255, 0.2), transparent 62%),
    radial-gradient(45% 40% at 78% 8%, rgba(30, 91, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #07060c 0%, #050409 55%, #07060c 100%);
  pointer-events: none;
}
/* fine film grain + vignette for a rendered, premium feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
/* kill the molten grid overlay; the studio backdrop replaces it */
.grid-overlay {
  display: none !important;
}

/* ----- Typography: chrome-bevel display -------------------------------- */
.hero-title,
.h2,
.section-head .h2 {
  color: #fff !important;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-title {
  font-size: clamp(2.9rem, 7.4vw, 6rem) !important;
  line-height: 0.9 !important;
  font-weight: 600;
}
.hero-title-copy {
  display: block;
  min-width: 0;
}
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem) !important;
  line-height: 0.98 !important;
}

/* molten horizontal gradient text (accent words) */
.gradient-text {
  background: var(--molten-h) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  background-size: 200% 100%;
}
.hero-title .gradient-text {
  animation: sheen 7s ease-in-out infinite;
  filter: drop-shadow(0 6px 26px rgba(255, 110, 30, 0.28));
}
@keyframes sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* chrome-bevel numbers (proof, calculator, pricing, hero metrics) */
.stat-num,
.out-num,
.price-amt,
.metric-num {
  background: var(--chrome-v) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
}
.stat-num {
  font-size: clamp(3rem, 7vw, 5.4rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.04em;
}
.price-amt {
  font-size: clamp(2.8rem, 5vw, 3.6rem) !important;
}
.out-num.text-green,
#out-roi {
  background: linear-gradient(180deg, #d6ffe9, #2bd17e 55%, #0f9b58) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--btc-hi) !important;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 122, 24, 0.16), rgba(255, 122, 24, 0.05));
  border: 1px solid rgba(255, 122, 24, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--btc);
  box-shadow: 0 0 10px var(--btc);
}
.sub,
.section-head .sub {
  color: var(--muted) !important;
}

/* ----- Glossy candy buttons -------------------------------------------- */
.btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "General Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: #3c1500 !important;
  padding: 0.95rem 1.7rem !important;
  border: none !important;
  border-radius: 999px !important;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(180deg, #ffd486 0%, #ff9e40 36%, #ff7a18 68%, #ef610a 100%) !important;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.9),
    inset 0 -11px 18px rgba(150, 44, 0, 0.5),
    0 12px 26px -8px rgba(255, 122, 24, 0.7),
    0 3px 8px rgba(0, 0, 0, 0.45) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 2px 2px 45% 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}
.btn-primary::after {
  /* specular sweep on hover */
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-18deg);
  transition: left 0.5s ease;
  z-index: 1;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.05);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.9),
    inset 0 -11px 18px rgba(150, 44, 0, 0.5),
    0 18px 36px -8px rgba(255, 122, 24, 0.85),
    0 3px 8px rgba(0, 0, 0, 0.45) !important;
}
.btn-primary:hover::after {
  left: 130%;
}
.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.96rem;
  color: #e6e9f5 !important;
  padding: 0.9rem 1.55rem !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 24px -14px rgba(0, 0, 0, 0.7) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--line-bright) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)) !important;
}
.nav-cta {
  padding: 0.6rem 1.2rem !important;
}

.hero-account-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 1rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(255, 122, 24, 0.86);
  color: rgba(226, 232, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}
.hero-account-strip a {
  color: #ffd486 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 212, 134, 0.48);
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}
.hero-account-strip a:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.82);
}

/* ----- Glass / candy surfaces ------------------------------------------ */
.card,
.calc-panel,
.calc-output,
.price-card,
.onboard,
.beta-interest,
.stat-card,
.faq,
.trust-panel,
.upgrade-preview,
.checkout-summary,
.risk-cap-card {
  position: relative;
  background: var(--glass), var(--glass-deep) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -40px 70px -50px rgba(30, 91, 255, 0.25),
    0 30px 60px -34px rgba(0, 0, 0, 0.75) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.card::after,
.price-card::after,
.calc-panel::after,
.calc-output::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.1), transparent 60%);
}
.card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 24, 0.32) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 40px 70px -34px rgba(255, 122, 24, 0.3),
    0 30px 60px -40px rgba(0, 0, 0, 0.8) !important;
}

/* candy 3D icon badges in the flow cards */
.card .ic {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(180deg, #ff9e40, #ff7a18 60%, #e2560a) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.6),
    inset 0 -8px 12px rgba(120, 40, 0, 0.5),
    0 10px 20px -8px rgba(255, 122, 24, 0.7);
}
.card:nth-child(2) .ic {
  background: linear-gradient(180deg, #b48cff, #7c5bff 60%, #5a3bd6) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -8px 12px rgba(50, 20, 110, 0.5),
    0 10px 20px -8px rgba(124, 91, 255, 0.7);
}
.card:nth-child(3) .ic {
  background: linear-gradient(180deg, #5b8cff, #1e5bff 60%, #0e3fcf) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 -8px 12px rgba(10, 30, 110, 0.5),
    0 10px 20px -8px rgba(30, 91, 255, 0.7);
}
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  background: var(--molten-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ----- HERO: script proof stage ---------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 8rem !important;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url("./assets/social/nova-hero-proof-20260628.png?v=20260628a") right 50% / min(58vw, 1040px) auto
    no-repeat;
  opacity: 0.58;
  filter: saturate(1.03) contrast(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 47%, rgba(0, 0, 0, 0.45) 56%, #000 65%);
  mask-image: linear-gradient(90deg, transparent 47%, rgba(0, 0, 0, 0.45) 56%, #000 65%);
}
.hero-canvas {
  display: none;
}
.hero-section::after {
  /* readability scrim: dark over the copy column + base */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(6, 5, 11, 0.96) 0%,
      rgba(6, 5, 11, 0.76) 30%,
      rgba(6, 5, 11, 0.18) 55%,
      rgba(6, 5, 11, 0.01) 78%
    ),
    linear-gradient(0deg, rgba(6, 5, 11, 0.78) 0%, rgba(6, 5, 11, 0.08) 26%, transparent 50%);
}
.hero-section > div {
  position: relative;
  z-index: 10 !important;
}
/* the old goo-blob layer is replaced by the shader */
.hero-liquid {
  display: none !important;
}

.hero-copy .status-pill {
  display: flex;
  align-items: flex-start;
  width: min(100%, 31rem);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.hero-copy .status-pill .dot {
  flex: 0 0 auto;
}
.hero-copy .status-pill .status-text {
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-subcopy {
  color: var(--muted) !important;
}

/* hero proof takes the full visual side; no floating logo or terminal card */
.engine-stack {
  width: 100%;
  align-self: center;
  justify-self: stretch;
  gap: 0 !important;
  min-width: 0;
}

/* hero metrics as glossy glass chips */
.hero-metrics .metric {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.metric-num {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem) !important;
}
.metric-label {
  color: var(--muted) !important;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue span.line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--btc), transparent);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  40% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ----- Hero chart proof ------------------------------------------------- */
.hero-proof-frame {
  position: relative;
  margin: 0;
  width: 100%;
  scroll-margin-top: 5.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #07101f;
  box-shadow:
    0 34px 70px -34px rgba(0, 0, 0, 0.96),
    0 0 54px -24px rgba(30, 91, 255, 0.9);
  overflow: hidden;
}
.hero-proof-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1144 / 960;
  object-fit: cover;
}
.hero-proof-frame figcaption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
  padding: 0.52rem 0.68rem;
  border-radius: 10px;
  background: rgba(2, 7, 14, 0.72);
  color: rgba(238, 240, 248, 0.78);
  font-size: 0.72rem;
  line-height: 1.35;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-proof-frame strong {
  color: #fff;
  font-family: "JetBrains Mono", monospace;
}

/* ----- Sliders: molten track + chrome thumb ---------------------------- */
.calc-panel input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--btc) 0%, var(--btc) 52%, var(--pm) 58%, var(--pm) 100%);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.calc-panel input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #cdd6ea 38%, #8a93ad 100%);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  cursor: pointer;
  border: none;
}
.calc-panel input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #cdd6ea 38%, #8a93ad 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.field-val {
  color: var(--btc-hi) !important;
  font-family: "JetBrains Mono", monospace;
}

/* ----- Inputs: inset dark glass with focus glow ------------------------ */
.inp,
.num-input,
.coupon-row .inp,
textarea.inp {
  background: rgba(4, 5, 10, 0.6) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  color: var(--ink-text) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.inp:focus,
.num-input:focus,
textarea.inp:focus {
  border-color: rgba(255, 122, 24, 0.6) !important;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(255, 122, 24, 0.18) !important;
  outline: none;
}
.steps-bar {
  background: rgba(255, 255, 255, 0.08);
}
#steps-fill {
  background: var(--molten-h) !important;
  box-shadow: 0 0 14px rgba(255, 122, 24, 0.6);
}

/* ----- Pricing: featured molten rim + candy ribbon --------------------- */
.price-card.featured {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 40px 80px -30px rgba(255, 122, 24, 0.35),
    0 0 0 1px rgba(255, 122, 24, 0.15) !important;
}
.price-card.featured::before {
  background: var(--molten-h) !important;
}
.ribbon {
  background: linear-gradient(180deg, #ffd486, #ff7a18) !important;
  color: #3c1500 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 18px -6px rgba(255, 122, 24, 0.7) !important;
}
.price-list li::marker {
  color: var(--btc);
}

/* ----- Marquee chrome strip -------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}
.marquee-item {
  color: var(--muted);
}
.marquee-item::after {
  color: var(--btc);
}

/* ----- Splash drip dividers -------------------------------------------- */
.molten-divider {
  filter: drop-shadow(0 10px 24px rgba(255, 122, 24, 0.25));
  margin-top: -1px;
}

/* ----- Win-streak proof ------------------------------------------------- */
.win-streak-proof {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 122, 24, 0.14), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(30, 91, 255, 0.16), transparent 36%), rgba(6, 5, 11, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.streak-proof-frame {
  margin: 2.2rem 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: #07101f;
  box-shadow:
    0 36px 90px -44px rgba(0, 0, 0, 0.96),
    0 0 68px -34px rgba(30, 91, 255, 0.7);
}
.streak-proof-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 2380 / 930;
  object-fit: cover;
}
.streak-proof-frame figcaption {
  padding: 0.85rem 1rem 1rem;
  color: rgba(238, 240, 248, 0.64);
  font-size: 0.82rem;
  line-height: 1.45;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 7, 14, 0.58);
}

/* ----- Codex operator --------------------------------------------------- */
.operator-section {
  position: relative;
}
.operator-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1rem;
  margin-top: 3rem;
}
.operator-board,
.operator-cost {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.operator-board {
  padding: 1.25rem;
}
.operator-board-head,
.operator-cost-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.operator-board h3,
.operator-cost h3 {
  margin: 0.15rem 0 0;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.05;
}
.operator-cost small,
.operator-flow small,
.operator-note {
  color: var(--muted);
}
.operator-eyebrow {
  margin: 0;
  color: var(--btc-hi);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.operator-mode {
  flex: 0 0 auto;
  border: 1px solid rgba(43, 209, 126, 0.32);
  border-radius: 999px;
  padding: 0.42rem 0.65rem;
  color: #baf7d5;
  background: rgba(43, 209, 126, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
}
.operator-flow {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.operator-flow div {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.1rem 0.85rem;
  align-items: center;
  min-height: 4.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.78rem;
  background: rgba(0, 0, 0, 0.22);
}
.operator-flow span {
  grid-row: 1 / span 2;
  color: var(--btc-hi);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
}
.operator-flow strong {
  color: #fff;
}
.operator-flow small {
  display: block;
  min-width: 0;
  line-height: 1.35;
}
.operator-note {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.operator-cost {
  padding: 1.25rem;
}
.operator-presets {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}
.operator-presets button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.44rem 0.62rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
}
.operator-presets button:hover,
.operator-presets button:focus-visible {
  border-color: rgba(255, 122, 24, 0.48);
  background: rgba(255, 122, 24, 0.12);
}
.operator-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}
.operator-metrics div {
  min-height: 5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.22);
}
.operator-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}
.operator-metrics strong {
  display: block;
  margin-top: 0.4rem;
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}
.operator-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1rem;
  margin-top: 1.15rem;
}
.operator-controls label {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}
.operator-controls span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.operator-controls b {
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
}
.operator-controls input {
  width: 100%;
  accent-color: var(--btc);
}

/* section tint blocks become subtle glass bands */
.bg-panel\/40 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)) !important;
}
.border-line {
  border-color: var(--line) !important;
}

/* ----- Footer ----------------------------------------------------------- */
footer {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}

/* ----- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-title .gradient-text,
  .scroll-cue span.line {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ----- Responsive ------------------------------------------------------- */
@media (min-width: 1024px) and (max-height: 980px) {
  .hero-section {
    min-height: 86vh;
    padding-top: 4.5rem !important;
    padding-bottom: 1.5rem !important;
    align-items: flex-start;
  }
  .hero-section > .grid {
    align-items: center;
    gap: 1.75rem !important;
  }
  .hero-title {
    font-size: clamp(3.2rem, 5.1vw, 4.55rem) !important;
    line-height: 0.9 !important;
  }
  .hero-title.mt-5,
  .hero-subcopy.mt-5 {
    margin-top: 0.85rem !important;
  }
  .hero-subcopy {
    font-size: 1rem !important;
    line-height: 1.45;
  }
  .hero-actions.mt-6,
  .hero-metrics.mt-6 {
    margin-top: 1rem !important;
  }
  .hero-referral {
    margin-top: 0.8rem;
  }
  .hero-metrics {
    padding-top: 1rem;
  }
  .risk-strip.mt-5 {
    margin-top: 0.75rem !important;
  }
  .risk-strip {
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }
  .hero-proof-frame figcaption {
    font-size: 0.66rem;
  }
  .scroll-cue {
    display: none;
  }
}
@media (max-width: 1023px) {
  .hero-section {
    min-height: auto;
    padding-top: 7rem !important;
  }
  .hero-section::after {
    background: linear-gradient(180deg, rgba(6, 5, 11, 0.5), rgba(6, 5, 11, 0.86));
  }
  .operator-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nav-cta {
    display: none !important;
  }
  .hero-section::before {
    background-position: 70% 22%;
    background-size: 150vw auto;
    opacity: 0.22;
  }
  .hero-section > .grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0;
  }
  .hero-copy,
  .engine-stack,
  .hero-subcopy,
  .hero-referral,
  .hero-actions,
  .hero-account-strip,
  .hero-metrics,
  .risk-strip {
    width: 100%;
    max-width: 100% !important;
    min-width: 0;
  }
  .hero-copy {
    overflow: hidden;
  }
  .hero-subcopy,
  .hero-referral {
    overflow-wrap: anywhere;
  }
  .status-pill {
    display: flex;
    align-items: flex-start;
    width: min(100%, calc(100vw - 2.5rem));
    max-width: calc(100vw - 2.5rem) !important;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.4;
    padding: 0.45rem 0.65rem;
    border-radius: 18px;
    overflow-wrap: anywhere;
  }
  .status-pill .dot {
    flex: 0 0 auto;
    margin-top: 0.35em;
  }
  .status-pill .status-text {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .hero-account-strip {
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  .hero-account-strip span {
    flex: 1 0 100%;
  }
  .hero-account-strip a {
    flex: 0 1 auto;
    max-width: 100%;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .hero-title {
    display: block;
    width: 100%;
    font-size: clamp(1.95rem, 8.6vw, 2.45rem) !important;
    line-height: 0.98 !important;
    max-width: 100%;
    overflow-wrap: normal;
  }
  .hero-proof-frame {
    border-radius: 14px;
  }
  .hero-proof-frame figcaption {
    position: static;
    border-radius: 0;
    background: rgba(2, 7, 14, 0.9);
  }
  .streak-proof-frame {
    margin-top: 1.4rem;
    border-radius: 14px;
  }
  .streak-proof-frame img {
    min-height: 15rem;
  }
  .operator-board-head,
  .operator-cost-head {
    display: grid;
  }
  .operator-presets {
    justify-content: flex-start;
  }
  .operator-metrics,
  .operator-controls {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-section > .grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
    gap: clamp(1.5rem, 3vw, 3rem) !important;
  }
  .engine-stack {
    display: none;
  }
  .hero-metrics .metric {
    padding: 0.75rem 0.8rem;
  }
  .hero-metrics .metric-num {
    font-size: clamp(1.2rem, 1.7vw, 1.6rem) !important;
  }
}
