/* ==========================================================================
   Qrelay — styles.css
   Cada escaneo, un lead.
   Plain CSS, no build step. Tokens at :root.
   ========================================================================== */

:root {
  /* Brand */
  --ink: #0B1020;
  --ink-2: #141a2e;
  --ink-3: #1d2440;
  --violet: #5B3DF5;
  --violet-hover: #4A2EE0;
  --violet-soft: #ECE8FF;
  --lime: #C6FF3D;
  --lime-soft: #F1FFD4;
  --bg-soft: #F6F5FF;
  --muted: #5B6178;
  --muted-on-dark: #A7ADC6;
  --border: #E6E4F5;
  --border-dark: rgba(255, 255, 255, .1);
  --success: #16A34A;
  --white: #ffffff;

  /* Type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .06), 0 2px 8px rgba(11, 16, 32, .04);
  --shadow: 0 2px 4px rgba(11, 16, 32, .04), 0 12px 32px -8px rgba(11, 16, 32, .12);
  --shadow-lg: 0 4px 8px rgba(11, 16, 32, .04), 0 32px 64px -16px rgba(11, 16, 32, .22);
  --shadow-violet: 0 16px 40px -12px rgba(91, 61, 245, .55);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .section--ink :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--lime); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--lime); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink p { color: var(--muted-on-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); margin: 0; }
.section--ink .section-head p { color: var(--muted-on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--violet);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 8px;
  background: radial-gradient(circle, currentColor 1.6px, transparent 2px) 0 50% / 7px 8px repeat-x;
}
.section--ink .eyebrow, .on-dark .eyebrow { color: var(--lime); }

.h-display { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.on-dark .lead, .section--ink .lead { color: var(--muted-on-dark); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

.mark-lime {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  padding-inline: .06em;
}
.hl-violet { color: var(--violet); }
.hl-lime { color: var(--lime); }

/* hop underline (dotted arc under a word) */
.hop-word { position: relative; display: inline-block; white-space: nowrap; }
.hop-word svg {
  position: absolute; left: -4%; right: -4%; width: 108%; bottom: -.32em; height: .5em; overflow: visible;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--violet); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--primary { box-shadow: var(--shadow-violet); }
.btn--primary:hover { --btn-bg: var(--violet-hover); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); box-shadow: 0 14px 34px -14px rgba(198, 255, 61, .7); }
.btn--lime:hover { --btn-bg: #d4ff6b; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--border); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--ghost-dark { --btn-bg: rgba(255,255,255,.04); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.22); }
.btn--ghost-dark:hover { --btn-bd: var(--lime); --btn-fg: var(--lime); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--ink:hover { --btn-bg: var(--ink-3); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, .92); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 35px; transition: transform .35s var(--ease-bounce); }
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-4deg); }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1; }
.on-dark .brand, .site-footer .brand { color: #fff; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav li a {
  display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem;
  transition: background-color .2s, color .2s;
}
.main-nav li a:hover { background: var(--bg-soft); color: var(--violet); }
.main-nav li a[aria-current="page"] { color: var(--violet); background: var(--violet-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .login { color: var(--ink); font-weight: 600; text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.header-actions .login:hover { color: var(--violet); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu-cta { display: none; }

@media (max-width: 1080px) {
  /* backdrop-filter crearía un containing block para el menú fijo */
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: #fff; padding: 24px var(--gutter) 40px;
    display: flex; flex-direction: column; gap: 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav li a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--border); letter-spacing: -.02em; }
  .main-nav li a:hover, .main-nav li a[aria-current="page"] { background: none; }
  .mobile-menu-cta { display: grid; gap: 10px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
  isolation: isolate;
}
.hero::before { /* dotted grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero::after { /* glow */
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(circle, rgba(91, 61, 245, .45), transparent 62%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lead { max-width: 560px; margin-top: 40px; }
.hero h1 { color: #fff; margin: 0; }
.hero h1 .hl-lime { color: var(--lime); }
.hero .btn-row { margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; list-style: none; font-size: .92rem; color: var(--muted-on-dark); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--lime); flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: .88rem; color: #dfe2f1; margin-bottom: 28px; text-decoration: none;
}
.pill:hover { color: #fff; border-color: rgba(198,255,61,.5); }
.pill b { background: var(--lime); color: var(--ink); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }

/* Hero visual (scales with container query units) */
.hero-visual {
  position: relative; width: 100%; max-width: 580px; margin-inline: auto;
  aspect-ratio: 560 / 500; container-type: inline-size;
}
.hero-visual > .cq-scale { position: absolute; inset: 0; font-size: 2.9cqw; }
.hv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.hv-screen {
  position: absolute; left: 0; top: 4%; width: 60.7%; height: 46%;
  background: #05070f; border-radius: 1.2em; padding: .7em;
  border: .18em solid #2a3150;
  box-shadow: 0 2em 4em -1em rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.04);
}
.hv-screen::after { /* stand */
  content: ""; position: absolute; left: 42%; width: 16%; bottom: -1.6em; height: 1.4em;
  background: linear-gradient(#2a3150, #1a2038); border-radius: 0 0 .4em .4em;
}
.hv-screen-inner {
  height: 100%; border-radius: .7em; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #5B3DF5 0%, #3a1fd0 55%, #22127f 100%);
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: .8em; padding: 1.1em 1.2em;
}
.hv-screen-inner::before {
  content: ""; position: absolute; width: 14em; height: 14em; border-radius: 50%; left: -5em; bottom: -8em;
  background: radial-gradient(circle, rgba(198,255,61,.35), transparent 65%);
}
.hv-screen-copy { position: relative; color: #fff; }
.hv-screen-copy small { display: block; font-size: .62em; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: .5em; }
.hv-screen-copy strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.45em; line-height: 1; letter-spacing: -.03em; }
.hv-screen-copy span { display: block; font-size: .66em; margin-top: .7em; color: rgba(255,255,255,.75); }
.hv-qr { position: relative; background: #fff; border-radius: .6em; padding: .45em; aspect-ratio: 1; box-shadow: 0 0 0 .3em rgba(198,255,61,.0); animation: qrPulse 3.2s ease-in-out infinite; }
.hv-qr svg { width: 100%; height: 100%; }
@keyframes qrPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(198,255,61,.0); } 45% { box-shadow: 0 0 0 .45em rgba(198,255,61,.55); } 70% { box-shadow: 0 0 0 .9em rgba(198,255,61,0); } }

.hv-phone {
  position: absolute; left: 33%; top: 38%; width: 27%; height: 60%; z-index: 2;
  background: #0b0f1d; border-radius: 2.1em; padding: .45em;
  border: .15em solid #3a4266;
  box-shadow: 0 2.4em 4em -1em rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05) inset;
  transform: rotate(-7deg); animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-.6em); } }
.hv-phone-screen { height: 100%; border-radius: 1.7em; background: #fff; overflow: hidden; position: relative; padding: 1.7em .85em .9em; color: var(--ink); display: flex; flex-direction: column; }
.hv-phone-screen::before { /* notch */
  content: ""; position: absolute; top: .5em; left: 50%; transform: translateX(-50%); width: 34%; height: .65em; border-radius: 1em; background: #0b0f1d;
}
.hv-phone .hv-chip { align-self: flex-start; font-size: .5em; font-weight: 700; color: var(--violet); background: var(--violet-soft); border-radius: 1em; padding: .25em .7em; margin-bottom: .6em; }
.hv-phone h4 { font-size: .95em; font-weight: 800; margin: 0 0 .7em; line-height: 1.05; }
.hv-field { height: 1.65em; border-radius: .5em; border: 1px solid var(--border); background: var(--bg-soft); margin-bottom: .45em; display: flex; align-items: center; padding-inline: .55em; font-size: .52em; color: var(--muted); }
.hv-field i { font-style: normal; color: var(--ink); font-weight: 600; overflow: hidden; white-space: nowrap; display: inline-block; width: 0; animation: typeIn 6s steps(14) infinite; }
.hv-field:nth-of-type(2) i { animation-delay: .6s; }
@keyframes typeIn { 0%, 100% { width: 9em; } 2%, 10% { width: 0; } 35% { width: 9em; } }
.hv-consent { display: flex; gap: .4em; align-items: center; font-size: .45em; color: var(--muted); margin: .2em 0 .6em; }
.hv-consent::before { content: "✓"; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: .35em; background: var(--violet); color: #fff; font-size: .9em; flex: none; }
.hv-btn { margin-top: auto; background: var(--violet); color: #fff; font-size: .58em; font-weight: 700; text-align: center; border-radius: 2em; padding: .8em; }
.hv-scanline { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(rgba(91,61,245,0), rgba(91,61,245,.12)); border-bottom: 2px solid rgba(91,61,245,.55); animation: scan 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-100%); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(260%); opacity: 1; } 75%, 100% { transform: translateY(260%); opacity: 0; } }

.hv-card {
  position: absolute; z-index: 4;
  background: #fff; color: var(--ink); border-radius: 1.1em; padding: .95em 1em;
  box-shadow: 0 1.8em 3.4em -1em rgba(0,0,0,.55);
}
.hv-card--lead { right: 0; top: 58%; width: 37%; animation: popIn 6s var(--ease-bounce) infinite; transform-origin: 20% 0; }
@keyframes popIn { 0%, 44%, 100% { transform: none; opacity: 1; } 47% { transform: translateY(.8em) scale(.94); opacity: 0; } 56% { transform: translateY(-.2em) scale(1.02); opacity: 1; } 62% { transform: none; } }
.hv-card-head { display: flex; align-items: center; justify-content: space-between; gap: .5em; margin-bottom: .7em; }
.hv-badge { display: inline-flex; align-items: center; gap: .35em; font-size: .55em; font-weight: 700; color: var(--success); background: #E7F7EC; border-radius: 1em; padding: .3em .7em; }
.hv-badge::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--success); }
.hv-time { font-size: .5em; color: var(--muted); }
.hv-person { display: flex; gap: .6em; align-items: center; }
.hv-avatar { width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); font-size: .8em; flex: none; }
.hv-person b { display: block; font-size: .78em; line-height: 1.2; }
.hv-person span { display: block; font-size: .55em; color: var(--muted); }
.hv-tags { display: flex; flex-wrap: wrap; gap: .3em; margin-top: .7em; }
.hv-tags span { font-size: .5em; font-weight: 600; background: var(--bg-soft); border: 1px solid var(--border); border-radius: .5em; padding: .25em .55em; }
.hv-sync { display: flex; align-items: center; gap: .4em; margin-top: .75em; padding-top: .65em; border-top: 1px dashed var(--border); font-size: .52em; color: var(--muted); }
.hv-sync b { color: var(--ink); }

.hv-card--stat { left: 66%; top: 6%; width: 31%; background: var(--ink-2); color: #fff; border: 1px solid rgba(255,255,255,.1); }
.hv-card--stat small { display: block; font-size: .52em; color: var(--muted-on-dark); text-transform: uppercase; letter-spacing: .1em; }
.hv-card--stat strong { display: block; font-family: var(--font-display); font-size: 1.7em; line-height: 1.1; letter-spacing: -.03em; }
.hv-card--stat em { font-style: normal; font-size: .55em; color: var(--lime); font-weight: 700; }
.hv-bars { display: flex; align-items: flex-end; gap: .25em; height: 2.2em; margin-top: .55em; }
.hv-bars span { flex: 1; background: rgba(198,255,61,.25); border-radius: .15em; height: var(--h); transform-origin: bottom; animation: barGrow 6s ease-in-out infinite; }
.hv-bars span:last-child { background: var(--lime); }
@keyframes barGrow { 0% { transform: scaleY(.4); } 25%, 100% { transform: scaleY(1); } }

.hv-dest {
  position: absolute; left: 2%; bottom: 3%; z-index: 4;
  display: flex; align-items: center; gap: .55em; padding: .55em .85em .55em .55em; border-radius: 1em;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .62em;
}
.hv-dest i { width: 2.2em; height: 2.2em; border-radius: .6em; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.hv-dest b { display: block; }
.hv-dest span { color: var(--muted-on-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }

.hop-path { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.1 10; }
.hop-path--violet { stroke: var(--violet); }
.hop-path.animated { animation: dashFlow 1.4s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -20.2; } }

/* ---------- Logo strip ---------- */
.proof { padding-block: 40px; border-bottom: 1px solid var(--border); background: #fff; }
.proof p { text-align: center; font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; list-style: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; color: #3b4160; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; white-space: nowrap; opacity: .82; }
.marquee-track li svg { width: 26px; height: 26px; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); counter-reset: step; position: relative; list-style: none; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px 30px; box-shadow: var(--shadow-sm); }
.step-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--violet); margin-bottom: 22px; }
.step-num span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--lime); font-size: 1.05rem; }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); margin: 0; }
.step-illu { margin-top: 26px; height: 120px; border-radius: var(--radius); background: var(--bg-soft); border: 1px dashed var(--border); display: grid; place-items: center; overflow: hidden; position: relative; }
.step-hop { position: absolute; top: 46px; right: -34px; width: 68px; height: 40px; z-index: 2; }
.step:last-child .step-hop { display: none; }

