/*
  Qomma — Pre-registro
  Design tokens lifted from the live product (app.qomma.com.mx):
  ink navy #10233F / near-black hero bg #0B151F / mint accent #84EDC3 / Manrope.
*/

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2-variations"),
       url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b151f;
  --ink-soft: #101e2c;
  --ink-elevated: #16273a;
  --navy: #10233f;
  --navy-2: #16305a;
  --mint: #84edc3;
  --mint-strong: #5fe0ae;
  --mint-deep: #2eb089;
  --paper: #f5f7fb;
  --paper-2: #ffffff;
  --paper-line: #e3e8f0;
  --muted-on-dark: #a9b7c4;
  --muted-on-dark-2: #7e8ea0;
  --muted-on-light: #5b6b7c;
  --text-on-light: #0f1b2b;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-s: 0.2s;
  --dur-m: 0.5s;
  --dur-l: 0.9s;

  --shadow-card: 0 1px 2px rgba(16, 35, 63, 0.06), 0 12px 32px -12px rgba(16, 35, 63, 0.16);
  --shadow-lift: 0 24px 64px -20px rgba(11, 21, 31, 0.45);
  --focus-ring: 0 0 0 3px rgba(132, 237, 195, 0.55);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  background: var(--paper);
  color: var(--text-on-light);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

section {
  position: relative;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(132, 237, 195, 0.25);
  flex: none;
}

.eyebrow--dark {
  color: var(--mint);
}

.eyebrow--light {
  color: var(--mint-deep);
}

.section-head {
  max-width: 640px;
}

.section-head h2 {
  margin-top: 0.65em;
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
}

.section-head p {
  margin-top: 1.1em;
  font-size: 1.05rem;
  color: var(--muted-on-light);
  font-weight: 500;
}

.section-head--center {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow-wrap {
  display: flex;
  justify-content: center;
}

mark {
  background: none;
  color: var(--mint-deep);
}

.section-head--on-dark p {
  color: var(--muted-on-dark);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform var(--dur-s) var(--ease-spring), box-shadow var(--dur-s) var(--ease-out),
    background var(--dur-s) var(--ease-out), border-color var(--dur-s) var(--ease-out);
  isolation: isolate;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform var(--dur-s) var(--ease-spring);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--mint {
  background: var(--mint);
  color: #06251c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 24px -10px rgba(46, 176, 137, 0.65);
}

.btn--mint:hover {
  transform: translateY(-2px);
  background: var(--mint-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 32px -12px rgba(46, 176, 137, 0.75);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: #fff;
  border-color: var(--paper-line);
  color: var(--navy);
}

.btn--ghost-light:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

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

.btn--lg {
  padding: 1.1em 1.9em;
  font-size: 1.05rem;
}

.btn[disabled] {
  opacity: 0.65;
  pointer-events: none;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding var(--dur-m) var(--ease-out);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 21, 31, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-m) var(--ease-out), backdrop-filter var(--dur-m) var(--ease-out),
    border-color var(--dur-m) var(--ease-out);
  z-index: -1;
}

.site-header.is-scrolled {
  padding: 12px 0;
}

.site-header.is-scrolled::before {
  background: rgba(11, 21, 31, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted-on-dark);
  transition: color var(--dur-s) var(--ease-out);
  position: relative;
}

.nav-links a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  flex: none;
}

.lang-switch a {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted-on-dark);
  transition: background var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out);
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch a.is-active {
  background: #fff;
  color: var(--ink);
}

.lang-switch a.is-active:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: center;
  flex: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform var(--dur-s) var(--ease-out), opacity var(--dur-s) var(--ease-out);
}

.nav-toggle span::before {
  position: absolute;
  top: -5px;
}

.nav-toggle span::after {
  position: absolute;
  top: 5px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(120px, 20vw, 168px) 0 clamp(72px, 10vw, 120px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 140%;
  pointer-events: none;
  z-index: 0;
}

.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.hero-aurora span:nth-child(1) {
  width: 620px;
  height: 620px;
  right: -140px;
  top: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(132, 237, 195, 0.55), transparent 70%);
  animation: drift1 22s ease-in-out infinite;
}

