/* TIROVEX — design tokens, layout, motion */

:root {
  --bg: #070a12;
  --bg-elevated: #0f141f;
  --surface: rgba(15, 22, 38, 0.78);
  --border: rgba(255, 255, 255, 0.072);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.66);
  --muted2: rgba(255, 255, 255, 0.46);
  --accent-start: #22d3ee;
  --accent-mid: #818cf8;
  --accent-end: #e879f9;
  --gradient: linear-gradient(
    125deg,
    var(--accent-start) 0%,
    var(--accent-mid) 52%,
    var(--accent-end) 100%
  );
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-glow: 0 28px 90px rgba(34, 211, 238, 0.12),
    0 18px 50px rgba(129, 140, 248, 0.08);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: min(1180px, calc(100% - 2.5rem));
  --header-h: 64px;
  /* Mobile fixed bar ≈ pad + button + pad + safe area — used to pad last sections / footer */
  --sticky-cta-h: 122px;
  --prose-width: 38rem;
  --line-height-prose: 1.65;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html {
    overflow-x: clip;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: var(--line-height-prose);
  color: var(--text);
  background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom, 0);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 0 0 1.25rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent-start);
}

a:focus-visible {
  outline: 2px solid var(--accent-end);
  outline-offset: 3px;
}

code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

/* Header — keep above mobile overlay so the menu button stays tappable */
.site-header {
  position: sticky;
  top: 0;
  z-index: 280;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3125rem;
  text-decoration: none;
  color: var(--text);
}

.logo__mark {
  display: block;
  height: 2.2rem;
  width: auto;
  max-height: 2.3rem;
  object-fit: contain;
  flex-shrink: 0;
}

