/* Voilom landing. Same tokens as the app: añil, tinta, azafrán, papel. No scripts, no cookies. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --anil: #3f35d9;
  --anil-600: #3128b8;
  --anil-50: #f1f0fe;
  --anil-100: #e3e1fd;
  --ink: #14152b;
  --ink-2: #23244a;
  --muted: #5f6475;
  --line: #e6e3dc;
  --paper: #f8f6f1;
  --white: #ffffff;
  --saffron: #e8a33d;
  --green: #0f7a4a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 21, 43, 0.06), 0 12px 40px -12px rgba(20, 21, 43, 0.22);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--anil); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* ------------------------------------------------------------------ header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 14, 32, 0.78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; font-size: 20px; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 28px; margin-right: auto; font-size: 15px; color: #a9a8c4; }
.nav a { text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: #fff; }
.actions { display: flex; align-items: center; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background 0.15s, transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.btn-primary { background: var(--anil); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 30px -10px rgba(91, 82, 240, 0.9); }
.btn-primary:hover { background: #4a40e6; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 16px 40px -12px rgba(91, 82, 240, 1); }
.btn-primary svg { transition: transform 0.15s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { color: inherit; }
.btn-ghost:hover { background: rgba(127, 127, 160, 0.14); }
.btn-outline { color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.05); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--anil-50); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #0d0e20; color: #fff; padding: 88px 0 0; margin-top: -68px; padding-top: 156px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.glow.g1 { width: 720px; height: 720px; left: -220px; top: -260px; background: #3f35d9; }
.glow.g2 { width: 560px; height: 560px; right: -160px; top: 80px; background: #5b52f0; opacity: 0.45; }
.glow.g3 { width: 380px; height: 380px; right: 22%; bottom: -220px; background: var(--saffron); opacity: 0.28; }
.gridlines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 75%); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 40px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; color: #d9d8ee; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.pill:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.09); }
.pill b { color: var(--saffron); font-weight: 600; }
.pill .sep { opacity: 0.5; }
.br-wide { display: none; }
@media (min-width: 1101px) { .br-wide { display: inline; } }
.live { width: 8px; height: 8px; border-radius: 50%; background: #3ad29f; box-shadow: 0 0 0 0 rgba(58, 210, 159, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(58, 210, 159, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(58, 210, 159, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 210, 159, 0); } }

h1 { font-size: clamp(40px, 5vw, 70px); line-height: 1.02; letter-spacing: -0.042em; font-weight: 750; margin: 26px 0 0; }
.mark { position: relative; white-space: nowrap; background: linear-gradient(100deg, #b8b3ff 0%, #fff 55%, #ffd79a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mark::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em; border-radius: 99px; background: var(--saffron); transform-origin: left; animation: draw 0.9s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lead { font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.6; color: #b9b8d6; max-width: 540px; margin: 26px 0 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 15px; color: #a9a8c4; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { color: #3ad29f; }

/* product visual */
.hero-visual { position: relative; height: 600px; perspective: 1800px; }
.screen { position: absolute; left: 4%; top: 40px; width: 820px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.75), 0 0 0 8px rgba(255, 255, 255, 0.03); transform: rotateY(-16deg) rotateX(7deg) rotateZ(1deg); transform-origin: left center; animation: rise 1s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.screen img { width: 100%; }
@keyframes rise { from { opacity: 0; transform: rotateY(-22deg) rotateX(10deg) translateY(40px); } }