.hero-aurora span:nth-child(2) {
  width: 480px;
  height: 480px;
  left: -120px;
  top: 220px;
  background: radial-gradient(circle at 60% 40%, rgba(64, 110, 214, 0.35), transparent 70%);
  animation: drift2 26s ease-in-out infinite;
}

.hero-aurora span:nth-child(3) {
  width: 360px;
  height: 360px;
  left: 40%;
  top: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  animation: drift3 18s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 50px) scale(1.08); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.06); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(0.94); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 100%);
  z-index: 0;
}

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

.hero-inner {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);
  color: #fff;
}

.hero-copy h1 .accent {
  background: linear-gradient(96deg, var(--mint) 10%, #bff7e2 55%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  margin-top: 26px;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem);
  color: var(--muted-on-dark);
  max-width: 560px;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-note {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted-on-dark-2);
  font-weight: 600;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
  flex: none;
}

/* Hero product preview card */

.hero-preview {
  position: relative;
  margin-top: 8px;
}

.preview-window {
  position: relative;
  background: linear-gradient(180deg, #101d2b, #0d1826);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform: perspective(1400px) rotateX(2deg);
}

.preview-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.preview-chrome small {
  margin-left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-on-dark-2);
  text-transform: uppercase;
}

.preview-body {
  padding: 22px 22px 28px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.preview-top h3 {
  font-size: 1rem;
  color: #fff;
  font-weight: 800;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(132, 237, 195, 0.14);
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 800;
}

.preview-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-m);
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(14px);
  animation: cardIn var(--dur-l) var(--ease-out) forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.15s; }
.stat-card:nth-child(2) { animation-delay: 0.3s; }
.stat-card:nth-child(3) { animation-delay: 0.45s; }

.stat-card span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted-on-dark-2);
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.28rem;
  color: #fff;
  font-weight: 800;
}

.stat-card em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.76rem;
  color: var(--mint);
  font-weight: 700;
}

.preview-kitchen {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kitchen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-s);
  font-size: 0.82rem;
  color: var(--muted-on-dark);
  opacity: 0;
  transform: translateX(14px);
  animation: rowIn var(--dur-l) var(--ease-out) forwards;
}

.kitchen-row:nth-child(1) { animation-delay: 0.6s; }
.kitchen-row:nth-child(2) { animation-delay: 0.75s; }
.kitchen-row:nth-child(3) { animation-delay: 0.9s; }

.kitchen-row strong {
  color: #fff;
  font-weight: 700;
}

.kitchen-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.kitchen-tag.prep {
  background: rgba(255, 197, 94, 0.16);
  color: #ffcb69;
}

.kitchen-tag.ready {
  background: rgba(132, 237, 195, 0.16);
  color: var(--mint);
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rowIn {
  to { opacity: 1; transform: translateX(0); }
}

.preview-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted-on-dark-2);
  letter-spacing: 0.02em;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-on-dark-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 1;
}

.hero-scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--mint), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.4; }
}

/* ---------- Marquee strip ---------- */

.marquee-strip {
  background: var(--navy);
  padding: 16px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 32s linear infinite;
}

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

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

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted-on-dark);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee-track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

/* ---------- Reveal utility ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-stagger.is-visible > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- Section spacing ---------- */

.section {
  padding: clamp(72px, 11vw, 132px) 0;
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section--paper {
  background: var(--paper);
}

.section--white {
  background: var(--paper-2);
}

/* ---------- Value props ---------- */

.value-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.value-card {
  background: var(--paper-2);
  padding: 34px 28px;
  transition: background var(--dur-m) var(--ease-out), transform var(--dur-m) var(--ease-out);
}

.value-card:hover {
  background: #fbfcff;
  transform: translateY(-4px);
}

.value-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--dur-m) var(--ease-spring);
}

.value-card:hover .value-icon {
  transform: rotate(-6deg) scale(1.06);
}

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

