/* ==========================================================================
   nrrtv.ai — landing page styles
   Design tokens extracted from the nrrtv design kit.
   Flat borderless surfaces · yellow = the one primary CTA · violet = accents.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Light theme — light gray page, pure white cards ("lighter = raised") */
  --background: 0 0% 95%;
  --foreground: 0 0% 4%;
  --card: 0 0% 100%;
  --muted: 0 0% 91%;
  --muted-foreground: 0 0% 40%;
  --accent: 0 0% 93%;
  --border: 0 0% 84%;

  /* Brand constants — identical in both themes */
  --nrrtv-yellow: #ffd60a;
  --nrrtv-yellow-ink: #0a0a0a;
  --nrrtv-violet: #7c3aed;
  --nrrtv-violet-soft: #a78bfa;
  --nrrtv-earnings: #047857;
  --violet-text: #6d28d9;      /* small violet text — contrast-safe on light */

  --radius-card: 16px;
  --radius-button: 12px;

  --font-body: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1152px;
  --gutter: 24px;
}

:root[data-theme="dark"] {
  /* Dark theme — soft charcoal page, lighter charcoal cards, never pitch black */
  --background: 0 0% 7.5%;
  --foreground: 0 0% 100%;
  --card: 0 0% 11%;
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 66%;
  --accent: 0 0% 16%;
  --border: 0 0% 24%;
  --nrrtv-earnings: #34d399;
  --violet-text: #a78bfa;      /* dark theme brightens violet for contrast */
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--nrrtv-violet); color: #fff; }

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

address { font-style: normal; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--nrrtv-yellow);
  color: var(--nrrtv-yellow-ink);
  font-weight: 700;
  border-radius: 0 0 var(--radius-button) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--nrrtv-violet);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 896px; }
.wrap--prose { max-width: 768px; }

.display { font-family: var(--font-display); }

/* ---------- 4. Brand atoms ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  text-transform: lowercase;
  color: hsl(var(--foreground));
}
.wordmark__dot { color: var(--nrrtv-violet); }
.wordmark--lg { font-size: 1.875rem; }

.icon { width: 16px; height: 16px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-button);
  transition: background-color .2s, color .2s, filter .2s, transform .2s;
}

.btn--yellow {
  background: var(--nrrtv-yellow);
  color: var(--nrrtv-yellow-ink);
  padding: 8px 20px;
  font-size: .875rem;
}
.btn--yellow:hover { filter: brightness(1.1); }

.btn--ghost {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
  padding: 8px 20px;
  font-size: .875rem;
}
.btn--ghost:hover { background: var(--nrrtv-violet); color: #fff; }

.btn--cta {
  position: relative;
  overflow: hidden;
  background: var(--nrrtv-yellow);
  color: var(--nrrtv-yellow-ink);
  padding: 16px 32px;
  font-size: 1.125rem;
  box-shadow: 0 0 40px -10px rgba(255, 214, 10, .3);
}
.btn--cta:hover { transform: scale(1.05); }
.btn--cta:active { transform: scale(.95); }

.btn--pill {
  border-radius: 9999px;
  padding: 14px 28px;
  font-size: .875rem;
}
.btn--pill:hover { filter: brightness(1.05); transform: none; }
.btn--pill:active { transform: scale(.95); }

/* Gentle glow pulse + periodic shine sweep on the primary CTA */
.cta-shine { animation: cta-glow 3s ease-in-out infinite; }
.cta-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: cta-sweep 3.5s ease-in-out infinite;
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 40px -10px rgba(255, 214, 10, .3); }
  50%      { box-shadow: 0 0 55px -8px rgba(255, 214, 10, .55); }
}
@keyframes cta-sweep {
  0%, 60% { left: -75%; }
  100%    { left: 125%; }
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-button);
  background: hsl(var(--accent));
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.icon-btn:hover { color: hsl(var(--foreground)); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

/* ---------- 5. Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--background) / .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / .2);
}
.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: .875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: hsl(var(--foreground)); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__desktop-only { display: none; }

.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: hsl(var(--muted-foreground));
  transition: color .2s;
}
.nav__back:hover { color: hsl(var(--foreground)); }
.nav__back:hover .icon { transform: translateX(-2px); }
.nav__back .icon { transition: transform .2s; }
.nav__brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav__divider { width: 1px; height: 20px; background: hsl(var(--border) / .4); }

.nav__menu {
  border-top: 1px solid hsl(var(--border) / .2);
  background: hsl(var(--background) / .95);
  backdrop-filter: blur(12px);
  padding: 20px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav__menu[hidden] { display: none; }
.nav__menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: .875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}
.nav__menu-links a:hover { color: hsl(var(--foreground)); }
.nav__menu-theme {
  border-top: 1px solid hsl(var(--border) / .2);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  color: hsl(var(--muted-foreground));
}

/* Theme toggle icon swap */
[data-theme="dark"] .icon--moon { display: none; }
[data-theme="light"] .icon--sun { display: none; }
.nav__menu-theme .label-dark,
.nav__menu-theme .label-light { display: none; }
[data-theme="dark"] .nav__menu-theme .label-dark { display: inline; }
[data-theme="light"] .nav__menu-theme .label-light { display: inline; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 24px;
  overflow: hidden;
}
.hero__copy {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}
.hero__proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}
.hero__avatars { display: flex; }
.hero__avatars img {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 2px solid hsl(var(--background));
  object-fit: cover;
  filter: grayscale(1);
}
.hero__avatars img + img { margin-left: -8px; }
.stars { display: flex; gap: 2px; color: var(--nrrtv-yellow); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.hero__proof-text { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.hero__proof-text strong { color: hsl(var(--foreground)); font-weight: 700; }

.hero__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.accent-violet { color: var(--nrrtv-violet); }

.hero__sub {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: .875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: hsl(var(--card));
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}
.pill .icon { width: 12px; height: 12px; color: var(--nrrtv-violet); }

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  width: 100%;
}
.hero__actions .btn--cta { width: 100%; }

/* Hero visual — desktop only */
.hero__visual { display: none; }

.hero__stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}
.hero__glow,
.hero__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  pointer-events: none;
  z-index: 1;
  border-radius: 9999px;
}
.hero__glow {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(124, 58, 237, .40) 0%, rgba(124, 58, 237, .20) 45%, transparent 72%);
  filter: blur(28px);
  animation: hero-float 9s ease-in-out infinite;
}
.hero__ring {
  width: 460px;
  height: 460px;
  border: 1px solid rgba(124, 58, 237, .20);
  animation: hero-float 11s ease-in-out infinite 1s;
}

