/* =========================================================
   Zorix — Performance Suite
   Blue on black. Heavy type. Quiet chrome.
   ========================================================= */

:root {
  --bg: #050506;
  --panel: #09090b;
  --panel-2: #0d0d10;
  --panel-3: #121216;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f3f5f9;
  --muted: #9a9ba6;
  --muted-2: #6b6c77;
  --blue: #2f7cff;
  --blue-2: #63a3ff;
  --blue-3: #9ac4ff;
  --blue-dim: rgba(47, 124, 255, 0.12);
  --radius-lg: 26px;
  --radius: 20px;
  --radius-sm: 14px;
  --shell: 1160px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", "Segoe UI", sans-serif;
  --nav-h: 58px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 78%);
  animation: gridDrift 90s linear infinite;
}

/* Soft aurora drifting behind everything */
body::after {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(47, 124, 255, 0.32), transparent 70%),
    radial-gradient(34% 30% at 82% 14%, rgba(96, 170, 255, 0.22), transparent 72%),
    radial-gradient(48% 42% at 66% 74%, rgba(24, 80, 220, 0.28), transparent 70%),
    radial-gradient(32% 28% at 26% 88%, rgba(130, 190, 255, 0.16), transparent 72%);
  opacity: 0.8;
  animation: auroraDrift 42s ease-in-out infinite alternate;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 76px 76px, 76px 76px; }
}

@keyframes auroraDrift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.02); opacity: 0.6; }
  50%  { transform: translate3d(2%, 3%, 0) scale(1.1); opacity: 0.85; }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.05); opacity: 0.65; }
}

/* Three soft orbs drifting on their own clocks */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
  will-change: transform;
}

.bg-orb--1 {
  width: 46vw;
  height: 46vw;
  left: -10vw;
  top: -14vw;
  background: radial-gradient(circle, rgba(47, 124, 255, 0.55), transparent 66%);
  animation: orbA 26s ease-in-out infinite alternate;
}

.bg-orb--2 {
  width: 38vw;
  height: 38vw;
  right: -12vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(110, 180, 255, 0.36), transparent 66%);
  animation: orbB 34s ease-in-out infinite alternate;
}

.bg-orb--3 {
  width: 48vw;
  height: 48vw;
  left: 26vw;
  bottom: -24vh;
  background: radial-gradient(circle, rgba(22, 72, 200, 0.44), transparent 68%);
  animation: orbC 40s ease-in-out infinite alternate;
}

@keyframes orbA {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.34; }
  50%  { transform: translate3d(7vw, 5vh, 0) scale(1.12); opacity: 0.5; }
  100% { transform: translate3d(3vw, 10vh, 0) scale(1.05); opacity: 0.38; }
}

@keyframes orbB {
  0%   { transform: translate3d(0, 0, 0) scale(1.05); opacity: 0.3; }
  50%  { transform: translate3d(-8vw, 8vh, 0) scale(0.95); opacity: 0.46; }
  100% { transform: translate3d(-4vw, -6vh, 0) scale(1.1); opacity: 0.32; }
}

@keyframes orbC {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.32; }
  50%  { transform: translate3d(-10vw, -8vh, 0) scale(1.1); opacity: 0.46; }
  100% { transform: translate3d(6vw, -4vh, 0) scale(1.02); opacity: 0.34; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .bg-orb { animation: none; }
}

