/* Nexo Digital Commerce — design system v31
   Modelo: “Clear Ledger” — blanco limpio, contraste alto, lectura fácil
   Tipografía: IBM Plex Sans (cuerpo) + Manrope (títulos) */

:root {
  --ink: #12151a;
  --ink-2: #2c333d;
  --muted: #5a6573;
  --line: #e4e7ec;
  --line-strong: #cdd3dc;
  --paper: #f4f6f8;
  --surface: #ffffff;
  --soft: #eef1f4;
  --brand: #0b5fff;
  --brand-dark: #0847c7;
  --accent: #0a7a6a;
  --ok: #0f7a4f;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(18, 21, 26, 0.04), 0 8px 24px rgba(18, 21, 26, 0.05);
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Manrope", "IBM Plex Sans", sans-serif;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --nav: 64px;
  --pad: clamp(1.15rem, 4vw, 1.75rem);
  --max: 1080px;
  --max-wide: 1140px;
  --text: 1.0625rem;
  --leading: 1.65;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text);
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  line-height: var(--leading);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--ink);
  overflow-wrap: anywhere;
}

p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.wrap-wide {
  width: min(var(--max-wide), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

/* —— Topbar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar.scrolled {
  box-shadow: 0 4px 16px rgba(18, 21, 26, 0.04);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-wide), calc(100% - 2 * var(--pad)));
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-text { min-width: 0; line-height: 1.2; }

.logo strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo small {
  display: block;
  font-family: var(--font);
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  border-radius: var(--radius);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger span { transition: transform 0.2s, opacity 0.2s; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav > a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.3rem 0;
}

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

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-nav:hover { background: var(--brand); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-secondary,
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--soft);
}

.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--nav));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.92) 48%, rgba(255,255,255,0.4) 72%, transparent 100%),
    url("/assets/img/mock-01-calzado.png") right center / min(48vw, 520px) auto no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  width: min(var(--max-wide), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.hero-copy { max-width: 36rem; }

.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--ink);
}

.brand-mark span {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero h1 {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.hero-lede {
  margin: 0 0 1.5rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2.1vw, 1.15rem);
  line-height: 1.6;
  max-width: 34ch;
  font-weight: 400;
}

.hero-meta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-meta b {
  color: var(--ink);
  font-weight: 600;
}

/* Product stage */
.stage {
  justify-self: center;
  width: min(100%, 340px);
}

.stage-frame {
  border-radius: 22px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.carousel-stage {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  margin: 0.75rem 0 0;
  text-align: center;
}

.carousel-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 0;
}

.carousel-caption span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.carousel-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.dots { display: flex; gap: 6px; align-items: center; }

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.dots button.active { background: var(--brand); width: 20px; border-radius: 4px; }

.arrows { display: flex; gap: 0.35rem; }

.arrows button {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 1.15rem;
  color: var(--ink);
}

.arrows button:hover { border-color: var(--brand); color: var(--brand); }

.chips { display: none; }

/* —— Marquee —— */
.proof {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  padding: 0.9rem 0;
}

.proof-track {
  display: flex;
  gap: 2.25rem;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-size: 0.9rem;
  color: var(--muted);
}

.proof-track b { color: var(--ink); font-weight: 600; }
.proof-track span { white-space: nowrap; }

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

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

/* —— Sections —— */
.band {
  padding: clamp(3.5rem, 8vw, 5.25rem) 0;
  background: var(--surface);
}

.band + .band { border-top: 1px solid var(--line); }

.band-alt,
.band[style*="rgba(255"] {
  background: var(--paper) !important;
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  margin: 0 0 0.65rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* —— Pagos —— */
.pay-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 920px;
  margin-inline: auto;
}

.pay-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
}

.pay-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.55rem;
}

.pay-card > p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

