/* ───────── tokens ───────── */
:root {
  --bg: #0d1117;
  --bg-2: #0b0f15;
  --card: #161b22;
  --card-2: #1a2029;
  --border: #21262d;
  --border-2: #2a313c;
  --text: #e6edf3;
  --text-mute: #8b949e;
  --text-dim: #6e7681;
  --accent: #38bdf8;
  --grad-from: #0ea5e9;
  --grad-to: #6366f1;
  --grad: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --up: #34d399;
  --down: #f87171;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-card: 0 1px 0 0 rgba(255,255,255,.02) inset, 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-glow: 0 0 0 1px rgba(56,189,248,.25), 0 10px 40px -10px rgba(14,165,233,.35);
  --container: 1200px;
  --nav-h: 64px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
hr { border: 0; height: 1px; background: var(--border); margin: 16px 0; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────── buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 1px 0 0 rgba(255,255,255,.2) inset, 0 8px 24px -8px rgba(14,165,233,.5);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 0 rgba(255,255,255,.25) inset, 0 14px 30px -8px rgba(14,165,233,.6); }
.btn--ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.04); border-color: var(--border-2); }
.link-muted { color: var(--text-mute); font-size: 14px; font-weight: 500; }
.link-muted:hover { color: var(--text); }

/* ───────── nav ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(13, 17, 23, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.brand__mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(56,189,248,.07);
  border: 1px solid rgba(56,189,248,.18);
}
.brand__word { color: var(--text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 16px;
  flex: 1;
}
.nav__links a {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}
.nav__burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  margin: 3px auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(13,17,23,.95);
}
.nav__mobile a {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.nav__mobile .btn { margin-top: 10px; justify-content: center; }

/* ───────── hero ───────── */
.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__inner { position: relative; text-align: center; z-index: 1; }
.hero__grid {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background-image:
    linear-gradient(rgba(56,189,248,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  inset: -40% 10% auto 10%;
  height: 700px;
  background: radial-gradient(ellipse 60% 60% at 50% 30%, rgba(56,189,248,.18) 0%, rgba(99,102,241,.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(56,189,248,.06);
  border: 1px solid rgba(56,189,248,.18);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 32px;
  transition: background .2s ease, transform .2s ease;
}
.eyebrow:hover { background: rgba(56,189,248,.09); transform: translateY(-1px); }
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(56,189,248,.15);
}
.eyebrow__arrow { opacity: .7; transition: transform .2s; }
.eyebrow:hover .eyebrow__arrow { transform: translateX(2px); opacity: 1; }

.hero__h1 {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 auto 24px;
  max-width: 14ch;
  text-wrap: balance;
}
.hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-mute);
  max-width: 60ch;
  margin: 0 auto 36px;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__trust {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 13px;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.check { color: var(--up); font-weight: 700; }

.hero__visual {
  position: relative;
  margin: 80px auto 0;
  max-width: 1080px;
  padding: 0 20px 120px;
}
.device { position: relative; }
.device--laptop {
  margin-inline: auto;
  max-width: 980px;
  border-radius: 14px 14px 14px 14px;
  background: linear-gradient(180deg, #1a2029 0%, #0f141b 100%);
  border: 1px solid var(--border-2);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.04) inset,
    0 30px 80px -20px rgba(0,0,0,.6),
    0 0 120px -20px rgba(99,102,241,.25);
  overflow: hidden;
}
.device__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0f141b;
  border-bottom: 1px solid var(--border);
}
.dotwin {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #2a313c;
}
.dotwin:nth-child(1) { background: #f87171; }
.dotwin:nth-child(2) { background: #fbbf24; }
.dotwin:nth-child(3) { background: #34d399; }
.device__url {
  margin: 0 auto;
  padding: 4px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-dim);
  background: rgba(255,255,255,.02);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.device__screen { aspect-ratio: 16 / 9.6; }

.device--phone {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 200px;
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  background: #0a0d12;
  border: 1px solid var(--border-2);
  padding: 6px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.7),
    0 0 80px -20px rgba(14,165,233,.3);
}
.device__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  border-radius: 999px;
  background: #050709;
  z-index: 2;
}
.device__phone-screen {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}

.img-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #0f141b 0%, #0a0d12 100%);
  position: relative;
}
.img-ph::before, .img-ph::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,.04);
}
.img-ph--lg::before { left: 6%; right: 70%; top: 8%; height: 18px; border-radius: 4px; }
.img-ph--lg::after { left: 6%; right: 50%; top: 12%; height: 8px; border-radius: 4px; transform: translateY(20px); background: rgba(255,255,255,.025); }
.img-ph__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border: 1px dashed var(--border-2);
  border-radius: 6px;
  background: rgba(0,0,0,.2);
  position: relative;
  z-index: 1;
}
.img-ph--shot { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }

