:root {
  color-scheme: dark;
  --ink: #0a0f0b;
  --surface: #12180f;
  --surface-2: #1a2318;
  --line: rgba(184,243,109,.14);
  --line-strong: rgba(184,243,109,.28);
  --lime: #b8f36d;
  --lime-2: #39e991;
  --ink-on-accent: #07220f;
  --text: #f2fbf3;
  --muted: #93ab97;
  --coral: #ff7a72;
  --sky: #57b8ff;
  --violet: #b98cf5;
  --amber: #ffcf5c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 17px; height: 17px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,15,11,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  display: grid; place-items: center; color: var(--ink-on-accent); font-weight: 900; font-size: 14px;
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; color: var(--muted); }
.nav-links a { padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--lime); border-color: var(--lime); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--text); }
.nav-toggle .icon-close { display: none; }
.nav.is-open .nav-toggle .icon-menu { display: none; }
.nav.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start; gap: 2px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
  }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-links { display: flex; }
}

/* ---- promo bar ---- */
.promo-bar {
  background: linear-gradient(90deg, rgba(184,243,109,.12), rgba(57,233,145,.08));
  border-bottom: 1px solid var(--line);
}
.promo-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 10px; padding: 10px 0; text-align: center;
}
.promo-bar-inner span { font-size: 13.5px; color: var(--text); }
.promo-bar-inner a { font-size: 13.5px; font-weight: 800; color: var(--lime); white-space: nowrap; }
.promo-bar-inner a:hover { text-decoration: underline; }

/* ---- buttons ---- */
.btn, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 800; font-size: 15px; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary, .button {
  background: linear-gradient(90deg, var(--lime), var(--lime-2)); color: var(--ink-on-accent);
}
.btn-primary:hover, .button:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--lime); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lime); font-weight: 800; font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); flex: none; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--muted);
  font-weight: 700; font-size: 14px; margin-bottom: 22px;
}
.back-link:hover { color: var(--text); }

