/* limpiartv.com: the same tokens as the app (src/styles.scss) so the site and the app read as one product */

@font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  --navy: #051937;
  --accent: #00a5fd;
  --accent-hi: #00bffd;
  --on-accent: #051937;
  --accent-soft: rgba(0, 165, 253, 0.12);
  --bg: #0b0c10;
  --surface-1: #13151b;
  --surface-2: #1a1d25;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f0efec;
  --secondary: #b9b8b0;
  --muted: #85847c;
  --good: #5ad08a;
  --warning: #fab219;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(0, 165, 253, 0.13), transparent 62%),
    radial-gradient(900px 520px at -10% 40%, rgba(14, 45, 94, 0.38), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.92em; color: var(--text); background: var(--surface-2); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
code.hash { white-space: normal; word-break: break-all; font-size: 12px; color: var(--secondary); }

.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons, as in the app ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--surface-2); color: var(--text);
  font: 500 16px var(--font); white-space: nowrap;
  transition: transform 0.12s, background 0.12s;
}
.btn:hover { text-decoration: none; background: #232733; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); font-weight: 600; }
.btn.primary:hover { background: var(--accent-hi); }
.btn.small { height: 42px; padding: 0 18px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent); border-radius: 999px; }

/* ---------- top bar ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11, 12, 16, 0.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .word { height: 24px; width: auto; margin-top: 5px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { color: var(--secondary); font-size: 15px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; padding: 72px 0 48px; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(0, 165, 253, 0.4); background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 500; }
h1 { font: 600 clamp(38px, 5.2vw, 60px)/1.08 var(--font); letter-spacing: -0.02em; margin: 20px 0 18px; }
.hl { color: var(--accent); }
.lead { color: var(--secondary); font-size: 18px; max-width: 520px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { margin-top: 16px; color: var(--muted); font-size: 13px; }

/* a TV drawn like the one in the logo: white frame, neck and base */
.hero-shot { position: relative; padding-bottom: 48px; }
.tv { position: relative; border: 10px solid #fff; border-radius: 22px; background: var(--bg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); aspect-ratio: 16 / 9; }
.tv img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.tv::before { content: ''; position: absolute; left: 50%; bottom: -34px; width: 7%; height: 26px; transform: translateX(-50%); background: #fff; }
.tv::after { content: ''; position: absolute; left: 50%; bottom: -46px; width: 46%; height: 13px; transform: translateX(-50%); border-radius: 99px; background: #fff; }
.phone { border: 7px solid #1f2330; border-radius: 30px; background: var(--bg); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.phone img { width: 100%; }
.hero-shot .phone { position: absolute; right: -14px; bottom: -6px; width: 30%; }

/* ---------- brands strip ---------- */
.models { padding: 24px 0 8px; text-align: center; }
.models p { color: var(--secondary); }
.models b { color: var(--text); }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.brands li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--secondary); font-size: 13px; font-weight: 500; }

/* ---------- sections ---------- */
.block { padding: 96px 0 0; }
.block-head { max-width: 640px; margin-bottom: 36px; }
.block-head h2 { font: 600 clamp(28px, 3.4vw, 38px)/1.15 var(--font); letter-spacing: -0.01em; }
.block-head p { color: var(--secondary); margin-top: 10px; font-size: 17px; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature, .get { padding: 24px; border-radius: 20px; background: var(--surface-1); border: 1px solid var(--line); }
.badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.badge .i { width: 22px; height: 22px; }
.feature h3, .get h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.feature p, .get p, .get li { color: var(--secondary); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.gallery figure { margin: 0; }
.gallery .phone { max-width: 300px; margin: 0 auto; }
.gallery figcaption { text-align: center; color: var(--secondary); margin-top: 16px; font-size: 15px; }

/* how to start: the shared first step, then the two ways side by side */
.num { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.num.small { width: 28px; height: 28px; font-size: 14px; }
.prep, .path { padding: 24px; border-radius: 20px; background: var(--surface-1); border: 1px solid var(--line); }
.prep-head { display: flex; gap: 16px; align-items: flex-start; }
.prep-head h3, .path h3 { font-size: 18px; font-weight: 600; }
.prep-head p, .path .sub { color: var(--secondary); font-size: 15px; margin-top: 2px; }
.prep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.prep-cols div { padding: 16px; border-radius: 14px; background: var(--surface-2); }
.prep-cols p { color: var(--secondary); font-size: 14px; margin-top: 8px; }
.tag { display: inline-block; padding: 0 8px; border-radius: 6px; background: var(--bg); color: var(--text); font-size: 12px; font-weight: 500; }
.hint { margin-top: 14px; color: var(--muted); font-size: 13px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.path-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.path h3 { display: flex; align-items: center; gap: 10px; }
.path h3 .i { color: var(--accent); }
.path ol { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--secondary); font-size: 15px; }
.after { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--secondary); font-size: 15px; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 500; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.good { color: var(--good); border-color: rgba(90, 208, 138, 0.4); }
.chip.info { color: var(--accent); border-color: rgba(0, 165, 253, 0.4); }
.chip.warn { color: var(--warning); border-color: rgba(250, 178, 25, 0.4); }

.get ol { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.get .btn { margin-top: 18px; }
.download .grid3 { align-items: start; }
.verify { margin-top: 24px; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.verify dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 12px 0 0; }
.verify dt { color: var(--secondary); font-size: 13px; }
.verify dd { margin: 0; }
@media (max-width: 640px) { .verify dl { grid-template-columns: 1fr; } .verify dt { margin-top: 4px; } }

.faq details { border-bottom: 1px solid var(--line); max-width: 820px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { color: var(--secondary); padding: 0 0 22px; max-width: 720px; }

.cta-band { margin-top: 96px; padding: 56px 24px; border-radius: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px;
  background: linear-gradient(135deg, rgba(0, 165, 253, 0.14), rgba(14, 45, 94, 0.45)); border: 1px solid rgba(0, 165, 253, 0.3); }
.cta-band h2 { font: 600 clamp(26px, 3.2vw, 36px)/1.2 var(--font); }

.foot { padding: 48px 0 56px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--secondary); font-weight: 500; }
.foot .small { font-size: 12px; max-width: 640px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-shot { max-width: 640px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .paths, .prep-cols { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav-in .btn { margin-left: auto; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-in { height: 64px; }
  .brand .word { height: 20px; }
  .lead { font-size: 16px; }
  .ctas .btn { flex: 1 1 100%; }
  .grid3, .gallery { grid-template-columns: 1fr; }
  .after { align-items: flex-start; }
  .gallery .phone { max-width: 260px; }
  .block { padding-top: 72px; }
  .hero-shot .phone { width: 34%; right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