.hero__card,
.hero__card-back {
  position: absolute;
  width: 220px;
  height: 400px;
  border-radius: 18px;
  overflow: hidden;
}
.hero__card-back {
  z-index: 5;
  top: 50%;
  left: 50%;
  transform: translate(-84%, -50%) rotate(-8deg);
  transform-origin: center center;
}
.hero__card-back picture,
.hero__card-back img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__card-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent 50%);
}
.hero__card {
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 10;
  animation: hero-float 6s ease-in-out infinite;
}
.hero__card picture,
.hero__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__player {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__player .icon { width: 12px; height: 12px; color: #fff; fill: #fff; }
.hero__player-bar {
  flex: 1;
  height: 2px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .2);
}
.hero__player-bar span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: 9999px;
  background: var(--nrrtv-violet);
}
.hero__player-time { font-size: 9px; color: rgba(255, 255, 255, .6); flex-shrink: 0; }

.hero__badge {
  position: absolute;
  z-index: 30;
  width: 148px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: hsl(var(--card));
}
.hero__badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(124, 58, 237, .15);
  color: var(--nrrtv-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__badge-title { display: block; font-size: 11px; font-weight: 700; line-height: 1.35; }
.hero__badge-desc { display: block; font-size: 9px; line-height: 1.3; color: hsl(var(--muted-foreground)); }

.hero__badge--1 { right: 0; top: 2%; rotate: 2deg; animation: hero-float 5.2s ease-in-out infinite; }
.hero__badge--2 { right: -2%; top: 44%; rotate: -3deg; animation: hero-float 7.1s ease-in-out infinite .8s; }
.hero__badge--3 { left: 55%; bottom: 3%; rotate: 1.5deg; animation: hero-float 6.3s ease-in-out infinite 1.4s; }
.hero__badge--4 { left: 2%; top: 6%; rotate: -2deg; animation: hero-float 4.8s ease-in-out infinite 2.1s; }

.sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  animation-name: sparkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes sparkle {
  0%   { opacity: 0; transform: scale(0) rotate(0deg); }
  20%  { opacity: .8; transform: scale(1) rotate(20deg); }
  60%  { opacity: .5; transform: scale(.85) rotate(-10deg); }
  100% { opacity: 0; transform: scale(0) rotate(30deg); }
}

/* ---------- 7. Reel ticker ---------- */
.reels {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 32px;
}
.reels__label {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.reels__label .chip {
  font-size: 13px;
  padding: 6px 16px;
  rotate: 2deg;
}
.reels__label .accent-violet { margin-left: 4px; color: var(--violet-text); }
.reels__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  z-index: 10;
  pointer-events: none;
}
.reels__fade--left {
  left: 0;
  background: linear-gradient(to right, hsl(var(--background)), hsl(var(--background) / .8), transparent);
}
.reels__fade--right {
  right: 0;
  background: linear-gradient(to left, hsl(var(--background)), hsl(var(--background) / .8), transparent);
}
.reels__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ticker 47s linear infinite;
  will-change: transform;
}
.reels__track:hover { animation-play-state: paused; }
.reels__set { display: flex; gap: 16px; flex-shrink: 0; }
.reel {
  position: relative;
  width: 176px;
  height: 312px;
  border-radius: var(--radius-card);
  overflow: hidden;
  flex-shrink: 0;
  background: hsl(var(--card));
}
.reel picture,
.reel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
}
.reel__caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-inline: 12px;
}
.reel__caption span {
  display: block;
  width: max-content;
  padding: 2px 8px;
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.3;
}
.reel__caption .is-yellow { background: var(--nrrtv-yellow); color: var(--nrrtv-yellow-ink); }
.reel__caption .is-white { background: #fff; color: #000; }

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

/* ---------- 8. Platforms ---------- */
.platforms { padding-block: 40px; }
.platforms__eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 32px;
}
.platforms__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.platform {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  font-size: .75rem;
  font-weight: 600;
}
.platform svg { width: 20px; height: 20px; flex-shrink: 0; }
.platform__tiktok { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.platform__tiktok svg { position: absolute; inset: 0; }
.platform__tiktok .is-cyan { fill: #69c9d0; transform: translate(-.9px, -.9px); }
.platform__tiktok .is-red { fill: #ee1d52; transform: translate(.9px, .9px); }
.platform__tiktok .is-fg { fill: hsl(var(--foreground)); }
.platforms__divider { width: 1px; height: 32px; background: hsl(var(--border) / .4); }
.platforms__note {
  text-align: center;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin-top: 24px;
}

/* ---------- 9. Section headers ---------- */
.section { padding-block: 40px; }
.section--lg { padding-block: 64px; }
.section-head { text-align: center; margin-bottom: 24px; }
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet-text);
  margin-bottom: 12px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
}
.section-title--lg { font-size: 1.875rem; margin-bottom: 12px; }
.section-lede {
  font-size: .875rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin-inline: auto;
}

/* ---------- 10. Why nrrtv ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
.compare__card {
  background: hsl(var(--card));
  border-radius: var(--radius-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.compare__card--best {
  border: 2px solid var(--nrrtv-violet);
  position: relative;
  overflow: hidden;
}
.compare__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.compare__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: hsl(var(--accent));
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compare__icon .icon { width: 14px; height: 14px; }
.compare__card--best .compare__icon { background: rgba(124, 58, 237, .2); color: var(--nrrtv-violet); }
.compare__tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.compare__tag--best {
  letter-spacing: .15em;
  background: var(--nrrtv-violet);
  color: #fff;
  padding: 2px 8px;
  border-radius: 9999px;
}
.compare__title { font-size: .875rem; font-weight: 700; margin-bottom: 8px; }
.compare__list { display: flex; flex-direction: column; gap: 6px; }
.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}
.compare__list .icon { width: 12px; height: 12px; margin-top: 2px; }
.compare__list--con .icon { color: #f87171; }
.compare__list--pro li { color: hsl(var(--foreground)); }
.compare__list--pro .icon { color: #10b981; }

/* ---------- 11. How it works ---------- */
.steps {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  /* full-bleed scroller: explicit width so the negative margins can't widen the page */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  width: calc(100% + var(--gutter) * 2);
  scrollbar-width: none;
}
.steps::-webkit-scrollbar { display: none; }
.step {
  background: hsl(var(--card));
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: calc(100vw - 48px);
  scroll-snap-align: center;
  overflow: hidden;
}
.step--violet { background: var(--nrrtv-violet); color: #fff; }
.step__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--violet-text);
  margin-bottom: 16px;
}
.step--violet .step__num { color: rgba(255, 255, 255, .9); }
.step__body { flex: 1; }
.step__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.step__desc { font-size: .875rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.step--violet .step__desc { color: rgba(255, 255, 255, .88); }
.step__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.step__chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  background: hsl(var(--background));
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border) / .4);
}
.step--violet .step__chip {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
}
.dots button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: hsl(var(--muted-foreground) / .35);
  transition: width .2s, background-color .2s;
}
.dots button[aria-current="true"]::before { width: 24px; background: var(--nrrtv-violet); }