/* ---------- Use cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3cdf7; }
.case--feature { grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); }
.case--feature p { color: var(--muted-on-dark); }
.case--feature .case-icon { background: var(--lime); color: var(--ink); }
.case-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; margin-bottom: 8px; }
.case-icon svg { width: 26px; height: 26px; }
.case h3 { font-size: 1.35rem; margin: 0; }
.case p { color: var(--muted); margin: 0; font-size: .98rem; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; list-style: none; }
.case-tags li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.case--feature .case-tags li { background: rgba(255,255,255,.08); color: #d7dbef; }
.case-mini-screen { margin-top: 18px; border-radius: 18px; background: linear-gradient(135deg, var(--violet), #2b16a8); padding: 18px; display: flex; align-items: center; gap: 16px; border: 6px solid #1b2138; }
.case-mini-screen .mini-qr { width: 76px; height: 76px; background: #fff; border-radius: 10px; padding: 6px; flex: none; }
.case-mini-screen strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.05; display: block; color: #fff; }
.case-mini-screen small { color: var(--lime); font-weight: 600; font-size: .78rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: #fff; padding: 32px 28px; transition: background-color .25s; }
.feature:hover { background: #fcfbff; }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 20px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

.qr-types { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 36px; justify-content: center; }
.qr-types li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: .92rem; }
.qr-types li svg { width: 16px; height: 16px; color: var(--violet); }

/* ---------- Analytics / dashboard mockup ---------- */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse { grid-template-columns: 1.25fr 1fr; }
.split--even { grid-template-columns: 1fr 1fr; }
.check-list { list-style: none; display: grid; gap: 14px; margin: 28px 0 32px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1020' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.check-list b { display: block; }
.check-list span { color: var(--muted); font-size: .96rem; }
.section--ink .check-list span { color: var(--muted-on-dark); }

.dash {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  font-size: 13px; container-type: inline-size;
}
.dash-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #fbfaff; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e1def3; }
.dash-url { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; max-width: 320px; margin-inline: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-body { display: grid; grid-template-columns: 128px 1fr; min-height: 380px; }
.dash-side { border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; background: #fdfcff; }
.dash-side .brand-word { font-size: 1.15rem; margin: 0 6px 14px; display: flex; gap: 6px; align-items: center; }
.dash-side span { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.dash-side span.on { background: var(--violet-soft); color: var(--violet); font-weight: 700; }
.dash-main { padding: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.dash-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-h b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.02em; }
.dash-filter { display: flex; gap: 4px; background: var(--bg-soft); border-radius: 8px; padding: 3px; }
.dash-filter span { padding: 3px 9px; border-radius: 6px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.dash-filter span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.kpi small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.25; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--success); }
.kpi--accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpi--accent small { color: var(--muted-on-dark); }
.kpi--accent em { color: var(--lime); }
.dash-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.panel { border: 1px solid var(--border); border-radius: 12px; padding: 12px; min-width: 0; }
.panel-t { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.panel-t span { color: var(--muted); font-weight: 500; }
.chart { width: 100%; height: 120px; }
.chart .grid line { stroke: #eeecf8; }
.chart .area { fill: url(#areaGrad); }
.chart .line { fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .line2 { fill: none; stroke: #9be22d; stroke-width: 2; stroke-dasharray: 4 4; stroke-linecap: round; }
.reveal .chart .line, .reveal .chart .line2 { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.reveal.is-visible .chart .line { stroke-dashoffset: 0; }
.reveal.is-visible .chart .line2 { stroke-dashoffset: 0; stroke-dasharray: 4 4; }
.legend { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-top: 4px; }
.legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.donut-wrap { display: flex; align-items: center; gap: 10px; }
.donut { width: 64px; height: 64px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 6; }
.donut-legend { list-style: none; display: grid; gap: 5px; font-size: 11.5px; min-width: 0; }
.donut-legend li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.donut-legend i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.donut-legend b { margin-left: auto; padding-left: 6px; }
.bars-list { list-style: none; display: grid; gap: 6px; }
.bars-list li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; align-items: center; font-size: 11.5px; }
.bars-list li .track { grid-column: 1 / -1; grid-row: 2; }
.bars-list li b { grid-row: 1; grid-column: 2; }
.bars-list .track { height: 7px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.bars-list .track i { display: block; height: 100%; border-radius: 4px; background: var(--violet); width: var(--w); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.reveal.is-visible .bars-list .track i { transform: scaleX(1); }
.bars-list b { text-align: right; }
.dash-table { width: 100%; font-size: 11.5px; }
.dash-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 4px 6px; border-bottom: 1px solid var(--border); }
.dash-table td { padding: 6px; border-bottom: 1px solid #f2f0fa; white-space: nowrap; }
.dash-table td:first-child { max-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; }
.panel { overflow: hidden; }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); margin-right: 6px; box-shadow: 0 0 0 3px #e3f6e9; }
@container (max-width: 560px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
  .dash-table .hide-sm { display: none; }
}

/* ---------- Integrations ---------- */
.integrations { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.int-hub { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; container-type: inline-size; }
.int-hub svg.int-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.int-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 26%; aspect-ratio: 1; border-radius: 26%; background: var(--violet); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(91,61,245,.12), 0 0 0 22px rgba(91,61,245,.06), var(--shadow-violet);
}
.int-center svg { width: 62%; height: auto; }
.int-node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  width: 23%;
}
.int-node i {
  width: 100%; aspect-ratio: 1; max-width: 76px; border-radius: 22px; background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: max(14px, 4.4cqw);
  box-shadow: var(--shadow); color: var(--ink); transition: transform .3s var(--ease-bounce);
}
.int-node:hover i { transform: translateY(-4px) rotate(-3deg); }
.int-node span { font-size: max(11px, 2.6cqw); font-weight: 600; color: var(--muted); white-space: nowrap; }
.int-list { display: grid; gap: 14px; margin-top: 28px; list-style: none; }
.int-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.int-item i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-family: var(--font-display); font-weight: 800; background: var(--bg-soft); color: var(--violet); }
.int-item b { display: block; margin-bottom: 2px; }
.int-item span { color: var(--muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  margin-bottom: 40px; box-shadow: var(--shadow-sm);
}
.billing-toggle button {
  border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s, color .2s;
}
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save { font-size: .74rem; font-weight: 700; background: var(--lime); color: var(--ink); padding: 3px 8px; border-radius: 999px; }
.pricing-wrap { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.plan--popular { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.plan--popular .plan-desc, .plan--popular .plan-period, .plan--popular .plan-note { color: var(--muted-on-dark); }
.plan--popular .plan-features li { color: #e5e8f5; }
.plan-flag { position: absolute; top: -13px; left: 26px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; margin: 0 0 4px; letter-spacing: -.02em; }
.plan-desc { color: var(--muted); font-size: .93rem; min-height: 3em; margin: 0 0 20px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-height: 48px; }
.plan-amount { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -.04em; }
.plan-amount--text { font-size: 2.1rem; }
.plan-period { color: var(--muted); font-size: .95rem; }
.plan-note { color: var(--muted); font-size: .82rem; min-height: 1.4em; margin: 8px 0 22px; }
.plan .btn { width: 100%; }
.plan-features { list-style: none; display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .94rem; }
.plan--popular .plan-features { border-top-color: rgba(255,255,255,.12); }
.plan-features li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.plan-features li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B3DF5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan--popular .plan-features li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1020' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.plans-foot { margin-top: 28px; color: var(--muted); font-size: .92rem; text-align: center; }
[data-price-period] { transition: opacity .2s; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 760px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { position: sticky; top: 0; background: #fff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; padding-top: 22px; padding-bottom: 18px; }
.compare thead th small { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--muted); }
.compare thead th.is-popular { color: var(--violet); }
.compare tbody th { font-weight: 500; text-align: left; }
.compare .group th { background: var(--bg-soft); font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: -.01em; color: var(--ink); }
.compare td.is-popular, .compare th.is-popular { background: rgba(91,61,245,.04); }
.compare .group th { background: var(--bg-soft); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.yes, .no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.yes { background: var(--lime); }
.yes::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1020' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.no::before { content: ""; width: 12px; height: 2px; background: #c9c6db; border-radius: 2px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--border-dark); margin: 0; }
.quote:nth-child(2) { background: var(--violet); border-color: var(--violet); }
.quote:nth-child(2) blockquote { color: #fff; }
.quote:nth-child(2) figcaption span { color: #dcd5ff; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; line-height: 1.35; letter-spacing: -.015em; color: #fff; }
.quote blockquote::before { content: "“"; display: block; font-size: 3.4rem; line-height: .7; color: var(--lime); margin-bottom: 8px; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote figcaption .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); background: var(--lime); color: var(--ink); flex: none; }
.quote figcaption b { display: block; color: #fff; }
.quote figcaption span { font-size: .88rem; color: var(--muted-on-dark); }
.quote .metric { display: inline-flex; align-self: flex-start; gap: 6px; font-weight: 700; font-size: .85rem; color: var(--lime); background: rgba(198,255,61,.1); border-radius: 999px; padding: 5px 12px; }
.quote:nth-child(2) .metric { background: rgba(11,16,32,.25); }
.disclaimer { margin-top: 24px; font-size: .8rem; text-align: center; color: var(--muted-on-dark); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cfc7fb; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1020' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq .faq-body { padding: 0 22px 22px; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--violet); color: #fff; border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000); mask-image: linear-gradient(110deg, transparent 30%, #000);
}
.cta-band h2 { color: #fff; margin: 0 0 14px; }
.cta-band p { color: #e3deff; margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .cta-hop { position: absolute; right: 6%; top: -10px; width: 260px; height: 120px; z-index: -1; opacity: .9; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(91,61,245,.42), transparent 62%); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { max-width: 680px; }
.page-hero--light { background: var(--bg-soft); color: var(--ink); }
.page-hero--light h1 { color: var(--ink); }
.page-hero--light .lead { color: var(--muted); }
.page-hero--light::after { background: radial-gradient(circle, rgba(91,61,245,.14), transparent 62%); }
.page-hero--light::before { background-image: radial-gradient(rgba(11,16,32,.08) 1px, transparent 1.2px); }
.breadcrumbs { font-size: .88rem; color: var(--muted-on-dark); margin-bottom: 18px; }
.breadcrumbs a { color: inherit; }
.page-hero--light .breadcrumbs { color: var(--muted); }

/* ---------- Feature deep-dive ---------- */
.deep { display: grid; gap: clamp(72px, 9vw, 120px); }
.deep-item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.deep-item:nth-child(even) .deep-visual { order: -1; }
.deep-visual {
  position: relative; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--border);
  padding: clamp(20px, 3vw, 36px); min-height: 320px; display: grid; place-items: center; overflow: hidden;
}
.deep-visual--ink { background: var(--ink); border-color: var(--ink); }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.subnav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.subnav a:hover { background: var(--bg-soft); color: var(--violet); }

/* mini UI pieces used in visuals */
.ui-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; width: 100%; max-width: 400px; }
.ui-label { font-size: .78rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; display: block; }
.ui-input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: #fbfaff; font-size: .9rem; margin-bottom: 12px; overflow: hidden; white-space: nowrap; }
.ui-input s { color: var(--muted); text-decoration-color: #e0475d; text-decoration-thickness: 2px; }
.ui-input b { color: var(--violet); }
.ui-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.ui-toggle { width: 40px; height: 24px; border-radius: 999px; background: var(--violet); position: relative; flex: none; }
.ui-toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.ui-toggle.off { background: #d9d6ea; }
.ui-toggle.off::after { right: auto; left: 3px; }
.ui-swatches { display: flex; gap: 8px; }
.ui-swatches i { width: 28px; height: 28px; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.ui-swatches i.on { box-shadow: 0 0 0 2px var(--violet); }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 420px; }
.type-grid span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-size: .8rem; font-weight: 600; text-align: center; }
.type-grid span svg { width: 22px; height: 22px; color: var(--violet); }
.type-grid span.on { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(91,61,245,.15); }
.code-block { width: 100%; max-width: 460px; background: #070a16; color: #d6dbf5; border-radius: 16px; padding: 18px 20px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.7; overflow-x: auto; border: 1px solid rgba(255,255,255,.08); white-space: pre; }
.code-block .k { color: var(--lime); }
.code-block .s { color: #b9a9ff; }
.code-block .c { color: #6b7394; }

/* ---------- Screens landing ---------- */
.tv-stage { position: relative; width: 100%; max-width: 560px; margin-inline: auto; container-type: inline-size; }
.tv-stage > .cq-scale { position: relative; font-size: 3.1cqw; }
.tv { position: relative; background: #05070f; border: .35em solid #262d4a; border-radius: 1.2em; aspect-ratio: 16/9; padding: 0; overflow: hidden; box-shadow: 0 3em 5em -2em rgba(0,0,0,.6); }
.tv-in { position: absolute; inset: 0; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 1.2em; padding: 2em; background: radial-gradient(circle at 15% 110%, rgba(198,255,61,.35), transparent 45%), linear-gradient(135deg, #5B3DF5, #2a14a3); color: #fff; }
.tv-in small { color: var(--lime); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .6em; }
.tv-in strong { display: block; font-family: var(--font-display); font-size: 2.1em; line-height: .98; letter-spacing: -.035em; margin: .3em 0 .4em; }
.tv-in span { font-size: .75em; opacity: .85; }
.tv-in .tv-qr { background: #fff; border-radius: .8em; padding: .6em; aspect-ratio: 1; }
.tv-in .tv-qr svg { width: 100%; height: 100%; }
.tv-in .tv-qr-cap { text-align: center; font-size: .62em; margin-top: .6em; font-weight: 600; }
.tv-foot { width: 22%; height: 1.4em; margin: 0 auto; background: linear-gradient(#262d4a, #151a2e); border-radius: 0 0 .5em .5em; }
.tv-live { position: absolute; z-index: 2; top: .7em; right: .9em; display: inline-flex; align-items: center; gap: .4em; font-size: .6em; font-weight: 700; background: rgba(0,0,0,.35); color: #fff; padding: .35em .7em; border-radius: 1em; }
.tv-live::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: #ff4d6d; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.tv-float { position: absolute; background: #fff; color: var(--ink); border-radius: 1em; padding: .8em 1em; box-shadow: var(--shadow-lg); font-size: .8em; }
.tv-float b { font-family: var(--font-display); font-size: 1.6em; display: block; line-height: 1; letter-spacing: -.03em; }
.tv-float span { color: var(--muted); font-size: .85em; }
.tv-float--a { left: -4%; top: -9%; z-index: 3; }
.tv-float--b { right: -4%; bottom: -6%; z-index: 3; background: var(--lime); }
.tv-float--b span { color: #3c4a10; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-dark); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-dark); }
.stats-row div { background: var(--ink); padding: 28px 24px; }
.stats-row b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; color: var(--lime); line-height: 1; }
.stats-row span { color: var(--muted-on-dark); font-size: .95rem; display: block; margin-top: 8px; }

.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow li { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); counter-increment: flow; }
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; color: var(--violet); font-size: .95rem; margin-bottom: 14px; }
.flow li b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; letter-spacing: -.01em; }
.flow li span { color: var(--muted); font-size: .95rem; }

.tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; }
.tips li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--border-dark); }
.tips li i { width: 44px; height: 44px; border-radius: 12px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-style: normal; font-family: var(--font-display); font-weight: 800; }
.tips b { display: block; color: #fff; margin-bottom: 4px; }
.tips span { color: var(--muted-on-dark); font-size: .95rem; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 12px; background: #fbfaff; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc9ee; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(91,61,245,.15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d92d4b; }
.field-error { display: none; color: #b4213d; font-size: .85rem; margin-top: 6px; }
.field.has-error .field-error { display: block; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--muted); }
.checkbox input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status.is-ok { display: block; background: #E7F7EC; color: #0f5f2e; }
.form-status.is-error { display: block; background: #fdecef; color: #8f1830; }
.contact-aside { display: grid; gap: 16px; }
.contact-card { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--border); }
.contact-card--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-card--ink p { color: var(--muted-on-dark); }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }

/* ---------- Legal prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p, .prose li { color: #343a52; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; font-size: .92rem; margin: 1em 0 1.6em; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.placeholder { background: var(--lime-soft); border-radius: 4px; padding: 0 4px; font-weight: 600; color: var(--ink); }
.legal-note { padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px dashed #cfc7fb; color: var(--muted); font-size: .92rem; margin-bottom: 2em; }
.updated { font-size: .9rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.notfound .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); letter-spacing: -.06em; line-height: .9; color: var(--lime); }
.notfound p { color: var(--muted-on-dark); max-width: 520px; margin-inline: auto; }
.notfound .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9cde0; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; padding-bottom: 48px; border-bottom: 1px solid var(--border-dark); }
.footer-brand p { color: var(--muted-on-dark); max-width: 320px; margin: 16px 0 20px; }
.footer-tagline { font-family: var(--font-display); font-weight: 800; color: var(--lime); font-size: 1.15rem; letter-spacing: -.02em; }
.site-footer h3 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; font-weight: 700; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c9cde0; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 28px; color: var(--muted-on-dark); font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border-dark); color: #d6daea; }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 20vw, 17rem); letter-spacing: -.06em; line-height: .8; color: rgba(255,255,255,.04); text-align: center; margin: 32px 0 -0.12em; user-select: none; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: #c9cde0; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.link-btn:hover { color: var(--lime); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; margin-inline: auto; max-width: 560px;
  background: var(--ink); color: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 20px 60px -10px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.1);
  display: grid; gap: 14px;
  transform: translateY(20px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.cookie-banner.is-visible { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.cookie-banner p { margin: 0; font-size: .92rem; color: #d3d7e8; }
.cookie-banner p b { color: #fff; }
.cookie-banner a { color: var(--lime); }
.cookie-banner .btn-row { gap: 8px; }
.cookie-banner .btn { min-height: 42px; padding: 8px 18px; font-size: .92rem; flex: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .bars-list .track i { transform: none; }
.no-js .chart .line, .no-js .chart .line2 { stroke-dashoffset: 0 !important; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.center-block { display: flex; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-weight: 700; font-size: .78rem; }
.badge--lime { background: var(--lime); color: var(--ink); }
.sticker { display: inline-block; transform: rotate(-4deg); background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 800; padding: 4px 12px; border-radius: 10px; font-size: .95rem; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--popular { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .split--reverse, .split--even, .integrations, .faq-grid, .contact-grid, .deep-item, .cta-band { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-visual { max-width: 520px; }
  .faq-aside { position: static; }
  .deep-item:nth-child(even) .deep-visual { order: 0; }
  .cases, .quotes, .features { grid-template-columns: 1fr 1fr; }
  .case--feature { grid-row: auto; grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .step-hop { display: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .split--reverse > :first-child { order: 1; }
}
@media (max-width: 680px) {
  .cases, .quotes, .features, .plans, .flow, .tips, .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-row div { padding: 22px 18px; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { width: 100%; }
  .billing-toggle button { padding: 9px 14px; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-float { font-size: .95em; }
}
@media (max-width: 400px) {
  .footer-top { grid-template-columns: 1fr; }
  .brand-word { font-size: 1.45rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hv-card--lead { opacity: 1; transform: none; animation: none; }
  .hv-field i { width: 9em; animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cookie-banner, .site-footer, .cta-band { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Small fixes ---------- */
.int-item i svg { width: 22px; height: 22px; }
.dash-side .brand-word svg { width: 26px; height: 24px; flex: none; }
.deep-visual > .dash { width: 100%; }
.int-center svg { overflow: visible; }
.faq code, .prose code { font-size: .9em; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
@container (max-width: 720px) { .dash-table .hide-md { display: none; } }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }

/* ---------- Generador de QR gratis ---------- */
.qrgen { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.qrgen-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; padding: 5px; background: var(--bg-soft); border-radius: 14px; }
.qrgen-tabs button { flex: 1 1 auto; border: 0; background: transparent; padding: 9px 12px; border-radius: 10px; font-weight: 600; color: var(--muted); cursor: pointer; }
.qrgen-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.qrgen-color { height: 46px; padding: 4px; cursor: pointer; }
.qrgen-out { position: sticky; top: 96px; display: grid; gap: 16px; }
.qrgen-preview { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; display: grid; place-items: center; min-height: 348px; }
.qrgen-preview svg, .qrgen-preview canvas { max-width: 100%; height: auto; }
.qrgen-loading { color: var(--muted); }
.qrgen-warn { background: #FFF6E0; color: #7a5200; border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin: 0; }
.qrgen-dl .btn { flex: 1; }
.qrgen-upsell { background: var(--ink); color: #e5e8f5; border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 10px; font-size: .93rem; }
.qrgen-upsell b { color: #fff; font-size: 1rem; }
.qrgen-upsell a:not(.btn) { color: var(--lime); }
@media (max-width: 980px) { .qrgen { grid-template-columns: 1fr; } .qrgen-out { position: static; } }

/* ---------- Guías ---------- */
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card h2, .guide-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 6px 0 8px; letter-spacing: -.01em; }
.guide-card p { color: var(--muted); margin: 0; }
.guide-meta { color: var(--muted); font-size: .85rem; margin-top: 14px; display: block; }
.article-meta { color: var(--muted-on-dark, #aab); font-size: .9rem; margin-top: 14px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .guide-list, .related { grid-template-columns: 1fr; } }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.prose .toc { background: var(--bg-soft); border-radius: 14px; padding: 18px 22px; margin-bottom: 28px; }
.prose .toc ol { margin: 8px 0 0; }

/* Visual genérico del hero en landings */
.lv { display: grid; place-items: center; }
.lv-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 26px; width: 100%; max-width: 360px; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: grid; gap: 18px; justify-items: center; transform: rotate(2deg); }
.lv-qr { width: 200px; height: 200px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.lv-qr svg { width: 100%; height: 100%; display: block; }
.lv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.lv-stats div { background: var(--bg-soft); border-radius: 12px; padding: 10px 8px; text-align: center; }
.lv-stats b { display: block; font-size: .86rem; }
.lv-stats span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.25; margin-top: 2px; }
@media (max-width: 980px) { .lv-card { transform: none; max-width: 320px; margin-top: 12px; } }

/* ---------- Qrelay Carta (web comercial) ---------- */
.plans--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-inline: auto; }
@media (max-width: 1100px) { .plans--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .plans--3 { grid-template-columns: 1fr; max-width: 440px; } }
.carta-demo { display: grid; place-items: center; }
.cd-phone { width: 300px; max-width: 100%; background: #F7F6F3; color: #17181C; border: 10px solid #0B1020; border-radius: 38px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.45); font-size: .85rem; transform: rotate(-2deg); }
.cd-cover { background: linear-gradient(135deg, #5B3DF5, #2A1A8F); color: #fff; padding: 46px 18px 16px; display: grid; gap: 2px; }
.cd-cover strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; }
.cd-cover span { opacity: .8; }
.cd-filter { display: flex; gap: 6px; padding: 12px 12px 4px; flex-wrap: wrap; }
.cd-chip { border: 1px solid #E2E0DA; background: #fff; border-radius: 99px; padding: 4px 10px; font-weight: 600; font-size: .75rem; }
.cd-chip.on { border-color: #E2574C; background: #FDECEB; color: #B42318; }
.cd-item { margin: 8px 12px; background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 10px; border: 1px solid #ECEAE4; }
.cd-item b { display: block; }
.cd-item small { color: #6B6E7B; display: block; margin: 2px 0 4px; }
.cd-algs { display: flex; gap: 3px; min-height: 4px; }
.cd-algs svg { width: 18px; height: 18px; }
.cd-hidden { opacity: .45; border-style: dashed; }
.cd-order { margin: 12px; background: #5B3DF5; color: #fff; border-radius: 99px; padding: 10px; text-align: center; font-weight: 700; }
.alg-demo { max-width: 440px; }
.alg-demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 6px 0 14px; }
.alg-demo-grid span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--violet); background: var(--violet-soft); border-radius: 12px; font-weight: 600; font-size: .9rem; position: relative; }
.alg-demo-grid em { position: absolute; top: -8px; right: 8px; background: var(--lime); color: var(--ink); font-style: normal; font-weight: 800; font-size: .65rem; padding: 1px 6px; border-radius: 99px; }
.alg-demo-note { color: var(--muted); font-size: .88rem; margin: 0; }
.tips--light li { background: #fff; border: 1px solid var(--border); color: var(--ink); }
.tips--light li span { color: var(--muted); }
.tips--light { grid-template-columns: 1fr; }
.carta-promo { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--ink); color: #e5e8f5; border-radius: var(--radius-lg); padding: 26px 30px; }
.carta-promo h2 { color: #fff; font-family: var(--font-display); margin: 4px 0 6px; font-size: 1.5rem; letter-spacing: -.02em; }
.carta-promo p { margin: 0; color: var(--muted-on-dark); }
.carta-promo .badge-new { background: var(--lime); color: var(--ink); border-radius: 99px; padding: 4px 10px; font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.carta-promo .cp-icons { display: flex; gap: 4px; }
.carta-promo .cp-icons svg { width: 30px; height: 30px; }
@media (max-width: 860px) { .carta-promo { grid-template-columns: 1fr; } }
.cd-item > strong { white-space: nowrap; }

/* Aviso de código de descuento */
.promo-bar { background: var(--lime); color: var(--ink); text-align: center; font-size: .92rem; padding: 9px 16px; }
