/* ============================================================
   CREADORES · alineado a leandroriviello.com
   Negro puro · Inter Tight · verde de status como único acento.
   Etiquetas técnicas en mayúscula tracked (LOCAL/ · DISPONIBLE).
   ============================================================ */
:root {
  --ink: #000;
  --ink-2: #0c0c0c;
  --ink-3: #161616;
  --line: #242424;
  --text: #ffffff;
  --dim: #b0b0b0;
  --muted: #767676;
  --green: #35d15a;
  --green-soft: #35d15a1f;
  --amber: #ffbd3e;
  --amber-soft: #ffbd3e14;
  --r: 14px;
  --maxw: 1500px;
  --page-pad: clamp(24px, 4vw, 72px);
  /* Escala tipográfica: display > página > sección > subsección > tarjeta */
  --type-display: clamp(3rem, 5vw, 5.35rem);
  --type-page-title: clamp(2.6rem, 4.2vw, 4.8rem);
  --type-section-title: clamp(1.9rem, 3vw, 2.7rem);
  --type-subsection-title: clamp(1.35rem, 2vw, 1.8rem);
  --type-card-title: 1.125rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Inter Tight', sans-serif; letter-spacing: -0.02em; line-height: 1.03; margin: 0; font-weight: 800; }
h1 { font-size: var(--type-page-title); }
h2 { font-size: var(--type-section-title); }
h3 { font-size: var(--type-card-title); }
a { color: inherit; text-decoration: none; }
main { min-height: 68vh; }
::selection { background: var(--green); color: #000; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.muted { color: var(--muted); }

/* etiqueta técnica reutilizable */
.label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }

/* status dot (verde, como DISPONIBLE) */
.rec-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: pulse 2s ease-out infinite; }
.build-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px #ffbd3e99; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #35d15a88; } 70% { box-shadow: 0 0 0 7px #35d15a00; } 100% { box-shadow: 0 0 0 0 #35d15a00; } }