/* ---------- 12. Reviews ---------- */
.reviews__viewport {
  position: relative;
  overflow: hidden;
  padding-inline: 16px;
}
.reviews__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
/* Two cards per page on mobile — only odd cards are snap targets */
.reviews__track > .review { flex: 0 0 calc(50% - 6px); }
.reviews__track > .review:nth-child(odd) { scroll-snap-align: start; }
.review--clone { display: none; }
.review {
  background: hsl(var(--card));
  border-radius: var(--radius-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review__stars { display: flex; gap: 2px; }
.review__stars svg { width: 12px; height: 12px; fill: var(--nrrtv-yellow); }
.review__text { font-size: 12px; line-height: 1.6; flex: 1; }
.review__author { display: flex; align-items: center; gap: 8px; }
.review__author img {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  object-fit: cover;
  background: hsl(var(--muted));
  flex-shrink: 0;
}
.review__name { font-size: 11px; font-weight: 600; line-height: 1.2; }
.review__role { font-size: 11px; color: hsl(var(--muted-foreground)); line-height: 1.2; }

.reviews__viewport .reels__fade,
.reviews__fade { display: none; }

/* ---------- 13. Pipeline ---------- */
.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.pipeline__lede {
  color: hsl(var(--muted-foreground));
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 24rem;
}
.pipeline__title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.pipeline__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.pipeline__list li { display: flex; align-items: flex-start; gap: 16px; }
.pipeline__list-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(124, 58, 237, .15);
  color: var(--nrrtv-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pipeline__list-title { font-weight: 600; font-size: .875rem; line-height: 1.35; }
.pipeline__list-desc { color: hsl(var(--muted-foreground)); font-size: 13px; line-height: 1.6; margin-top: 2px; }
.pipeline__cta-wrap { display: flex; justify-content: center; }
.pipeline__cta-desktop { display: none; }
.br-mobile { display: inline; }

.mock { position: relative; }
.mock__glow {
  /* bleeds vertically only — horizontal bleed would widen the page on mobile */
  position: absolute;
  inset: -24px 0;
  border-radius: 24px;
  background: rgba(124, 58, 237, .08);
  filter: blur(32px);
  pointer-events: none;
}
.mock__window {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .45);
}
.mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / .6);
}
.mock__dots { display: flex; align-items: center; gap: 8px; }
.mock__dots i { width: 12px; height: 12px; border-radius: 9999px; }
.mock__title { margin-left: 12px; font-size: 12px; font-weight: 500; color: hsl(var(--muted-foreground)); }
.mock__status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 9999px;
  background: rgba(124, 58, 237, .2);
  color: var(--nrrtv-violet);
}
.mock__episode {
  margin: 16px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  background: hsl(var(--muted) / .5);
  border: 1px solid hsl(var(--border) / .6);
  padding: 12px 16px;
}
.mock__episode-title { font-size: .875rem; font-weight: 700; line-height: 1.3; }
.mock__episode-meta { font-size: 11px; color: hsl(var(--muted-foreground)); margin-top: 2px; }
.mock__episode-time { font-size: 12px; font-family: var(--font-mono); color: hsl(var(--muted-foreground)); }
.mock__steps { padding: 0 16px 8px; display: flex; flex-direction: column; gap: 4px; }
.mock__step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  transition: background-color .2s;
}
.mock__step:hover { background: hsl(var(--muted) / .5); }
.mock__step-label { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.mock__step .icon { width: 14px; height: 14px; }
.mock__step--todo .mock__step-label { color: hsl(var(--muted-foreground) / .5); }
.mock__step--todo .icon { color: hsl(var(--muted-foreground) / .4); }
.mock__step--done .icon,
.mock__step--doing .icon { color: var(--nrrtv-violet); }
.mock__pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}
.mock__pill--done { background: rgba(16, 185, 129, .15); color: #34d399; }
.mock__pill--doing { background: rgba(124, 58, 237, .2); color: var(--nrrtv-violet); animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.mock__pill--todo { background: hsl(var(--muted)); color: hsl(var(--muted-foreground) / .5); border: 1px solid hsl(var(--border)); }
.mock__progress { padding: 16px; border-top: 1px solid hsl(var(--border)); margin-top: 8px; }
.mock__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}
.mock__progress-head b { color: hsl(var(--foreground)); font-weight: 700; }
.mock__progress-track {
  height: 6px;
  border-radius: 9999px;
  background: hsl(var(--muted));
  overflow: hidden;
}
.mock__progress-track span {
  display: block;
  height: 100%;
  width: 58%;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--nrrtv-violet), #a78bfa);
}
@keyframes pulse { 50% { opacity: .5; } }

