/* Portada pública de Overlook: ligera, sin dependencias. */
:root {
  --bg: #0a0a0a; --surface: #111; --surface-2: #171717; --border: #232323; --border-strong: #2e2e2e;
  --text: #ededed; --text-2: #b4b4b4; --muted: #8f8f8f; --accent: #6ea8fe; --up: #3fb950;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Geist Mono', ui-monospace, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fafafa; --surface: #fff; --surface-2: #f5f5f5; --border: #eaeaea; --border-strong: #d4d4d4; --text: #171717; --text-2: #404040; --muted: #666; --accent: #2563eb; --up: #1a7f37; color-scheme: light; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100vw - 1140px) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; font-size: 16px; }
.brand svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-links { display: flex; gap: 22px; font-size: 14px; color: var(--text-2); }
.top-links a { text-decoration: none; }
.top-links a:hover { color: var(--text); }
.top-cta { margin-left: auto; display: flex; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border-strong); font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; background: transparent; color: var(--text); transition: background .18s, border-color .18s, transform .18s; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { opacity: .9; }
.btn.ghost { border-color: transparent; }
.btn.lg { min-height: 46px; padding: 10px 22px; font-size: 15px; }

main { padding: 0 20px; }
section { max-width: 1140px; margin: 0 auto; }
.hero { text-align: center; padding: 72px 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; margin: 0 0 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; letter-spacing: -.04em; margin: 0 auto; max-width: 16ch; font-weight: 600; text-wrap: balance; }
.hl { color: var(--accent); }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); max-width: 60ch; margin: 22px auto 0; text-wrap: pretty; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.shot { margin: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.hero-shot { margin-top: 48px; aspect-ratio: 16 / 10; }
.hero-shot img { width: 100%; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 24px; }
.strip div { background: var(--surface); padding: 18px; display: grid; gap: 2px; text-align: center; }
.strip b { font-family: var(--mono); font-size: 22px; font-weight: 500; }
.strip span { font-size: 13px; color: var(--muted); }

.features { padding: 80px 0 20px; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 28px; font-weight: 600; text-align: center; }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 36px 0; }
.feature.rev .ftext { order: 2; }
.feature h3 { font-size: 26px; letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 12px; font-weight: 600; }
.feature p { color: var(--text-2); margin: 0; }
.feature .shot { aspect-ratio: 16 / 10; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 3px 10px; border-radius: 999px; }

.daily { margin-top: 60px; display: flex; gap: 28px; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--surface); padding: 28px 32px; }
.daily h2 { text-align: left; font-size: 26px; margin: 10px 0 6px; }
.daily p { margin: 0; color: var(--text-2); }

.pricing { padding: 80px 0 20px; text-align: center; }
.pricing .sub { color: var(--text-2); margin: -14px 0 28px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto; text-align: left; }
.plan { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 26px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.plan h3 { margin: 0; font-size: 17px; }
.amount { font-family: var(--mono); font-size: 34px; margin: 8px 0 0; letter-spacing: -.03em; }
.amount span { font-size: 15px; color: var(--muted); }
.alt { margin: 0; color: var(--muted); font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; color: var(--text-2); font-size: 15px; flex: 1; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--up); border-bottom: 2px solid var(--up); transform: rotate(-45deg); }

.faq { padding: 80px 0 40px; max-width: 760px; }
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
summary { cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-2); margin: 10px 0 0; }

.foot { border-top: 1px solid var(--border); margin-top: 40px; padding: 28px max(20px, calc((100vw - 1140px) / 2)); display: grid; gap: 10px; font-size: 13px; color: var(--muted); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot p { margin: 0; }
.brand.small { font-size: 14px; color: var(--text); }

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: up .6s cubic-bezier(.16, 1, .3, 1) both; }
  .hero > *:nth-child(2) { animation-delay: .05s; } .hero > *:nth-child(3) { animation-delay: .1s; }
  .hero > *:nth-child(4) { animation-delay: .15s; } .hero > *:nth-child(6) { animation-delay: .25s; }
  @keyframes up { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 900px) {
  .top-links { display: none; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .feature.rev .ftext { order: 0; }
  .daily { flex-direction: column; align-items: flex-start; padding: 22px; }
  .plans { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .top { gap: 12px; padding: 12px 16px; }
  .top-cta .btn.ghost { display: none; }
  main { padding: 0 16px; }
  .hero { padding-top: 44px; }
  .cta-row .btn { width: 100%; }
  .feature h3 { font-size: 22px; }
}

/* Capturas ampliables */
img[data-full] { cursor: zoom-in; }
img[data-full]:focus-visible { outline: 2px solid var(--accent, #3b82f6); outline-offset: 3px; }
.lb-lock, .lb-lock body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 8, 14, .92); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .18s ease; overflow: auto; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox img { max-width: min(100%, 1800px); max-height: calc(100vh - 48px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); transform: scale(.97); transition: transform .18s ease; cursor: zoom-in; }
.lightbox.open img { transform: none; }
.lightbox img.zoom { max-width: none; max-height: none; width: 2880px; cursor: zoom-out; margin: auto; }
.lightbox:has(img.zoom) { align-items: flex-start; justify-content: flex-start; }
.lb-close { position: fixed; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }
.lb-close:hover { background: rgba(255,255,255,.16); }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox img { transition: none; } }
