:root {
  --bg: #ffffff; --bg-alt: #f5f5f7; --text: #1d1d1f; --muted: #6e6e73; --link: #0066cc;
  --line: #d2d2d7; --button: #0071e3; --button-text: #ffffff; --nav: rgba(255,255,255,.72);
  --shadow: 0 20px 60px rgba(0,0,0,.18);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --bg-alt: #161617; --text: #f5f5f7; --muted: #a1a1a6; --link: #2997ff;
          --line: #424245; --nav: rgba(22,22,23,.72); --shadow: 0 20px 60px rgba(0,0,0,.6); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* Barra de navegación */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.nav-inner { max-width: 1000px; margin: 0 auto; height: 48px; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: -0.01em; }
.nav .brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.nav .brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav .links { display: flex; gap: 22px; }
.nav .links a { color: var(--text); opacity: .8; }
.nav .links a:hover { opacity: 1; text-decoration: none; }

/* Portada */
.hero { text-align: center; padding: 80px 22px 40px; }
.hero .icon { width: 128px; height: 128px; border-radius: 29px; margin: 0 auto 28px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(44px, 8vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.hero .tagline { font-size: clamp(21px, 3.4vw, 28px); line-height: 1.2; font-weight: 400; color: var(--muted); margin: 12px auto 0; max-width: 640px; }
.cta { display: inline-block; margin-top: 30px; padding: 12px 24px; border-radius: 980px;
  background: var(--button); color: var(--button-text); font-size: 17px; }
.cta:hover { text-decoration: none; filter: brightness(1.08); }
.cta-note { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Capturas */
.shots { display: flex; justify-content: center; gap: 28px; padding: 40px 22px 90px; overflow-x: auto; scroll-snap-type: x mandatory; }
.shots img { width: 260px; flex: 0 0 auto; border-radius: 38px; box-shadow: var(--shadow); scroll-snap-align: center; }
.shots img:nth-child(2) { transform: translateY(-24px); }
@media (max-width: 860px) { .shots { justify-content: flex-start; } .shots img { width: 220px; } .shots img:nth-child(2) { transform: none; } }

/* Características */
.section { background: var(--bg-alt); padding: 90px 22px; }
.section h2 { text-align: center; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.003em; margin: 0 0 48px; }
.grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--bg); border-radius: 18px; padding: 30px 28px; }
.card svg { width: 34px; height: 34px; color: var(--link); margin-bottom: 14px; }
.card h3 { font-size: 21px; line-height: 1.2; font-weight: 600; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }

/* Páginas de texto (legal y soporte) */
.doc { max-width: 692px; margin: 0 auto; padding: 64px 22px 80px; }
.doc .eyebrow { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.003em; margin: 0 0 12px; }
.doc .lead { font-size: 21px; line-height: 1.38; color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 24px; line-height: 1.17; font-weight: 600; margin: 44px 0 10px; }
.doc h3 { font-size: 19px; font-weight: 600; margin: 26px 0 6px; }
.doc p, .doc li { font-size: 17px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-top: 1px solid var(--line); }
.doc th { font-weight: 600; }
.lang { font-size: 14px; margin: 0 0 28px; }
.summary { background: var(--bg-alt); border-radius: 18px; padding: 22px 24px; margin: 0 0 8px; }
.summary p { margin: 0; }


/* Portada propia */
.hero2 { max-width: 1040px; margin: 0 auto; padding: 72px 22px 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .hero2 { grid-template-columns: 1fr; text-align: center; gap: 36px; padding-top: 48px; } }
.icon-sm { width: 76px; height: 76px; border-radius: 17px; box-shadow: var(--shadow); margin-bottom: 22px; }
@media (max-width: 860px) { .icon-sm { margin: 0 auto 22px; } }
.hero2 h1 { font-size: clamp(48px, 7vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.hero2 .tagline { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.35; color: var(--muted); margin: 16px 0 0; max-width: 470px; }
@media (max-width: 860px) { .hero2 .tagline { margin: 16px auto 0; } }
.demo-wrap { margin: 0; background: #0b0b0f; border-radius: 34px; padding: 22px 22px 14px; box-shadow: var(--shadow); --tower: rgba(255,255,255,.18); }
.demo-wrap canvas { width: 100%; display: block; touch-action: manipulation; cursor: pointer; }
.demo-wrap figcaption { color: #8e8e93; font-size: 13px; text-align: center; margin-top: 12px; }

.band { background: var(--bg-alt); text-align: center; padding: 96px 22px; }
.band h2, .themes-sec h2, .closing h2, .split h2 { font-size: clamp(32px, 5vw, 52px); line-height: 1.06; font-weight: 700; letter-spacing: -0.012em; margin: 0 0 16px; }
.band p, .themes-sec p, .closing p, .split p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 44px; }
.chain i { font-style: normal; color: var(--muted); font-size: 22px; }
.chip { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.chip.dark { color: #111116; }
.chip.big { width: 76px; height: 76px; border-radius: 18px; font-size: 24px; }
@media (max-width: 520px) { .chain { gap: 5px; } .chain i { font-size: 15px; }
  .chip { width: 34px; height: 34px; border-radius: 9px; font-size: 14px; }
  .chip.big { width: 50px; height: 50px; border-radius: 12px; font-size: 15px; } }

.split { max-width: 920px; margin: 0 auto; padding: 110px 22px; display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center; }
.split p { margin: 0; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; text-align: center; gap: 28px; } .split p { margin: 0 auto; } }
.mystery { width: 200px; height: 200px; margin: 0 auto; border-radius: 46px; background: #F2B705; box-shadow: inset 0 0 0 10px rgba(255,255,255,.35), var(--shadow);
  display: grid; place-items: center; font-size: 120px; font-weight: 700; color: #111116; animation: glint 2.4s ease-in-out infinite; }
@keyframes glint { 50% { filter: brightness(1.18); transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .mystery { animation: none; } }

.record { background: #000; color: #f5f5f7; text-align: center; padding: 110px 22px; }
.record .eyebrow-light { color: #a1a1a6; font-size: 17px; margin: 0 0 8px; }
.record .huge { font-size: clamp(64px, 14vw, 168px); font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(180deg, #FFF3D1, #C29B3B); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.record p:last-child { color: #a1a1a6; font-size: 19px; max-width: 600px; margin: 26px auto 0; }

.themes-sec { text-align: center; padding: 100px 22px 40px; }
.themes { max-width: 1000px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
@media (max-width: 900px) { .themes { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .themes { grid-template-columns: repeat(2, 1fr); } }
.theme { background: var(--bg-alt); border-radius: 18px; padding: 18px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.theme .sw { display: grid; grid-template-columns: repeat(2, 18px); gap: 4px; margin-bottom: 6px; }
.theme .sw span { width: 18px; height: 18px; border-radius: 5px; }
.theme b { font-size: 15px; font-weight: 600; }
.theme small { font-size: 12px; color: var(--muted); }
.theme.locked { background: linear-gradient(160deg, #2a2111, #0a0906); color: #f2d27a; }
.theme.locked small { color: #c29b3b; }

.closing { text-align: center; padding: 40px 22px 110px; }
.closing .cta { margin-top: 28px; }

/* Pie */
.footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.footer-inner { max-width: 1000px; margin: 0 auto; padding: 22px; }
.footer .links { display: flex; flex-wrap: wrap; gap: 6px 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.footer .links a { color: var(--text); opacity: .8; padding-right: 10px; margin-right: 10px; border-right: 1px solid var(--line); }
.footer .links a:last-child { border-right: 0; }
