/* =============================================================
   Rinxor — Landing styles (premium tech direction)
   Sistema de tokens en colors_and_type.css. Aquí solo composición
   y patrones específicos del pre-launch landing.
   ============================================================= */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--rx-core-blue-deep, #0A0D14);
  scroll-behavior: smooth;
}
body {
  font-family: var(--rx-font-sans, 'Inter', system-ui, sans-serif);
  background: var(--rx-core-blue-deep, #0A0D14);
  color: var(--rx-white, #fff);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  /* Halos azules sutiles sobre el negro — mantienen profundidad sin tirar a navy */
  background-image:
    radial-gradient(1200px 600px at 20% -10%, rgba(22, 103, 198, 0.14), transparent 60%),
    radial-gradient(900px 500px at 110% 120%, rgba(111, 168, 255, 0.06), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Sticky head wrapper (nav + subhead pinneados juntos) ---------- */
/* Wrappear ambos en un sticky único garantiza que viajen como un bloque
   sin gap visible y sin fragilidades de calcular `top` por la altura del nav. */
.rx-stickyhead {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

/* ---------- Nav slim (logo + countdown) ---------- */
.rx-nav {
  width: 100%;
  background: rgba(10, 13, 20, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rx-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rx-nav__logo {
  width: 110px;
  height: auto;
  opacity: 0.95;
}
.rx-nav__cd {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--rx-white);
}
.rx-nav__cd .sep {
  color: var(--rx-secondary-blue, #6FA8FF);
  opacity: 0.6;
  font-size: 11px;
}
.rx-nav__cd .lbl {
  font-family: var(--rx-font-sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--rx-secondary-blue, #6FA8FF);
  text-transform: uppercase;
  margin-left: 2px;
}

/* ---------- Nav: variante para legal pages (back link en vez de countdown) ---------- */
.rx-nav__back {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color .15s ease;
}
.rx-nav__back:hover {
  color: var(--rx-secondary-blue, #6FA8FF);
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal-page {
  flex: 1;
  width: 100%;
  padding: 56px 24px 80px;
}
.legal {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--rx-font-sans, 'Inter', system-ui, sans-serif);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}
.legal h1 {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--rx-white);
}
.legal__updated {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rx-secondary-blue, #6FA8FF);
  margin: 0 0 32px;
}
.legal__intro {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.legal h2 {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: var(--rx-white);
  margin: 40px 0 14px;
}
.legal h3 {
  font-family: var(--rx-font-sans, 'Inter', system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.legal p {
  font-size: 15px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
}
.legal ul {
  padding-left: 22px;
  margin: 0 0 20px;
}
.legal li {
  font-size: 15px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
}
.legal li::marker {
  color: var(--rx-secondary-blue, #6FA8FF);
}
.legal strong {
  color: var(--rx-white);
  font-weight: 600;
}
.legal a {
  color: var(--rx-secondary-blue, #6FA8FF);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
.legal a:hover {
  color: var(--rx-white);
}
.legal code {
  font-family: var(--rx-font-mono, ui-monospace, monospace);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--rx-secondary-blue, #6FA8FF);
}

@media (max-width: 520px) {
  .legal-page { padding: 40px 20px 56px; }
  .legal h2 { margin: 32px 0 12px; }
}

/* ---------- Subheader: anuncio Kickstarter ---------- */
/* Banda slim debajo del nav. NO sticky — scrollea away para no robar viewport
   en mobile. El nav sí queda sticky. Verde Kickstarter de marca: #05CE78. */
.rx-subhead {
  display: block;
  width: 100%;
  /* Stack: tint verde Kickstarter encima de navy semi-opaco. Navy garantiza
     legibilidad cuando el subhead queda pinneado sobre el video negro. */
  background:
    linear-gradient(180deg, rgba(5, 206, 120, 0.07), rgba(5, 206, 120, 0.03)),
    rgba(10, 13, 20, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(5, 206, 120, 0.22);
  color: var(--rx-white);
  text-decoration: none;
  transition: background .2s ease;
}
.rx-subhead:hover {
  background:
    linear-gradient(180deg, rgba(5, 206, 120, 0.20), rgba(5, 206, 120, 0.10)),
    rgba(10, 13, 20, 0.92);
}
.rx-subhead:hover .rx-subhead__arrow {
  transform: translateX(3px);
}
.rx-subhead__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7.5px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rx-subhead__txt {
  color: rgba(255, 255, 255, 0.55);
}
.rx-subhead__brand {
  display: inline-flex;
  align-items: center;
}
.rx-subhead__wordmark {
  /* Wordmark Kickstarter ultra-compacto: 12px desktop, 10px mobile.
     SVG vectorial — escala perfecto en cualquier DPI. */
  height: 12px;
  width: auto;
  display: block;
  opacity: 0.92;
}
.rx-subhead__sep {
  color: rgba(255, 255, 255, 0.35);
}
.rx-subhead__date {
  color: rgba(255, 255, 255, 0.85);
}
.rx-subhead__arrow {
  color: #05CE78;
  margin-left: 4px;
  transition: transform .2s ease;
}

@media (max-width: 520px) {
  .rx-subhead__inner {
    padding: 6.5px 16px;
    font-size: 8px;
    gap: 6px;
    letter-spacing: 0.14em;
  }
  .rx-subhead__txt {
    /* Mobile: ocultamos "Launching on" para que entre todo en una línea */
    display: none;
  }
  .rx-subhead__wordmark { height: 10px; }
}

/* ---------- Layout principal ---------- */
main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  width: 100%;
  padding: 64px 24px;
}
.section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Hero (full-bleed lifestyle scene + gradient blend) ---------- */
.hero {
  position: relative;
  /* Alto del hero con la imagen wide 2400x1080 (ratio 20:9 = 2.222).
     Target = 45vw (1/2.222 = 0.45) para que coincida con el ratio de la imagen
     y cover entre sin crop. Floor 560px (viewports angostos). Techo
     calc(100vh - 100px) para que entre completo above-the-fold, descontando
     la sticky head (~100px). */
  min-height: clamp(560px, 45vw, calc(100vh - 100px));
  padding: 0;
  overflow: clip;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Imagen 2400x1080 (ratio 20:9). El container target tiene ese mismo ratio →
     cover entra sin crop. Si el viewport fuerza otro ratio (en mobile o cuando
     el techo del clamp activa), anclamos center para preservar el balance. */
  object-position: center;
  display: block;
}
/* Veil sin gradient — texto va sobre la imagen lifestyle directamente.
   Mantenemos un fade mínimo en el bottom para fundir con la siguiente sección. */
.hero__bg-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 80%, rgba(10, 13, 20, 0.40) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 9vh, 110px) 24px clamp(60px, 8vh, 100px);
  display: flex;
  /* Banner Kickstarter style: overlay anclado a la izquierda, vertical-medio.
     Mobile sobrescribe a "stretch" en el media query de abajo. */
  align-items: center;
  min-height: clamp(560px, 45vw, calc(100vh - 100px));
}

/* ---------- Hero overlay (Kickstarter banner style) ----------
   Reemplaza .hero__copy. Fade-in suave 300ms después del zoom de la imagen
   para que el reveal sea cinematográfico (imagen entra → overlay aparece). */
.hero__overlay {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Ancho del overlay: el headline manda. width:fit-content en el h1 +
     white-space:nowrap en cada banda → el h1 toma el ancho de la frase
     más ancha ("CLEAR YOUR RAZOR"). El overlay container solo limita el
     resto (sub, features, form). */
  width: min(58%, 740px);
  animation: hero-overlay-in 600ms 300ms ease-out both;
}
@keyframes hero-overlay-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__brand {
  display: block;
  width: 180px;
  height: auto;
  padding-bottom: 12px;
}
/* Headline con bandas de color sólido. width:fit-content en el h1 hace
   que el bloque tome el ancho de la palabra/frase MÁS ANCHA; los <span>
   internos con width:100% replican ese ancho → ambas bandas idénticas. */
h1.hero__claim {
  display: block;
  width: fit-content;
  margin: 0;
  font-family: var(--rx-font-body, 'Inter', sans-serif);
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 70px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-shadow: none;
  /* Stroke encima de la fuente para engrosar render visual (~+2px). Usa
     currentColor → cada banda toma su propio color (white en dark, #22418D
     en light). */
  -webkit-text-stroke: 2px currentColor;
}
.hero__band {
  display: block;
  width: 100%;
  padding: 3px 0;
  /* Forzamos cada banda a una sola línea; el width:fit-content del h1
     se expande a la frase más ancha ("Clear your razor") y la otra
     banda toma ese mismo ancho via width:100% → bandas idénticas. */
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hero__band--dark  { background: #000; color: #fff; }
/* "Between passes" sin fondo: solo texto azul sobre la imagen.
   Padding lateral lo mantenemos en 0 para que la banda quede flush con la
   negra (sin "saltito" visual de margen). */
.hero__band--light {
  background: transparent;
  color: #22418D;
  padding-left: 0;
  padding-right: 0;
}

.hero__sub {
  font-family: var(--rx-font-body, 'Inter', sans-serif);
  font-weight: 400;
  font-size: clamp(15px, 1.9vw, 26px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rx-core-blue-deep, #0A0D14);
  margin: 8px 0 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.hero__features {
  list-style: none;
  margin: 6px 0 4px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 14px 28px;
}
.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__feature-icon {
  /* SVGs del founder en /assets/icons/. Cada SVG ya incluye el ícono + el
     label vectorizado (con grosores y acentos azules aplicados internamente).
     width:auto + height fijo → escala proporcional sin distorsión. */
  width: auto;
  height: 80px;
  max-width: 90px;
  display: block;
}

/* ---------- Hero on-light overrides ----------
   El banner vive sobre mármol claro → meta/form en navy/ink. */
.hero .hero__meta {
  color: var(--rx-neutral-700, #2A2F36);
}
.hero .hero__meta .dot {
  background: var(--rx-signal-blue, #1667C6);
}
/* Form input: border + texto navy, background blanco semi-opaco para no
   ser invisible sobre el mármol claro */
.hero input[type=email] {
  color: var(--rx-core-blue-deep, #0A0D14);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(10, 13, 20, 0.30);
}
.hero input[type=email]:focus {
  border-color: var(--rx-signal-blue, #1667C6);
  background: rgba(255, 255, 255, 0.95);
}
.hero input[type=email]::placeholder {
  color: rgba(10, 13, 20, 0.50);
}
/* Botón en verde Kickstarter (#05CE78) — match con el banner de launch */
.hero button.submit {
  color: var(--rx-white);
  background: #05CE78;
  border-color: #05CE78;
}
.hero button.submit:hover {
  background: #04B66B;
  border-color: #04B66B;
}
/* Mensaje post-suscripción ok → navy en lugar de blanco */
.hero .msg.ok {
  color: var(--rx-core-blue-deep, #0A0D14);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.hero .msg.ok strong {
  color: var(--rx-signal-blue, #1667C6);
}
.hero .msg__cta {
  color: var(--rx-signal-blue, #1667C6);
}
.hero .msg__cta:hover {
  color: var(--rx-core-blue-deep, #0A0D14);
}

/* Mobile: el banner pasa a full-width del padding del .hero__inner.
   El headline se achica y las features quedan más compactas. */
@media (max-width: 768px) {
  .hero__inner {
    align-items: stretch;
    padding: clamp(60px, 9vh, 90px) 16px clamp(48px, 8vh, 80px);
  }
  .hero__overlay { width: 100%; max-width: none; }
  h1.hero__claim {
    width: fit-content;
    /* Font escalado al viewport (8.5vw) — CLEAR YOUR RAZOR (16 chars) en
       Inter Black entra sin desbordar desde iPhone SE 320px hasta 768px.
       9.5vw desbordaba ~13px en 375px (h1 fit-content > parent .hero__overlay)
       lo que rompía el centrado: margin:0 auto colapsa a 0 en overflow. */
    font-size: clamp(28px, 8.5vw, 48px);
    /* Stroke OFF en mobile. */
    -webkit-text-stroke: 0;
  }
  .hero__band { white-space: nowrap; }
  /* Íconos: más chicos y más alejados del bloque de texto para que no
     compitan visualmente con el headline. */
  .hero__features {
    gap: 12px 18px;
    margin-top: 18px;
  }
  .hero__feature-icon { height: 50px; max-width: 60px; width: auto; }
}

/* prefers-reduced-motion: cancelar fade-in del overlay. */
@media (prefers-reduced-motion: reduce) {
  .hero__overlay { animation: none; }
}

/* ---------- Form (preservado, sólo polish) ---------- */
.form-wrap { width: 100%; max-width: 540px; }
form#ea-form {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
input[type=email] {
  flex: 1 1 0;
  min-width: 0;
  font: inherit;
  color: var(--rx-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s, background .15s;
}
input[type=email]:focus {
  border-color: var(--rx-secondary-blue, #6FA8FF);
  background: rgba(255, 255, 255, 0.12);
}
input[type=email]::placeholder { color: rgba(255, 255, 255, 0.45); }
input.err { border-color: #ff7b7b; }

button.submit {
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rx-core-blue-deep, #0A0D14);
  background: var(--rx-white);
  border: 1px solid var(--rx-white);
  border-radius: 10px;
  padding: 14px 22px;
  cursor: pointer;
  transition: transform .1s ease, opacity .1s ease;
}
button.submit:hover { transform: translateY(-1px); }
button.submit:disabled { opacity: 0.6; cursor: wait; }

/* Turnstile: ancho del form-wrap (no full bleed). Theme dark + flexible size
   matchea el navy de la landing. Mobile: centrado dentro del form-wrap.
   El widget de CF renderiza un <div> wrapper + un <iframe>. Quitamos el
   border default del iframe (la línea clara visible arriba) y le damos un
   border sutil al wrapper que matchee los demás inputs del form. */
.ts-container {
  display: none;
  margin-top: 14px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 460px;
  min-height: 65px;
}
.ts-container.visible { display: flex; }
/* Solo el wrapper outer clipea: border-radius + overflow:hidden recortan el
   iframe interno. Sin border ni background propios → no hay doble línea. */
.ts-container > div {
  width: 100% !important;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}
.ts-container iframe {
  width: 100% !important;
  border: 0 !important;
  display: block;
}
@media (max-width: 960px) {
  .ts-container {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

.msg {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
  min-height: 20px;
}
.msg.err { color: #ff9b9b; }
.msg.ok  {
  color: var(--rx-white);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  margin-top: 14px;
}
.msg.ok strong {
  color: var(--rx-secondary-blue, #6FA8FF);
  font-weight: 600;
}
.msg__cta {
  color: var(--rx-secondary-blue, #6FA8FF);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color .15s ease, text-decoration-thickness .15s ease;
  white-space: nowrap;
}
.msg__cta:hover {
  color: var(--rx-white);
  text-decoration-thickness: 2px;
}

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

.hero__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 14px;
  position: relative;
  z-index: 2;
}
.hero__meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rx-secondary-blue, #6FA8FF);
  display: inline-block; margin-right: 8px; vertical-align: middle;
}

/* ---------- Product reveal (video full-bleed, sticky con zoom parallax) ---------- */
/* Full-bleed: como .main no tiene max-width, .reveal con width: 100% ya ocupa
   edge-to-edge sin riesgo de scroll horizontal por el scrollbar (vs 100vw).
   Container alto (110vh) → el sticky child (100vh) queda pinneado mientras el
   user scrollea ese 10vh extra, dándole "peso" cinematográfico al producto. */
.reveal {
  position: relative;
  width: 100%;
  height: 110vh;
  max-height: 1000px;
  background: #000;
}
.reveal__pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  max-height: 900px;
  overflow: hidden;
}
.reveal__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}
/* Vignette sutil en bordes verticales para "letterbox" cinematográfico */
.reveal__pin::before,
.reveal__pin::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}
.reveal__pin::before {
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}
.reveal__pin::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}
/* Scroll-driven zoom parallax — Chrome 115+, Edge 115+. Fallback graceful: video estático. */
@supports (animation-timeline: view()) {
  .reveal__video {
    animation: reveal-zoom linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
}
@keyframes reveal-zoom {
  0%   { transform: scale(1.08); }
  50%  { transform: scale(1.00); }
  100% { transform: scale(1.08); }
}

@media (max-width: 720px) {
  .reveal { height: 90vh; max-height: 700px; }
  .reveal__pin { height: 80vh; max-height: 640px; }
}

/* ---------- How it works — Triptico clogged → cleared → continue ----------
   3 figcards en grid (desktop) / stack (mobile). Cada card combina visual
   (foto o video) + número + título + descripción. El centro carga el video
   loop tomaf — entrada de la cuchilla al Rinxor. Los laterales son fotos
   macro fondo gris (razor-dirty.jpg, razor-clean.jpg) que el founder sube. */
.how-it-works {
  position: relative;
  padding: clamp(64px, 9vh, 96px) 24px clamp(64px, 9vh, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22), transparent);
  text-align: center;
}
/* "How it works" pasa de ser eyebrow chico a título principal de la sección.
   Michroma para mantener jerarquía display, escalado grande, color signal-blue
   claro (--rx-secondary-blue) para que se lea sobre el fondo dark. */
.how-it-works__eyebrow {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: clamp(22px, 2.8vw, 35px);
  letter-spacing: 0.12em;
  color: var(--rx-secondary-blue, #6FA8FF);
  text-transform: uppercase;
  margin: 0 auto clamp(40px, 6vh, 56px);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 1180px;
  margin: 0 auto;
}
.hiw-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
  /* Borde signal-blue homogéneo en las 3 cards (antes solo la del medio). */
  border: 2px solid rgba(22, 103, 198, 0.40);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 0 0 2px rgba(22, 103, 198, 0.18) inset,
              0 8px 30px rgba(0, 0, 0, 0.25);
}
.hiw-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2A2F36;
  overflow: hidden;
  /* Borde inferior signal-blue: cierra el "cuadro" interno alrededor de la
     imagen/video, matching el borde exterior de la card. */
  border-bottom: 2px solid rgba(22, 103, 198, 0.40);
}
.hiw-card__media img,
.hiw-card__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* El video tomaf tiene la composición centrada — anclamos al centro. */
  object-position: center;
}
/* Zoom-in al cabezal de la cuchilla en las cards laterales (before/after).
   La cuchilla original ocupa ~50% del frame y el cabezal está en ~25-30% del top.
   Con scale + transform-origin recortamos el mango y mostramos detalle de pelos
   y espuma vs. acero limpio a 1.6x escala. El overflow:hidden del wrapper
   contiene el zoom. */
.hiw-card__media--zoom img {
  transform: scale(1.6);
  transform-origin: 50% 30%;
}

/* Pill labels BEFORE / AFTER sobre las imágenes laterales para forzar la lectura
   de contraste antes del análisis visual. Posicionado top-left con z-index para
   quedar por encima del <img> zoomeado. */
.hiw-card__label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px 7px;
  font-family: var(--rx-font-body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  /* Sombra suave para legibilidad sobre fondos grises o foto */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.hiw-card__label--before { background: #D44336; }
.hiw-card__label--after  { background: #05CE78; }

/* Si el video falla en cargar, el .hiw-card recibe la clase --no-video
   y ocultamos el wrapper de media para que la card no quede con caja vacía. */
.hiw-card--no-video .hiw-card__media { display: none; }

.hiw-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.8vw, 28px);
}
.hiw-card__num {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--rx-secondary-blue, #6FA8FF);
  font-weight: 400;
}
.hiw-card__title {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rx-white);
  margin: 0;
}
.hiw-card__desc {
  font-family: var(--rx-font-body, 'Inter', sans-serif);
  font-size: clamp(12px, 1.15vw, 14px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Mobile: stack vertical. Cards se acomodan una abajo de otra. */
@media (max-width: 860px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 520px;
  }
  .how-it-works {
    padding: clamp(48px, 6vh, 72px) 20px clamp(48px, 6vh, 72px);
  }
  .hiw-card__media { aspect-ratio: 16 / 9; }
}

/* Sección How it works siempre visible desde el primer paint — sin fade-in
   ni stagger. Eliminamos el opacity:0 inicial y los toggles via .is-in. */

/* Step 03 (continue) — slide horizontal sutil reforzando el "forward" del >> */
@keyframes hiw-slide {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
.how-it-works.is-in .hiw-steps > :nth-child(5) .hiw-step__icon {
  animation: hiw-slide 2.2s ease-in-out infinite;
  animation-delay: 2.4s;
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .how-it-works__eyebrow,
  .hiw-step,
  .hiw-step__divider {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .how-it-works .hiw-step__icon {
    animation: none !important;
  }
}

/* ---------- Convert (dual path) ---------- */
/* Match con .how-it-works en presencia visual: mismo padding clamp, borders top/bottom,
   gradient suave, eyebrow grande tipo H2 (no minicaps de 11px). Inner max-width 1180
   matchea hiw-grid para consistencia de ancho con la sección de arriba. */
.convert {
  position: relative;
  padding: clamp(64px, 9vh, 96px) 24px clamp(64px, 9vh, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22), transparent);
  text-align: center;
}
.convert__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.convert__eyebrow {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: clamp(22px, 2.8vw, 35px);
  letter-spacing: 0.12em;
  color: var(--rx-secondary-blue, #6FA8FF);
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto clamp(40px, 6vh, 56px);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}
/* Stack vertical: cada card ocupa todo el ancho. Resuelve (a) diferencia de alturas
   asimétrica entre $1 y refer, y (b) el milestone widget de VL se beneficia del
   ancho completo así "VIP Early-Bird Credit" no se parte vertical. */
.path-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Stage 1 — comparación 2 cards lado a lado.
   Funciona porque las cards son chicas (sin widget VL visible adentro).
   El milestone-widget está oculto vía CSS hasta Stage 2 (custom reward icons en VL dashboard). */
.path-grid--compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 720px) {
  .path-grid--compare {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
/* CTAs alineados al fondo independientemente del largo del body.
   Sin esto, la card con menos contenido (Card 2) queda con su CTA "flotando" arriba
   y la otra (Card 1) abajo — visualmente roto. margin-top: auto absorbe el espacio
   sobrante y empuja botón + microcopy al pie de la card. */
.path-grid--compare .path-card__body {
  flex: 0 0 auto;
}
.path-grid--compare .path-card .btn {
  margin-top: auto;
}
/* Divisor entre cards: separa visualmente sin perder claridad de "two ways" */
.path-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}
.path-divider::before,
.path-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 168, 255, 0.35), transparent);
}
.path-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
  position: relative;
}
.path-card:hover {
  border-color: rgba(111, 168, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.path-card--primary {
  background: linear-gradient(180deg, rgba(22, 103, 198, 0.20), rgba(15, 61, 145, 0.10));
  border-color: rgba(111, 168, 255, 0.45);
  box-shadow: 0 0 80px -10px rgba(111, 168, 255, 0.30);
  padding: 28px 28px;
  /* Full width: layout horizontal — info izquierda, CTA derecha */
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.path-card--primary:hover {
  border-color: rgba(111, 168, 255, 0.65);
  box-shadow: 0 0 100px -8px rgba(111, 168, 255, 0.40);
  transform: none;
}
.path-card--primary .path-card__icon {
  grid-column: 1;
  grid-row: 1;
}
.path-card--primary .path-card__title {
  grid-column: 1;
  grid-row: 2;
}
.path-card--primary .path-card__body {
  grid-column: 1;
  grid-row: 3;
}
.path-card--primary .btn {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  white-space: nowrap;
  min-width: 200px;
  font-size: 16px;
  padding: 16px 28px;
}
.path-card__badge {
  position: absolute;
  top: -10px;
  left: 22px;
  background: var(--rx-secondary-blue, #6FA8FF);
  color: var(--rx-core-blue-deep, #0A0D14);
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 500;
  grid-column: 1 / -1;
  grid-row: auto;
}
.path-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(111, 168, 255, 0.14);
  color: var(--rx-secondary-blue, #6FA8FF);
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.path-card__title {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 0;
  font-weight: 400;
  line-height: 1.25;
}
.path-card--primary .path-card__title { font-size: 17px; }
.path-card__body {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  flex: 1;
}
.path-card__body strong {
  color: var(--rx-secondary-blue, #6FA8FF);
  font-weight: 600;
}
.path-card .btn { align-self: stretch; text-align: center; }

.btn {
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 18px;
  transition: transform .1s ease, opacity .1s ease, background .15s ease;
  border: 1px solid transparent;
  /* Soporta tanto <button> como <a class="btn"> con layout consistente */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn--solid {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rx-core-blue-deep, #0A0D14);
  background: var(--rx-white);
  border-color: var(--rx-white);
}
.btn--solid:hover { transform: translateY(-1px); }
.btn--solid:disabled { opacity: 0.6; cursor: wait; }
.btn--solid .amount {
  color: var(--rx-core-blue-deep, #0A0D14);
  font-weight: 700;
}
.path-card--primary .btn--solid {
  padding: 14px 22px;
  font-size: 15px;
}

/* Énfasis visual reutilizable (independiente del layout interno) */
.path-card--hero {
  background: linear-gradient(180deg, rgba(22, 103, 198, 0.20), rgba(15, 61, 145, 0.10));
  border-color: rgba(111, 168, 255, 0.45);
  box-shadow: 0 0 80px -10px rgba(111, 168, 255, 0.30);
  padding: 28px 28px;
}
.path-card--hero:hover {
  border-color: rgba(111, 168, 255, 0.65);
  box-shadow: 0 0 100px -8px rgba(111, 168, 255, 0.40);
  transform: none;
}
.path-card--hero .path-card__title { font-size: 17px; }

/* Microcopy bajo CTA / widgets */
.path-card__micro {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin: 4px 0 0;
}

/* Share toolkit — sección que aparece post-signup, debajo del path-grid.
   Los widgets de VL viven acá ahora (sacados de adentro de Card 1) para que las
   dos cards mantengan estructura idéntica y los buttons queden alineados.
   El [hidden] del HTML lo oculta por default; JS lo destapa en el success path. */
.vl-share {
  margin-top: 18px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* `display: flex` arriba override al UA `[hidden] { display: none }` por specificity
   pareja + cascade order. Esta regla con specificity (0,2,0) le devuelve la semántica
   al atributo `hidden` para que el toggle JS funcione pre/post-signup. */
.vl-share[hidden] {
  display: none;
}
.vl-share__title {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 0;
  font-weight: 400;
  line-height: 1.25;
}
.vl-share__lede {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}
/* Stage 1 — milestone-widget oculto hasta que se renombren rewards en VL dashboard. */
.vl-share milestone-widget {
  display: none;
}
/* Empty state collapse: pre-render VL no debería ocupar 40px de ghost space.
   (Aunque el wrapper esté hidden, dejamos esto por consistencia + futuras revelaciones parciales.) */
.vl-share .vl-widget,
.vl-share referral-url-widget,
.vl-share sharing-options-widget {
  min-height: 0;
}

.path-equiv {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 28px 0 0;
  text-align: center;
}
@media (max-width: 720px) {
  .path-equiv {
    font-size: 9px;
    letter-spacing: 0.10em;
  }
}
@media (max-width: 380px) {
  .path-equiv {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
}

/* VL custom elements: por default inline; forzar block para que ocupen el card.
   Pasamos CSS vars Bootstrap por si heredan al Shadow DOM. */
.vl-widget,
milestone-widget,
referral-url-widget,
sharing-options-widget,
form-widget {
  display: block;
  width: 100%;
  min-height: 40px;
  --primary: #6FA8FF;
  --secondary: #0A0D14;
  --info: #6FA8FF;
  --light: #FFFFFF;
  --dark: #0A0D14;
  --font-family-sans-serif: 'Inter', system-ui, sans-serif;
}
/* Stage 1: milestone-widget oculto (regla en bloque "Hide milestone-widget" arriba).
   Margins de los share widgets se manejan en mismo bloque con :not(:empty). */

/* ---------- VL widget overrides (centrar + matchear estilo Rinxor) ----------
   VL renderiza algunos hijos en light DOM. !important porque los estilos del
   widget vienen con specificity alta. Si en algún momento renderiza en shadow
   DOM cerrado, estos selectores no llegan — fallback al plan B (UI custom). */
sharing-options-widget {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 10px !important;
  margin-top: 12px;
  padding: 0 !important;
}
sharing-options-widget > * {
  margin: 0 !important;
}
/* Botones de share: cuadrados con tinte navy + borde light blue, matchea Rinxor */
sharing-options-widget button,
sharing-options-widget a,
sharing-options-widget [class*="share-button"],
sharing-options-widget [class*="ShareButton"] {
  background: rgba(10, 13, 20, 0.55) !important;
  border: 1px solid rgba(111, 168, 255, 0.30) !important;
  border-radius: 10px !important;
  color: var(--rx-secondary-blue, #6FA8FF) !important;
  transition: background .15s ease, border-color .15s ease, transform .1s ease !important;
}
sharing-options-widget button:hover,
sharing-options-widget a:hover {
  background: rgba(22, 103, 198, 0.30) !important;
  border-color: rgba(111, 168, 255, 0.55) !important;
  transform: translateY(-1px);
}
/* Copy widget: input + botón en línea, con estilo del card */
referral-url-widget {
  border-radius: 10px;
  overflow: hidden;
}
referral-url-widget input,
referral-url-widget [type="text"] {
  font-family: var(--rx-font-mono, ui-monospace, monospace) !important;
  font-size: 13px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--rx-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
}
referral-url-widget button,
referral-url-widget [class*="copy"] {
  background: var(--rx-white) !important;
  color: var(--rx-core-blue-deep, #0A0D14) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  border: 1px solid var(--rx-white) !important;
  cursor: pointer !important;
  transition: transform .1s ease !important;
}
referral-url-widget button:hover {
  transform: translateY(-1px);
}

/* ---------- FAQ ---------- */
.faq {
  padding: 32px 24px 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.faq__inner {
  max-width: 720px;
  margin: 0 auto;
}
.faq__title {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--rx-secondary-blue, #6FA8FF);
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 28px;
}
.faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 18px 4px;
}
.faq details:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--rx-white);
  outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 18px;
  color: var(--rx-secondary-blue, #6FA8FF);
  transition: transform .25s ease;
  flex: 0 0 auto;
  width: 20px;
  text-align: center;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details > div {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

/* ---------- Footer ---------- */
.rx-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px 32px;
  margin-top: auto;
}
.rx-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.rx-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rx-footer__logo {
  width: 110px;
  opacity: 0.7;
}
.rx-footer__tagline {
  font-family: var(--rx-font-sans, 'Inter', system-ui, sans-serif);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 360px;
  line-height: 1.55;
}
.rx-footer__col h4 {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--rx-secondary-blue, #6FA8FF);
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 400;
}
.rx-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rx-footer__col a {
  font-family: var(--rx-font-sans, 'Inter', system-ui, sans-serif);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color .15s ease;
}
.rx-footer__col a:hover { color: var(--rx-white); }
.rx-footer__legal {
  font-family: var(--rx-font-display, 'Michroma', monospace);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__bg-img,
  .reveal__video {
    animation: none !important;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  /* Mobile/tablet stack puro: imagen como banner arriba (height fijo, no
     full-bleed background), copy abajo sobre el navy del body. Sin veil,
     sin trucos de gradient. Tipografía vuelve a blanco/azul light. */
  .hero {
    min-height: auto;
    overflow: visible;
    /* No isolation needed cuando .hero__bg es relative en flujo */
  }
  .hero__bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(240px, 36vh, 360px);
    /* Contiene el transform:scale(1.08) del zoom-in dentro del bg, que en
       mobile (donde .hero pasa a overflow:visible) si no se hace overflow
       hidden produciría scroll horizontal de ~10-30px. */
    overflow: hidden;
  }
  /* Sin difuminado en el bottom — corte limpio entre imagen y navy. */
  .hero__bg-veil { display: none; }
  .hero__inner {
    align-items: stretch;
    min-height: auto;
    padding: clamp(28px, 4vh, 44px) 16px clamp(28px, 4vh, 44px);
  }
  .hero__overlay {
    text-align: center;
    align-items: center;
    margin: 0 auto;
    max-width: 540px;
    gap: 16px;
    width: 100%;
    /* Cancelamos el fade-in del overlay: en mobile el banner ya viaja con
       la página, no aparece "encima" de una imagen. */
    animation: none;
  }
  .hero__brand { margin: 0 auto 4px; }
  /* Bandas: width:fit-content + auto margins → la palabra más ancha define
     el bloque y queda centrado en el viewport. */
  h1.hero__claim {
    width: fit-content;
    margin: 0 auto;
    /* Font escalado (8.5vw, max 48px) — match con el override de 768px.
       9.5vw hacía overflow del h1 sobre su parent en 375px, rompiendo el
       centrado real (margin:0 auto colapsa a 0 cuando hijo > padre). */
    font-size: clamp(28px, 8.5vw, 48px);
    /* Stroke OFF en mobile (ver 768px override). */
    -webkit-text-stroke: 0;
  }
  /* Forzamos una línea por banda en mobile también — el font-size reducido
     garantiza que entren sin overflow horizontal. */
  .hero__band { white-space: nowrap; }
  /* En mobile el copy va sobre el body oscuro → la banda negra sobra.
     Ambas bandas pasan a transparente: "CLEAR YOUR RAZOR" en blanco,
     "between passes" hereda el azul #22418D del bloque desktop. */
  .hero__band--dark {
    background: transparent;
    color: var(--rx-white, #fff);
    padding-left: 0;
    padding-right: 0;
  }
  .hero__sub { margin-top: 0; }
  .hero__features {
    /* margin-top más amplio para separar los íconos del bloque de texto y que
       no compitan visualmente con el headline. */
    margin: 18px auto 0;
    gap: 10px 22px;
    grid-template-columns: repeat(3, minmax(0, max-content));
    justify-content: center;
  }
  .hero__feature-icon { height: 50px; max-width: 60px; width: auto; }
  /* Form stack en mobile: input full-width arriba, botón full-width abajo.
     Con CTA largo ("Join the Kickstarter Launch") un single-row layout
     comprimía demasiado el input. Stack vertical da espacio cómodo a ambos. */
  .hero form#ea-form {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero input[type=email] {
    flex: 1 1 100%;
    min-width: 0;
  }
  .hero button.submit {
    flex: 1 1 100%;
    padding: 14px 18px;
  }
  .hero .ts-container { margin-top: 12px; min-height: 0; }
  /* Meta bullets pegadas al Turnstile: margin-top muy negativo cancela
     casi todo el gap del flex parent (22px) para juntarlas. */
  .hero .hero__meta {
    margin-top: -18px;
    gap: 14px;
    font-size: 9px;
    letter-spacing: 0.14em;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .hero .hero__meta .dot { width: 4px; height: 4px; margin-right: 4px; }
  .form-wrap { margin: 0 auto; }
  .hero__meta { justify-content: center; }
  /* Crop empujado a la derecha y un toque hacia abajo: oculta más el espejo
     redondo del top-left y centra la composición en el producto + sink. */
  .hero__bg-img { object-position: 75% 60%; }
  /* Banner mobile: el copy va sobre navy del body (no sobre la imagen).
     Las bandas mantienen su contraste propio. Sub y features pasan a light. */
  .hero__sub {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: none;
  }
  /* En mobile el logo del nav (sticky header) ya cubre el branding —
     ocultamos el wordmark del overlay para evitar duplicación. */
  .hero__brand { display: none; }
  /* En mobile el copy va sobre body navy. Los SVGs del founder son dark-on-light
     (cuerpo gris #1f2428 + acentos azul #22418b), pensados para fondos claros.
     Invertimos en mobile con un filter: invert para que se lean en blanco
     sobre el fondo oscuro. El acento azul también se invierte (#22418b → tono
     claro), lo cual queda razonable en este contexto. */
  .hero__feature-icon {
    filter: invert(1) hue-rotate(180deg);
  }
  .hero .hero__meta {
    color: rgba(255, 255, 255, 0.55);
  }
  .hero .hero__meta .dot {
    background: var(--rx-secondary-blue, #6FA8FF);
  }
  /* Form input mobile: estilo dark consistente */
  .hero input[type=email] {
    color: var(--rx-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
  }
  .hero input[type=email]:focus {
    border-color: var(--rx-secondary-blue, #6FA8FF);
    background: rgba(255, 255, 255, 0.12);
  }
  .hero input[type=email]::placeholder {
    color: rgba(255, 255, 255, 0.45);
  }
  /* Botón verde Kickstarter (mantiene el verde en mobile también) */
  .hero button.submit {
    color: var(--rx-white);
    background: #05CE78;
    border-color: #05CE78;
  }
  .hero button.submit:hover {
    background: #04B66B;
    border-color: #04B66B;
  }
  /* Mensaje post-suscripción ok */
  .hero .msg.ok {
    color: var(--rx-white);
    text-shadow: none;
  }
  .hero .msg.ok strong {
    color: var(--rx-secondary-blue, #6FA8FF);
  }
  .hero .msg__cta {
    color: var(--rx-secondary-blue, #6FA8FF);
  }
  .hero .msg__cta:hover {
    color: var(--rx-white);
  }
  .rx-footer__inner { grid-template-columns: 1fr 1fr; }
  .rx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  /* En mobile el card primary vuelve a stack vertical (icono → título → body → CTA) */
  .path-card--primary {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .path-card--primary .btn {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 520px) {
  /* Sin min-height forzado — el hero se ajusta al contenido (imagen + copy + form) */
  .hero__inner { padding: clamp(20px, 3vh, 32px) 16px clamp(20px, 3vh, 36px); }
  .hero__bg { height: clamp(220px, 32vh, 320px); }
  /* h1.hero__claim font-size eliminado — usa el del override 960px (18vw / 88px max). */
  .section, .how-it-works, .convert, .faq { padding-left: 20px; padding-right: 20px; }
  .rx-nav__inner { padding: 10px 16px; }
  .rx-nav__logo { width: 92px; }
  .rx-nav__cd { font-size: 11px; gap: 6px; }
  .rx-nav__cd .lbl { display: none; }
  /* Form mobile chico: mantiene el stack del breakpoint 960px, solo ajustamos font-size */
  .hero button.submit { flex: 1 1 100%; padding: 14px 14px; font-size: 14px; }
  .how-it-works { padding: 48px 20px; }
  /* Mobile chico: brand full-width arriba, Product + Company en 2 cols abajo */
  .rx-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .rx-footer__brand { grid-column: 1 / -1; }
}

/* Sticky head clearance: cuando el scroll aterriza en #ea-form (vía
   "Share" en la convert section o vía cualquier anchor), dejar lugar
   para el sticky nav + un buffer, así el input de email + botón
   "Notify me" quedan visibles arriba del fold. */
#ea-form {
  scroll-margin-top: 140px;
}