.logos {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.logos__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.logos__row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  color: var(--text-mute);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  opacity: .65;
}

/* ───────── sections ───────── */
.section {
  padding: 140px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section__header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56,189,248,.07);
  border: 1px solid rgba(56,189,248,.18);
  border-radius: 999px;
  margin-bottom: 22px;
}
.section__tag--on-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  color: var(--text);
}
.section__title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
}
.section__lead {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-mute);
  margin: 0;
  text-wrap: pretty;
}

/* ───────── problema ───────── */
.section--problem { padding-top: 120px; padding-bottom: 120px; }
.problem__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.problem__body {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--text-mute);
  margin: 24px 0 40px;
  text-wrap: pretty;
}
.problem__strong { color: var(--text); font-weight: 600; }
.problem__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.chip {
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  position: relative;
}
.chip--excel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  background: rgba(248,113,113,.04);
  border-color: rgba(248,113,113,.2);
  color: #fda4a4;
  text-decoration: line-through;
  text-decoration-color: rgba(248,113,113,.5);
}
.problem__arrow {
  color: var(--text-dim);
  font-size: 28px;
  margin: 20px 0 24px;
  opacity: .5;
}
.problem__after-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-glow);
}
.problem__after-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .5;
  pointer-events: none;
}
.problem__after-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.problem__after-value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.up { color: var(--up); font-size: 14px; font-weight: 600; }
.problem__after-meta { font-size: 13px; color: var(--text-mute); }

/* ───────── grid + cards ───────── */
.grid { display: grid; gap: 16px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-2);
  background: var(--card-2);
}
.card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(56,189,248,.07);
  border: 1px solid rgba(56,189,248,.18);
  color: var(--accent);
  margin-bottom: 22px;
}
.card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.card__body { margin: 0; color: var(--text-mute); font-size: 14.5px; line-height: 1.55; }

/* ───────── shots ───────── */
.shots__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.shots__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: left;
  color: var(--text-mute);
  font-weight: 500;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.shots__tab:hover { color: var(--text); background: rgba(255,255,255,.03); }
.shots__tab.is-active {
  color: var(--text);
  background: rgba(56,189,248,.08);
  box-shadow: inset 0 0 0 1px rgba(56,189,248,.2);
}
.shots__tab-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
}
.shots__tab.is-active .shots__tab-num { color: var(--accent); }

.shots__stage {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}
.shots__slide {
  display: none;
  margin: 0;
  animation: fadein .4s ease;
}
.shots__slide.is-active { display: block; }
.shots__slide figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
}

.shots__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.shots__nav {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  transition: background .2s, border-color .2s;
}
.shots__nav:hover { background: var(--card-2); border-color: var(--border-2); }
.shots__dots { display: flex; gap: 8px; }
.shots__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--border-2);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.shots__dot.is-active { background: var(--accent); transform: scale(1.3); }

@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ───────── roadmap ───────── */
.roadmap {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-inline: auto;
}
.roadmap__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s, background .2s;
}
.roadmap__item:hover { border-color: var(--border-2); }
.roadmap__index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}
.roadmap__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.roadmap__body p { margin: 0; color: var(--text-mute); font-size: 14.5px; }
.roadmap__status {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text-mute);
  white-space: nowrap;
}