@media (max-width: 760px) {
  .bg-orb { filter: blur(48px); opacity: 0.32; }
  .bg-orb--1 { width: 90vw; height: 90vw; }
  .bg-orb--2 { width: 76vw; height: 76vw; }
  .bg-orb--3 { width: 96vw; height: 96vw; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.1; }
button { font: inherit; color: inherit; }

::selection { background: rgba(47, 124, 255, 0.4); color: #fff; }

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

main, .site-footer, .nav-wrap { position: relative; z-index: 1; }

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

/* ============ Floating nav ============ */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(880px, 100%);
  height: var(--nav-h);
  padding: 0 8px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(17, 17, 20, 0.76);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 22px 50px -30px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.nav-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex: none;
}

/* Zorix wordmark — blue letters with the underline under "nX" */
.wordmark {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  color: #3b7bff;
}

.wordmark::after {
  content: "";
  position: absolute;
  left: 31%;
  right: -3px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #8f919c;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: #b9bac4;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.nav-links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-right { display: flex; align-items: center; gap: 8px; flex: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f5f6f9;
  color: #08080a;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.16s ease, transform 0.16s ease;
}

.nav-cta:hover { background: #fff; transform: translateY(-1px); }

.nav-currency {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  color: #a8a9b4;
}

.nav-currency svg { width: 11px; height: 11px; }

.nav-burger {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
}

.nav-burger span {
  position: absolute;
  left: 50%;
  display: block;
  width: 14px;
  height: 1.5px;
  margin-left: -7px;
  border-radius: 2px;
  background: #e6e7ee;
  transition: transform 0.2s ease;
}

.nav-burger span:first-child { top: calc(50% - 3.5px); }
.nav-burger span:last-child { top: calc(50% + 3.5px); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: linear-gradient(180deg, #3f88ff, #2168e8);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24) inset, 0 14px 34px -16px rgba(47, 124, 255, 0.95);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #56a0ff, #2a74f6);
  transform: translateY(-1px);
}

.btn-dark {
  background: #121216;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e9eaf1;
}

.btn-dark:hover { background: #191920; border-color: rgba(255, 255, 255, 0.18); }

.btn-light {
  background: #f5f6f9;
  color: #08080a;
}

.btn-light:hover { background: #fff; transform: translateY(-1px); }

/* ============ Hero ============ */
.hero {
  padding-top: 152px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 100%);
  height: 640px;
  background: radial-gradient(closest-side, rgba(36, 96, 200, 0.28), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 auto;
  max-width: 15em;
}

.hero-title em {
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-right: 0.015em;
  color: var(--blue-2);
  text-shadow: 0 0 34px rgba(47, 124, 255, 0.5);
}

.hero-sub {
  max-width: 30em;
  margin: 20px auto 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

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

.hero-actions .btn { height: 42px; font-size: 13px; }

/* Showcase banner */
.showcase {
  position: relative;
  margin: 72px auto 0;
  height: clamp(230px, 32vw, 372px);
  border-radius: 18px;
  border: 1px solid rgba(47, 124, 255, 0.22);
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(30, 80, 190, 0.42), transparent 58%),
    radial-gradient(90% 100% at 88% 100%, rgba(20, 60, 150, 0.35), transparent 62%),
    #050508;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 40px 80px -50px rgba(47, 124, 255, 0.7), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.beam {
  position: absolute;
  top: -30%;
  height: 165%;
  width: 90px;
  background: linear-gradient(90deg, transparent, rgba(70, 150, 255, 0.55), transparent);
  transform: skewX(-24deg);
  filter: blur(9px);
  opacity: 0.85;
  pointer-events: none;
}

.showcase-shot {
  position: relative;
  z-index: 2;
  width: min(880px, 88%);
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 34px 70px -34px rgba(0, 0, 0, 0.95),
    0 0 80px rgba(47, 124, 255, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transform: translateY(10px);
}

.showcase-shot img { display: block; width: 100%; height: auto; }

.beam--a { left: 14%; width: 58px; opacity: 0.6; }
.beam--b { left: 26%; width: 150px; opacity: 0.75; }
.beam--c { right: 28%; width: 190px; opacity: 0.5; }
.beam--d { right: 12%; width: 64px; opacity: 0.35; }

.showcase-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.showcase-kicker {
  font-family: var(--font-display);
  font-size: clamp(7px, 0.85vw, 10px);
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(214, 228, 255, 0.48);
  padding-left: 0.42em;
}

.showcase-word {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: transparent;
  background: linear-gradient(170deg, #eaf3ff 4%, #9dc6ff 32%, #4b8ff5 68%, #1c4ba8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 12px 34px rgba(47, 124, 255, 0.5));
  padding-right: 0.04em;
}

/* ============ Sections ============ */
.section { padding: 92px 0; }

.section--line { border-top: 1px solid rgba(255, 255, 255, 0.055); }

.sec-head {
  max-width: 620px;
  margin: 0 auto 34px;
  text-align: center;
}

.sec-head--left { margin: 0 0 38px; text-align: left; max-width: 540px; }

.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 12px;
}

.sec-head .dim { color: #6f7381; }

.sec-head p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.badge--dot {
  gap: 7px;
  padding: 0 10px 0 8px;
}

.badge--dot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 8px rgba(47, 124, 255, 0.95);
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid rgba(47, 124, 255, 0.32);
  background: rgba(47, 124, 255, 0.12);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9cc6ff;
}

/* ============ Product tabs ============ */
.tabs {
  display: flex;
  justify-content: center;
  gap: 3px;
  width: fit-content;
  margin: 0 auto 40px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0c0c0f;
}

.tab {
  padding: 8px 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #9d9ea9;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.tab:hover { color: #fff; }

.tab.is-active {
  background: #1d1d23;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset;
}

/* ============ Featured product ============ */
.featured {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(110% 100% at 0% 0%, rgba(35, 78, 160, 0.16), transparent 55%),
    linear-gradient(168deg, #0c0c10, #08080a);
  margin-bottom: 22px;
  box-shadow: 0 40px 90px -60px rgba(47, 124, 255, 0.6);
}

.popular-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: #f5f6f9;
  color: #08080a;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.featured-shot { min-width: 0; display: flex; align-items: center; }
.featured-shot .shot { width: 100%; }

.shot-photo {
  margin: 0;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #07070a;
  overflow: hidden;
  box-shadow: 0 30px 60px -42px rgba(0, 0, 0, 1), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.shot-photo img { display: block; width: 100%; height: auto; }

.featured-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 10px 8px 6px 0;
  min-width: 0;
}

.featured-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.035em;
  background: linear-gradient(120deg, #bfdaff, #5b9dff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-lg {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: -4px;
}

.price-lg b {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #fff;
}

.price-lg span,
.price span {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product-copy {
  font-size: 12.8px;
  line-height: 1.72;
  color: var(--muted);
}

.tick-list {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.tick-list--two { grid-template-columns: 1fr 1fr; gap: 7px 14px; }

.tick-list li {
  position: relative;
  padding-left: 20px;
  font-size: 11.8px;
  color: #c3c5cf;
  line-height: 1.5;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 9px;
  height: 5px;
  border-left: 1.4px solid var(--blue-2);
  border-bottom: 1.4px solid var(--blue-2);
  transform: rotate(-45deg);
}

.featured-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.featured-actions .btn { height: 42px; font-size: 12.5px; width: 100%; }

/* ============ App screenshots (CSS mock) ============ */
.shot {
  flex: none;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: #07070a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 1);
}

.shot-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0b0f;
  flex: none;
}

.shot-dots { display: inline-flex; gap: 4px; }

.shot-dots i {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: #2a2a33;
}

.shot-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8b8d99;
}

.shot-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(47, 124, 255, 0.3);
  background: rgba(47, 124, 255, 0.12);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: #a8cbff;
}

.shot-pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4ade9a;
  box-shadow: 0 0 6px #4ade9a;
}

.shot-body { display: flex; flex: none; }

.shot--lg .shot-body { height: 332px; }
.shot-body--mini { height: 142px; }

.shot-rail {
  width: 40px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  background: #060609;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.rail-logo {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(150deg, #4a92ff, #1c5fe0);
}

.shot-rail i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.shot-rail i.on { background: rgba(47, 124, 255, 0.65); box-shadow: 0 0 10px -1px rgba(47, 124, 255, 0.9); }

.shot-content {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shot-head strong { font-size: 10px; font-weight: 600; color: #dfe4ef; }

.shot-head span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: #83858f;
}

.live {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4ade9a;
  box-shadow: 0 0 6px #4ade9a;
}

.shot-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }

.shot-tiles div {
  padding: 8px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.022);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.shot-tiles span {
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #757786;
}

.shot-tiles b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f0f3fa;
  line-height: 1.2;
}

.shot-tiles small { font-size: 8px; color: #7c7e8a; margin-left: 1px; }

.shot-tiles em {
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.shot-tiles .down { color: #5ad9c0; }
.shot-tiles .up { color: #63a3ff; }

.shot-chart {
  flex: 1;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(47, 124, 255, 0.05), transparent);
  padding: 4px;
  display: flex;
}

.shot-chart svg { width: 100%; height: 100%; }

.shot-rows { display: flex; flex-direction: column; gap: 5px; }

.shot-rows div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.018);
  font-size: 8.5px;
  color: #b9bcc7;
}

.shot-rows em {
  margin-left: auto;
  font-style: normal;
  font-size: 7.5px;
  color: #757786;
}

.tgl {
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  flex: none;
}

.tgl::after {
  content: "";
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7dae4;
}

.tgl.on { background: linear-gradient(90deg, #2f7cff, #4a92ff); }
.tgl.on::after { left: auto; right: 1.5px; background: #fff; }

/* Mini shot internals */
.mini-rail {
  width: 26px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  background: #060609;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-rail i { width: 9px; height: 9px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); }
.mini-rail i.on { background: rgba(47, 124, 255, 0.7); box-shadow: 0 0 8px -1px rgba(47, 124, 255, 0.9); }

.mini-content {
  flex: 1;
  min-width: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mini-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }

.mini-tiles i {
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(47, 124, 255, 0.14), transparent),
    rgba(255, 255, 255, 0.02);
}

.mini-chart {
  flex: 1;
  min-height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(47, 124, 255, 0.28), rgba(47, 124, 255, 0) 78%);
  clip-path: polygon(0 78%, 10% 66%, 22% 71%, 34% 52%, 46% 58%, 58% 40%, 70% 46%, 82% 28%, 92% 33%, 100% 20%, 100% 100%, 0 100%);
  opacity: 0.9;
}

.mini-lines { display: flex; flex-direction: column; gap: 4px; }

.mini-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.mini-lines span:last-child { width: 62%; }

.shot-body--cyan .mini-tiles i,
.shot-body--violet .mini-tiles i { background: rgba(255, 255, 255, 0.03); }

.mini-dial {
  flex: 1;
  display: grid;
  place-items: center;
}

.mini-dial span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #e8f2ff;
  background:
    radial-gradient(closest-side, #0a0e18 72%, transparent 73%),
    conic-gradient(#41d8ff 0 78%, rgba(255, 255, 255, 0.07) 78% 100%);
}

.mini-dial small { font-size: 6.5px; color: #8b94a6; margin-left: 1px; font-weight: 500; }

.mini-bars {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 4px 2px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.018);
}

.mini-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #7b6bff, rgba(123, 107, 255, 0.22));
}

.shot-body--cyan .mini-bars i { background: linear-gradient(180deg, #41d8ff, rgba(65, 216, 255, 0.2)); }
.shot-body--violet .mini-bars i { background: linear-gradient(180deg, #8f7dff, rgba(143, 125, 255, 0.2)); }

/* ============ Product grid ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Single remaining product: centre it instead of leaving two empty columns */
.product-grid:has(> article:only-of-type) {
  display: flex;
  justify-content: center;
}

.product-grid:has(> article:only-of-type) > article {
  width: min(100%, 880px);
}

/* Two products in the grid: an even, centred pair instead of a hole on the right */
.product-grid:has(> article:nth-of-type(2):last-of-type) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .product-grid:has(> article:nth-of-type(2):last-of-type) {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Solo product card reads as a wide banner instead of a stranded tile */
@media (min-width: 760px) {
  .product-grid:has(> article:only-of-type) > article {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    column-gap: 26px;
    row-gap: 9px;
    padding: 20px;
    align-items: start;
  }

  .product-grid:has(> article:only-of-type) > article::before { display: none; }
  .product-grid:has(> article:only-of-type) > article > * { grid-column: 2; }

  .product-grid:has(> article:only-of-type) > article > .card-shot {
    grid-column: 1;
    grid-row: 1 / span 6;
    margin: 0;
    align-self: center;
  }

  .product-grid:has(> article:only-of-type) > article > .card-shot img {
    height: auto;
    object-fit: cover;
    object-position: 50% 50%;
  }
}

.card-buy {
  margin-top: auto;
  justify-content: center;
  width: 100%;
  font-size: 13.5px;
  padding: 11px 16px;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.card-actions .btn {
  flex: 1 1 0;
  height: 42px;
  font-size: 12.5px;
  padding: 0 12px;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: #dfe4ee;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(47, 124, 255, 0.5);
  color: #fff;
}

/* ============ Zorix brand mark ============ */
.nav-brand {
  align-items: center;
  gap: 9px;
}

.brand-mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(47, 124, 255, 0.5));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
  filter: drop-shadow(0 0 16px rgba(47, 124, 255, 0.8));
}

.hero-mark {
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 14px 44px rgba(47, 124, 255, 0.45));
  animation: markFloat 8s ease-in-out infinite;
}

@keyframes markFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

.hero-trust li {
  position: relative;
  padding-left: 17px;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: rgba(47, 124, 255, 0.85);
  box-shadow: 0 0 8px rgba(47, 124, 255, 0.7);
}

@media (max-width: 760px) {
  .hero-mark { width: 82px; height: 82px; margin-bottom: 14px; }
  .hero-trust { gap: 6px 14px; font-size: 10.5px; margin-top: 20px; }
}

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

/* ---------- Review polish ---------- */
.review {
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.review::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 124, 255, 0.55), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.review:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 124, 255, 0.28);
  box-shadow: 0 32px 64px -52px rgba(47, 124, 255, 0.95);
}

.review .stars { font-size: 11px; text-shadow: 0 0 12px rgba(47, 124, 255, 0.55); }

/* ---------- Card polish ---------- */
.product-card:hover {
  box-shadow: 0 34px 70px -52px rgba(47, 124, 255, 0.95);
}

.card-shot { transition: border-color 0.22s ease; }

.product-card:hover .card-shot { border-color: rgba(47, 124, 255, 0.34); }

.card-shot img { transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1); }

.product-card:hover .card-shot img { transform: scale(1.035); }

.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(62% 120% at 0% 0%, rgba(47, 124, 255, 0.14), transparent 68%);
}

.product-card::before {
  content: "";
  width: 26px;
  height: 2px;
  margin-bottom: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2f7cff, #8fc0ff);
  opacity: 0.85;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, #0a0a0d, #08080a);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.product-card:hover {
  border-color: rgba(47, 124, 255, 0.32);
  transform: translateY(-2px);
}

.product-card .shot { margin-bottom: 5px; }

.card-shot {
  margin: 0 0 4px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #07070a;
  overflow: hidden;
  box-shadow: 0 24px 44px -34px rgba(0, 0, 0, 1);
}

.card-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 30%;
}

.product-card h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.025em;
  color: #6fa8ff;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price b {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.product-card .product-copy { font-size: 11.8px; }

.product-card .tick-list { margin-top: auto; padding-top: 6px; }
.product-card .tick-list li { font-size: 11.2px; }

/* ============ Preview modal ============ */
.preview-modal[hidden] { display: none; }

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.preview-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 7, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.preview-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1040px, 100%);
  max-height: min(86vh, 920px);
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(168deg, #0b0b0f, #07070a);
  overflow: hidden;
  box-shadow: 0 60px 120px -60px #000;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px 15px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.preview-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #eef1f8;
}

.preview-head span { font-size: 11px; color: var(--muted); }

.preview-close {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: #cfd4e0;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.preview-close:hover { background: rgba(255, 255, 255, 0.09); color: #fff; border-color: rgba(47, 124, 255, 0.45); }

.preview-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.preview-body figure[hidden] { display: none; }

.preview-body figure {
  flex: none;
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #07070a;
  overflow: hidden;
}

.preview-body img { display: block; width: 100%; height: auto; }

body.is-preview-open { overflow: hidden; }

@media (max-width: 640px) {
  .preview-modal { padding: 12px; }
  .preview-panel { max-height: 90vh; border-radius: 14px; }
  .preview-body { padding: 10px; gap: 9px; }
}

/* ============ Features ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.feature {
  padding: 26px 24px;
  background: #08080a;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.22s ease;
}

.feature:hover { background: #0b0b0f; }

.feature-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(47, 124, 255, 0.28);
  background: rgba(47, 124, 255, 0.1);
  color: var(--blue-2);
  margin-bottom: 4px;
}

.feature-icon svg { width: 16px; height: 16px; }

.feature h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #eef1f8;
}

.feature p { font-size: 12px; line-height: 1.65; color: var(--muted-2); }

/* ============ Results ============ */
.results-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.results-copy { display: flex; flex-direction: column; }
.results-copy .sec-head { margin-bottom: 14px; }

.spec-list { border-top: 1px solid var(--line); }

.spec-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}

.spec-list span { color: var(--muted-2); }
.spec-list b { font-weight: 500; color: #c6c9d4; text-align: right; }

.chart-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 100% at 100% 0%, rgba(47, 124, 255, 0.1), transparent 58%),
    linear-gradient(168deg, #0b0b0f, #07070a);
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.chart-head h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.legend i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; margin-left: 8px; }
.dot-before { background: rgba(255, 255, 255, 0.18); }
.dot-after { background: linear-gradient(135deg, #2f7cff, #63a3ff); }

.chart { display: flex; flex-direction: column; gap: 13px; }

.chart-row {
  display: grid;
  grid-template-columns: 66px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.chart-row > span { font-size: 10.5px; color: #a9acb9; }

.bars { display: flex; flex-direction: column; gap: 3px; }

.bar {
  display: block;
  height: 6px;
  width: 0;
  border-radius: 999px;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-before { background: rgba(255, 255, 255, 0.15); }
.bar-after {
  background: linear-gradient(90deg, #2168e8, #63a3ff);
  box-shadow: 0 0 16px -4px rgba(99, 163, 255, 0.8);
}

.chart-card.is-visible .bar { width: var(--w); }
.chart-row:nth-child(2) .bar { transition-delay: 0.07s; }
.chart-row:nth-child(3) .bar { transition-delay: 0.14s; }
.chart-row:nth-child(4) .bar { transition-delay: 0.21s; }
.chart-row:nth-child(5) .bar { transition-delay: 0.28s; }

.chart-row > b {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: #7fd8c8;
  text-align: right;
}

.chart-foot {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.chart-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  color: var(--muted-2);
}

.chart-foot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 10px rgba(47, 124, 255, 0.9);
}

/* ============ Affiliates ============ */
.affiliate-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 124, 255, 0.22);
  background:
    radial-gradient(80% 140% at 4% 0%, rgba(32, 78, 170, 0.28), transparent 60%),
    linear-gradient(165deg, #0b0e15, #08080a);
}

.affiliate-glow {
  position: absolute;
  right: -60px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 124, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.affiliate-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 13px; }

.affiliate-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.9vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.affiliate-copy p { font-size: 13px; color: var(--muted); max-width: 38em; line-height: 1.72; }

.affiliate-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.affiliate-actions .btn { height: 42px; font-size: 12.5px; }

.affiliate-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--line);
  overflow: hidden;
}

.affiliate-stats li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 14px 18px;
  background: #08080b;
}

.affiliate-stats b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #dfeaff;
}

.affiliate-stats span { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }

/* ============ Reviews ============ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review {
  margin: 0;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, #0a0a0d, #08080a);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stars { color: #5b9dff; font-size: 10px; letter-spacing: 0.18em; }

.review blockquote {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.72;
  color: #c8cbd6;
}

.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review figcaption strong {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  color: #e8ebf2;
}

.review figcaption span { font-size: 10px; color: var(--muted-2); }

/* ============ FAQ ============ */
.faq-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 660px;
  margin-bottom: 32px;
}

.faq-head .badge { margin-bottom: 16px; }

.faq-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.9vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.04;
  margin-bottom: 12px;
}

.faq-head p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.014);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover { border-color: rgba(255, 255, 255, 0.14); }

.faq-item[open] {
  border-color: rgba(47, 124, 255, 0.32);
  background: rgba(47, 124, 255, 0.035);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #dfe3ec;
  transition: color 0.16s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }

.faq-item summary::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  margin-right: 2px;
  border-right: 1.4px solid #8a8d99;
  border-bottom: 1.4px solid #8a8d99;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease, border-color 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
  border-color: var(--blue-2);
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 62ch;
}

/* ============ Support ============ */
.sec-head .badge { margin-bottom: 14px; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, #0a0a0d, #08080a);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.support-card:hover {
  border-color: rgba(47, 124, 255, 0.32);
  background: #0b0b10;
  transform: translateY(-2px);
}

.support-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(47, 124, 255, 0.28);
  background: rgba(47, 124, 255, 0.1);
  color: var(--blue-2);
  margin-bottom: 2px;
}

