:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #15202b;
  --muted: #566476;
  --line: #e1e7ee;
  --brand: #1565c0;
  --brand-2: #1e88e5;
  --accent: #ffd54f;
  --hero-1: #102a43;
  --hero-2: #1565c0;
  --radius: 16px;
  --max: 1100px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d141c;
    --surface: #151f2b;
    --text: #e8eef5;
    --muted: #9aabbd;
    --line: #243244;
    --brand: #64b5f6;
    --brand-2: #90caf9;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }
@media (max-width: 720px) { .top nav a.opt { display: none; } }

/* Portada */
.hero { color: #fff; background: radial-gradient(circle at 80% 30%, #1e88e5 0%, var(--hero-2) 30%, var(--hero-1) 75%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.5px; }
.hero p.lead { font-size: 20px; color: #dbeafe; margin: 0 0 28px; }
.hero .badges { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn.primary { background: #fff; color: #0d47a1; }
.btn.ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn.soon { background: rgba(255,255,255,.14); color: #fff; border: 1px dashed rgba(255,255,255,.5); cursor: default; }
.btn svg { width: 22px; height: 22px; }
.device { background: #0b1118; border-radius: 26px; padding: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 2px #2c3a4a; }
.device img { border-radius: 12px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; } }

/* Secciones */
section { padding: 64px 0; }
section h2 { font-size: 32px; margin: 0 0 8px; letter-spacing: -.3px; }
section .sub { color: var(--muted); margin: 0 0 32px; max-width: 720px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-2) 16%, transparent); color: var(--brand); }
.ico svg { width: 24px; height: 24px; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.shots { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 16px; align-items: start; }
.shots figure { margin: 0; }
.shots img { border-radius: 12px; border: 1px solid var(--line); }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .shots { grid-template-columns: 1fr; } }

.privacy { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.privacy .shield { width: 84px; height: 84px; color: #43a047; }
@media (max-width: 600px) { .privacy { grid-template-columns: 1fr; } }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; }
details p, details ol, details ul { color: var(--muted); margin: 10px 0 0; }
code { background: color-mix(in srgb, var(--muted) 16%, transparent); padding: 2px 6px; border-radius: 6px; font-size: .9em; word-break: break-all; }
pre { background: #0d141c; color: #e8eef5; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: 14px; }
pre code { background: none; padding: 0; word-break: normal; }

/* Páginas de texto (privacidad, aviso legal, ayuda) */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 16px 72px; }
.doc h1 { font-size: 36px; line-height: 1.15; margin: 0 0 6px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.doc .note { background: color-mix(in srgb, var(--accent) 22%, transparent); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 8px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc td, .doc th { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

/* Pie */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
footer a { color: var(--muted); }