/* ---------- 14. FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 32px;
}
.faq__col { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: hsl(var(--card));
  border-radius: 12px;
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon {
  color: hsl(var(--muted-foreground));
  transition: transform .2s;
}
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__answer {
  padding: 0 16px 12px;
  font-size: .75rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

/* ---------- 15. Footer ---------- */
.footer {
  border-top: 1px solid hsl(var(--border) / .2);
  margin-top: 48px;
  background: hsl(var(--card) / .3);
}
.footer__top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding-block: 48px;
}
.footer__tagline {
  color: hsl(var(--muted-foreground));
  max-width: 20rem;
  font-size: .875rem;
  line-height: 1.7;
  margin-top: 24px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer__col h2 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; font-size: .875rem; }
.footer__col a { color: hsl(var(--muted-foreground)); transition: color .2s; }
.footer__col a:hover { color: hsl(var(--foreground)); }
.footer__bottom {
  border-top: 1px solid hsl(var(--border) / .2);
  padding-block: 24px;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: .75rem;
}
.footer--legal .footer__top {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-block: 48px;
}
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: .875rem;
}
.footer__legal-links a { color: hsl(var(--muted-foreground)); transition: color .2s; }
.footer__legal-links a:hover { color: hsl(var(--foreground)); }

/* ---------- 16. Legal document pages ---------- */
.legal { padding-block: 48px; }
.legal__title { font-size: 2.25rem; font-weight: 700; margin-bottom: 8px; }
.legal__updated { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-bottom: 40px; }
.legal__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: .875rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}
.legal__body h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 12px;
}
.legal__body h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 16px 0 8px;
}
.legal__body strong { color: hsl(var(--foreground)); font-weight: 600; }
.legal__body a {
  color: var(--violet-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal__body a:hover { color: hsl(var(--foreground)); }
.legal__body p + p,
.legal__body ul + p,
.legal__body ol + p,
.legal__body div + p { margin-top: 12px; }
.legal__body ul { list-style: disc; padding-left: 20px; }
.legal__body ol { list-style: decimal; padding-left: 20px; }
.legal__body li + li { margin-top: 4px; }
.legal__body ul, .legal__body ol { margin-top: 12px; }
.legal__body section > ul:first-child { margin-top: 0; }
.legal__table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid hsl(var(--border) / .4);
  margin-top: 16px;
}
.legal__table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 520px; }
.legal__table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border) / .4);
}
.legal__table td { padding: 12px 16px; border-bottom: 1px solid hsl(var(--border) / .2); vertical-align: top; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table td:first-child,
.legal__table td:last-child { color: hsl(var(--foreground)); font-weight: 500; }
.legal address p + p { margin-top: 4px; }
.legal address .name { font-weight: 600; color: hsl(var(--foreground)); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* ---------- md: ≥ 768px ---------- */
@media (min-width: 768px) {
  .nav__links,
  .nav__desktop-only { display: flex; }
  .nav__mobile-only { display: none; }
  .br-mobile { display: none; }

  .hero { padding-top: 96px; padding-bottom: 112px; gap: 48px; }
  .hero__title { font-size: 2.25rem; }
  .hero__sub { font-size: 1.25rem; margin-top: 16px; }
  .hero__actions { flex-direction: row; }
  .hero__actions .btn--cta { width: auto; }

  .reels__fade { width: 256px; }
  .reels__track { animation-duration: 55s; }

  .platforms { padding-block: 56px; }
  .platform { padding-inline: 48px; font-size: 1rem; }
  .platform svg, .platform__tiktok { width: 28px; height: 28px; }

  .section { padding-block: 56px; }
  .section--lg { padding-block: 96px; }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 1.875rem; }
  .section-title--lg { font-size: 2.25rem; }
  .section-lede { font-size: 1rem; }

  .compare { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .compare__card { padding: 24px; gap: 20px; border-radius: 20px; }
  .compare__icon { width: 40px; height: 40px; border-radius: 12px; }
  .compare__icon .icon { width: 20px; height: 20px; }
  .compare__tag { font-size: 10px; }
  .compare__tag--best { padding: 4px 10px; }
  .compare__title { font-size: 1.125rem; margin-bottom: 16px; }
  .compare__list { gap: 12px; }
  .compare__list li { font-size: .875rem; }
  .compare__list .icon { width: 14px; height: 14px; }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    width: 100%;
  }
  .step { width: auto; padding: 28px; }
  .step__title { font-size: 1.5rem; }
  .dots { display: none; }

  .reviews__dots { display: none; }
  .reviews__viewport { padding-inline: 0; }
  .reviews__fade {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    z-index: 10;
    pointer-events: none;
  }
  .reviews__fade--left { left: 0; background: linear-gradient(to right, hsl(var(--background)), transparent); }
  .reviews__fade--right { right: 0; background: linear-gradient(to left, hsl(var(--background)), transparent); }
  .reviews__track {
    gap: 20px;
    width: max-content;
    overflow: visible;
    scroll-snap-type: none;
    animation: ticker 48s linear infinite;
    will-change: transform;
  }
  .reviews__track:hover { animation-play-state: paused; }
  .review--clone { display: flex; }
  .reviews__track > .review {
    flex: 0 0 340px;
    border-radius: 20px;
    padding: 24px;
    gap: 16px;
  }
  .reviews__track .review__stars svg { width: 16px; height: 16px; }
  .reviews__track .review__text { font-size: .875rem; }
  .reviews__track .review__author img { width: 36px; height: 36px; }
  .reviews__track .review__author { gap: 12px; }
  .reviews__track .review__name { font-size: .875rem; }
  .reviews__track .review__role { font-size: .75rem; }

  .pipeline { grid-template-columns: 1fr 1fr; gap: 64px; }
  .pipeline__title { font-size: 2.25rem; }
  .pipeline__lede { font-size: 1rem; }
  .pipeline__cta-wrap { display: none; }
  .pipeline__cta-desktop { display: inline-flex; }

  .faq__grid { grid-template-columns: 1fr 1fr; }
  .faq__item { border-radius: 16px; }
  .faq__item summary { padding: 20px 24px; font-size: 1.125rem; }
  .faq__item summary .icon { width: 20px; height: 20px; }
  .faq__answer { padding: 0 24px 20px; font-size: 1rem; }

  .footer__top { flex-direction: row; padding-block: 64px; }
  .footer__cols { display: flex; gap: 64px; }
  .footer__bottom { font-size: .875rem; }
  .footer--legal .footer__top { flex-direction: row; }

  .legal { padding-block: 64px; }
  .legal__title { font-size: 3rem; }
  .legal__body { font-size: 1rem; }
}

/* ---------- lg: ≥ 1024px ---------- */
@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
    min-height: calc(80vh - 64px);
  }
  .hero__copy {
    width: 55%;
    align-items: flex-start;
    text-align: left;
  }
  .hero__proof { align-items: flex-start; }
  .hero__pills { justify-content: flex-start; }
  .hero__actions { justify-content: flex-start; }
  .hero__title { font-size: 3rem; }
  .hero__visual {
    display: flex;
    width: 45%;
    position: relative;
    align-items: center;
    justify-content: center;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta-shine,
  .cta-shine::after,
  .hero__card,
  .hero__glow,
  .hero__ring,
  .hero__badge,
  .reels__track,
  .reviews__track,
  .mock__pill--doing { animation: none; }
  .sparkle { animation: none; opacity: 0; }
  * { transition-duration: .01ms !important; }
}