.support-icon svg { width: 16px; height: 16px; }

.support-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #eef1f8;
}

.support-card p { font-size: 12.2px; line-height: 1.65; color: var(--muted); }

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--blue-2);
}

.support-link svg { width: 13px; height: 13px; transition: transform 0.2s ease; }
.support-card:hover .support-link svg { transform: translateX(3px); }

.support-note {
  margin-top: 18px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ============ Community ============ */
.community {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr auto auto;
  align-items: center;
  gap: 36px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 124, 255, 0.22);
  background:
    radial-gradient(70% 140% at 0% 0%, rgba(32, 78, 170, 0.24), transparent 62%),
    linear-gradient(165deg, #0b0e15, #08080a);
}

.community-glow {
  position: absolute;
  left: -70px;
  top: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 124, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.community-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.community-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.9vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.042em;
}

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

.community-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 26px;
}

.community-list li {
  position: relative;
  padding-left: 19px;
  font-size: 11.8px;
  color: #c3c5cf;
  line-height: 1.5;
  white-space: nowrap;
}

.community-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 4px;
  width: 9px;
  height: 5px;
  border-left: 1.4px solid var(--blue-2);
  border-bottom: 1.4px solid var(--blue-2);
  transform: rotate(-45deg);
}

.community .btn { position: relative; z-index: 1; height: 42px; font-size: 12.5px; }

/* ============ CTA ============ */
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 60px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 124, 255, 0.24);
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(37, 88, 185, 0.34), transparent 65%),
    linear-gradient(170deg, #0a0d14, #07070a);
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: -180px;
  transform: translateX(-50%);
  width: 520px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 124, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.cta-panel h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  margin-bottom: 10px;
}

.cta-panel p {
  position: relative;
  font-size: 13px;
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto;
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.cta-actions .btn { height: 42px; font-size: 12.5px; }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 26px;
  background: #040405;
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 4px 6px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  color: #93959f;
  transition: color 0.16s ease, background 0.16s ease;
}

.footer-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.footer-social { display: flex; gap: 8px; flex: none; }

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #a7a9b4;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.footer-social a:hover {
  color: #fff;
  border-color: rgba(47, 124, 255, 0.42);
  background: rgba(47, 124, 255, 0.12);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
  color: var(--muted-2);
}