.value-card h3 {
  font-size: 1.06rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--muted-on-light);
}

/* ---------- Video section ---------- */

.video-shell {
  margin-top: 56px;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(132, 237, 195, 0.25), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(64, 110, 214, 0.22), transparent 55%);
  filter: blur(40px);
  z-index: -1;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(11, 21, 31, 0.15), rgba(11, 21, 31, 0.55));
  border: none;
  padding: 0;
  transition: opacity var(--dur-m) var(--ease-out);
}

.video-shell.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--dur-s) var(--ease-spring);
}

.video-play:hover .video-play-btn {
  transform: scale(1.08);
}

.video-play-btn::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(132, 237, 195, 0.5);
  animation: pulseRing 2.4s ease-out infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.video-play-btn svg {
  width: 26px;
  height: 26px;
  color: #fff;
  margin-left: 4px;
}

.video-caption {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.video-caption p {
  color: var(--muted-on-dark);
  font-size: 0.92rem;
  max-width: 520px;
}

.video-caption strong {
  color: #fff;
}

/* ---------- Feature list section ---------- */

.feature-list {
  margin-top: 56px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--paper-line);
}

.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--paper-line);
}

.feature-index {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mint-deep);
  padding-top: 4px;
}

.feature-copy h3 {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-copy p {
  color: var(--muted-on-light);
  max-width: 46ch;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--paper-line);
  color: var(--navy);
  background: var(--paper);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex: none;
}

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

/* ---------- Flow timeline ---------- */

.flow {
  margin-top: 64px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.flow::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.flow-line {
  position: absolute;
  top: 27px;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--mint-deep));
  width: 0%;
  transition: width 1.4s var(--ease-out);
}

.flow.is-visible .flow-line {
  width: 84%;
}

.flow-step {
  position: relative;
  background: var(--ink-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-m);
  padding: 26px 22px 22px;
  z-index: 1;
}

.flow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--mint);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.flow-step time {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.flow-step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}

/* ---------- Early access perks ---------- */

.perks {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.perk-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.perk {
  display: flex;
  gap: 16px;
}

.perk-mark {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint);
  color: #06251c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-mark svg {
  width: 16px;
  height: 16px;
}

.perk h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.perk p {
  font-size: 0.92rem;
  color: var(--muted-on-light);
}

.perk-card {
  background: var(--navy);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.perk-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(132, 237, 195, 0.35), transparent 70%);
  right: -80px;
  top: -80px;
  filter: blur(10px);
}

.perk-card .eyebrow {
  color: var(--mint);
}

.perk-card h3 {
  margin-top: 14px;
  font-size: 1.6rem;
  font-weight: 800;
}

.perk-card p {
  margin-top: 12px;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

.perk-card .btn {
  margin-top: 26px;
}

/* ---------- Registration form ---------- */

.form-section {
  background: var(--paper-2);
  position: relative;
}

.form-wrap {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--paper-line);
}

.form-aside {
  background: var(--ink);
  color: #fff;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.form-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 15%, rgba(132, 237, 195, 0.16), transparent 45%);
}

.form-aside > * {
  position: relative;
}

.form-aside h3 {
  font-size: 1.5rem;
  margin-top: 16px;
  color: #fff;
}

.form-aside p {
  margin-top: 14px;
  color: var(--muted-on-dark);
  font-size: 0.94rem;
}

.aside-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-list li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}

.aside-list svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
  flex: none;
  margin-top: 1px;
}

.aside-quote {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: var(--muted-on-dark-2);
}

.form-main {
  padding: 48px 44px;
}

.form-main > .eyebrow {
  color: var(--mint-deep);
}

.form-main h3 {
  margin-top: 12px;
  font-size: 1.5rem;
}

.form-main > p {
  margin-top: 10px;
  color: var(--muted-on-light);
  font-size: 0.94rem;
}

.field-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-on-light);
}

.field label .opt {
  font-weight: 500;
  color: var(--muted-on-light);
}