.logo__word {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 1024px) {
  .logo__mark {
    height: 2.3rem;
    max-height: 2.5rem;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 22px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle__bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Sibling of <header> (not inside) so `position:fixed` isn’t trapped by header stacking/backdrop */
.nav-mobile {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--header-h);
  z-index: 250;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(7, 10, 18, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile__panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.25rem calc(1rem + env(safe-area-inset-right, 0px)) max(1.25rem, env(safe-area-inset-bottom))
    calc(1rem + env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.nav-mobile a,
.nav-mobile__panel a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile__panel .btn {
  margin-top: 0.75rem;
  border-bottom: none;
  justify-content: center;
}

body.menu-open {
  touch-action: none;
}

@media (min-width: 900px) {
  .nav-mobile,
  .nav-mobile.is-open {
    display: none !important;
    pointer-events: none;
  }

  body.menu-open {
    touch-action: auto;
  }
}

/* Sections */
.section {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section--alt {
  background: linear-gradient(
    180deg,
    rgba(34, 211, 238, 0.045) 0%,
    transparent 44%
  );
}

/* Section layout: easier scanning */
.section__inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.section__head {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-start);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(
    145deg,
    rgba(34, 211, 238, 0.18),
    rgba(129, 140, 248, 0.12),
    rgba(232, 121, 249, 0.1)
  );
  border: 1px solid var(--border);
  color: var(--accent-start);
  box-shadow: var(--shadow-glow);
}

.section__icon-wrap--cta {
  margin-bottom: 0.25rem;
}

.section__head .section__title {
  margin-bottom: 0;
}

.section__lede {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: var(--line-height-prose);
}

.section__lede--narrow {
  max-width: var(--prose-width);
  margin-inline: auto;
}

.section__intro--readable {
  max-width: var(--prose-width);
  line-height: var(--line-height-prose);
}

.section__title {
  text-align: center;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.section__intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__line {
  text-align: center;
  margin-top: 1.75rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: var(--line-height-prose);
  max-width: 40rem;
  margin-inline: auto;
}

.section__line--emphasis {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-inline: 1rem;
}

/* Icons: Iconify host + Lucide — inline-flex centers stroke inside width/height box */
.icon,
iconify-icon.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: inherit;
  vertical-align: middle;
  box-sizing: border-box;
}

.section__icon-wrap iconify-icon.icon {
  margin: auto;
}

.icon--sm {
  width: 1.125rem;
  height: 1.125rem;
  opacity: 0.9;
}

.icon--section {
  width: 1.65rem;
  height: 1.65rem;
}

.icon--stat {
  width: 1.35rem;
  height: 1.35rem;
}

.icon--tick {
  width: 1.125rem;
  height: 1.125rem;
  color: #34d399;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 88% 68% at 70% 16%, rgba(34, 211, 238, 0.2), transparent 56%),
    radial-gradient(ellipse 58% 52% at 14% 82%, rgba(232, 121, 249, 0.14), transparent 52%),
    radial-gradient(ellipse 45% 38% at 92% 72%, rgba(129, 140, 248, 0.12), transparent 48%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__content,
.hero__visual {
  min-width: 0;
}

@media (min-width: 900px) {
  :root {
    --container: min(1180px, calc(100% - 5rem));
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .hero__content {
    padding-inline-end: clamp(1rem, 4vw, 2.75rem);
  }

  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    max-width: 36rem;
  }

  .btn--hero {
    justify-content: center;
    min-height: 3.125rem;
    padding-inline: 1.5rem;
    font-size: 1rem;
  }

  .btn--hero-primary {
    flex: 1.22 1 0;
    min-width: min(100%, 12.5rem);
  }

  .btn--hero-secondary {
    flex: 0.92 1 0;
    min-width: min(100%, 10.5rem);
  }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  color: var(--muted);
}

.hero__title {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  margin: 0 0 1rem;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero__lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
  line-height: var(--line-height-prose);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

@media (max-width: 479px) {
  .hero__cta .btn--hero {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 480px) {
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }

  .hero__cta .btn--hero {
    width: auto;
  }
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__lottie {
  width: min(100%, 420px);
  aspect-ratio: 1;
  min-height: 280px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: none;
  /* Neutral lift only — no tinted gradient behind the animation */
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.hero__lottie dotlottie-player {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

/* Fallback when Lottie not loaded — faint plate + shimmer (no loud gradient box) */
.hero__lottie.is-fallback {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse 72% 60% at 50% 48%,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02) 55%,
    transparent 72%
  );
}

.hero__lottie.is-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 42%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 58%
  );
  animation: shimmer 2.4s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__lottie.is-fallback::after {
    animation: none;
  }
}

.trust-line {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.trust-line li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .trust-line li:hover {
    border-color: rgba(34, 211, 238, 0.2);
    background: rgba(255, 255, 255, 0.05);
  }
}

.trust-line li iconify-icon.icon,
.trust-line li .icon {
  margin-top: 0;
  align-self: center;
  color: var(--accent-start);
}

/* Lists & cards */
.list {
  margin: 0 auto;
  max-width: 52ch;
  padding-left: 1.25rem;
}

.list.list--rows,
.list.list--pricing {
  padding-left: 0;
  max-width: none;
}

.pricing-card .list {
  margin: 0;
}

.list--checks {
  list-style: none;
  padding: 0;
}

.list--checks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
}

.list--checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gradient);
}

.list--rows {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.list__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

@media (min-width: 900px) {
  .list--rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.35rem;
    max-width: none;
  }
}

.list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-start);
}

.list__icon iconify-icon.icon,
.list__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.list__icon--check {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.25);
  color: #34d399;
}

.list__text {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: var(--line-height-prose);
}

.list--bullets li {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.list--pricing {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list--pricing li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  line-height: var(--line-height-prose);
}

.list--pricing li:last-child {
  margin-bottom: 0;
}

.result-card {
  margin: 0.5rem auto 0;
  max-width: var(--prose-width);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(16px);
  color: var(--muted);
  text-align: center;
  line-height: var(--line-height-prose);
}

.glass-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    var(--surface);
  backdrop-filter: blur(20px) saturate(1.15);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1240px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.card-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 100%;
}