/* ---- NAV ---- */
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 auto; padding: 22px var(--page-pad); }
.brand { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: flex-start; gap: 10px; white-space: nowrap; text-align: left; }
.brand .rec-dot { margin-top: 5px; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.brand-copy strong { font-size: 1rem; }
.brand-copy small { color: var(--muted); font-size: .56rem; letter-spacing: .14em; margin-top: 5px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.9rem; }
.nav-links a:not(.btn) { letter-spacing: 0.04em; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-user { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-home { color: var(--muted); font-size: 0.82rem; }
.nav-home:hover { color: var(--green); }
.nav .btn { white-space: nowrap; }
.inline { display: inline; margin: 0; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-family: inherit; font-weight: 700; padding: 14px 28px; border-radius: 100px; font-size: 0.98rem; transition: transform .12s ease, background .15s ease, border-color .15s ease; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--text); color: #000; }
.btn-primary:hover { background: #e6e6e6; transform: translateY(-2px); }
.btn:active { transform: scale(.96); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn:disabled { cursor: not-allowed; opacity: .42; transform: none; }

/* ---- LAYOUT ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--page-pad); padding-right: var(--page-pad); }
.section { padding-top: 70px; padding-bottom: 70px; }
.section-head { max-width: 680px; margin: 0 0 42px; }
.section-head h2 { font-size: var(--type-section-title); margin-bottom: 12px; text-transform: uppercase; letter-spacing: -0.01em; }
.section-head p { color: var(--dim); margin: 0; font-size: 1.05rem; }
.kicker { color: var(--green); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }

/* ---- HERO (visor) ---- */
.hero { width: 100%; margin: 0 auto; padding: 30px var(--page-pad) 38px; }
.frame { position: relative; min-height: calc(100svh - 140px); display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 92px) clamp(28px, 5vw, 86px); }
.hero-content { width: min(100%, 920px); margin: 0 auto; }
.frame::before, .frame::after,
.corner-tr, .corner-bl { content: ''; position: absolute; width: 30px; height: 30px; border: 1.5px solid #3a3a3a; }
.frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.corner-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.corner-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.statusbar { display: flex; align-items: center; gap: 16px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.statusbar .on { color: var(--green); display: inline-flex; align-items: center; gap: 8px; }
.statusbar .status-build { color: var(--amber); }
.launch-pill { display: inline-flex; align-self: flex-start; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid #ffbd3e3d; background: var(--amber-soft); border-radius: 8px; color: var(--amber); margin-bottom: 22px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.launch-pill span { color: #b78c37; }
.hero h1 { max-width: 920px; font-size: var(--type-display); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 24px; }
.hero h1 .grad { position: relative; white-space: nowrap; }
.hero h1 .grad::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.1em; background: var(--green); }
.lead { font-size: 1.16rem; color: var(--dim); max-width: 600px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- VIDEO ---- */
.video-frame { max-width: 860px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #000; }
.video-frame .ratio { position: relative; padding-top: 56.25%; }
.video-frame iframe, .video-frame .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; color: var(--muted); background: repeating-linear-gradient(45deg, #0a0a0a, #0a0a0a 12px, #0e0e0e 12px, #0e0e0e 24px); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; }
.placeholder .big { font-size: 2rem; letter-spacing: 0.06em; }
.placeholder code { color: var(--green); text-transform: none; letter-spacing: 0; }
.teaser-section { padding-top: 90px; }
.teaser-head { max-width: 1100px; margin: 0 0 38px; text-align: left; }
.teaser-head .kicker { justify-content: flex-start; margin-bottom: 12px; font-size: .8rem; letter-spacing: .08em; }
.teaser-head h2 { width: 100%; font-size: var(--type-section-title); text-wrap: balance; }
.teaser-head p { max-width: 760px; margin: 0; }
.teaser-video { max-width: 1100px; margin-left: auto; margin-right: auto; }
.teaser-video .placeholder strong { color: var(--dim); font-size: 1rem; letter-spacing: .08em; }
#timeline { border-top: 1px solid var(--line); margin-top: 30px; }

/* ============================================================
   FIRMA: TIMELINE DE MÓDULOS (pista de edición, monocromo)
   ============================================================ */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.clip { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 4px 20px 46px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.clip:last-child { border-bottom: 0; }
.clip::before { content: ''; position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--line); z-index: 1; }
.clip-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 5px; }
.clip-tc { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.clip-count { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.clip-count::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.clip-body h3 { font-size: var(--type-card-title); font-weight: 700; margin-bottom: 3px; letter-spacing: -0.01em; }
.clip-body p { margin: 0; color: var(--dim); font-size: 0.92rem; }
.clip-flag { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
/* clip gratis: encendido en verde */
.clip-free::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 12px 1px #35d15a99; }
.clip-free .clip-tc { color: var(--green); }
.clip-free .clip-flag { color: #00320f; background: var(--green); border-color: var(--green); }
.clip-lock { opacity: 0.72; }
a.clip:hover, a.clip:focus-visible { background: var(--ink-2); opacity: 1; }
a.clip:hover .clip-flag { border-color: var(--text); color: var(--text); }
.clip-expandable { display: block; padding-top: 0; padding-bottom: 0; }
.clip-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 92px; padding: 20px 0; cursor: pointer; list-style: none; }
.clip-summary::-webkit-details-marker { display: none; }
.clip-summary:hover { background: var(--ink-2); }
.clip-summary-action { display: flex; align-items: center; gap: 13px; }
.clip-toggle { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text); font-size: 1.15rem; transition: transform .18s cubic-bezier(.2,0,0,1), border-color .15s ease, background .15s ease; }
.clip-summary:hover .clip-toggle, .clip-expandable details[open] .clip-toggle { border-color: var(--green); background: var(--green-soft); }
.clip-expandable details[open] .clip-toggle { transform: rotate(180deg); }
.chapter-list { margin: 0 0 18px; padding: 6px 0 0; border-top: 1px solid var(--line); }
.chapter-link { display: grid; grid-template-columns: 38px minmax(0, 1fr) 28px; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; border-bottom: 1px solid #ffffff0c; border-radius: 9px; transition: background .15s ease, transform .12s ease; }
.chapter-link:hover { background: var(--green-soft); transform: translateX(3px); }
.chapter-number { color: var(--green); font-size: .66rem; font-weight: 700; letter-spacing: .1em; }
.chapter-title { min-width: 0; color: var(--dim); font-size: .9rem; }
.chapter-play { display: grid; width: 28px; height: 28px; place-items: center; padding-left: 1px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); font-size: .6rem; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.chapter-link:hover .chapter-play { color: #00320f; border-color: var(--green); background: var(--green); }
.chapter-signin { margin: 14px 10px 2px; color: var(--muted); font-size: .78rem; }

/* ---- GRID DE MÓDULOS (área de miembros) ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mod-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .12s ease, border-color .15s ease; position: relative; }
.mod-card:hover { border-color: var(--text); transform: translateY(-2px); }
.mod-num { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.mod-card h3 { font-size: var(--type-card-title); font-weight: 700; }
.mod-card p { margin: 0; color: var(--dim); font-size: 0.9rem; flex-grow: 1; }
.tag { align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; }
.tag-free { background: var(--green); color: #00320f; }
.tag-lock { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.mod-card.locked { opacity: 0.66; }

/* ---- PRICING ---- */
.price-card { max-width: 460px; margin: 0 auto; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 42px 34px; text-align: center; position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); }
.price-badge { display: inline-block; background: var(--green-soft); color: var(--green); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; border: 1px solid #35d15a40; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.price-now { font-size: 3.8rem; font-weight: 900; line-height: 1; margin: 6px 0; letter-spacing: -0.03em; }
.price-now small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-list { list-style: none; padding: 0; margin: 24px 0; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--dim); font-size: 0.95rem; }
.price-list li::before { content: '✓'; color: var(--green); font-weight: 800; }

/* ---- AUTH ---- */
.auth { max-width: 420px; margin: 56px auto; padding: 0 24px; }
.auth-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 38px 30px; }
.auth-card h1 { font-size: var(--type-subsection-title); margin-bottom: 6px; text-transform: uppercase; letter-spacing: -0.01em; }
.auth-card .sub { color: var(--dim); margin: 0 0 26px; font-size: 0.95rem; }
label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; font-weight: 600; }
input { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--ink); color: var(--text); font-size: 1rem; margin-bottom: 18px; font-family: inherit; }
input:focus { outline: none; border-color: var(--green); }
input[type="checkbox"], input[type="radio"] { width: auto; margin: 0; accent-color: var(--green); }
input[type="file"] { padding: 10px; font-size: .82rem; }
textarea { width: 100%; resize: vertical; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--ink); color: var(--text); font: inherit; margin-bottom: 18px; }
textarea:focus { outline: none; border-color: var(--green); }
select { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--ink); color: var(--text); font: inherit; margin-bottom: 18px; }
select:focus { outline: none; border-color: var(--green); }
.form-alt { text-align: center; margin-top: 20px; color: var(--muted); font-size: 0.9rem; }
.form-alt a { color: var(--green); font-weight: 600; }

/* ---- ALERTS ---- */
.alert { background: #ffffff0d; border: 1px solid var(--line); color: #ff8a8a; padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-ok { background: var(--green-soft); border-color: #35d15a40; color: #9be9b3; }

/* ---- PAYWALL ---- */
.paywall { max-width: 620px; margin: 0 auto; }
.pay-methods { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; text-align: left; }
.pay-method { background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pay-method strong { font-weight: 700; }
.pay-method .muted { font-size: 0.85rem; }

/* ---- WAITING LIST ---- */
.waitlist-section { padding: 110px var(--page-pad); border-top: 1px solid var(--line); background: linear-gradient(180deg, #050505 0%, #0b0b0b 100%); }
.waitlist-shell { width: min(100%, 1180px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); gap: clamp(50px, 9vw, 120px); align-items: center; }
.waitlist-copy h2 { font-size: var(--type-section-title); letter-spacing: -.025em; margin: 14px 0 24px; text-transform: uppercase; }
.waitlist-copy p { color: var(--dim); font-size: 1.08rem; max-width: 530px; }
.waitlist-price { display: flex; flex-direction: column; gap: 3px; margin-top: 22px; padding-inline-start: 16px; border-inline-start: 2px solid var(--green); }
.waitlist-price strong { color: var(--green); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.waitlist-price span { color: var(--muted); font-size: .82rem; }
.waitlist-card { border: 1px solid var(--line); background: var(--ink-2); border-radius: 18px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-success { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.waitlist-success .rec-dot { margin-bottom: 18px; }
.waitlist-success strong { font-size: 1.4rem; }
.waitlist-success p { color: var(--muted); margin: 6px 0 0; }

/* ---- DASHBOARD ---- */
.eyebrow { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dashboard { padding-top: 46px; padding-bottom: 80px; }
.dashboard-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.dashboard-top h1 { font-size: var(--type-page-title); margin: 10px 0 12px; letter-spacing: -.045em; }
.dashboard-top p { margin: 0; color: var(--dim); font-size: 1.08rem; }
.access-badge { min-width: 150px; border: 1px solid var(--line); background: var(--ink-2); padding: 14px 16px; border-radius: 12px; display: flex; flex-direction: column; }
.access-badge span { color: var(--muted); font-size: .72rem; }
.access-badge strong { color: var(--amber); letter-spacing: .12em; font-size: .75rem; }
.access-badge.is-active strong { color: var(--green); }
.launch-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 20px 22px; border: 1px solid #ffbd3e3d; background: var(--amber-soft); border-radius: 14px; margin-bottom: 24px; }
.launch-banner-mark { color: var(--amber); font-size: .69rem; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.launch-banner-mark .build-dot { margin-right: 8px; }
.launch-banner strong { font-size: .95rem; }
.launch-banner p { color: #b7a98a; margin: 2px 0 0; font-size: .86rem; }
.countdown { padding-left: 22px; border-left: 1px solid #ffbd3e3d; text-align: right; }
.countdown span { display: block; color: #b78c37; font-size: .62rem; letter-spacing: .15em; }
.countdown strong { display: block; color: var(--amber); font-size: 1.12rem; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.dashboard-main, .dashboard-card { border: 1px solid var(--line); background: var(--ink-2); border-radius: 16px; }
.dashboard-main { overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 26px 28px 18px; }
.panel-head h2 { font-size: var(--type-subsection-title); margin-top: 8px; }
.progress-copy { text-align: right; }
.progress-copy span { color: var(--muted); display: block; font-size: .62rem; letter-spacing: .12em; }
.progress-copy strong { font-size: 1.25rem; }
.progress-track { height: 2px; background: var(--line); margin: 0 28px; }
.progress-track span { display: block; height: 100%; background: var(--green); }
.dashboard-modules { list-style: none; padding: 10px 0 0; margin: 0; }
.dashboard-modules li { border-top: 1px solid var(--line); }
.dashboard-modules li:first-child { border-top: 0; }
.dashboard-module { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 19px 28px; transition: background .15s ease; }
.dashboard-module:hover { background: #131313; }
.dashboard-module.is-locked { color: #8a8a8a; }
.dashboard-module[aria-disabled="true"] { cursor: default; }
.module-index { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: .68rem; letter-spacing: .05em; }
.module-copy { min-width: 0; }
.module-copy strong { display: block; font-size: .98rem; line-height: 1.25; }
.module-copy small { display: block; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.module-status { color: var(--muted); font-size: .62rem; letter-spacing: .1em; font-weight: 700; }
.dashboard-aside { display: flex; flex-direction: column; gap: 16px; }
.dashboard-card { padding: 24px; }
.dashboard-card-accent { border-color: #35d15a46; background: linear-gradient(145deg, #102015 0%, #0c0c0c 58%); }
.dashboard-card-accent h3 { font-size: var(--type-subsection-title); margin: 12px 0 4px; }
.mini-price { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.mini-price strong { font-size: 2.75rem; line-height: 1; }
.mini-price span { color: var(--muted); font-size: .68rem; line-height: 1.3; text-transform: uppercase; }
.dashboard-card p { color: var(--dim); font-size: .88rem; }
.dashboard-card > small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.4; text-align: center; margin-top: 12px; }
.account-list { margin: 16px 0 0; }
.account-list div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 11px 0; }
.account-list dt, .account-list dd { margin: 0; font-size: .78rem; }
.account-list dt { color: var(--muted); }
.account-list dd { max-width: 175px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.green { color: var(--green); }
.dashboard-help a { color: var(--green); font-size: .82rem; font-weight: 700; }

/* ---- CHECKOUT ---- */
.checkout { padding-top: 40px; padding-bottom: 80px; }
.back-link { display: inline-block; color: var(--muted); font-size: .82rem; margin-bottom: 48px; }
.back-link:hover { color: var(--text); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: clamp(40px, 8vw, 100px); align-items: start; }
.checkout-copy h1 { font-size: var(--type-display); letter-spacing: -.055em; margin: 15px 0 22px; }
.checkout-copy > p { color: var(--dim); font-size: 1.08rem; max-width: 520px; }
.checkout-list { list-style: none; padding: 0; margin: 42px 0 0; border-top: 1px solid var(--line); }
.checkout-list li { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding: 15px 0; color: var(--dim); }
.checkout-list li span { color: var(--green); font-size: .68rem; letter-spacing: .12em; }
.checkout-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 30px; position: relative; overflow: hidden; }
.construction-lock { display: flex; align-items: center; gap: 9px; margin: -30px -30px 28px; padding: 13px 30px; color: var(--amber); background: var(--amber-soft); border-bottom: 1px solid #ffbd3e33; font-size: .68rem; letter-spacing: .13em; font-weight: 800; }
.checkout-price > span { color: var(--muted); font-size: .78rem; }
.checkout-price > div { display: flex; align-items: baseline; gap: 8px; }
.checkout-price strong { font-size: 4.5rem; line-height: 1; letter-spacing: -.05em; }
.checkout-price small { color: var(--muted); font-weight: 700; }
.checkout-price del { color: var(--muted); font-size: .82rem; }
.checkout-price p { color: var(--muted); font-size: .78rem; margin: 7px 0 0; }
.checkout-saving { display: flex !important; align-items: center !important; gap: 10px !important; margin-top: 7px; }
.checkout-saving del { color: var(--muted); }
.checkout-saving b { color: var(--green); font-size: .76rem; }
.checkout-offer { margin: 20px 0 0; padding: 15px 16px; border: 1px solid #35d15a3d; border-radius: 12px; background: var(--green-soft); }
.checkout-offer > span { display: block; color: var(--green); font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.checkout-offer > strong { display: block; color: var(--text); font-size: 1.45rem; letter-spacing: .04em; margin-top: 3px; font-variant-numeric: tabular-nums; }
.checkout-offer p { color: var(--dim); font-size: .75rem; margin: 6px 0 0; }
.checkout-launch { margin: 26px 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #090909; }
.checkout-launch span { color: var(--muted); font-size: .62rem; letter-spacing: .15em; }
.checkout-launch strong { display: block; color: var(--amber); font-size: 1.2rem; margin-top: 3px; }
.checkout-launch p { color: var(--dim); font-size: .82rem; margin: 12px 0 0; }
.safe-note { color: var(--muted); font-size: .7rem; text-align: center; margin: 12px 0 0; }
.enrollment-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.enrollment-card > del { color: var(--muted); font-size: .9rem; }
.enrollment-card > strong { color: var(--text); font-size: clamp(3rem, 7vw, 4.5rem); line-height: .95; letter-spacing: -.055em; }
.enrollment-card > span { color: var(--green); font-size: .82rem; font-weight: 700; }
.enrollment-card .btn { margin-top: 12px; }
.offer-countdown { width: 100%; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.offer-countdown small { display: block; color: var(--muted); font-size: .62rem; letter-spacing: .13em; }
.offer-countdown b { display: block; margin-top: 3px; color: var(--text); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.checkout-form { margin-top: 26px; }
.payment-fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.payment-fieldset legend { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.payment-option { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 10px; transition: border-color .15s, background .15s; }
.payment-option:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.payment-choice { display: flex; align-items: flex-start; gap: 12px; padding: 14px; cursor: pointer; }
.payment-choice:hover { background: #ffffff05; }
.payment-choice input { margin-top: 5px; }
.payment-choice span { min-width: 0; flex: 1; }
.payment-choice strong, .payment-choice small { display: block; }
.payment-choice small { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; margin-top: 2px; text-transform: none; letter-spacing: 0; }
.payment-choice > b { align-self: center; color: var(--muted); font-size: .62rem; letter-spacing: .08em; }
.payment-option.is-unavailable { opacity: .42; cursor: not-allowed; }
.payment-option.is-unavailable .payment-choice { cursor: not-allowed; }
.payment-instructions { display: none; border-top: 1px solid #35d15a36; padding: 12px 14px; }
.payment-option:has(input:checked) .payment-instructions { display: grid; gap: 8px; }
.payment-instructions > div { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.payment-instructions span { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.payment-instructions strong { min-width: 0; font-size: .76rem; overflow-wrap: anywhere; }
.payment-instructions button { border: 1px solid var(--line); background: #000; color: var(--text); border-radius: 100px; padding: 5px 9px; font: inherit; font-size: .62rem; cursor: pointer; }
.payment-instructions button:hover { border-color: var(--green); }
.crypto-instructions p { color: var(--dim); font-size: .72rem; margin: 2px 0 0; }
.crypto-network-step { display: none; border: 1px solid var(--line); background: #080808; border-radius: 12px; padding: 14px; margin: 12px 0; }
.checkout-form:has(input[value="usdt"]:checked) .crypto-network-step,
.checkout-form:has(input[value="usdc"]:checked) .crypto-network-step { display: block; }
.payment-link { justify-content: space-between; align-items: center; }
.payment-link b { font-size: .68rem; letter-spacing: .08em; white-space: nowrap; }
.checkout-step label { color: var(--text); }
.checkout-success { text-align: center; padding: 30px 0 8px; }
.checkout-success .rec-dot { margin-bottom: 16px; }
.checkout-success h3 { font-size: var(--type-subsection-title); margin-bottom: 10px; }
.checkout-success p { color: var(--dim); margin: 0 0 24px; }

/* ---- ADMIN ---- */
.admin-dashboard { padding-top: 46px; padding-bottom: 80px; }
.admin-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.admin-hero h1 { font-size: var(--type-page-title); margin: 10px 0 8px; letter-spacing: -.045em; }
.admin-hero p { color: var(--dim); margin: 0; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.admin-metrics article { border: 1px solid var(--line); background: var(--ink-2); border-radius: 14px; padding: 22px; }
.admin-metrics span { display: block; color: var(--muted); font-size: .64rem; letter-spacing: .12em; font-weight: 700; }
.admin-metrics strong { display: block; font-size: 2.6rem; line-height: 1.1; margin-top: 8px; }
.admin-metrics small { color: var(--muted); }
.admin-panel { border: 1px solid var(--line); background: var(--ink-2); border-radius: 16px; padding: 24px; margin-top: 18px; }
.admin-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.admin-panel-head h2 { margin-top: 7px; font-size: var(--type-subsection-title); }
.admin-note { font-size: .8rem; }
.admin-jump { position: sticky; top: 10px; z-index: 5; display: flex; gap: 8px; flex-wrap: wrap; border: 1px solid var(--line); background: #080808eb; backdrop-filter: blur(14px); border-radius: 100px; padding: 8px; margin-bottom: 20px; }
.admin-jump a { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 100px; color: var(--dim); font-size: .76rem; transition-property: color, background-color, transform; transition-duration: .15s; }
.admin-jump a:hover { background: var(--text); color: var(--ink); }
.admin-jump a:active { transform: scale(.96); }
.admin-jump a.is-active { background: var(--green); color: #001b08; font-weight: 800; }
.admin-metrics-six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.admin-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.admin-area-card { min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), 0 16px 42px #0000002e; transition-property: transform, background-color, box-shadow; transition-duration: .18s; }
.admin-area-card:hover { transform: translateY(-3px); background: #111; box-shadow: inset 0 0 0 1px #3a3a3a, 0 20px 52px #00000047; }
.admin-area-card:active { transform: scale(.96); }
.admin-area-featured { grid-column: span 2; background: linear-gradient(145deg, #102015 0%, var(--ink-2) 64%); box-shadow: inset 0 0 0 1px #35d15a42, 0 18px 50px #00000038; }
.admin-area-card > strong { max-width: 520px; margin: 20px 0 8px; font-size: clamp(1.35rem, 2vw, 2.05rem); line-height: 1.05; }
.admin-area-card p { max-width: 520px; margin: 0; color: var(--muted); }
.admin-area-action { margin-top: auto; padding-top: 24px; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.overview-activity { margin-top: 14px; }
.analytics-bars-overview { height: 150px; }
.admin-subnav { display: flex; align-items: center; gap: 20px; overflow-x: auto; margin: 4px 0 22px; padding: 0 2px 10px; color: var(--muted); font-size: .76rem; white-space: nowrap; }
.admin-subnav a { min-height: 40px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.admin-subnav a:hover { color: var(--green); border-color: var(--green); }
.contact-message-cell { min-width: 280px; max-width: 520px; color: var(--dim); white-space: pre-wrap; overflow-wrap: anywhere; }
.course-editor { display: grid; gap: 10px; }
.module-editor { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.module-editor summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px; }
.module-editor summary::-webkit-details-marker { display: none; }
.module-editor summary:hover { background: #ffffff05; }
.module-editor summary > span:nth-child(2) { min-width: 0; }
.module-editor summary strong, .module-editor summary small { display: block; }
.module-editor summary small { color: var(--muted); font-size: .75rem; margin-top: 3px; }
.module-editor summary > span:last-child { color: var(--muted); font-size: .62rem; letter-spacing: .1em; }
.module-editor-body { border-top: 1px solid var(--line); padding: 20px; }
.admin-form { background: #080808; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.admin-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; }
.admin-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-checks { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 0 0 18px; }
.admin-checks label, .lesson-editor-actions label { display: flex; align-items: center; gap: 8px; color: var(--dim); margin: 0; }
.lesson-editor-list { display: grid; gap: 10px; margin: 18px 0; }
.lesson-editor-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #050505; }
.lesson-editor-top { display: grid; grid-template-columns: 34px minmax(0, 1fr) 72px; gap: 10px; align-items: center; }
.lesson-editor-top input { margin-bottom: 10px; }
.lesson-editor-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.btn-danger { background: transparent; color: #ff8a8a; border: 1px solid #ff8a8a42; }
.btn-danger:hover { border-color: #ff8a8a; }
.add-lesson-form { border-top: 1px solid var(--line); padding-top: 18px; }
.add-lesson-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.add-lesson-form input { margin: 0; }
.payment-settings-form { max-width: 920px; }
.payment-settings-form .admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.settings-group { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 8px 0 20px; }
.settings-group legend { color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 0 8px; }
.form-hint { color: var(--muted); font-size: .78rem; margin: -9px 0 18px; }
.discount-form { display: grid; grid-template-columns: minmax(160px, 1fr) 150px 150px auto; gap: 10px; }
.discount-form input { margin: 0; }
.discount-list { margin-top: 18px; }
.discount-list > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 11px 0; }
.payment-review-form input { min-width: 180px; margin-bottom: 7px; padding: 9px; font-size: .8rem; }
.payment-review-form > div { display: flex; gap: 7px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
th { color: var(--muted); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
tr.claim { background: var(--green-soft); }
.badge { font-size: 0.7rem; padding: 3px 11px; border-radius: 100px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.badge-paid { background: var(--green-soft); color: var(--green); }
.badge-no { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.badge-claim { background: #ffffff14; color: var(--text); }

/* ---- ANALÍTICA Y LINKS ---- */
.analytics-range { display: flex; align-items: center; gap: 9px; }
.analytics-range label { margin: 0; color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.analytics-range select { width: auto; min-height: 40px; margin: 0; padding: 8px 34px 8px 12px; }
.analytics-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.analytics-cards article { min-width: 0; padding: 18px; border-radius: 14px; background: #080808; box-shadow: inset 0 0 0 1px var(--line); }
.analytics-cards span { display: block; min-height: 2em; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .1em; }
.analytics-cards strong { display: block; margin: 8px 0 2px; font-size: clamp(1.8rem, 3vw, 2.7rem); font-variant-numeric: tabular-nums; line-height: 1; }
.analytics-cards small { display: block; overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-chart { margin-top: 14px; padding: 18px; border-radius: 14px; background: #080808; box-shadow: inset 0 0 0 1px var(--line); }
.analytics-chart-head { display: flex; justify-content: space-between; color: var(--muted); font-size: .64rem; letter-spacing: .1em; }
.analytics-bars { height: 124px; margin-top: 20px; display: flex; align-items: end; gap: clamp(2px, .45vw, 7px); }
.analytics-bars span { min-width: 3px; flex: 1; border-radius: 4px 4px 1px 1px; background: var(--green); opacity: .78; transition-property: opacity, transform; transition-duration: .18s; transform-origin: bottom; }
.analytics-bars span:hover { opacity: 1; transform: scaleY(1.04); }
.analytics-waiting { margin-top: 14px; min-height: 86px; padding: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 14px; background: #080808; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.analytics-waiting p { margin: 0; }
.analytics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.analytics-grid > div { min-width: 0; padding: 18px; border-radius: 14px; background: #080808; box-shadow: inset 0 0 0 1px var(--line); }
.analytics-grid h3 { margin-bottom: 12px; }
.analytics-list > div { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.analytics-list span { min-width: 0; overflow-wrap: anywhere; color: var(--dim); font-size: .82rem; }
.analytics-list span small { display: block; color: var(--muted); font-size: .65rem; }
.analytics-list strong { font-variant-numeric: tabular-nums; }
.growth-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 10px 10px 10px 18px; border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.growth-toolbar > span { color: var(--muted); font-size: .76rem; }
.growth-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.growth-metrics article { position: relative; min-height: 150px; }
.growth-metrics .metric-change { display: block; margin-top: 14px; color: var(--muted); font-size: .64rem; font-style: normal; white-space: normal; }
.growth-metrics .metric-change.is-up { color: var(--green); }
.growth-metrics .metric-change.is-down { color: #ff7e7e; }
.chart-card { min-width: 0; padding: 22px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), 0 16px 42px #00000024; }
.chart-card-wide { margin-top: 14px; }
.chart-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.chart-card-head h2 { margin-top: 7px; font-size: var(--type-subsection-title); }
.chart-card-head > span, .chart-card-head > a { color: var(--muted); font-size: .68rem; letter-spacing: .06em; }
.chart-card-head > a { min-height: 40px; display: inline-flex; align-items: center; color: var(--green); }
.chart-legend { display: flex; gap: 14px; color: var(--muted); font-size: .68rem; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 2px; }
.legend-views { background: var(--green); }
.legend-visitors { background: #a6ffb9; }
.growth-bars { height: 230px; display: flex; align-items: stretch; gap: clamp(2px, .5vw, 8px); padding: 8px 0 24px; border-bottom: 1px solid var(--line); }
.growth-bar-group { position: relative; min-width: 2px; flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 1px; }
.growth-bar-group > i { width: min(44%, 12px); min-width: 1px; border-radius: 4px 4px 1px 1px; transform-origin: bottom; transition-property: opacity, transform; transition-duration: .18s; }
.growth-bar-group:hover > i { opacity: 1; transform: scaleY(1.025); }
.growth-bar-views { background: var(--green); opacity: .86; }
.growth-bar-visitors { background: #a6ffb9; opacity: .48; }
.growth-bar-group small { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .56rem; white-space: nowrap; }
.growth-grid, .links-insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.growth-grid-course { margin-bottom: 14px; }
.rank-bars { display: grid; gap: 16px; }
.rank-row > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--dim); font-size: .78rem; }
.rank-row strong { color: var(--text); font-variant-numeric: tabular-nums; font-size: .72rem; }
.rank-track { height: 6px; overflow: hidden; border-radius: 100px; background: #1d1d1d; }
.rank-track i { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: var(--green); }
.device-chart { min-height: 210px; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; }
.device-donut { width: 164px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; }
.device-donut::before { content: ''; grid-area: 1 / 1; width: 108px; aspect-ratio: 1; border-radius: 50%; background: var(--ink-2); }
.device-donut > span { z-index: 1; grid-area: 1 / 1; text-align: center; font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.device-donut small { display: block; color: var(--muted); font-size: .6rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.device-legend { display: grid; gap: 10px; }
.device-legend > div { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 9px; align-items: center; font-size: .76rem; }
.device-legend strong { font-variant-numeric: tabular-nums; }
.device-color { width: 8px; height: 8px; border-radius: 2px; background: #414141; }
.device-color-1 { background: var(--green); }.device-color-2 { background: #a6ffb9; }.device-color-3 { background: #414141; }
.funnel-chart { display: grid; gap: 13px; }
.funnel-chart > div { position: relative; min-height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; }
.funnel-chart span { color: var(--dim); font-size: .78rem; }
.funnel-chart span small { margin-right: 9px; color: var(--muted); }
.funnel-chart strong { font-variant-numeric: tabular-nums; }
.funnel-chart i { grid-column: 1 / -1; display: block; height: 5px; border-radius: 100px; background: var(--green); opacity: .76; }
.hour-chart { height: 210px; display: flex; align-items: stretch; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hour-chart > div { position: relative; flex: 1; display: flex; align-items: flex-end; }
.hour-chart i { width: 100%; min-width: 2px; border-radius: 3px 3px 0 0; background: var(--green); opacity: .72; transition-property: opacity, transform; transition-duration: .18s; transform-origin: bottom; }
.hour-chart > div:hover i { opacity: 1; transform: scaleY(1.03); }
.hour-chart small { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .56rem; }
.analytics-list-numbered > div { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; }
.analytics-list-numbered b { color: var(--muted); font-size: .64rem; }
.course-growth-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.course-growth-stats > div { padding: 18px; border-radius: 12px; background: #080808; box-shadow: inset 0 0 0 1px var(--line); }
.course-growth-stats strong { display: block; font-size: 2rem; font-variant-numeric: tabular-nums; }
.course-growth-stats span { color: var(--muted); font-size: .68rem; }
.links-insight-grid + .admin-panel { margin-top: 14px; }
.link-create { margin-bottom: 16px; border-radius: 13px; background: #080808; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.link-create summary { min-height: 48px; padding: 14px 18px; cursor: pointer; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .08em; list-style: none; }
.link-create summary::-webkit-details-marker { display: none; }
.link-create .admin-form { border-width: 1px 0 0; border-radius: 0; }
.link-editor-list { display: grid; gap: 10px; }
.link-editor summary { grid-template-columns: 48px minmax(0, 1fr) auto; }
.link-thumb { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; background: var(--ink-3); color: var(--muted); font-weight: 800; }
.link-thumb img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid oklch(1 0 0 / .1); outline-offset: -1px; }
.link-form-urls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.link-editor-actions { padding-top: 4px; }
.lesson-complete-form { max-width: 860px; margin: 20px auto 0; display: flex; justify-content: flex-end; }
.lesson-complete-form .is-complete { color: var(--green); border-color: #35d15a66; }
.lesson-is-complete { color: var(--green); }

/* ---- MÓDULOS Y CLASES ---- */
.module-page, .lesson-page { max-width: 1180px; }
.module-page-head, .lesson-page-head { max-width: 900px; margin-top: 22px; }
.module-deliverable { max-width: 900px; margin: -20px 0 36px; padding: 20px 22px; border-radius: 14px; background: #0d160f; box-shadow: inset 0 0 0 1px #35d15a38; }
.module-deliverable span, .module-deliverable strong { display: block; }
.module-deliverable span { margin-bottom: 6px; color: var(--green); font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.module-deliverable strong { max-width: 75ch; font-size: .95rem; line-height: 1.45; text-wrap: pretty; }
.lesson-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.lesson-list li { border-bottom: 1px solid var(--line); }
.lesson-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px 4px; }
.lesson-row:hover { background: #ffffff05; }
.lesson-number { color: var(--green); font-size: .7rem; letter-spacing: .1em; font-weight: 700; }
.lesson-copy strong, .lesson-copy small { display: block; }
.lesson-copy small { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.lesson-action { color: var(--muted); font-size: .68rem; letter-spacing: .08em; }
.empty-state, .external-video-card { border: 1px solid var(--line); border-radius: 14px; padding: 38px; text-align: center; }
.empty-state strong, .external-video-card h3 { display: block; margin: 12px 0 6px; font-size: var(--type-subsection-title); }
.empty-state p { color: var(--muted); margin: 0; }
.external-video-card .btn { margin-top: 18px; }

/* ---- FOOTER ---- */
.footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 34px 24px; text-align: center; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; }
.footer p { margin: 4px 0; }
.footer a { color: var(--text); }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  :root {
    --page-pad: 20px;
    --type-display: clamp(2.55rem, 11vw, 3.15rem);
    --type-page-title: clamp(2.4rem, 12vw, 3.4rem);
    --type-section-title: clamp(1.9rem, 8vw, 2.25rem);
    --type-subsection-title: clamp(1.3rem, 6vw, 1.7rem);
    --type-card-title: 1rem;
  }
  .nav-user { display: none; }
  .nav { align-items: flex-start; flex-wrap: wrap; gap: 14px; padding: 16px var(--page-pad) 12px; }
  .nav .brand { width: 100%; }
  .brand { font-size: 0.95rem; }
  .brand-copy strong { font-size: .72rem; }
  .brand-copy small { display: none; }
  .nav-links { width: 100%; justify-content: space-between; gap: 8px; font-size: 0.72rem; }
  .nav-home { font-size: .68rem; }
  .nav:has(.nav-admin) .nav-home { display: none; }
  .nav .btn-sm { padding: 7px 12px; font-size: .72rem; }
  .section { padding-top: 54px; padding-bottom: 54px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { line-height: 1.06; }
  .section-head p { font-size: .98rem; }
  .hero { padding: 10px var(--page-pad) 24px; }
  .frame { min-height: calc(100svh - 124px); justify-content: flex-start; padding: clamp(68px, 11vh, 94px) 18px 36px; }
  .frame::before, .frame::after, .corner-tr, .corner-bl { width: 22px; height: 22px; }
  .statusbar { margin-bottom: 18px; font-size: .64rem; }
  .launch-pill { gap: 7px; padding: 7px 10px; margin-bottom: 18px; font-size: .64rem; }
  .hero h1 { line-height: .98; margin-bottom: 20px; }
  .hero h1 br { display: none; }
  .lead { font-size: 1rem; line-height: 1.5; margin-bottom: 22px; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-cta .btn-lg { padding: 13px 10px; font-size: .86rem; }
  .placeholder { padding: 16px; font-size: .66rem; }
  .placeholder .big { font-size: 1.45rem; }
  .teaser-section { padding-top: 66px; }
  .teaser-head { margin-bottom: 26px; }
  .teaser-head h2 { text-wrap: pretty; }
  .teaser-head p { font-size: .92rem; }
  #timeline { margin-top: 8px; }
  .waitlist-section { padding: 70px var(--page-pad); }
  .waitlist-shell { grid-template-columns: 1fr; gap: 34px; }
  .waitlist-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 12px; }
  .clip { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 8px 18px 40px; }
  .clip::before { left: 6px; }
  .clip-body h3 { line-height: 1.16; }
  .clip-body p { font-size: .86rem; line-height: 1.45; }
  .clip-flag { justify-self: start; }
  .dashboard { padding-top: 28px; }
  .dashboard-top { align-items: flex-start; flex-direction: column; }
  .access-badge { width: 100%; }
  .launch-banner { grid-template-columns: 1fr; gap: 12px; }
  .countdown { border-left: 0; border-top: 1px solid #ffbd3e3d; padding: 12px 0 0; text-align: left; }
  .dashboard-grid, .checkout-grid { grid-template-columns: 1fr; }
  .panel-head { padding: 22px 18px 16px; }
  .progress-track { margin: 0 18px; }
  .dashboard-module { grid-template-columns: 34px minmax(0, 1fr); padding: 17px 18px; gap: 12px; }
  .module-status { grid-column: 2; }
  .module-copy small { white-space: normal; }
  .checkout { padding-top: 24px; }
  .back-link { margin-bottom: 32px; }
  .checkout-card { padding: 24px; }
  .construction-lock { margin: -24px -24px 24px; padding: 13px 24px; }
  .checkout-price strong { font-size: 3.8rem; }
  .payment-choice { padding: 12px; }
  .admin-dashboard { padding-top: 28px; }
  .admin-hero { align-items: flex-start; flex-direction: column; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .admin-metrics-six { grid-template-columns: 1fr 1fr; }
  .admin-overview-grid, .growth-grid, .links-insight-grid { grid-template-columns: 1fr; }
  .admin-area-featured { grid-column: auto; }
  .admin-area-card { min-height: 190px; }
  .analytics-cards { grid-template-columns: 1fr 1fr; }
  .growth-metrics { grid-template-columns: 1fr 1fr; }
  .growth-toolbar { align-items: flex-start; flex-direction: column; padding: 14px; }
  .growth-toolbar .analytics-range { width: 100%; }
  .chart-card { padding: 18px; }
  .chart-card-head { margin-bottom: 20px; }
  .chart-card-head:has(.chart-legend) { flex-direction: column; }
  .growth-bars { height: 180px; gap: 2px; }
  .device-chart { grid-template-columns: 1fr; justify-items: center; }
  .device-legend { width: 100%; }
  .course-growth-stats { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  .analytics-range { width: 100%; justify-content: space-between; }
  .admin-panel { padding: 18px; }
  .admin-panel-head { align-items: flex-start; flex-direction: column; }
  .admin-jump { top: 6px; border-radius: 16px; }
  .admin-jump { flex-wrap: nowrap; overflow-x: auto; }
  .admin-jump a { min-height: 40px; flex: 0 0 auto; padding: 7px 13px; font-size: .68rem; }
  .module-editor summary { grid-template-columns: 34px minmax(0, 1fr); }
  .link-editor summary { grid-template-columns: 48px minmax(0, 1fr); }
  .module-editor summary > span:last-child { display: none; }
  .module-editor-body { padding: 14px; }
  .admin-form-grid, .admin-form-grid.three, .payment-settings-form .admin-form-grid { grid-template-columns: 1fr; gap: 0; }
  .lesson-editor-top { grid-template-columns: 26px minmax(0, 1fr) 60px; }
  .lesson-editor-actions { justify-content: flex-start; }
  .add-lesson-form > div { grid-template-columns: 1fr; }
  .discount-form { grid-template-columns: 1fr; }
  .discount-list > div { align-items: flex-start; }
  .lesson-row { grid-template-columns: 34px minmax(0, 1fr); padding: 18px 0; }
  .lesson-action { grid-column: 2; }
  .empty-state, .external-video-card { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