/* ───────── quotes ───────── */
.grid--quotes { grid-template-columns: repeat(3, 1fr); }
.quote {
  margin: 0;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color .2s, background .2s, transform .2s;
}
.quote:hover { border-color: var(--border-2); transform: translateY(-2px); }
.quote blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
}
.quote blockquote::before { content: '“'; color: var(--accent); margin-right: 2px; font-size: 22px; line-height: 0; vertical-align: -2px; }
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  flex-shrink: 0;
}
.avatar::after {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.quote__person { display: flex; flex-direction: column; line-height: 1.3; }
.quote__person strong { font-weight: 600; font-size: 14px; }
.quote__person em { font-style: normal; color: var(--text-mute); font-size: 12.5px; }

/* ───────── beta ───────── */
.section--beta { padding: 100px 0; }
.beta {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, rgba(14,165,233,.10) 0%, transparent 60%),
    radial-gradient(ellipse 80% 80% at 100% 100%, rgba(99,102,241,.10) 0%, transparent 60%),
    var(--card);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.beta::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.4), transparent 30%, transparent 70%, rgba(99,102,241,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.beta__title {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 18px 0 18px;
}
.beta__body { color: var(--text-mute); margin: 0 0 28px; font-size: 16px; line-height: 1.6; max-width: 50ch; }
.beta__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.beta__perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

/* ───────── final ───────── */
.section--final {
  padding: 140px 0 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final { position: relative; z-index: 1; }
.final__grid {
  position: absolute;
  inset: -50% -20% -10% -20%;
  background:
    radial-gradient(ellipse 50% 60% at 50% 70%, rgba(56,189,248,.18) 0%, rgba(99,102,241,.08) 35%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.final__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 36px;
  text-wrap: balance;
}
.final__meta {
  margin-top: 22px;
  color: var(--text-dim);
  font-size: 13.5px;
}

/* ───────── footer ───────── */
.footer { padding: 64px 0 32px; background: #0a0d12; border-top: 1px solid var(--border); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__tag { color: var(--text-mute); margin: 14px 0 10px; font-size: 14px; }
.footer__contact { color: var(--text-mute); font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.footer__contact a:hover { color: var(--accent); }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-end;
  align-self: start;
}
.footer__nav a {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
}
.footer__nav a:hover { color: var(--text); }
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* ───────── reveal animation ───────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ───────── responsive ───────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: auto; }

  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .grid--quotes { grid-template-columns: 1fr; }

  .beta { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav { justify-content: flex-start; }
  .footer__base { flex-direction: column; gap: 8px; align-items: flex-start; }

  .shots__tabs { grid-template-columns: repeat(2, 1fr); }

  .device--phone { width: 150px; bottom: 20px; right: -10px; }
}

/* ───────── brand logo image + product imagery ───────── */
.brand__logo {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.footer .brand__logo { height: 32px; }
.device__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.device__img--phone { object-position: top center; }
.shots__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .section { padding: 96px 0; }
  .hero { padding-top: 64px; }
  .hero__visual { margin-top: 56px; padding-bottom: 80px; }
  .device--phone { width: 120px; right: -5%; bottom: 5%; }
  .grid--features { grid-template-columns: 1fr; }
  .shots__tabs { grid-template-columns: 1fr; }
  .shots__tab { padding: 10px 12px; }
  .roadmap__item { grid-template-columns: 40px 1fr; padding: 22px; }
  .roadmap__status { grid-column: 2; justify-self: start; }
  .beta { padding: 28px; }
  .hero__trust { gap: 12px; font-size: 12.5px; }
  .footer__inner { padding-bottom: 32px; }
}

/* ───────── /funciones page ───────── */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}
.page-hero__grid {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background-image:
    linear-gradient(rgba(56,189,248,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.eyebrow--static { cursor: default; margin-bottom: 24px; }
.page-hero__h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 auto 20px;
  max-width: 16ch;
  text-wrap: balance;
}
.page-hero__sub {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-mute);
  margin: 0 auto 40px;
  max-width: 50ch;
}
.page-hero__toc {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  max-width: 100%;
}
.page-hero__toc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mute);
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.page-hero__toc a:hover { background: rgba(56,189,248,.08); color: var(--text); }
.page-hero__toc a span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
}

/* feature rows */
.feature {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.feature__row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.feature--reverse .feature__row { direction: rtl; }
.feature--reverse .feature__row > * { direction: ltr; }

.feature__copy { max-width: 48ch; }
.feature__index {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.2);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}
.feature__title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 12px 0 18px;
  text-wrap: balance;
}
.feature__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.feature__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.feature__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}