.footer-note { color: #55565f; }

/* ============ Motion ============ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.is-hidden { display: none !important; }

/* Placeholder toast */
.tnx-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(16, 16, 20, 0.96);
  backdrop-filter: blur(12px);
  font-size: 12px;
  color: #d3d6e0;
  box-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.tnx-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .nav-links a { padding: 8px 10px; }
  .nav-currency { display: none; }
  .featured { gap: 26px; padding: 22px; }
  .results-layout { gap: 34px; }
  .community { grid-template-columns: 1fr auto; gap: 26px; }
  .community-list { order: 3; grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav-pill {
    height: 54px;
    padding: 0 8px 0 14px;
    /* nested backdrop-filter lets the page bleed through the open menu */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(14, 14, 18, 0.96);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--line-2);
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.95);
  }

  .nav-links a { padding: 11px 14px; font-size: 13px; border-radius: 12px; }

  .nav-pill.nav-open .nav-links { display: flex; }
  .nav-right { margin-left: auto; }
  .nav-burger { display: block; }
  .nav-pill.nav-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-pill.nav-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .nav-cta { height: 36px; padding: 0 15px; }

  .hero { padding-top: 132px; }
  .showcase { margin-top: 56px; }

  .featured { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .featured-info { padding: 0 4px 4px; }
  .shot--lg .shot-body { height: 290px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }

  .results-layout { grid-template-columns: 1fr; }
  .affiliate-panel { grid-template-columns: 1fr; padding: 30px; gap: 28px; }
  .affiliate-stats { flex-direction: row; }
  .affiliate-stats li { flex: 1; padding: 12px 14px; }

  .community { grid-template-columns: 1fr; gap: 22px; padding: 26px; }
  .community-list { order: 2; grid-column: span 1; }
  .community .btn { order: 3; width: fit-content; }
}

@media (max-width: 660px) {
  .shell { padding: 0 18px; }
  .section { padding: 66px 0; }
  .nav-wrap { top: 10px; padding: 0 10px; }
  .wordmark { font-size: 20px; }
  .brand-sub { font-size: 12.5px; }
  .nav-cta { display: none; }

  .hero { padding-top: 116px; }
  .hero-title { font-size: clamp(2.1rem, 9.4vw, 3rem); }
  .hero-sub { font-size: 12.5px; }
  .hero-actions .btn { flex: 1 1 auto; height: 44px; }
  .showcase { height: 210px; margin-top: 44px; border-radius: 14px; }
  .beam--b { width: 100px; }
  .beam--c { width: 110px; }

  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: 1.72rem; }
  .tabs { width: 100%; max-width: 300px; margin-bottom: 30px; }
  .tab { flex: 1; padding: 9px 0; }

  .featured { padding: 16px; gap: 20px; border-radius: 20px; }
  .shot--lg .shot-body { height: 230px; }
  .shot-rail { width: 32px; }
  .shot-content { padding: 10px; gap: 7px; }
  .shot-chart { min-height: 32px; }
  .tick-list--two { grid-template-columns: 1fr; }
  .featured-actions .btn { height: 40px; font-size: 12px; }

  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .support-note { text-align: left; }
  .feature { padding: 22px 20px; }

  .chart-row { grid-template-columns: 58px 1fr 38px; gap: 9px; }
  .chart-card { padding: 18px; }

  .affiliate-panel { padding: 24px 20px; border-radius: 20px; }
  .affiliate-actions .btn { flex: 1 1 auto; }
  .affiliate-stats b { font-size: 17px; }
  .affiliate-stats span { font-size: 8.5px; }

  .review { padding: 20px; }
  .faq-head h2 { font-size: 1.72rem; }
  .faq-item summary { padding: 15px 16px; font-size: 12.5px; }
  .faq-item p { padding: 0 16px 16px; }
  .community { padding: 22px 20px; border-radius: 20px; }
  .community-list { gap: 8px 14px; }
  .community .btn { width: 100%; }
  .cta-panel { padding: 42px 20px; border-radius: 20px; }
  .cta-actions .btn { flex: 1 1 auto; }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { margin-left: -10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============ Affiliate page ============ */
.page-affiliates { background: var(--bg); }

/* ---------- Hero ---------- */
.refer-hero { position: relative; padding: 148px 0 86px; overflow: hidden; }

.refer-hero::before {
  content: "";
  position: absolute;
  top: -14%;
  left: 38%;
  width: min(860px, 95%);
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(36, 96, 200, 0.26), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.refer-hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(47, 124, 255, 0.14), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.refer-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
}

.refer-grid--rev { grid-template-columns: 0.92fr 1.08fr; align-items: center; }

.refer-copy .badge { margin-bottom: 20px; }

.refer-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.1vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1.02;
  margin-bottom: 20px;
}

.refer-title span {
  background: linear-gradient(96deg, #a8cdff 0%, #4d92ff 46%, #8fc0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.refer-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.043em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.refer-sub {
  max-width: 29em;
  font-size: 13.8px;
  line-height: 1.75;
  color: var(--muted);
}

.refer-sub--left { max-width: 32em; }

.refer-points { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }

.refer-points li,
.apply-points li {
  position: relative;
  padding-left: 20px;
  font-size: 12.2px;
  line-height: 1.55;
  color: #c3c5cf;
}

.refer-points li::before,
.apply-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 9px;
  height: 5px;
  border-left: 1.4px solid var(--blue-2);
  border-bottom: 1.4px solid var(--blue-2);
  transform: rotate(-45deg);
}

.refer-meta { margin-top: 18px; font-size: 10.8px; line-height: 1.6; color: var(--muted-2); }

.aff-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.aff-actions .btn { height: 44px; padding: 0 20px; font-size: 13px; }

.hero-meta {
  display: flex;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

.hero-meta li:last-child { border-right: 0; padding-right: 0; margin-right: 0; }

.hero-meta b {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #dfe7f5;
}

/* ---------- Calculator ---------- */
.calc {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(47, 124, 255, 0.24);
  background:
    radial-gradient(100% 130% at 100% 0%, rgba(47, 124, 255, 0.17), transparent 60%),
    linear-gradient(168deg, #0b0e16, #08080a);
  box-shadow:
    0 44px 100px -64px rgba(47, 124, 255, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.calc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(99, 163, 255, 0.18), transparent 38%);
  mask-image: linear-gradient(#000, transparent 55%);
  -webkit-mask-image: linear-gradient(#000, transparent 55%);
  opacity: 0.55;
}

.calc > * { position: relative; z-index: 1; }

.calc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #a9b6cf;
}

.calc-tag {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #7c7f8c;
  white-space: nowrap;
}

.calc-block { margin-bottom: 18px; }
.calc-block--last { margin-bottom: 22px; }

.calc-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 11.5px;
  color: #b9bcc7;
}

.calc-label b {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.rate-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }

.rate-chip {
  min-width: 0;
  padding: 9px 0;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0d0d11;
  color: #b6b9c4;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease;
}

.rate-chip:hover { border-color: rgba(47, 124, 255, 0.4); color: #fff; }

.rate-chip.is-active {
  border-color: rgba(47, 124, 255, 0.6);
  background: linear-gradient(180deg, rgba(47, 124, 255, 0.32), rgba(47, 124, 255, 0.1));
  color: #fff;
  box-shadow: 0 0 24px -10px rgba(47, 124, 255, 0.95), 0 1px 0 rgba(255, 255, 255, 0.14) inset;
}

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  margin: 2px 0 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 0 16px rgba(47, 124, 255, 0.95);
  cursor: pointer;
}

.calc-range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 0 16px rgba(47, 124, 255, 0.95);
  cursor: pointer;
}

.calc-out {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.calc-out span {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.calc-out strong {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.calc-fine { margin-top: 12px; font-size: 10px; color: #5e6069; }

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.014);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track { display: flex; width: max-content; animation: tickerScroll 52s linear infinite; }

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-set { display: flex; align-items: center; gap: 32px; padding-right: 32px; }

.ticker-set span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #757883;
  white-space: nowrap;
}

.ticker-set i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(47, 124, 255, 0.9);
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Why partner ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, #0a0a0e, #07070a);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 163, 255, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.why-card:hover {
  border-color: rgba(47, 124, 255, 0.28);
  background: linear-gradient(168deg, #0b0d14, #08080b);
  transform: translateY(-2px);
}

.why-card:hover::before { opacity: 1; }

.why-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: 11px;
  border: 1px solid rgba(47, 124, 255, 0.28);
  background: rgba(47, 124, 255, 0.1);
  color: #8fc0ff;
  box-shadow: 0 0 28px -12px rgba(47, 124, 255, 0.9);
}

.why-icon svg { width: 18px; height: 18px; }

.why-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: #eef1f8;
}

.why-card p { font-size: 12.2px; line-height: 1.72; color: var(--muted); }

.why-tag {
  margin-top: auto;
  padding-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c6a82;
}

/* ---------- Steps ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
}

.plan-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 28px;
  background: #08080a;
  transition: background 0.22s ease;
}

.plan-step:hover { background: linear-gradient(180deg, rgba(47, 124, 255, 0.07), #08080a 60%); }

.plan-num {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue-2);
  opacity: 0.85;
}

.plan-step h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #eef1f8;
  margin-top: 2px;
}

.plan-step p { font-size: 12px; line-height: 1.68; color: var(--muted); }

/* ---------- Dashboard sample ---------- */
.dash-mini {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(168deg, #0b0b0f, #07070a);
  box-shadow: 0 40px 90px -60px rgba(47, 124, 255, 0.85), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dash-top strong { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; }

.dash-tag {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--line);
}

.dash-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: #08080b;
}

.dash-stats span {
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.dash-stats b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #e7ecf6;
}

.dash-chart {
  position: relative;
  margin-top: 10px;
  padding: 20px 10px 6px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #07070a;
  overflow: hidden;
}

.dash-chart-label {
  position: absolute;
  top: 7px;
  left: 11px;
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #4f5361;
}

.dash-chart svg { width: 100%; height: 52px; }

.dash-link { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; }

.dash-label {
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.dash-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 11px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #060609;
}

.dash-field code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: #9aa7c2;
}