/* Icon tile: "What we ship" cards + pricing package cards */
.card-feature__icon,
.pricing-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(34, 211, 238, 0.16),
    rgba(129, 140, 248, 0.12),
    rgba(232, 121, 249, 0.1)
  );
  border: 1px solid var(--border);
  color: var(--accent-start);
}

.pricing-card__icon {
  margin-bottom: 0.75rem;
}

.card-feature__icon iconify-icon.icon,
.card-feature__icon .icon,
.pricing-card__icon iconify-icon.icon,
.pricing-card__icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.card-feature__body {
  font-weight: 500;
  color: var(--text);
  line-height: var(--line-height-prose);
}

/* Stats */
.stats {
  display: grid;
  gap: 1rem;
  margin: 0;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  position: relative;
  padding-top: 0.25rem;
}

.stat__icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0.45;
  color: var(--accent-start);
}

.stat dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted2);
  margin-bottom: 0.35rem;
  padding-right: 2.5rem;
}

.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Earning */
.earning-intro {
  margin: 0 auto 1rem;
  max-width: 42rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  line-height: var(--line-height-prose);
}

.section#earning .earning-card {
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px rgba(10, 14, 34, 0.34), var(--shadow-glow);
}

.section#earning .earning-card__result {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.section#earning .earning-card__scale {
  color: rgba(255, 255, 255, 0.78);
}

.earning-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.earning-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-start);
}

.earning-card__icon iconify-icon.icon,
.earning-card__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.earning-card__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted2);
  margin: 0;
}

.earning-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.earning-card__list li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  line-height: var(--line-height-prose);
}

.earning-card__list li:last-child {
  border-bottom: 0;
}

.earning-card__bullet {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-end);
  flex-shrink: 0;
  width: 1.25rem;
}

.earning-card__result {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.earning-card__scale {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.earning-card {
  max-width: 42rem;
  margin-inline: auto;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card--featured {
  border-color: rgba(232, 121, 249, 0.42);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.15), var(--shadow-glow);
}

.pricing-card__ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
}

.pricing-card__title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

/* Demo — local video + poster thumbnail */
.demo-video-wrap {
  padding: 0;
  overflow: hidden;
  max-width: 52rem;
  margin-inline: auto;
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  background: var(--bg-elevated);
}

.section--demo .section__head {
  margin-bottom: 0.25rem;
}

/* Final CTA */
.section--cta {
  padding-bottom: calc(clamp(3rem, 8vw, 5rem) + 0.5rem);
}

@media (max-width: 899px) {
  .section--cta {
    padding-bottom: calc(clamp(3rem, 8vw, 5rem) + var(--sticky-cta-h));
  }
}

.section--cta__inner {
  text-align: center;
  align-items: center;
}

.section--cta .section__intro {
  margin-bottom: 1.5rem;
}

.section__note {
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-end);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--gradient);
  background-clip: border-box;
  color: #fff;
  /* Base `.btn` uses `border: 1px solid transparent`; that ring is unpainted so the
     page shows through at the left/right curve — looks like a thin gap on pills. */
  border: 0;
  box-shadow: 0 10px 32px rgba(34, 211, 238, 0.22),
    0 4px 16px rgba(129, 140, 248, 0.15);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

/* Hero CTAs — larger tap targets; desktop gets pill layout + shine */
.btn--hero {
  position: relative;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  overflow: hidden;
  isolation: isolate;
}

.btn--hero .btn__label {
  position: relative;
  z-index: 1;
}

