:root {
  --bg: #070d1f;
  --bg-2: #0d1630;
  --bg-3: #15203f;
  --line: #22305a;
  --stick: #ece6da;
  --stick-dim: #c2bcb0;
  --outl: #141416;
  --text: #ece6da;
  --muted: #9aa3bd;
  --accent: #e2372a;
  --accent-deep: #8e2219;
  --accent-ink: #fff6ef;
  --glow: #ffe08a;
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* snow */
.snow { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 120px 80px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 200px 160px, #dfe7ff 50%, transparent 51%),
    radial-gradient(1px 1px at 60px 220px, #fff 50%, transparent 51%);
  background-size: 260px 260px;
  animation: snow 18s linear infinite; }
@keyframes snow { to { background-position: 60px 260px, 30px 260px, -40px 260px, 20px 260px; } }
main, header, footer { position: relative; z-index: 1; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-weight: 900; letter-spacing: -.02em; font-size: 18px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo b { color: var(--accent); font-weight: 900; }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.pill { font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); text-decoration: none; white-space: nowrap; }

/* type */
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.eyebrow .rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; animation: rec 1.4s steps(2) infinite; }
@keyframes rec { 50% { opacity: .2; } }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(40px, 9vw, 72px); font-weight: 500; }
h1 strong { font-weight: 900; display: block; }
h1 .price { color: var(--accent); font-weight: 900; white-space: nowrap; }
h2 { font-size: clamp(32px, 6vw, 54px); font-weight: 900; }
h2 span { font-weight: 400; color: var(--muted); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 34em; margin: 20px 0 28px; }
.lead b { color: var(--text); font-weight: 700; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 800; font-size: 19px; letter-spacing: -.01em;
  padding: 18px 28px; border-radius: 14px; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(226, 55, 42, .6), inset 0 -3px 0 rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(226, 55, 42, .7), inset 0 -3px 0 rgba(0,0,0,.25); }
.btn:active { transform: translateY(1px); }
.btn small { font-weight: 500; opacity: .85; font-size: 15px; }
.btn.pending { background: var(--bg-3); color: var(--muted); box-shadow: none; border: 1px dashed var(--line); cursor: not-allowed; }
.btn.pending:hover { transform: none; }
.micro { font-size: 14px; color: var(--muted); margin-top: 12px; font-weight: 500; }
.micro b { font-weight: 700; color: var(--text); }

/* hero */
.hero { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 72px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr .85fr; padding-top: 48px; padding-bottom: 96px; } }
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.phone { position: relative; width: min(260px, 62vw); aspect-ratio: 9/16; border-radius: 34px; padding: 9px;
  background: #0b0f1c; border: 2px solid #2a3560; box-shadow: 0 40px 80px -30px #000, 0 0 0 6px #0d1428; transform: rotate(3deg); }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; background: #000; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); background: #0b0f1c; border-radius: 10px; z-index: 2; }
.stage .guy { position: absolute; left: -6px; bottom: -10px; width: 150px; }
@media (min-width: 900px) { .stage .guy { left: -40px; width: 170px; } }
.bubble { position: absolute; right: 0; top: 4px; background: var(--stick); color: var(--outl); font-weight: 800; font-size: 14px; padding: 10px 14px; border-radius: 14px 14px 4px 14px; transform: rotate(-4deg); z-index: 3; }

/* stickman svg */
.sm .o { stroke: var(--outl); stroke-width: 15; fill: var(--outl); }
.sm .f { stroke: var(--stick); stroke-width: 10; fill: var(--stick); }
.sm .eyes { fill: var(--outl); transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.sm .body { animation: bob 2.6s ease-in-out infinite; transform-origin: 100px 270px; }
@keyframes bob { 50% { transform: translateY(3px) scaleY(.99); } }
.sm .arm-point { transform-origin: 100px 106px; animation: point 1.8s ease-in-out infinite; }
@keyframes point { 50% { transform: rotate(-6deg); } }
.sm .shake { animation: shake .18s linear infinite; }
@keyframes shake { 25% { transform: translate(1px, 0); } 75% { transform: translate(-1px, 0); } }
.sm .screen { fill: #9fd2ff; filter: drop-shadow(0 0 6px #9fd2ff); }
.sm .beanie { fill: var(--accent-deep); }
.sm .beanie-band { fill: var(--accent); }

/* sections */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.sec-head p { margin: 0; color: var(--muted); max-width: 28em; }

/* wall */
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1040px) { .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9/16; background: var(--bg-2); border: 1px solid var(--line); }
.card video { width: 100%; height: 100%; object-fit: cover; }
.card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 10px 10px; background: linear-gradient(transparent, rgba(4, 7, 18, .92)); }
.card .t { font-weight: 700; font-size: 13px; letter-spacing: -.01em; }
.views { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; padding: 5px 9px; border-radius: 999px; background: rgba(4, 7, 18, .75); backdrop-filter: blur(6px); }
.views svg { width: 13px; height: 13px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* lessons */
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .lessons { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.lessons li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lessons .n { font-weight: 900; font-size: 34px; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; }
.lessons h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.lessons p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }

/* kit */
.kit { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .kit { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.file { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.file code { font-family: "Inter", sans-serif; font-weight: 700; font-size: 14px; color: var(--glow); background: rgba(255, 224, 138, .08); padding: 4px 8px; border-radius: 6px; }
.file h3 { font-size: 20px; font-weight: 800; margin: 14px 0 6px; letter-spacing: -.02em; line-height: 1.2; }
.file p { margin: 0; color: var(--muted); font-size: 15px; }

.honest { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.honest b { color: var(--text); font-weight: 700; }

/* faq */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 19px; letter-spacing: -.015em; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-weight: 400; font-size: 28px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }
.faq details p b { color: var(--text); font-weight: 700; }

/* final */
.final { text-align: center; padding-bottom: 80px; }
.final .scared { width: 140px; margin: 0 auto 18px; }
.final h2 { max-width: 14em; margin: 0 auto; }
.final .lead { margin-left: auto; margin-right: auto; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* thanks page */
.thanks { min-height: 80vh; display: grid; place-items: center; padding-top: 40px; padding-bottom: 80px; }
.thanks .box { max-width: 640px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 16px 0 16px 56px; border-bottom: 1px solid var(--line); color: var(--muted); }
.steps li b { color: var(--text); font-weight: 700; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-weight: 900; font-size: 26px; color: var(--accent); letter-spacing: -.04em; }
.steps code { font-family: "Inter", sans-serif; font-weight: 700; color: var(--glow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* vista previa de la leccion 00 */
.preview{max-width:960px;border-radius:18px;overflow:hidden;border:1px solid rgba(236,230,218,.12);box-shadow:0 24px 60px rgba(0,0,0,.45);background:#000}
.preview video{display:block;width:100%;aspect-ratio:16/9;height:auto}