/* ---- hero ---- */
.hero { padding: 76px 0 60px; position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; top: -220px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(184,243,109,.16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(184,243,109,.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; position: relative; }
h1 {
  margin: 18px 0 20px; font-weight: 900; letter-spacing: -.02em;
  font-size: clamp(38px, 5vw, 60px); line-height: 1; text-wrap: balance;
}
h1.page-title { font-size: clamp(32px, 4vw, 48px); }
h1 .hl { color: var(--lime); }
.lead { max-width: 560px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.stat-strip { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.stat-strip div { min-width: 120px; }
.stat-strip strong { display: block; font-size: 26px; font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-strip span { color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.hero-panel, .product-panel {
  position: relative; border-radius: 28px; padding: 26px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.03);
}
.hero-panel-top, .product-panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hero-panel-top span, .product-panel-top span { color: var(--muted); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.pill-tag {
  background: rgba(184,243,109,.14); color: var(--lime); font-size: 11.5px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
}
.metric-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px 20px; margin-bottom: 14px;
}
.metric-card:last-child { margin-bottom: 0; }
.metric-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.metric-card .row span { color: var(--muted); font-size: 13px; font-weight: 700; }
.metric-card strong { font-size: 26px; font-weight: 900; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.thermo { height: 10px; border-radius: 999px; background: #26331f; overflow: hidden; margin-top: 12px; }
.thermo i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--lime-2)); }
.due-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.due-row span:first-child { font-weight: 700; font-size: 14px; }

/* ---- status pills ---- */
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.status-pagada { background: rgba(184,243,109,.16); color: var(--lime); }
.status-pendiente { background: rgba(255,207,92,.16); color: var(--amber); }
.status-atrasada { background: rgba(255,122,114,.16); color: var(--coral); }

/* ---- sections ---- */
section { padding: 88px 0; }
main > section:first-child { padding-top: 56px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
h2 { margin: 10px 0 12px; font-weight: 900; letter-spacing: -.015em; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 16.5px; }

.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---- product grid (home) ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  transition: border-color .15s ease;
}
.product-card:hover { border-color: var(--line-strong); }
.product-card .chip { margin-bottom: 20px; }
.product-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.product-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.product-card .go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--lime); }

/* ---- feature grid (regular cards) ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.chip {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; color: var(--ink-on-accent);
}
.chip-lime { background: linear-gradient(135deg, var(--lime), var(--lime-2)); }
.chip-coral { background: var(--coral); color: #2b0906; }
.chip-sky { background: var(--sky); color: #04212f; }
.chip-violet { background: var(--violet); color: #23093f; }
.chip-amber { background: var(--amber); color: #2b1c00; }
.chip-outline { background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--lime); }

/* ---- mini feature row (secondary functions, home) ---- */
.mini-row { display: flex; flex-wrap: wrap; gap: 12px; }
.mini-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px 10px 12px;
}
.mini-pill .chip { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 0; }
.mini-pill .chip svg { width: 16px; height: 16px; }
.mini-pill span { font-size: 14px; font-weight: 700; }

/* ---- highlight / feature band ---- */
.highlight-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: 24px; padding: 32px;
}
.highlight-card h3 { margin: 0 0 16px; font-size: 20px; font-weight: 800; }
.highlight-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.highlight-card p:last-child { margin-bottom: 0; }
.highlight-card strong { color: var(--lime); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.split-lg { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.feature-band { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 48px; }
.metric-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.metric-row span { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.metric-row strong { font-weight: 800; text-align: right; }
.metric-row:last-of-type { border-bottom: none; }

/* ---- steps (CMF) ---- */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-weight: 900; color: var(--lime); font-size: 14px;
}
.step h4 { margin: 4px 0 6px; font-size: 16px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,207,92,.08); border: 1px solid rgba(255,207,92,.32);
  border-radius: 18px; padding: 20px 22px; margin-top: 28px;
}
.callout svg { color: var(--amber); margin-top: 2px; }
.callout p { margin: 0; font-size: 14px; color: var(--text); }
.callout strong { color: var(--amber); }

/* ---- due list (calendario) ---- */
.due-list { display: flex; flex-direction: column; }
.due-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.due-item:last-child { border-bottom: none; }
.due-item .who { font-weight: 800; font-size: 15px; }
.due-item .when { color: var(--muted); font-size: 13px; }

/* ---- ryda panel ---- */
.ryda-panel {
  position: relative; border-radius: 28px; overflow: hidden;
  background: #000;
  border: 1px solid rgba(87,184,255,.22);
  box-shadow: 0 40px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.03);
  display: flex; align-items: center; justify-content: center;
}
.ryda-panel img { width: 100%; height: auto; display: block; }
.pill-tag-sky { background: rgba(87,184,255,.16); color: var(--sky); font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.ryda-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ryda-mini-card { background: var(--surface); border: 1px solid rgba(87,184,255,.18); border-radius: 16px; padding: 14px; }
.ryda-mini-card span { display: block; color: #9fc4e6; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.ryda-mini-card strong { font-size: 15px; font-weight: 800; color: #f2fbf3; }

/* ---- cta band / download ---- */
.cta-band {
  border-radius: 32px; padding: 64px 48px; text-align: center;
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  color: var(--ink-on-accent);
}
.cta-band h2 { color: var(--ink-on-accent); margin-bottom: 10px; }
.cta-band p { color: rgba(7,34,15,.75); font-size: 16.5px; max-width: 520px; margin: 0 auto 26px; }
.cta-band .btn-ghost { border-color: rgba(7,34,15,.35); color: var(--ink-on-accent); }
.cta-band .btn-ghost:hover { border-color: var(--ink-on-accent); }
.cta-band .btn-primary { background: var(--ink-on-accent); color: var(--lime); }

.download-progress {
  display: none; margin-top: 18px; padding: 14px 16px; border-radius: 14px;
  background: rgba(7,34,15,.08); border: 1px solid rgba(7,34,15,.22); text-align: left;
}
.download-progress.is-active { display: block; }
.download-progress-top { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-on-accent); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.download-progress-track { height: 10px; overflow: hidden; border-radius: 999px; background: rgba(7,34,15,.18); }
.download-progress-bar { width: 0%; height: 100%; border-radius: inherit; background: var(--ink-on-accent); transition: width .2s ease; }
.download-note { margin: 8px 0 0; color: rgba(7,34,15,.7); font-size: 12px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { color: var(--text); }

/* ---- legal pages ---- */
.legal-page { padding: 56px 0 80px; }
.legal-page article {
  max-width: 780px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 40px;
}
.legal-page h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 0; }
.legal-page h2 { font-size: 20px; margin-top: 30px; }
.legal-page p { color: var(--muted); font-size: 15px; }
.legal-page a { color: var(--lime); text-decoration: underline; }
.legal-page .button { margin-top: 10px; }

.share-code {
  padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 12px; font-size: 22px; font-weight: 900; letter-spacing: .02em;
  overflow-wrap: anywhere; color: var(--lime);
}

@media (max-width: 900px) {
  .hero-grid, .split, .split-lg, .grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 26px; }
  .feature-band { padding: 30px; }
  .legal-page article { padding: 26px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  main > section:first-child { padding-top: 36px; }
  .hero { padding: 40px 0 36px; }
  .cta-band { padding: 36px 22px; }
  .metric-card .row { flex-wrap: wrap; row-gap: 4px; }
  .stat-strip { gap: 20px; }
  .actions .btn { flex: 1 1 auto; }
  h1 { letter-spacing: -.01em; }
}