.btn--hero .icon--btn {
  position: relative;
  z-index: 1;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--hero-primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.btn--hero-primary:hover::after {
  transform: translateX(120%);
}

.btn--hero-secondary {
  border-width: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn--hero-secondary:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(129, 140, 248, 0.12);
}

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

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 calc(2.75rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

/* When the mobile sticky CTA is visible it covers the viewport bottom — extra scroll space
   so copyright / tagline aren’t hidden behind the bar (bar height + small gap). */
@media (max-width: 899px) {
  .site-footer {
    padding-bottom: calc(
      2.75rem + env(safe-area-inset-bottom, 0px) + var(--sticky-cta-h) + 1.25rem
    );
  }
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.site-footer__tagline {
  font-size: 0.95rem;
  color: var(--muted2);
  margin-bottom: 1rem;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.site-footer__link {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__link:hover {
  color: var(--accent-start);
}

.site-footer__sep {
  color: var(--muted2);
  user-select: none;
}

.site-footer__copy {
  font-size: 0.85rem;
  color: var(--muted2);
  margin: 0;
}

.site-footer--minimal {
  padding-top: 2rem;
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

.site-footer__copy--solo {
  margin: 0;
}

/* Privacy page (privacy.html) */
.site-header .privacy-page__label {
  margin: 0 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
}

.privacy-page__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
  text-align: left;
}

.privacy-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.privacy-page__lede {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: var(--line-height-prose);
}

.privacy-page__contact {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: var(--line-height-prose);
}

.privacy-page__back {
  margin: 1.25rem 0 0;
}

/* Sticky CTA — mobile */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.sticky-cta__slot {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.35;
}

.sticky-cta__slot [aria-hidden="true"] {
  margin-inline-end: 0.3rem;
}

.sticky-cta[hidden] {
  display: none !important;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none !important;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Desktop & large screens — breathing room, wider canvas */
@media (min-width: 1024px) {
  :root {
    --container: min(1240px, calc(100% - 7rem));
  }

  body {
    font-size: 1.0625rem;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .nav {
    gap: 1.75rem;
  }

  .nav a:not(.btn) {
    font-size: 0.98rem;
  }

  .hero {
    padding-top: clamp(2.5rem, 4vw, 4rem);
    padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
    min-height: min(72vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Was `width: 100%` — that overrode `.container` and stripped side margins on desktop. */
  .hero > .container.hero__grid {
    width: var(--container);
    max-width: 100%;
  }

  .hero__grid {
    gap: 3.5rem 4rem;
    align-items: center;
  }

  .hero__title {
    font-size: clamp(2.05rem, 3.5vw, 3.05rem);
    max-width: min(40ch, 100%);
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 1.2rem;
    max-width: 32rem;
    margin-bottom: 2rem;
  }

  .hero__cta {
    gap: 1.125rem;
    margin-bottom: 2.25rem;
  }

  .btn--hero {
    min-height: 3.35rem;
    padding-inline: 1.65rem;
    font-size: 1.03rem;
    gap: 0.5rem;
  }

  .btn--hero .icon--btn {
    width: 1.25rem;
    height: 1.25rem;
  }

  .hero__lottie {
    width: min(100%, 460px);
    max-width: 460px;
    min-height: 380px;
  }

  .section {
    padding: clamp(4rem, 7vw, 6rem) 0;
  }

  .section__inner {
    gap: 2rem;
  }

  .section__head .section__title {
    font-size: clamp(1.65rem, 2.6vw, 2.35rem);
    max-width: 46ch;
  }

  .card-grid {
    gap: 1.35rem;
  }

  .stat dd {
    font-size: 1.85rem;
  }

  .stat dt {
    font-size: 0.82rem;
  }

  .pricing-grid {
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 1.65rem 1.5rem 1.75rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
  }

  .btn--lg {
    padding: 0.95rem 2rem;
    font-size: 1.08rem;
  }
}

@media (min-width: 1320px) {
  :root {
    --container: min(1320px, calc(100% - 9rem));
  }

  .hero__grid {
    gap: 4rem 5rem;
  }

  .stats {
    gap: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .trust-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: min(52rem, 100%);
  }

  .trust-line li {
    align-items: center;
    padding: 0.75rem 1rem;
  }
}

/* Large desktops: extra horizontal breathing room inside section stacks */
@media (min-width: 1440px) {
  :root {
    --container: min(1320px, calc(100% - 11rem));
  }
}