.feature__media {
  position: relative;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.02) inset,
    0 30px 60px -20px rgba(0,0,0,.5),
    0 0 80px -20px rgba(14,165,233,.15);
}
.feature__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  display: block;
  border: 1px solid var(--border);
}

@media (max-width: 960px) {
  .feature { padding: 72px 0; }
  .feature__row { grid-template-columns: 1fr; gap: 36px; }
  .feature--reverse .feature__row { direction: ltr; }
  .feature__media { order: 2; }
  .page-hero { padding: 96px 0 64px; }
  .page-hero__toc { padding: 6px; }
  .page-hero__toc a { padding: 7px 12px; font-size: 13px; }
}

@media (max-width: 640px) {
  .feature { padding: 56px 0; }
  .feature__media { padding: 12px; border-radius: 12px; }
  .feature__row { gap: 28px; }
  .page-hero__toc { gap: 4px; }
}

/* ───────── /blog page ───────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section__header--left { text-align: left; max-width: none; margin-bottom: 48px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text-mute);
}
.badge--accent {
  color: var(--accent);
  background: rgba(56,189,248,.08);
  border-color: rgba(56,189,248,.22);
}

/* placeholder image — gradient + monospace label */
.ph-img {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(135deg, #0f141b 0%, #161b22 100%);
}
.ph-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px);
  pointer-events: none;
}
.ph-img__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border: 1px dashed var(--border-2);
  border-radius: 6px;
  background: rgba(0,0,0,.3);
  position: relative;
  z-index: 1;
}
.ph-img--tone-1 { background: radial-gradient(ellipse 80% 60% at 30% 30%, rgba(56,189,248,.22) 0%, transparent 60%), radial-gradient(ellipse 80% 60% at 80% 80%, rgba(99,102,241,.18) 0%, transparent 60%), linear-gradient(135deg, #0e141d 0%, #161b22 100%); }
.ph-img--tone-2 { background: radial-gradient(ellipse 60% 60% at 70% 30%, rgba(56,189,248,.18) 0%, transparent 60%), linear-gradient(135deg, #0e141d 0%, #161b22 100%); }
.ph-img--tone-3 { background: radial-gradient(ellipse 60% 70% at 30% 70%, rgba(99,102,241,.18) 0%, transparent 60%), linear-gradient(135deg, #131722 0%, #0d121a 100%); }
.ph-img--tone-4 { background: radial-gradient(ellipse 60% 60% at 50% 30%, rgba(52,211,153,.14) 0%, transparent 60%), linear-gradient(135deg, #0e141d 0%, #131820 100%); }
.ph-img--tone-5 { background: radial-gradient(ellipse 60% 60% at 30% 30%, rgba(248,113,113,.12) 0%, transparent 60%), linear-gradient(135deg, #161118 0%, #0e141d 100%); }
.ph-img--tone-6 { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(56,189,248,.14) 0%, transparent 60%), linear-gradient(135deg, #0e141d 0%, #161b22 100%); }
.ph-img--tone-7 { background: radial-gradient(ellipse 60% 60% at 80% 30%, rgba(99,102,241,.18) 0%, transparent 60%), radial-gradient(ellipse 60% 60% at 20% 80%, rgba(56,189,248,.12) 0%, transparent 60%), linear-gradient(135deg, #0e141d 0%, #131820 100%); }

/* faux chart strokes for the featured cover */
.ph-img__chart {
  position: absolute;
  left: 8%; right: 8%; bottom: 14%;
  height: 50%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 6px;
  z-index: 0;
}
.ph-img__chart span {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, rgba(56,189,248,.4) 0%, rgba(56,189,248,.05) 100%);
  border-radius: 2px 2px 0 0;
}
.ph-img__chart span:nth-child(1) { height: 32%; }
.ph-img__chart span:nth-child(2) { height: 48%; }
.ph-img__chart span:nth-child(3) { height: 40%; }
.ph-img__chart span:nth-child(4) { height: 64%; }
.ph-img__chart span:nth-child(5) { height: 56%; }
.ph-img__chart span:nth-child(6) { height: 72%; }
.ph-img__chart span:nth-child(7) { height: 60%; }
.ph-img__chart span:nth-child(8) { height: 84%; }
.ph-img__chart span:nth-child(9) { height: 72%; }
.ph-img__chart span:nth-child(10) { height: 92%; }
.ph-img__chart span:nth-child(11) { height: 78%; }
.ph-img__chart span:nth-child(12) { height: 96%; background: linear-gradient(180deg, rgba(99,102,241,.55) 0%, rgba(99,102,241,.08) 100%); }

/* featured post */
.section--featured { padding-top: 80px; padding-bottom: 80px; }
.section--featured .section__tag { display: inline-block; margin-bottom: 28px; }
.featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color .25s ease, transform .25s ease;
}
.featured:hover { border-color: var(--border-2); }
.featured__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.featured__copy { padding: 8px 12px 8px 0; }
.featured__title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 16px 0 14px;
  text-wrap: balance;
}
.featured__excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.featured__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.dot-sep { color: var(--text-dim); }
.featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  padding: 10px 16px;
  background: rgba(56,189,248,.06);
  border: 1px solid rgba(56,189,248,.22);
  border-radius: 10px;
  transition: background .2s, transform .2s, border-color .2s;
}
.featured__cta:hover { background: rgba(56,189,248,.1); transform: translateY(-1px); }
.featured__cta-arrow { transition: transform .2s; }
.featured__cta:hover .featured__cta-arrow { transform: translateX(3px); }

/* posts grid */
.section--posts { padding-top: 60px; }
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.post:hover { transform: translateY(-3px); border-color: var(--border-2); background: var(--card-2); }
.post__media {
  display: block;
  aspect-ratio: 16 / 10;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post__title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.post__title a { color: var(--text); transition: color .2s; }
.post__title a:hover { color: var(--accent); }
.post__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute);
  text-wrap: pretty;
}
.post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.post__more {
  color: var(--accent);
  font-weight: 600;
  transition: transform .15s;
  display: inline-block;
}
.post__more:hover { transform: translateX(2px); }

/* newsletter */
.section--newsletter { padding: 80px 0; }
.newsletter {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(14,165,233,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(99,102,241,.10) 0%, transparent 60%),
    var(--card);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.35), transparent 30%, transparent 70%, rgba(99,102,241,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.newsletter__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 14px 0 0;
  text-wrap: balance;
}
.newsletter__form {
  display: grid;
  gap: 12px;
  position: relative;
}
.newsletter__field { display: block; }
.newsletter__field input {
  width: 100%;
  padding: 14px 18px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: 0;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.newsletter__field input::placeholder { color: var(--text-dim); }
.newsletter__field input:focus {
  border-color: var(--accent);
  background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 3px rgba(56,189,248,.18);
}
.newsletter__form .btn { justify-content: center; }
.newsletter__meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}
.newsletter__meta.is-error { color: #fda4a4; }
.newsletter__meta.is-ok { color: var(--up); }

@media (max-width: 960px) {
  .featured { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .featured__copy { padding: 8px; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .newsletter { grid-template-columns: 1fr; padding: 36px; gap: 28px; }
}

@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; }
  .section--featured { padding: 56px 0; }
  .section--posts { padding-top: 24px; }
  .newsletter { padding: 28px; border-radius: 18px; }
  .featured__media { aspect-ratio: 16 / 10; }
}

/* ───────── /acceder page ───────── */
.auth-body { min-height: 100vh; }
.auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 48px;
  overflow: hidden;
}
.auth-page__grid {
  position: absolute;
  inset: -20% -10%;
  background-image:
    linear-gradient(rgba(56,189,248,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.auth-page__glow {
  position: absolute;
  top: -20%; left: 10%; right: 10%;
  height: 700px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(56,189,248,.18) 0%, rgba(99,102,241,.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-back {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mute);
  background: rgba(22,27,34,.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color .2s, background .2s, border-color .2s;
}
.auth-back:hover { color: var(--text); border-color: var(--border-2); background: var(--card); }
.auth-back span { transition: transform .2s; }
.auth-back:hover span { transform: translateX(-2px); }

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 44px 44px 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.03) inset,
    0 30px 80px -20px rgba(0,0,0,.7),
    0 0 100px -30px rgba(56,189,248,.25);
}
.auth-card__logo {
  display: inline-block;
  margin-bottom: 28px;
}
.auth-card__logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.auth-card__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.auth-card__sub {
  font-size: 15px;
  color: var(--text-mute);
  margin: 0 0 32px;
}

.btn-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 12px;
  background: #ffffff;
  color: #1f2328;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.6), 0 1px 0 0 rgba(255,255,255,.6) inset;
}
.btn-google:hover {
  transform: translateY(-1px);
  background: #f6f8fb;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.6), 0 1px 0 0 rgba(255,255,255,.6) inset;
}
.btn-google__icon { flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
.auth-divider__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-divider__label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-form { display: grid; gap: 14px; text-align: left; }
.auth-form__field { display: grid; gap: 6px; }
.auth-form__label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.01em;
}
.auth-form__field input {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: 0;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.auth-form__field input::placeholder { color: var(--text-dim); }
.auth-form__field input:focus {
  border-color: var(--accent);
  background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 3px rgba(56,189,248,.18);
}
.auth-form__submit { width: 100%; justify-content: center; margin-top: 4px; }
.auth-form__meta {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
.auth-form__meta.is-error { color: #fda4a4; }
.auth-form__meta.is-ok { color: var(--up); }

.auth-foot {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  font-size: 12.5px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.auth-foot a { color: var(--text-dim); transition: color .2s; }
.auth-foot a:hover { color: var(--text); }

@media (max-width: 540px) {
  .auth-card { padding: 32px 24px 28px; border-radius: 18px; }
  .auth-card__title { font-size: 22px; }
  .auth-back { top: 16px; left: 16px; padding: 7px 12px; font-size: 12.5px; }
  .auth-page { padding: 64px 16px 32px; }
}

/* ───────── /blog/articulo page ───────── */
.article { }

.article__hero {
  position: relative;
  padding: 80px 0 56px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.article__hero-grid {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  background-image:
    linear-gradient(rgba(56,189,248,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.article__hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.article__crumbs {
  margin-bottom: 28px;
}
.article__crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color .2s, background .2s, border-color .2s;
}
.article__crumbs a:hover { color: var(--text); border-color: var(--border-2); background: var(--card); }

.article__hero .badge { margin-bottom: 24px; }

.article__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 auto 22px;
  max-width: 22ch;
  text-wrap: balance;
}
.article__lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0 auto 36px;
  max-width: 58ch;
  text-wrap: pretty;
}

.article__meta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 999px;
  flex-wrap: wrap;
  justify-content: center;
}
.article__author { display: inline-flex; align-items: center; gap: 10px; }
.article__author-info { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.article__author-info strong { font-size: 13.5px; font-weight: 600; color: var(--text); }
.article__author-info em { font-style: normal; font-size: 12px; color: var(--text-dim); }
.article__meta-extra {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

/* cover image */
.article__cover {
  margin: 0;
  padding: 48px 0 0;
}
.article__cover-inner {
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}

/* prose / reading column */
.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 0 96px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.prose > * + * { margin-top: 1.2em; }
.prose__intro { font-size: 19px; line-height: 1.65; color: var(--text); }
.prose__intro::first-letter { font-weight: 600; }

.prose p { margin: 0; color: var(--text); text-wrap: pretty; }
.prose p strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text); }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(56,189,248,.4); transition: color .2s, border-color .2s; }
.prose a:hover { color: #7dd3fc; border-color: rgba(56,189,248,.7); }

.prose h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 64px 0 8px;
  scroll-margin-top: 80px;
  text-wrap: balance;
}
.prose h2 + p { margin-top: 16px; }
.prose h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 48px 0 8px;
}

.prose ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-mute);
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.prose ul li strong { color: var(--text); }

.prose__quote {
  margin: 56px -40px;
  padding: 32px 40px;
  border: 0;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(56,189,248,.06) 0%, transparent 80%);
  border-radius: 4px 12px 12px 4px;
}
.prose__quote p {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}
.prose__quote p::before {
  content: '“';
  color: var(--accent);
  font-size: 32px;
  line-height: 0;
  vertical-align: -6px;
  margin-right: 4px;
}

.prose__cta {
  margin: 64px 0 0;
  padding: 32px;
  background:
    radial-gradient(ellipse 60% 100% at 0% 0%, rgba(14,165,233,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 100% at 100% 100%, rgba(99,102,241,.10) 0%, transparent 60%),
    var(--card);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.prose__cta::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.3), transparent 50%, rgba(99,102,241,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.prose__cta h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.prose__cta p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.5;
}
.prose__cta .btn { white-space: nowrap; }

/* related */
.section--related { padding-top: 80px; }

@media (max-width: 760px) {
  .article__hero { padding: 56px 0 40px; }
  .article__cover { padding-top: 32px; }
  .article__cover-inner { aspect-ratio: 16 / 10; border-radius: 12px; }
  .prose { padding: 56px 0 72px; font-size: 16px; line-height: 1.75; }
  .prose h2 { font-size: 24px; margin-top: 48px; }
  .prose__quote { margin: 40px 0; padding: 24px 24px; }
  .prose__quote p { font-size: 18px; }
  .prose__cta { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .article__meta { gap: 14px; padding: 10px 16px; }
  .article__meta-extra { padding-left: 0; border-left: 0; }
}

/* ───────── 404 page ───────── */
.nf-page { padding: 40px 24px 48px; }

.nf-logo {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  display: inline-block;
}
.nf-logo img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}

.nf {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  text-align: center;
}
.nf__code {
  font-family: 'Inter', sans-serif;
  font-size: clamp(140px, 22vw, 280px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 30px rgba(14,165,233,.25)) drop-shadow(0 8px 60px rgba(99,102,241,.2));
}
.nf__code span { display: inline-block; }

.nf__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(56,189,248,.06);
  border: 1px solid rgba(56,189,248,.18);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 22px;
}

.nf__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 14px;
  text-wrap: balance;
}
.nf__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-mute);
  margin: 0 auto 32px;
  max-width: 44ch;
  text-wrap: pretty;
}
.nf__ctas {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 540px) {
  .nf-logo { top: 18px; left: 18px; }
  .nf-logo img { height: 24px; }
  .nf-page { padding: 80px 16px 32px; }
  .nf__title { font-size: 24px; }
}

/* ───────── /pricing page ───────── */
.section--pricing { padding-top: 80px; padding-bottom: 80px; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.plan:hover { border-color: var(--border-2); }

.plan--featured {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14,165,233,.10) 0%, transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(99,102,241,.08) 0%, transparent 70%),
    var(--card);
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.03) inset,
    0 30px 60px -20px rgba(0,0,0,.6),
    0 0 80px -30px rgba(56,189,248,.4);
}
.plan--featured::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.5), transparent 50%, rgba(99,102,241,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.plan--locked .plan__price-value,
.plan--locked .plan__price-unit { color: var(--text-mute); }

.plan__head { margin-bottom: 28px; }
.plan__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.plan__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.plan__price-approx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--text-dim);
  align-self: baseline;
}
.plan__price-value {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
}
.plan__price-unit {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
}
.plan__price-note {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.plan__tagline {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-mute);
  margin: 8px 0 0;
}

.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}
.plan--locked .plan__features li { color: var(--text-mute); }
.check--mute { color: var(--text-mute); }
.dim {
  color: var(--text-dim);
  font-weight: 700;
  font-size: 15px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.plan__cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.plan__foot {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
}

/* notify form on locked plans */
.plan__notify {
  margin-top: auto;
  display: grid;
  gap: 8px;
}
.plan__notify input {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 0;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.plan__notify input::placeholder { color: var(--text-dim); }
.plan__notify input:focus {
  border-color: var(--accent);
  background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 3px rgba(56,189,248,.18);
}
.plan__notify .btn { width: 100%; justify-content: center; padding: 11px 14px; font-size: 14px; }
.plan__notify-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}
.plan__notify-meta.is-error { color: #fda4a4; }
.plan__notify-meta.is-ok { color: var(--up); }

/* trust block */
.section--trust { padding: 80px 0; }
.trust {
  text-align: center;
  padding: 56px 40px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(14,165,233,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(99,102,241,.10) 0%, transparent 60%),
    var(--card);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.3), transparent 50%, rgba(99,102,241,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.trust__badge { margin-bottom: 22px; }
.trust__title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 18px;
  text-wrap: balance;
}
.trust__body {
  font-size: 16px;
  color: var(--text-mute);
  margin: 0 auto 28px;
  max-width: 56ch;
  text-wrap: pretty;
}

/* faq accordion */
.section--faq { padding-top: 80px; padding-bottom: 100px; }
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq__item[open] { border-color: var(--border-2); background: var(--card-2); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-mute);
  border-radius: 2px;
  transition: transform .25s ease, background .25s ease;
}
.faq__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__item[open] .faq__icon::before { background: var(--accent); }
.faq__answer {
  padding: 0 26px 22px;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.65;
}
.faq__answer p { margin: 0; text-wrap: pretty; }

@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; gap: 16px; }
  .plan--featured { transform: none; }
  .trust { padding: 40px 28px; }
}

@media (max-width: 540px) {
  .plan { padding: 28px 24px 24px; }
  .plan__price-value { font-size: 42px; }
  .faq__item summary { padding: 18px 20px; font-size: 15px; }
  .faq__answer { padding: 0 20px 18px; }
}

/* ───────── /beta page (extends /acceder card) ───────── */
.auth-card--wide { max-width: 560px; }

.beta-form { gap: 22px; }
.beta-form__group { margin: 0; padding: 0; border: 0; }
.beta-form__group legend { padding: 0; margin-bottom: 10px; }

/* chip-style choice (checkbox/radio rendered as button-like chips) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mute);
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.chip-choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip-choice:hover { color: var(--text); border-color: var(--border-2); }
.chip-choice:has(input:checked) {
  color: var(--accent);
  background: rgba(56,189,248,.10);
  border-color: rgba(56,189,248,.45);
  box-shadow: 0 0 0 1px rgba(56,189,248,.2);
}
.chip-choice:has(input:focus-visible) {
  outline: 2px solid rgba(56,189,248,.5);
  outline-offset: 2px;
}

/* opt-in checkbox row */
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-mute);
  background: rgba(0,0,0,.2);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.check-row:hover { color: var(--text); border-color: var(--border-2); }
.check-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check-row__box {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border-2);
  background: rgba(0,0,0,.3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.check-row__box::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
  opacity: 0;
  transition: opacity .15s;
}
.check-row:has(input:checked) {
  color: var(--text);
  border-color: rgba(56,189,248,.45);
  background: rgba(56,189,248,.06);
}
.check-row:has(input:checked) .check-row__box {
  background: var(--grad);
  border-color: transparent;
}
.check-row:has(input:checked) .check-row__box::after { opacity: 1; }
.check-row:has(input:focus-visible) {
  outline: 2px solid rgba(56,189,248,.5);
  outline-offset: 2px;
}

/* success state */
.beta-success {
  text-align: center;
  padding: 24px 8px 8px;
  animation: betaSuccessIn .5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes betaSuccessIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.beta-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(14,165,233,.5);
}
.beta-success__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.beta-success__sub {
  margin: 0 auto 28px;
  font-size: 15px;
  color: var(--text-mute);
  max-width: 40ch;
  line-height: 1.55;
}
.beta-success__ctas {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