.invoice { position: absolute; left: -6%; top: 168px; width: 312px; z-index: 3; background: #fff; color: var(--ink); border-radius: 16px; padding: 20px 20px 16px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(20, 21, 43, 0.06); transform: rotate(-3deg); animation: drop 0.9s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes drop { from { opacity: 0; transform: rotate(-8deg) translateY(50px) scale(0.96); } }
.invoice small { display: block; color: var(--muted); font-size: 11px; }
.invoice b { font-weight: 650; }
.inv-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.inv-no { text-align: right; }
.inv-no b { color: var(--anil); }
.inv-to { padding: 10px 0; }
.inv-lines div, .inv-tot div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.inv-lines { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 4px 0; }
.inv-lines span:last-child, .inv-tot span:last-child { font-variant-numeric: tabular-nums; }
.inv-tot { padding-top: 6px; color: var(--muted); }
.inv-tot .grand { color: var(--ink); font-weight: 700; font-size: 15px; padding-top: 8px; }
.inv-foot { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.inv-foot b { font-size: 12px; letter-spacing: 0.04em; }
.qr { width: 62px; height: 62px; flex: none; }
.stamp { position: absolute; left: -18px; top: -30px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; background: #e7f7ef; color: #0b6b40; border: 2px solid #34b37a; font-weight: 700; font-size: 13px; letter-spacing: -0.005em; transform: rotate(-5deg); box-shadow: 0 12px 30px -10px rgba(11, 107, 64, 0.45); animation: stamp 0.5s 1.35s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-16deg) scale(1.9); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }

.toast { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); color: var(--ink); font-size: 14px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.6); white-space: nowrap; }
.toast small { display: block; color: var(--muted); font-size: 12.5px; }
.ti { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ti-brand { background: var(--anil-50); color: var(--anil); }
.ti-green { background: #e7f5ee; color: var(--green); }
.toast.t1 { right: 2%; top: 6px; animation: pop 0.6s 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) both, bob 6s 2.5s ease-in-out infinite; }
.toast.t2 { right: -3%; bottom: 64px; animation: pop 0.6s 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) both, bob 7s 3s ease-in-out infinite; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

.trust { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 8px; padding: 28px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #a9a8c4; font-size: 15px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: #9d97ff; flex: none; }

/* ---------------------------------------------------------------- sections */
section { padding: 96px 0; }
.eyebrow { color: var(--anil); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin: 10px 0 0; font-weight: 700; max-width: 20ch; }
.intro { color: var(--muted); font-size: 19px; max-width: 620px; margin-top: 16px; }
.center { text-align: center; }
.center h2, .center .intro { margin-left: auto; margin-right: auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 19px; letter-spacing: -0.01em; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--anil-50); color: var(--anil); }

/* --------------------------------------------------------------- verifactu */
.dark { background: var(--ink); color: #eceaf6; }
.dark .eyebrow { color: var(--saffron); }
.dark .intro, .dark p { color: #b9b8cf; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.dates { display: grid; gap: 14px; margin-top: 34px; }
.date { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--ink-2); border: 1px solid #31325c; }
.date strong { font-size: 22px; letter-spacing: -0.02em; color: var(--white); min-width: 8.5ch; }
.date span { color: #b9b8cf; font-size: 15.5px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid #2c2d55; }
.checks li svg { color: var(--saffron); flex: none; margin-top: 3px; }
.checks b { color: var(--white); font-weight: 600; display: block; }
.checks span { color: #b9b8cf; font-size: 15.5px; }

/* ------------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px dashed #d6d1c5; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px; }
.step h3 { margin: 18px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ----------------------------------------------------------------- advisor */
.advisor { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 56px; }
.advisor ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.advisor li { display: flex; gap: 12px; color: var(--ink-2); }
.advisor li svg { color: var(--anil); flex: none; margin-top: 4px; }
.mini { display: grid; gap: 10px; }
.mini div { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }
.mini small { color: var(--muted); display: block; font-size: 13px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.tag.g { background: #e7f5ee; color: var(--green); }
.tag.a { background: #fdf2e0; color: #8a5a0f; }
.tag.b { background: var(--anil-50); color: var(--anil); }

/* --------------------------------------------------------------------- faq */
.faq { max-width: 780px; margin: 44px auto 0; display: grid; gap: 10px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17.5px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--anil); font-weight: 500; font-size: 24px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 0 0 20px; color: var(--muted); }

/* ------------------------------------------------------------------- final */
.final { text-align: center; background: var(--anil); color: var(--white); border-radius: 26px; padding: 72px 24px; position: relative; overflow: hidden; }
.final h2 { margin: 0 auto; color: var(--white); }
.final p { color: #dcd9ff; font-size: 19px; margin: 16px auto 0; max-width: 560px; }
.final .cta { margin-top: 30px; }
.final::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -90px; top: -110px; background: var(--saffron); opacity: 0.9; }
.final > * { position: relative; z-index: 1; }

footer { padding: 56px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

.steps { text-align: left; }
section.flush { padding-top: 0; }
section.tight { padding-top: 24px; }

/* ------------------------------------------------------------------ mobile */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .cta, .ticks { justify-content: center; }
  .hero-visual { height: 560px; max-width: 860px; width: 100%; margin: 0 auto; }
  .screen { left: 12%; width: 700px; }
  .invoice { left: 0; top: 150px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .top .wrap { justify-content: space-between; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .split, .advisor { grid-template-columns: 1fr; gap: 40px; }
  .advisor { padding: 36px 28px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 116px; }
  .hero-visual { height: 470px; perspective: none; }
  .screen { left: 18%; top: 20px; width: 560px; transform: none; animation-name: fade; }
  .invoice { left: 0; top: 70px; width: 268px; font-size: 11.5px; padding: 16px; }
  .stamp { font-size: 12px; padding: 7px 11px; }
  .toast { display: none; }
  .pill { font-size: 13px; padding: 6px 12px 6px 10px; gap: 7px; white-space: nowrap; }
  .stamp { left: -6px; top: -26px; }
  @keyframes fade { from { opacity: 0; } }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .actions .btn-ghost { display: none; }
  .cta .btn { width: 100%; }
  .grid, .steps { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .final { border-radius: 20px; padding: 56px 20px; }
  footer nav { margin-left: 0; }
  .trust { gap: 12px 22px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