.pay-flow {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay-flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.pay-flow li span {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}

.pay-notice {
  max-width: 640px;
  margin: 1.35rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* —— Features —— */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature {
  padding: 1.3rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature-icon {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* —— Modules —— */
.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.module {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
}

.module > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.module ul { display: grid; gap: 0.5rem; }

.module li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.module li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
}

.verify-note {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius);
  background: #f0faf7;
  border: 1px solid #c6e8de;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: step;
  max-width: 960px;
  margin-inline: auto;
}

.step {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 0.7rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font);
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* —— Pricing —— */
.price-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto 1.85rem;
  max-width: 40rem;
  text-align: center;
}

.price-country {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-chip {
  padding: 0.5rem 0.95rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
}

.price-chip.is-active {
  background: var(--ink);
  color: #fff;
}

.price-country-note,
.price-country-hint {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.5;
}

.price-ssr { display: none; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  max-width: 1000px;
  margin-inline: auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.35rem 1.4rem;
}

.plan.featured {
  border-color: var(--brand);
  border-width: 2px;
  background: #f7faff;
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
}

.plan h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.35rem;
  text-align: center;
}

.plan .price {
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.plan .price small {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-reg {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.plan-desc {
  margin: 0.4rem 0 1.1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
  min-height: 2.7em;
}

.plan ul {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.3rem;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.9rem;
  height: 0.9rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='%230f7a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan-note {
  max-width: 40rem;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.plan-note a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Table —— */
.table-card {
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  max-width: 820px;
  margin-inline: auto;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.98rem;
}

.table-card th,
.table-card td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.table-card th {
  background: var(--paper);
  font-weight: 600;
  font-size: 0.88rem;
}

.table-card tr:last-child td { border-bottom: 0; }
.table-card .yes { color: var(--ok); font-weight: 600; }
.table-card .no { color: var(--muted); }

/* —— FAQ —— */
.faq {
  max-width: 680px;
  margin-inline: auto;
  display: grid;
  gap: 0.5rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.05rem;
}

.faq details[open] { border-color: var(--brand); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  font-family: var(--font);
  letter-spacing: 0;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-weight: 500;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.faq a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Contact / CTA —— */
.contact {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.contact-card.accent {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

.contact-card.accent p { color: rgba(255, 255, 255, 0.78); }
.contact-card.accent a:not(.btn) { color: #9ec5ff; }
.contact-card.accent .btn-secondary {
  background: #fff;
  border-color: transparent;
  color: var(--ink);
}

.contact-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.contact-card > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-list { display: grid; gap: 0.7rem; }

.contact-list li {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.5rem;
  font-size: 0.98rem;
  align-items: start;
}

.contact-list li > span:first-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}

.contact-list a { color: var(--brand); font-weight: 550; }

.cta-band {
  padding: clamp(3rem, 7vw, 4.25rem) 0;
  text-align: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.05rem;
}

.cta-band .btn-row { justify-content: center; }

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.about-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.about-card dl { margin: 0; display: grid; gap: 0.9rem; }
.about-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.about-card dd { margin: 0; font-weight: 500; line-height: 1.45; }

/* —— Legal —— */
.legal-page { padding: 2rem 0 3.5rem; background: var(--paper); }

.legal-shell {
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem);
}

.legal-shell h1 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0.2rem 0 0.75rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.legal-body {
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.7;
}

.legal-body h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.legal-body a { color: var(--brand); }
.legal-id {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* —— Footer —— */
.footer {
  padding: 2.75rem 0 1.75rem;
  background: #0f1318;
  color: rgba(255, 255, 255, 0.72);
}

.footer a { color: rgba(255, 255, 255, 0.88); }
.footer a:hover { color: #fff; }

.footer-legal-note {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem 1.2rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  margin-bottom: 0.3rem;
}

.footer-brand span {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col { display: grid; gap: 0.4rem; align-content: start; }

.footer-col .title {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.footer-col a { font-size: 0.92rem; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Buy —— */
.buy-page {
  padding: clamp(2rem, 5vw, 3.25rem) 0 4rem;
  background: var(--paper);
  min-height: 60vh;
}

.buy-intro {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.buy-intro h1 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin: 0.3rem 0 0.6rem;
}

.buy-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}

.buy-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.buy-card.featured { border-color: var(--brand); border-width: 2px; }
.buy-card h3 { margin: 0; font-size: 1.25rem; }
.buy-card .amt {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.buy-card .amt small {
  display: block;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.buy-card p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; line-height: 1.45; }

/* —— WA —— */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.wa-float:hover { filter: brightness(1.05); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

.help-box {
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.help-box h3 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.help-box ul { display: grid; gap: 0.45rem; margin-bottom: 0.5rem; }
.help-box li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.help-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  background: var(--brand);
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .hero::before { opacity: 0.08; background-size: min(70vw, 420px); }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy { max-width: 38rem; margin-inline: auto; }
  .hero h1 { max-width: none; margin-inline: auto; }
  .hero-lede { max-width: none; }
  .btn-row { justify-content: center; }
  .hero-meta { justify-content: center; }
  .stage { width: min(100%, 280px); }

  .features,
  .modules,
  .plans,
  .buy-grid { grid-template-columns: 1fr 1fr; }

  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact,
  .about-grid,
  .pay-split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 1.05rem; }

  .burger { display: grid; }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.45rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    z-index: 120;
  }

  .nav.open { display: flex; }
  .nav > a { padding: 0.9rem 1rem; border-radius: 8px; }
  .nav > a:hover { background: var(--soft); }
  .btn-nav { margin: 0.3rem 0.45rem 0.55rem; }

  .features,
  .modules,
  .plans,
  .buy-grid,
  .steps { grid-template-columns: 1fr; }

  .plan.featured { order: -1; }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero::before { display: none; }
}

@media print {
  .topbar, .wa-float, .burger, .cta-band { display: none !important; }
  body { background: #fff; }
  .legal-shell { box-shadow: none; border: 0; }
}
