/* Lite Note by RU42 — landing de producto.
 * Tokens tomados de ru42-design-system (tokens/theme.json · assets/themes/_theme.css).
 * Acentos del producto tomados del ícono de la app (Scripts/CreateIcon.swift). */

:root {
  /* RU42 · brand cool */
  --ru-blue: #1A47C2;
  --ru-blue-deep: #0E2A8A;
  --ru-violet: #6B5BE6;
  --ru-lavender: #C4A3FF;
  --ru-lavender-soft: #E5D8FF;
  --ru-star: #FFD86B;
  /* RU42 · brand warm */
  --ru-flame: #FF7A2A;
  --ru-flame-deep: #E8451F;
  --ru-amber: #FFC845;
  --ru-flame-soft: #FFF4E0;
  /* RU42 · neutrals */
  --ru-ink: #0B1024;
  --ru-graphite: #3A415C;
  --ru-mist: #9098B5;
  --ru-line: #E4E6F1;
  --ru-canvas: #F6F6FB;
  --ru-paper: #FFFFFF;
  --ru-success: #10A37F;
  /* RU42 · texto sobre gradientes y glass */
  --ru-on-brand-primary: #FFFFFF;
  --ru-on-brand-secondary: #F4F7FF;
  --ru-on-brand-muted: #DDE6FF;
  --ru-on-brand-subtle: #C8D6FF;
  --ru-on-brand-accent: #FFE69A;
  --ru-surface-brand-glass: linear-gradient(135deg, rgba(11,16,36,.82), rgba(14,42,138,.74));
  /* RU42 · gradientes */
  --ru-gradient-brand-diag: linear-gradient(135deg, #1A47C2 0%, #6B5BE6 55%, #C4A3FF 100%);
  --ru-gradient-text: linear-gradient(90deg, #1A47C2 0%, #6B5BE6 60%, #C4A3FF 100%);
  --ru-gradient-warm: linear-gradient(135deg, #E8451F 0%, #FF7A2A 45%, #FFC845 100%);
  --ru-gradient-warm-text: linear-gradient(90deg, #FFC845 0%, #FF7A2A 100%);
  --ru-gradient-hero:
    radial-gradient(60% 80% at 12% 100%, rgba(255,122,42,.22) 0%, transparent 60%),
    radial-gradient(120% 80% at 100% 0%, #C4A3FF 0%, transparent 55%),
    linear-gradient(135deg, #0E2A8A 0%, #1A47C2 55%, #6B5BE6 100%);
  /* Lite Note · ícono de la app */
  --ln-indigo: #3B3D78;
  --ln-night: #141A30;
  --ln-glyph: #C9D4FF;
  --ln-mint: #7DE8BF;
  /* Tipografía */
  --ru-font-display: "General Sans", system-ui, sans-serif;
  --ru-font-body: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --ru-font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  /* Radios, sombras, movimiento */
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 28px; --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(11,16,36,.06), 0 1px 1px rgba(11,16,36,.04);
  --shadow-md: 0 8px 24px rgba(26,71,194,.08), 0 2px 6px rgba(11,16,36,.05);
  --shadow-lg: 0 24px 56px rgba(26,71,194,.14), 0 6px 14px rgba(11,16,36,.06);
  --shadow-warm: 0 12px 36px rgba(255,122,42,.40), inset 0 1px 0 rgba(255,255,255,.30);
  --shadow-hero: 0 32px 80px rgba(11,16,36,.35), inset 0 1px 0 rgba(255,255,255,.6);
  --shadow-inset-hi: inset 0 1px 0 rgba(255,255,255,.6);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-reveal: 600ms;
  --focus-ring: 0 0 0 3px rgba(107,91,230,.35);
  --container-max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ru-paper);
  color: var(--ru-ink);
  font-family: var(--ru-font-body);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
figure img { width: 100%; }
a { color: var(--ru-blue); text-decoration: none; }
a:hover { color: var(--ru-blue-deep); text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--ru-lavender-soft); color: var(--ru-ink); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.h1, .h2, .h3, .h4 { font-family: var(--ru-font-display); color: inherit; margin: 0; }
.h1 { font-weight: 600; font-size: 56px; line-height: 1.06; letter-spacing: -0.025em; }
.h2 { font-weight: 500; font-size: 42px; line-height: 1.10; letter-spacing: -0.02em; }
.h3 { font-weight: 600; font-size: 26px; line-height: 1.22; letter-spacing: -0.01em; }
.h4 { font-weight: 600; font-size: 20px; line-height: 1.30; letter-spacing: -0.005em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 13px; line-height: 18px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ru-flame-deep);
  margin: 0 0 14px;
}
.on-dark .eyebrow { color: var(--ru-on-brand-accent); }
.body-l { font-size: 19px; line-height: 30px; color: var(--ru-graphite); margin: 0; }
.body { font-size: 16px; line-height: 26px; color: var(--ru-graphite); margin: 0; }
.caption { font-weight: 500; font-size: 13px; line-height: 18px; color: var(--ru-graphite); margin: 0; }
.mono { font-family: var(--ru-font-mono); font-size: 13px; }
.text-warm { background: var(--ru-gradient-warm-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.star { display: inline-block; background: var(--ru-gradient-warm-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .star { background: none; color: var(--ru-on-brand-accent); }

@media (max-width: 760px) {
  .h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .h3 { font-size: 22px; }
  .body-l { font-size: 17px; line-height: 28px; }
}

/* ---------- Layout ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 960px) { .container { padding: 0 56px; } }
.section { padding: 120px 0; }
.section--canvas { background: var(--ru-canvas); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .h2 { margin-bottom: 16px; }
@media (max-width: 760px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } }

/* Ruido sutil sobre gradientes para evitar bandas */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Botones ---------- */
.btn {
  font-family: var(--ru-font-body); font-weight: 500; font-size: 15px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap; user-select: none;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.985); }
.btn:focus-visible { box-shadow: var(--focus-ring); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gradient { background: var(--ru-gradient-warm); color: #fff; box-shadow: var(--shadow-warm); }
.btn-gradient:hover { color: #fff; box-shadow: 0 18px 48px rgba(232,69,31,.5), inset 0 1px 0 rgba(255,255,255,.30); }
.btn-ghost { background: transparent; color: var(--ru-ink); border-color: var(--ru-line); }
.btn-ghost:hover { background: rgba(26,71,194,.06); border-color: #cdd2e4; color: var(--ru-ink); }
.on-dark .btn-ghost { color: var(--ru-on-brand-primary); border-color: rgba(255,255,255,.38); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.6); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header pill ---------- */
.nav-wrap { position: sticky; top: 12px; z-index: 50; padding: 0 12px; margin-top: 12px; height: 0; }
.nav {
  max-width: 1180px; margin: 0 auto; height: 64px; padding: 0 12px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(228,230,241,.9); border-radius: 18px; box-shadow: var(--shadow-md);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ru-ink); }
.brand:hover { text-decoration: none; color: var(--ru-ink); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-family: var(--ru-font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.brand-by { font-size: 13px; color: var(--ru-graphite); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ru-graphite); font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--ru-ink); text-decoration: none; }
@media (max-width: 880px) { .nav-links a:not(.btn) { display: none; } .brand-by { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--ru-gradient-hero); color: var(--ru-on-brand-primary); padding: 168px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; } }
.hero-copy { padding-bottom: 24px; }
.hero .h1 { color: var(--ru-on-brand-primary); margin-bottom: 22px; max-width: 13.5em; }
.hero .body-l { color: var(--ru-on-brand-secondary); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ru-on-brand-muted); font-size: 14px; line-height: 20px; margin: 0; padding: 0; list-style: none; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: "✦"; color: var(--ru-on-brand-accent); font-size: 11px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ru-amber); box-shadow: 0 0 0 0 rgba(255,200,69,.6); animation: pulse 1.8s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,200,69,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,200,69,0); } 100% { box-shadow: 0 0 0 0 rgba(255,200,69,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.hero-visual { position: relative; padding-bottom: 72px; }
.hero-window { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-hero); border: 1px solid rgba(255,255,255,.35); background: #fff; }
@media (min-width: 1040px) { .hero-window { width: 124%; } }
.hero-ql {
  position: absolute; left: -36px; bottom: 24px; width: min(58%, 400px); margin: 0;
  border-radius: 14px; overflow: hidden; background: #1E1E1E;
  box-shadow: 0 30px 70px rgba(11,16,36,.55); border: 1px solid rgba(255,255,255,.18);
}
@media (max-width: 1039px) { .hero-ql { left: 12px; bottom: 16px; width: 58%; } }
.ql-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; font-size: 12px; line-height: 16px; font-weight: 500;
  background: #2B2B2E; color: #E6E6EA; border-bottom: 1px solid rgba(255,255,255,.08);
}
.ql-bar--light { background: #ECECEF; color: #2A2A2E; border-bottom-color: rgba(0,0,0,.08); }
.ql-bar .ql-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ql-bar .ql-open { flex: none; padding: 3px 10px; border-radius: 6px; background: rgba(255,255,255,.12); font-size: 11px; }
.ql-bar--light .ql-open { background: rgba(0,0,0,.07); }
.ql-dots { display: inline-flex; gap: 6px; }
.ql-dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.ql-dots i:nth-child(2) { background: #28C840; }
.key-float { position: absolute; right: 6%; bottom: 0; display: flex; align-items: center; gap: 12px; color: var(--ru-on-brand-secondary); font-size: 14px; font-weight: 500; }
@media (max-width: 1039px) { .key-float { right: 12px; } }
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero { padding-top: 128px; }
  .hero-visual { padding-bottom: 76px; }
  .hero-ql { left: 8px; bottom: 64px; width: 68%; }
  .hero-ql .ql-open { display: none; }
  .key-float { right: auto; left: 8px; bottom: 8px; font-size: 13px; }
  .key--space { min-width: 112px; height: 38px; font-size: 14px; }
  .gesture { grid-template-columns: 1fr; gap: 8px; }
  .qv-card, .dl-card { padding: 24px; }
  .faq summary { font-size: 18px; padding: 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
}

/* Tecla */
.key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 30px; padding: 0 12px;
  font-family: var(--ru-font-body); font-weight: 500; font-size: 13px; line-height: 1; color: var(--ru-ink);
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F2F8 100%);
  border: 1px solid #D3D7E6; border-bottom-width: 3px; border-radius: 8px;
  box-shadow: 0 1px 0 rgba(11,16,36,.06);
  white-space: nowrap;
}
.key--space { min-width: 150px; height: 44px; font-size: 15px; border-radius: 10px; }
.key--dark { color: var(--ru-ink); }

/* ---------- Propuesta de valor ---------- */
.pillars { display: grid; gap: 24px; }
@media (min-width: 900px) { .pillars { grid-template-columns: 1.25fr 1fr 1fr; } }
.pillar {
  position: relative; background: var(--ru-paper); border: 1px solid var(--ru-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 32px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pillar--lead { background: var(--ru-surface-brand-glass), var(--ru-gradient-brand-diag); color: var(--ru-on-brand-primary); border-color: transparent; box-shadow: var(--shadow-md); }
.pillar--lead .body { color: var(--ru-on-brand-secondary); }
.pillar-num { font-family: var(--ru-font-display); font-weight: 600; font-size: 40px; line-height: 1; margin-bottom: 20px; background: var(--ru-gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar--lead .pillar-num { background: none; color: var(--ru-on-brand-accent); }
.pillar .h3 { margin-bottom: 12px; }
.pillar-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.pillar-keys span:not(.key) { color: var(--ru-on-brand-muted); font-size: 13px; margin-right: 8px; }

/* ---------- Vista rápida ---------- */
.qv-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .qv-grid { grid-template-columns: 1fr 1fr; } }
.qv-card {
  background: var(--ru-paper); border-radius: var(--radius-xl); box-shadow: var(--shadow-md), var(--shadow-inset-hi);
  padding: 36px; display: flex; flex-direction: column; gap: 24px;
}
.qv-os { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-radius: var(--radius-full); background: #E1E8FB; color: var(--ru-blue); font-weight: 500; font-size: 13px; width: fit-content; }
.qv-os svg { width: 15px; height: 15px; }
.qv-card .h3 { margin: -6px 0 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ru-graphite); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ru-flame-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8451F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checks strong { color: var(--ru-ink); font-weight: 500; }
.qv-shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--ru-line); box-shadow: var(--shadow-md); background: #fff; }
.gestures { display: grid; gap: 12px; }
.gesture { display: grid; grid-template-columns: 136px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: var(--radius-md); background: var(--ru-canvas); border: 1px solid var(--ru-line); }
.gesture .key { justify-self: start; }
.gesture p { margin: 0; color: var(--ru-graphite); font-size: 15px; line-height: 22px; }
.gesture strong { color: var(--ru-ink); font-weight: 500; }
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .formats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.format { padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--ru-line); background: var(--ru-paper); }
.format b { display: block; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--ru-ink); }
.format span { display: block; font-family: var(--ru-font-mono); font-size: 11px; line-height: 16px; color: var(--ru-graphite); margin-top: 2px; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: var(--ru-flame-soft); color: var(--ru-ink); font-size: 14px; line-height: 22px; }
.note svg { width: 18px; height: 18px; flex: none; color: var(--ru-flame-deep); margin-top: 2px; }

/* ---------- Funciones ---------- */
.features { display: grid; gap: 20px; }
@media (min-width: 680px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--ru-paper); border: 1px solid var(--ru-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ru-gradient-warm); box-shadow: var(--shadow-warm); color: #fff; margin-bottom: 20px; }
.icon-tile svg { width: 22px; height: 22px; }
.feature .h4 { margin-bottom: 10px; }
.feature .body { font-size: 15px; line-height: 24px; }

/* ---------- Capturas ---------- */
.gallery { background: linear-gradient(135deg, var(--ln-night) 0%, #1B2147 55%, var(--ln-indigo) 100%); color: var(--ru-on-brand-primary); }
.gallery .h2 { color: var(--ru-on-brand-primary); }
.gallery .body-l { color: var(--ru-on-brand-secondary); }
.gallery-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 28px; align-items: center; }
.tabs, .theme-toggle { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.tab, .theme-btn {
  font-family: var(--ru-font-body); font-weight: 500; font-size: 14px; line-height: 1; color: var(--ru-on-brand-muted);
  padding: 11px 16px; border-radius: 10px; border: 0; background: transparent; cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.tab:hover, .theme-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.tab[aria-selected="true"], .theme-btn[aria-pressed="true"] { background: #fff; color: var(--ru-ink); }
.stage { margin: 0 auto; max-width: 1080px; }
.stage-frame { border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.16); background: #1E1E1E; }
.stage-frame img { width: 100%; height: auto; transition: opacity var(--dur-base) var(--ease-out); }
.stage-frame.is-loading img { opacity: .4; }
.stage figcaption { margin-top: 20px; color: var(--ru-on-brand-muted); font-size: 15px; line-height: 24px; max-width: 72ch; }
.stage figcaption strong { color: #fff; font-weight: 500; }

/* ---------- Cifras ---------- */
.stats { display: grid; gap: 1px; background: var(--ru-line); border: 1px solid var(--ru-line); border-radius: var(--radius-xl); overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--ru-paper); padding: 32px 28px; }
.stat-value { font-family: var(--ru-font-display); font-weight: 600; font-size: 48px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; background: var(--ru-gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 0; color: var(--ru-graphite); font-size: 15px; line-height: 22px; }

/* ---------- Descargas ---------- */
.download { background: var(--ru-gradient-hero); color: var(--ru-on-brand-primary); }
.download .h2 { color: var(--ru-on-brand-primary); }
.download .section-head .body-l { color: var(--ru-on-brand-secondary); }
.dl-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
.dl-card { background: var(--ru-surface-brand-glass); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-xl); padding: 36px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 32px 80px rgba(11,16,36,.30); }
.dl-head { display: flex; align-items: center; gap: 16px; }
.dl-os-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; flex: none; }
.dl-os-icon svg { width: 26px; height: 26px; }
.dl-head .h3 { color: #fff; }
.dl-head p { margin: 2px 0 0; color: var(--ru-on-brand-muted); font-size: 14px; line-height: 20px; }
.dl-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dl-facts li { padding: 6px 12px; border-radius: var(--radius-full); background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: var(--ru-on-brand-secondary); font-size: 13px; line-height: 18px; font-weight: 500; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; color: var(--ru-on-brand-secondary); font-size: 15px; line-height: 24px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ru-gradient-warm); color: #fff; font-weight: 700; font-size: 13px; }
.steps strong { color: #fff; font-weight: 500; }
.steps code, .dl-card code { font-family: var(--ru-font-mono); font-size: 13px; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; }
.dl-small { margin: 0; color: var(--ru-on-brand-muted); font-size: 13px; line-height: 20px; }
.dl-small a { color: var(--ru-on-brand-accent); text-decoration: underline; text-underline-offset: 3px; }
.dl-small a:hover { color: #fff; }
.dl-card.is-recommended { border-color: rgba(255,230,154,.55); }
.recommended { display: none; margin-left: auto; padding: 4px 10px; border-radius: var(--radius-full); background: rgba(255,230,154,.16); color: var(--ru-on-brand-accent); font-size: 12px; font-weight: 500; white-space: nowrap; }
.dl-card.is-recommended .recommended { display: inline-block; }
@media (max-width: 600px) {
  .dl-card { padding: 24px; }
  .dl-head { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
  .dl-head .recommended { grid-column: 2; justify-self: start; margin-left: 0; }
}

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--ru-paper); border: 1px solid var(--ru-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--ru-font-display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 22px; height: 22px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A47C2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--ru-graphite); }

/* ---------- Footer ---------- */
.footer { background: var(--ru-ink); color: var(--ru-lavender); padding: 64px 0 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid rgba(196,163,255,.18); }
.footer .brand { color: #fff; }
.footer .brand:hover { color: #fff; }
.footer .brand-by { color: var(--ru-on-brand-subtle); display: inline; }
.footer-copy { margin: 14px 0 0; max-width: 40ch; color: var(--ru-on-brand-subtle); font-size: 15px; line-height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { color: var(--ru-lavender); font-weight: 500; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; }
.footer-bottom .wordmark { width: 112px; height: auto; }
.footer-bottom p { margin: 0; color: var(--ru-on-brand-subtle); font-size: 13px; line-height: 18px; }

/* ---------- Revelado ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
