/* Scanner for you · página web. Colores = tokens de la app (lib/core/design_system/tokens.dart). */
:root {
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --surface-alt: #EFEDE8;
  --border: #E0DDD6;
  --text: #17181B;
  --text-2: #5E6068;
  --accent: #2457F5;
  --accent-on: #FFFFFF;
  --highlight: #F5A623;
  --grad: linear-gradient(135deg, #6A5BFF, #2457F5);
  --radius: 20px;
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --surface: #1C1D21;
    --surface-alt: #26272C;
    --border: #33353B;
    --text: #F2F2F3;
    --text-2: #A3A5AD;
    --accent: #5B82FF;
    --accent-on: #0B1020;
    --highlight: #FFB443;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--highlight); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 18px; align-items: center; font-size: 15px; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--text); }
.lang { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 640px) { .nav .opt { display: none; } }

/* Portada */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--text-2); margin: 0 0 28px; max-width: 34ch; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; line-height: 1.2; }
.store small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store[aria-disabled="true"] { cursor: default; }
.soon { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.phone { justify-self: center; width: min(300px, 80vw); border-radius: 44px; padding: 10px; background: #0b0b0d; box-shadow: 0 30px 80px -20px rgba(36, 87, 245, .45); }
.phone img { border-radius: 34px; }
@media (max-width: 820px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
}

/* Secciones */
section { padding: 56px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.sub { color: var(--text-2); margin: 0 0 36px; max-width: 60ch; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }

.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; }
.shots figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.shots img { border-radius: 26px; border: 1px solid var(--border); }
.shots figcaption { text-align: center; font-size: 14px; color: var(--text-2); margin-top: 10px; }

.privacy { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 28px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-on); font-size: 13px; font-weight: 700; line-height: 22px; text-align: center; }

.cta { text-align: center; }
.cta .stores { justify-content: center; }

/* Pie */
footer { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 14px; color: var(--text-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--text-2); }

/* Páginas legales y de soporte */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; line-height: 1.15; }
.doc .date { color: var(--text-2); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--text-2); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.doc details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
.doc summary { font-weight: 600; cursor: pointer; }
.mail { display: inline-block; margin: 8px 0 4px; padding: 12px 20px; border-radius: 12px; background: var(--accent); color: var(--accent-on); font-weight: 600; text-decoration: none; }