.dash-copy {
  flex: none;
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: #121216;
  color: #cfd3de;
  font-size: 10.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s ease;
}

.dash-copy:hover { background: #1a1a20; }

.dash-code-line { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-size: 10px; color: var(--muted-2); }

.dash-code-line b {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(47, 124, 255, 0.3);
  background: rgba(47, 124, 255, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9cc6ff;
}

.dash-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
}

.dash-rows li {
  display: grid;
  grid-template-columns: 1fr 34px 34px auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #08080b;
  font-size: 10.5px;
}

.dash-prod { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c9ccd6; }
.dash-rate { text-align: right; color: var(--muted-2); }
.dash-rows b { text-align: right; font-weight: 500; color: #4e4f58; }

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 9px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill--pending { color: #f0c674; border-color: rgba(240, 198, 116, 0.28); background: rgba(240, 198, 116, 0.1); }
.pill--approved { color: #7fd8c8; border-color: rgba(127, 216, 200, 0.26); background: rgba(127, 216, 200, 0.09); }
.pill--paid { color: #8ec3ff; border-color: rgba(142, 195, 255, 0.26); background: rgba(142, 195, 255, 0.1); }

.dash-mini-note { margin-top: 12px; font-size: 9.8px; line-height: 1.6; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.aff-faq {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: start;
}

.aff-faq-head .badge { margin-bottom: 16px; }

.aff-faq-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.043em;
  line-height: 1.04;
  margin-bottom: 12px;
}

.aff-faq-head p {
  max-width: 24em;
  margin-bottom: 20px;
  font-size: 12.8px;
  line-height: 1.72;
  color: var(--muted);
}

.aff-faq-list { display: flex; flex-direction: column; gap: 9px; }

/* ---------- Apply ---------- */
.apply-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.apply-aside {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.apply-aside .badge { margin-bottom: 4px; }

.apply-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.044em;
  line-height: 1.04;
}

.apply-aside > p { font-size: 12.5px; line-height: 1.7; color: var(--muted); }

.apply-points { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }

.apply-hint a {
  color: var(--accent-soft, #7db0ff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.apply-hint a:hover { color: #fff; }

.apply-hint {
  margin-top: 8px;
  padding: 12px 14px;
  border-left: 2px solid rgba(47, 124, 255, 0.5);
  border-radius: 0 8px 8px 0;
  background: rgba(47, 124, 255, 0.06);
  font-size: 11.5px;
  line-height: 1.62;
  color: #a9b6cf;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: linear-gradient(168deg, #0a0a0e, #07070a);
  box-shadow: 0 40px 100px -80px rgba(0, 0, 0, 0.9);
}

.apply-form[hidden],
.apply-success[hidden] { display: none; }

.apply-form.is-sending { opacity: 0.6; pointer-events: none; }

.form-group { display: flex; flex-direction: column; gap: 12px; }

.form-group + .form-group { padding-top: 22px; border-top: 1px solid var(--line); }

.form-group h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #eef1f8;
}

.form-group h3 span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue-2);
  opacity: 0.75;
}

.group-hint { font-size: 11px; line-height: 1.65; color: var(--muted-2); max-width: 46em; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field > span:first-child { font-size: 11.5px; font-weight: 500; color: #c6c9d4; }
.field em { font-style: normal; font-weight: 400; color: var(--muted-2); }
.field small { font-size: 10.5px; line-height: 1.5; color: var(--muted-2); }

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="url"],
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #060609;
  color: #eef1f8;
  font-family: inherit;
  font-size: 12.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder { color: #5b5c66; }

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: rgba(47, 124, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 124, 255, 0.12);
}

.apply-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.7 6 7.7l3-3' fill='none' stroke='%238a8d99' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

.apply-form textarea { min-height: 96px; resize: vertical; }

.input-prefix {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #060609;
  overflow: hidden;
}

.input-prefix > span:first-child {
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: var(--muted-2);
}

.input-prefix input { border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.input-prefix input:focus { box-shadow: none !important; }

/* Rate tiles */
.rate-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.rate-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #0a0a0d;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.rate-tile input { position: absolute; opacity: 0; pointer-events: none; }

.rate-tile .rt-pct {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #e7ecf6;
}

.rate-tile .rt-note { font-size: 9.5px; line-height: 1.35; color: var(--muted-2); }

.rate-tile::after {
  content: "";
  position: absolute;
  top: 11px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.rate-tile:hover { border-color: rgba(47, 124, 255, 0.4); }

.rate-tile:has(input:checked) {
  border-color: rgba(47, 124, 255, 0.6);
  background: linear-gradient(180deg, rgba(47, 124, 255, 0.22), rgba(47, 124, 255, 0.05));
}

.rate-tile:has(input:checked) .rt-pct { color: #fff; }

.rate-tile:has(input:checked)::after {
  background: var(--blue-2);
  border-color: var(--blue-2);
  box-shadow: 0 0 10px rgba(99, 163, 255, 0.9);
}

.rate-tile input:focus-visible ~ .rt-pct { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

/* Payout chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

.chip span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #0a0a0d;
  font-size: 11.5px;
  color: #b6b9c4;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.chip:hover span { border-color: rgba(47, 124, 255, 0.4); color: #fff; }

.chip input:checked + span {
  border-color: rgba(47, 124, 255, 0.55);
  background: rgba(47, 124, 255, 0.16);
  color: #fff;
}

.form-note {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.form-actions .btn { height: 44px; padding: 0 22px; font-size: 13px; }

.form-status { font-size: 11.5px; color: var(--muted-2); }
.form-status.is-error { color: #ff9b9b; }

.apply-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  grid-column: 2;
  padding: 44px 32px;
  border-radius: 20px;
  border: 1px solid rgba(47, 124, 255, 0.3);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(37, 88, 185, 0.28), transparent 65%),
    linear-gradient(168deg, #0b0e15, #08080a);
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(47, 124, 255, 0.4);
  background: rgba(47, 124, 255, 0.15);
  color: #9cc6ff;
}

.success-icon svg { width: 22px; height: 22px; }

.apply-success h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.apply-success p { font-size: 12.8px; line-height: 1.7; color: var(--muted); max-width: 38em; }
.apply-success .btn { margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .refer-grid,
  .refer-grid--rev { grid-template-columns: 1fr; gap: 34px; }
  .refer-hero { padding: 132px 0 62px; }
  .refer-title { max-width: 15em; }
  .aff-faq { grid-template-columns: 1fr; gap: 26px; }
  .aff-faq-head p { max-width: 34em; }
  .apply-layout { grid-template-columns: 1fr; gap: 30px; }
  .apply-aside { position: static; }
  .apply-success { grid-column: 1; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .refer-hero { padding: 118px 0 46px; }
  .refer-sub { font-size: 12.9px; }
  .refer-title { font-size: clamp(2.15rem, 9vw, 2.8rem); }
  .aff-actions .btn { flex: 1 1 auto; }
  .hero-meta { flex-wrap: wrap; gap: 14px 0; }
  .hero-meta li { padding-right: 16px; margin-right: 16px; }
  .calc { padding: 18px; border-radius: 16px; }
  .calc-out strong { font-size: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 20px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-step { padding: 20px; }
  .rate-tiles { grid-template-columns: 1fr 1fr; }
  .rate-chips { grid-template-columns: repeat(4, 1fr); }
  .dash-rows li { grid-template-columns: 1fr 28px auto; }
  .dash-rows b { display: none; }
  .field-grid { grid-template-columns: 1fr; }
  .apply-form { padding: 18px; border-radius: 16px; }
  .form-actions .btn { width: 100%; }
  .apply-success { padding: 32px 20px; }
}
/* ============ Admin ============ */
.page-admin { background: #050506; }

.admin-wrap { max-width: 960px; margin: 0 auto; padding: 48px 22px 90px; }

.admin-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }

.admin-head h1 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 8px;
}

.admin-head p { font-size: 12px; color: var(--muted-2); max-width: 46em; }

.admin-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.admin-bar input {
  flex: 1;
  min-width: 200px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #060609;
  color: #eef1f8;
  font-family: inherit;
  font-size: 12.5px;
}

.admin-bar .btn { height: 42px; }

.admin-status { min-height: 18px; margin-bottom: 16px; font-size: 11.5px; color: var(--muted-2); }

.app-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #08080a;
}

.app-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.app-card-top strong { font-size: 13px; font-weight: 600; color: #eef1f8; }
.app-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 10.5px; color: var(--muted-2); }
.app-card p { font-size: 11.5px; line-height: 1.6; color: #b6b9c4; white-space: pre-wrap; }

.app-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

.mini-btn {
  padding: 5px 11px;
  white-space: nowrap;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #111116;
  color: #c9ccd6;
  font-size: 10.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.mini-btn:hover { border-color: rgba(47, 124, 255, 0.45); color: #fff; }
.mini-btn.is-current { border-color: rgba(47, 124, 255, 0.55); background: rgba(47, 124, 255, 0.14); color: #fff; }
.mini-btn--danger:hover { border-color: rgba(255, 120, 120, 0.5); color: #ffb3b3; }

/* Tabs */
.admin-tabs { display: flex; gap: 6px; margin-bottom: 18px; }

.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0a0a0d;
  color: #a9acb8;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
}

.admin-tab span {
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 9.5px;
  color: #8f929e;
}

.admin-tab.is-active { border-color: rgba(47, 124, 255, 0.45); background: rgba(47, 124, 255, 0.14); color: #fff; }

/* Payout summary strip */
.payout-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}

.payout-strip div { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: #08080a; }
.payout-strip span { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); }
.payout-strip b { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #eef1f8; }

/* Log-a-sale form */
.sale-form {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr 0.8fr auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #08080a;
}

.sale-form .field { gap: 5px; }
.sale-form small { font-size: 9.5px; color: var(--muted-2); line-height: 1.4; }

.sale-form input,
.sale-form select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: #060609;
  color: #eef1f8;
  font-family: inherit;
  font-size: 12px;
}

.sale-form input:focus,
.sale-form select:focus { outline: none; border-color: rgba(47, 124, 255, 0.55); }

.sale-form .btn { height: 38px; padding: 0 16px; font-size: 12px; white-space: nowrap; }

/* Per-code cards */
.ledger-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.code-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, #0a0a0e, #08080a);
}

.code-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.code-name { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.code-count { font-size: 9.5px; color: var(--muted-2); }

.code-link {
  margin-top: -4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9.5px;
  color: #6f7f9c;
}
.code-card-rows { display: flex; flex-direction: column; gap: 4px; }
.code-card-rows div { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--muted-2); }
.code-card-rows b { color: #d7dbe6; font-weight: 600; }
.code-settled { font-size: 10px; color: #7fd8c8; }
.code-card .mini-btn { align-self: flex-start; }

.sale-form-hint { margin-bottom: 8px; font-size: 10.8px; color: var(--muted-2); }

/* Ledger table */
.ledger { display: flex; flex-direction: column; gap: 1px; border-radius: 12px; overflow: hidden; background: var(--line); }

.ledger-row {
  display: grid;
  grid-template-columns: 74px 1fr 70px 48px 86px 70px 56px 146px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #08080b;
  font-size: 11px;
  color: #c2c5d0;
}

.ledger-row--head { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.ledger-row b { color: #fff; font-weight: 600; }
.ledger-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10.5px; color: #9cc6ff; }
.ledger-product { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-date { font-size: 10px; color: var(--muted-2); }
.ledger-paid { font-size: 10px; color: #f0c674; }
.ledger-paid.is-paid { color: #7fd8c8; }
.ledger-actions { display: flex; gap: 5px; justify-content: flex-end; }

.pill--declined { color: #ff9b9b; border-color: rgba(255, 155, 155, 0.28); background: rgba(255, 155, 155, 0.1); }

@media (max-width: 820px) {
  .sale-form { grid-template-columns: 1fr 1fr; }
  .sale-form .btn { grid-column: 1 / -1; width: 100%; }
  .ledger { overflow-x: auto; }
  .ledger-row { min-width: 700px; }
  .payout-strip b { font-size: 15px; }
}

@media (max-width: 900px) {
  .dash-tables { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .journey::before { display: none; }
  .journey-dot { display: none; }
}

@media (max-width: 660px) {
  .aff-hero { padding: 122px 0 46px; }
  .aff-sub { font-size: 12.8px; }
  .aff-actions .btn { flex: 1 1 auto; }
  .aff-note { font-size: 10.5px; }
  .dash { padding: 14px; border-radius: 18px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-field { padding-left: 10px; }
  .journey { grid-template-columns: 1fr; padding-top: 0; gap: 22px 0; }
  .journey li { padding-right: 0; }
  .field-grid { grid-template-columns: 1fr; }
  .apply-form { padding: 18px; border-radius: 18px; gap: 20px; }
  .form-actions .btn { width: 100%; }
  .apply-success { padding: 30px 20px; }
  .admin-bar .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart-card .bar { width: var(--w); }
}

/* ============ Affiliate page — clean, low-pressure apply ============ */
.refer-hero { padding: 156px 0 96px; }

.refer-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.refer-hero-inner .refer-sub {
  max-width: 560px;
  margin-inline: auto;
}

.refer-hero-inner .aff-actions,
.refer-hero-inner .hero-meta {
  justify-content: center;
}

.apply-clean {
  max-width: 680px;
  margin-inline: auto;
}

.apply-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 32px;
}

.apply-head .badge { margin-bottom: 2px; }

.apply-head h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.4rem);
  letter-spacing: -0.035em;
}

.apply-head p {
  max-width: 470px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.apply-form--clean {
  gap: 20px;
  padding: 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(12, 12, 16, 0.92), rgba(8, 8, 10, 0.92));
  box-shadow: 0 40px 90px -70px rgba(47, 124, 255, 0.8);
}

.field--plain {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field--plain > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.apply-form--clean .form-actions { margin-top: 4px; }
.apply-form--clean .form-note { text-align: center; }

@media (max-width: 620px) {
  .refer-hero { padding: 128px 0 68px; }
  .apply-form--clean { padding: 22px; gap: 16px; border-radius: 18px; }
}

/* ============ Hero showcase — real 16:9 dashboard ============ */
.showcase {
  height: auto;
  padding: 34px 0;
}

.showcase-shot { width: min(880px, 90%); }

@media (max-width: 760px) {
  .showcase { height: auto; padding: 20px 0; }
  .showcase-shot { width: 92%; }
}

/* Payout detail field (Cash App tag / Apple Cash number) */
.payout-detail {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.payout-detail[hidden] { display: none; }

.payout-detail small { font-size: 10.5px; color: var(--muted-2); }

/* =========================================================
   Visual pass — deeper ambient light, glass, texture
   ========================================================= */

/* Fine grain so the gradients never look like flat banding */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Vignette keeps the edges dark so text stays crisp */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(125% 95% at 50% 0%, transparent 42%, rgba(0, 0, 0, 0.62) 100%);
}

/* Colour washes across the whole viewport */
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 620px at 6% -8%, rgba(47, 124, 255, 0.15), transparent 62%),
    radial-gradient(840px 560px at 98% 2%, rgba(112, 122, 255, 0.1), transparent 66%),
    radial-gradient(1200px 720px at 50% 116%, rgba(22, 68, 190, 0.16), transparent 70%);
}

/* Slow rotating light sweep */
.bg-fx::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 56%,
    rgba(47, 124, 255, 0.1) 72%,
    rgba(126, 96, 255, 0.08) 83%,
    transparent 93%
  );
  filter: blur(45px);
  animation: bgSweep 46s linear infinite;
}

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

.bg-orb { filter: blur(92px); }

/* Navigation — glass with a lit top edge */
.nav-pill {
  background: linear-gradient(180deg, rgba(21, 22, 27, 0.88), rgba(9, 9, 12, 0.92));
  border-color: rgba(255, 255, 255, 0.105);
  box-shadow:
    0 26px 60px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(47, 124, 255, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
}

/* Buttons — deeper gradient, brighter bloom */
.btn-primary {
  background: linear-gradient(180deg, #5297ff, #2f7cff 52%, #1b5cd8);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.34) inset,
    0 18px 40px -18px rgba(47, 124, 255, 1);
}

.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 24px 50px -18px rgba(47, 124, 255, 1);
}

.btn-dark { background: linear-gradient(180deg, #16171c, #0b0b0f); }

/* Cards — lift + halo on hover */
.product-card,
.review,
.why-card,
.plan-step,
.feature,
.dash-mini {
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.product-card:hover,
.why-card:hover,
.feature:hover,
.plan-step:hover {
  transform: translateY(-4px);
  box-shadow:
    0 44px 90px -56px rgba(0, 0, 0, 1),
    0 0 0 1px rgba(47, 124, 255, 0.2),
    0 0 80px -34px rgba(47, 124, 255, 0.45);
}

/* Section seams glow instead of just sitting there */
.section--line { position: relative; }

.section--line::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(820px, 84%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(99, 163, 255, 0.45), transparent);
  pointer-events: none;
}

/* Big headlines pick up the ambient light */
.hero h1,
.refer-title,
.sec-head h2 {
  text-shadow: 0 0 90px rgba(47, 124, 255, 0.22);
  letter-spacing: -0.04em;
}

/* Marquee fades at the edges */
.ticker {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

/* Chrome */
::selection { background: rgba(47, 124, 255, 0.38); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #07070a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#2c313d, #1a1d25);
  border: 2px solid #07070a;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: #3b4354; }

:focus-visible {
  outline: 2px solid rgba(99, 163, 255, 0.75);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .bg-fx::after { animation: none; }
  .product-card:hover,
  .why-card:hover,
  .feature:hover,
  .plan-step:hover { transform: none; }
}

/* Centred heroes: badges sit in the middle too */
.refer-hero-inner .badge,
.apply-head .badge { align-self: center; }

/* ============ Interior pages ============ */
.page-hero {
  position: relative;
  padding: 152px 0 54px;
  text-align: center;
}

.page-hero .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 16px auto 14px;
  max-width: 780px;
  text-shadow: 0 0 90px rgba(47, 124, 255, 0.22);
}

.page-hero p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.page-hero .badge { align-self: center; }

@media (max-width: 760px) {
  .page-hero { padding: 124px 0 40px; }
}

/* ============ Comparison table ============ */
.cmp {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 13, 17, 0.9), rgba(8, 8, 10, 0.92));
  overflow-x: auto;
  box-shadow: 0 40px 90px -70px rgba(0, 0, 0, 1);
}

.cmp table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.cmp thead th {
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}

.cmp thead th:first-child { color: var(--muted-2); font-weight: 600; }

.cmp thead th span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted-2);
}

.cmp tbody th {
  padding: 14px 20px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.cmp tbody td {
  padding: 14px 20px;
  font-size: 12.5px;
  color: #e7e9f1;
  border-left: 1px solid rgba(255, 255, 255, 0.045);
}

.cmp tbody tr + tr th,
.cmp tbody tr + tr td { border-top: 1px solid rgba(255, 255, 255, 0.045); }

.cmp tbody tr:hover th,
.cmp tbody tr:hover td { background: rgba(47, 124, 255, 0.05); }

.cmp .yes::before { content: "✓"; color: var(--blue-2); font-weight: 700; }
.cmp .no::before { content: "—"; color: #46484f; }

/* ============ Requirements card ============ */
.req-card {
  margin-top: 30px;
  padding: 24px 26px 26px;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 13, 17, 0.9), rgba(8, 8, 10, 0.92));
}

.req-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.req-card .spec-list { margin: 0; }

/* Setup steps: three columns, not four */
#setup .plan-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  #setup .plan-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  #setup .plan-grid { grid-template-columns: 1fr; }
}

/* ============ Small content blocks ============ */
.includes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.includes > div {
  padding: 18px 20px;
  background: #0a0a0d;
}

.includes b {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.includes span {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.limits {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin: 26px 0 0;
  padding: 22px 26px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 13, 17, 0.9), rgba(8, 8, 10, 0.92));
}

.limits li {
  position: relative;
  padding-left: 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.limits li::before {
  content: "×";
  position: absolute;
  left: 2px;
  top: -1px;
  font-size: 15px;
  font-weight: 700;
  color: #5c5e68;
}

.limits li b { color: var(--text); font-weight: 600; }

@media (max-width: 760px) {
  .includes { grid-template-columns: 1fr; }
  .limits { padding: 18px 20px; }
}

/* ------------------------------------------------------------------ */
/* 2026 refresh: deeper depth, better cards, clearer pricing          */
/* ------------------------------------------------------------------ */

:root {
  --accent-blue: #5b8dff;
  --accent-blue-soft: rgba(91, 141, 255, 0.16);
  --card-line: rgba(120, 160, 255, 0.16);
  --card-line-hot: rgba(120, 170, 255, 0.42);
}

.featured,
.product-card {
  border: 1px solid var(--card-line);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(70, 130, 255, 0.10), transparent 58%),
    linear-gradient(165deg, rgba(19, 26, 44, 0.92), rgba(8, 11, 20, 0.94));
  box-shadow: 0 24px 60px rgba(2, 5, 14, 0.55);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.featured:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-line-hot);
  box-shadow: 0 30px 70px rgba(2, 8, 24, 0.65);
}

.featured--ultimate {
  border-color: rgba(120, 175, 255, 0.4);
  background:
    radial-gradient(130% 150% at 0% -10%, rgba(82, 138, 255, 0.28), transparent 60%),
    linear-gradient(165deg, rgba(18, 30, 58, 0.95), rgba(7, 10, 19, 0.96));
}

.featured--ultimate .popular-flag {
  background: linear-gradient(180deg, #5b8dff, #2f63e0);
  color: #fff;
  border-color: rgba(170, 205, 255, 0.55);
  box-shadow: 0 8px 22px rgba(52, 104, 230, 0.4);
}

.popular-flag {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.badge {
  border: 1px solid rgba(122, 164, 255, 0.32);
  background: rgba(70, 124, 255, 0.14);
  color: #cfe2ff;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-lg b,
.price b {
  background: linear-gradient(180deg, #ffffff, #b9d3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-lg span,
.price span {
  color: rgba(160, 185, 225, 0.85);
  letter-spacing: 0.04em;
}

.btn-light {
  background: linear-gradient(180deg, #4f86ff, #2f63e0);
  border: 1px solid rgba(150, 190, 255, 0.55);
  color: #fff;
  box-shadow: 0 12px 28px rgba(46, 96, 220, 0.35);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn-light:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-dark {
  border-color: rgba(120, 160, 235, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.btn-dark:hover {
  border-color: var(--card-line-hot);
  background: rgba(91, 141, 255, 0.12);
}

.shot-photo img,
.featured-shot img {
  border-radius: 16px;
  border: 1px solid rgba(120, 165, 255, 0.22);
  box-shadow: 0 20px 46px rgba(3, 7, 18, 0.6);
}

.tick-list li {
  color: rgba(198, 214, 240, 0.92);
}

/* value ladder note under a price */
.product-note {
  margin: 6px 0 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(150, 190, 255, 0.9);
  border-left: 2px solid rgba(91, 141, 255, 0.55);
  padding-left: 9px;
}

/* ------------------------------------------------------------------ */
/* Affiliate commission tiers                                          */
/* ------------------------------------------------------------------ */

.aff-tier-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.aff-tier-head h2 {
  margin: 14px 0 12px;
}

.aff-tier-head p {
  color: rgba(178, 196, 226, 0.86);
  line-height: 1.65;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 30px 24px 26px;
  border-radius: 20px;
  border: 1px solid rgba(120, 160, 255, 0.14);
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(70, 130, 255, 0.10), transparent 60%),
    linear-gradient(170deg, rgba(18, 24, 40, 0.94), rgba(7, 10, 18, 0.96));
  box-shadow: 0 22px 55px rgba(2, 5, 14, 0.5);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tier-card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 170, 255, 0.38);
}

.tier-card--mid {
  border-color: rgba(90, 200, 210, 0.32);
}

.tier-card--top {
  border-color: rgba(120, 185, 255, 0.44);
  background:
    radial-gradient(130% 140% at 50% -10%, rgba(82, 138, 255, 0.24), transparent 62%),
    linear-gradient(170deg, rgba(18, 30, 58, 0.95), rgba(7, 10, 19, 0.96));
  box-shadow: 0 26px 65px rgba(8, 22, 60, 0.6);
}

.tier-stars {
  color: #5ad8e6;
  letter-spacing: 4px;
  font-size: 14px;
  margin-bottom: 6px;
}

.tier-card--top .tier-stars {
  color: #8fc0ff;
}

.tier-card h3 {
  margin: 0;
  font-size: 20px;
}

.tier-rate {
  margin: 2px 0 14px;
  font-weight: 700;
  color: #5ad8e6;
  letter-spacing: 0.01em;
}

.tier-card--top .tier-rate {
  color: #8fc0ff;
}

.tier-reqs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
  width: 100%;
}

.tier-reqs li {
  font-size: 13.5px;
  color: rgba(205, 218, 240, 0.9);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 235, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.tier-note {
  margin: auto 0 0;
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
  color: rgba(150, 170, 200, 0.85);
}

.tier-foot {
  margin: 30px auto 0;
  text-align: center;
  color: rgba(170, 190, 220, 0.9);
  font-size: 14px;
  max-width: 760px;
}

.tier-foot a {
  color: #8fc0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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


/* ---- Affiliate code reveal after applying ---- */
.code-reveal {
  margin: 18px 0 20px;
  padding: 18px 16px;
  border: 1px dashed rgba(126, 166, 255, 0.45);
  border-radius: 14px;
  background: rgba(63, 120, 232, 0.08);
  text-align: center;
}

.code-reveal-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fb4ff;
  margin-bottom: 10px;
}

.code-reveal-label b {
  color: #e8f0ff;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(150, 190, 255, 0.4);
  background: rgba(6, 10, 20, 0.8);
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.code-chip svg {
  width: 16px;
  height: 16px;
  color: #8fb4ff;
}

.code-chip:hover {
  border-color: rgba(150, 200, 255, 0.8);
  transform: translateY(-1px);
}

.code-chip.is-copied {
  border-color: #4ad07a;
  color: #b8f5cd;
}

.code-reveal-link {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #8fb4ff;
  word-break: break-all;
  cursor: pointer;
}

.code-reveal-link.is-copied {
  color: #4ad07a;
}

/* four tiers fit on desktop, stack on small screens */
.tier-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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


/* ---- Affiliate form: numbered steps ---- */
.apply-form--steps {
  display: grid;
  gap: 30px;
}

.form-step {
  display: grid;
  gap: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(120, 160, 235, 0.12);
}

.form-step:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.form-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(126, 166, 255, 0.35);
  background: rgba(63, 120, 232, 0.14);
  color: #9fc2ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-step-head h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.apply-form--steps .field > span {
  font-weight: 600;
}

.apply-form--steps textarea {
  min-height: 112px;
  resize: vertical;
}

.apply-form--steps select {
  min-height: 46px;
}

.form-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(126, 166, 255, 0.22);
  background: rgba(63, 120, 232, 0.08);
  color: rgba(190, 208, 235, 0.92);
  font-size: 12.5px;
  line-height: 1.55;
}

.form-strip svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #8fb4ff;
}


/* ---- Admin dashboard ---- */
.page-admin {
  padding: 0;
}

.adm-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(18px, 4vw, 40px);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.adm-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 166, 255, 0.32);
  background: rgba(63, 120, 232, 0.14);
  color: #9fc2ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adm-top-right {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.adm-ghost {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.adm-ghost:hover {
  border-color: rgba(47, 124, 255, 0.5);
  background: rgba(47, 124, 255, 0.12);
}

/* lock screen */
.adm-gate {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 60px);
  padding: 40px 20px 80px;
}

.adm-gate-card {
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: 34px 30px 30px;
  border-radius: 24px;
  border: 1px solid var(--card-line);
  background: linear-gradient(180deg, rgba(20, 26, 40, 0.9), rgba(9, 11, 17, 0.94));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.adm-gate-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 4px;
  border-radius: 14px;
  border: 1px solid rgba(126, 166, 255, 0.3);
  background: rgba(63, 120, 232, 0.16);
  color: #a8c6ff;
}

.adm-gate-icon svg {
  width: 22px;
  height: 22px;
}

.adm-gate-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.adm-gate-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.adm-gate-card input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.adm-gate-card input:focus {
  outline: none;
  border-color: rgba(47, 124, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(47, 124, 255, 0.16);
}

.adm-gate-btn {
  width: 100%;
  justify-content: center;
}

.adm-gate-card small {
  color: var(--muted-2);
  font-size: 12px;
}

.adm-gate-card code {
  color: #9fc2ff;
}

/* dashboard shell */
.adm-body {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 30px clamp(18px, 4vw, 40px) 90px;
  display: grid;
  gap: 22px;
}

.adm-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.adm-kpi {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--card-line);
  background: linear-gradient(180deg, rgba(18, 24, 36, 0.85), rgba(9, 11, 17, 0.9));
}

.adm-kpi span {
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.adm-kpi b {
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.adm-kpi em {
  color: var(--muted-2);
  font-size: 12px;
  font-style: normal;
}

.adm-kpi--money b {
  color: #9fc2ff;
}

.adm-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.adm-tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.adm-tab {
  padding: 9px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.adm-tab span {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
}

.adm-tab.is-active {
  background: rgba(47, 124, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(126, 166, 255, 0.34);
}

.adm-status {
  margin: 0;
  color: var(--muted-2);
  font-size: 12.5px;
}

.adm-list {
  display: grid;
  gap: 14px;
}

/* application cards */
.adm-app {
  border-radius: 20px;
  border: 1px solid var(--card-line);
  background: linear-gradient(180deg, rgba(16, 21, 32, 0.86), rgba(9, 11, 17, 0.92));
  overflow: hidden;
}

.adm-app-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 14px;
}

.adm-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: rgba(47, 124, 255, 0.18);
  border: 1px solid rgba(126, 166, 255, 0.28);
  color: #cfe0ff;
  font-family: var(--font-display);
  font-size: 17px;
}

.adm-app-who {
  min-width: 0;
}

.adm-app-who h3 {
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 600;
}

.adm-rate {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(47, 124, 255, 0.16);
  border: 1px solid rgba(126, 166, 255, 0.3);
  color: #a8c6ff;
  font-size: 12px;
  font-weight: 700;
}

.adm-app-who p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-pill {
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  border: 1px solid transparent;
}

.adm-pill--ok {
  background: rgba(56, 200, 130, 0.14);
  border-color: rgba(56, 200, 130, 0.34);
  color: #7ce3ac;
}

.adm-pill--wait {
  background: rgba(255, 196, 76, 0.13);
  border-color: rgba(255, 196, 76, 0.32);
  color: #ffcf7a;
}

.adm-pill--no {
  background: rgba(255, 110, 110, 0.12);
  border-color: rgba(255, 110, 110, 0.32);
  color: #ff9d9d;
}

.adm-app-rows {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.adm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: rgba(9, 11, 17, 0.94);
  font-size: 13px;
}

.adm-row > span:first-child {
  flex: 0 0 74px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.adm-row > b {
  font-weight: 600;
}

.adm-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.adm-mono {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;
  letter-spacing: 0.04em;
  color: #cfe0ff !important;
}

.adm-link {
  color: #9fc2ff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-link:hover {
  text-decoration: underline;
}

.adm-mailstate {
  margin-left: auto;
  font-size: 11.5px;
  font-style: normal;
  color: var(--muted-2);
}

.adm-mailstate.is-sent {
  color: #7ce3ac;
}

.adm-chip-btn {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
}

.adm-chip-btn:hover {
  border-color: rgba(47, 124, 255, 0.5);
  color: #fff;
}

.adm-app-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.adm-select {
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
}

.adm-action {
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.adm-action:hover {
  border-color: rgba(47, 124, 255, 0.5);
  background: rgba(47, 124, 255, 0.12);
}

.adm-action--good:hover {
  border-color: rgba(56, 200, 130, 0.55);
  background: rgba(56, 200, 130, 0.14);
  color: #b4f3cd;
}

.adm-action--warn:hover {
  border-color: rgba(255, 196, 76, 0.5);
  background: rgba(255, 196, 76, 0.12);
  color: #ffdca3;
}

.adm-action--danger {
  margin-left: auto;
  color: var(--muted-2);
}

.adm-action--danger:hover {
  border-color: rgba(255, 110, 110, 0.5);
  background: rgba(255, 110, 110, 0.12);
  color: #ffb3b3;
}

/* empty + generic cards */
.adm-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 60px 24px;
  border-radius: 20px;
  border: 1px dashed var(--card-line);
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}

.adm-empty h3 {
  margin: 0;
  font-size: 17px;
}

.adm-empty p {
  margin: 0;
  max-width: 380px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.adm-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--card-line);
  background: linear-gradient(180deg, rgba(16, 21, 32, 0.86), rgba(9, 11, 17, 0.92));
}

.adm-card h2 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.adm-hint {
  margin: 0 0 14px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.55;
}

.adm-h2 {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.adm-codes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

@media (max-width: 860px) {
  .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-app-who p { white-space: normal; }
}

@media (max-width: 560px) {
  .adm-top { gap: 10px; padding: 12px 16px; }
  .adm-badge { display: none; }
  .adm-kpis { grid-template-columns: 1fr; }
  .adm-row { flex-wrap: wrap; }
  .adm-row > span:first-child { flex-basis: 100%; }
  .adm-action--danger { margin-left: 0; }
}


/* hidden must win over the grid display on the admin shells */
.adm-gate[hidden],
.adm-body[hidden],
.adm-list[hidden] {
  display: none !important;
}

.adm-clip {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500 !important;
}

.adm-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 4, 8, 0.78);
  backdrop-filter: blur(6px);
}

.adm-modal[hidden] { display: none !important; }

.adm-modal-card {
  width: min(560px, 100%);
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--card-line);
  background: linear-gradient(180deg, rgba(20, 26, 40, 0.96), rgba(9, 11, 17, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.adm-modal-card h2 { margin: 0; font-size: 17px; }
.adm-modal-card p { margin: 0; color: var(--muted); font-size: 13px; }

.adm-modal-card textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-family: ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  resize: vertical;
}

/* a hidden field must actually be hidden, even when .field sets display:flex */
[hidden] { display: none !important; }

/* sale note under the product cell */
.ledger-note{display:block;font-size:11px;line-height:1.4;color:#7f8ea8;margin-top:3px;font-weight:400}