.field input,
.field select {
  appearance: none;
  border: 1.5px solid var(--paper-line);
  background: var(--paper);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  font: inherit;
  font-weight: 600;
  color: var(--text-on-light);
  transition: border-color var(--dur-s) var(--ease-out), box-shadow var(--dur-s) var(--ease-out),
    background var(--dur-s) var(--ease-out);
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b7c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}

.field input::placeholder {
  color: #9aa7b4;
  font-weight: 500;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--mint-deep);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 176, 137, 0.14);
}

.field input:invalid[data-touched="true"] {
  border-color: #e2685f;
}

.consent {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--mint-deep);
  flex: none;
}

.consent label {
  font-size: 0.82rem;
  color: var(--muted-on-light);
  line-height: 1.5;
}

.form-actions {
  margin-top: 26px;
}

.form-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.form-foot span {
  font-size: 0.8rem;
  color: var(--muted-on-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-foot svg {
  width: 14px;
  height: 14px;
  color: var(--mint-deep);
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  font-size: 0.88rem;
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 10px;
}

.form-status.is-visible {
  display: flex;
}

.form-status.success {
  background: rgba(46, 176, 137, 0.12);
  color: #1f7a5c;
}

.form-status.error {
  background: rgba(226, 104, 95, 0.12);
  color: #b8382c;
}

.form-status svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* success swap state */
.success-panel {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.success-panel.is-visible {
  display: block;
  animation: successIn 0.6s var(--ease-out);
}

@keyframes successIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.success-badge {
  width: 68px;
  height: 68px;
  margin-inline: auto;
  border-radius: 50%;
  background: rgba(46, 176, 137, 0.12);
  color: var(--mint-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-badge svg {
  width: 30px;
  height: 30px;
}

.success-panel h3 {
  font-size: 1.4rem;
}

.success-panel p {
  margin-top: 10px;
  color: var(--muted-on-light);
  max-width: 40ch;
  margin-inline: auto;
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: 48px;
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-m);
  background: var(--paper-2);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
}

.faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--paper-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform var(--dur-m) var(--ease-out), opacity var(--dur-m) var(--ease-out);
}

.faq-icon::before {
  width: 10px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 10px;
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 24px 22px;
  color: var(--muted-on-light);
  font-size: 0.94rem;
  max-width: 60ch;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(64px, 10vw, 108px) 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(132, 237, 195, 0.18), transparent 60%);
}

.final-cta .container {
  position: relative;
}

.final-cta h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-width: 720px;
  margin-inline: auto;
}

.final-cta p {
  margin-top: 18px;
  color: var(--muted-on-dark);
  font-size: 1.05rem;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 34px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
}

.footer-nav {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  transition: color var(--dur-s) var(--ease-out);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mint);
  color: #06251c;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 12px 28px -10px rgba(46, 176, 137, 0.6);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity var(--dur-m) var(--ease-out), transform var(--dur-m) var(--ease-spring);
  z-index: 90;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--mint);
  color: #06251c;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 999;
  transition: top var(--dur-s) var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Responsive ---------- */

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-preview {
    margin-top: 0;
  }
}

@media (max-width: 1080px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 74px 16px auto 16px;
    background: rgba(11, 21, 31, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-l);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 4px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--dur-m) var(--ease-out), transform var(--dur-m) var(--ease-out);
  }

  .nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px 10px;
    border-radius: 10px;
  }

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

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn--ghost-dark {
    display: none;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .flow::before,
  .flow-line {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: 0%;
  }

  .flow.is-visible .flow-line {
    height: 84%;
    width: 2px;
  }

  .perks {
    grid-template-columns: 1fr;
  }
}

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

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-icon {
    order: -1;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .form-aside,
  .form-main {
    padding: 34px 24px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-nav {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn,
  .final-cta .btn {
    width: 100%;
  }

  .preview-stats {
    grid-template-columns: 1fr 1fr;
  }

  .preview-stats .stat-card:last-child {
    grid-column: 1 / -1;
  }
}
