/* ============ ALIECOMPRO funnel — shared styles ============ */
:root {
  --bg: #0a0d12;
  --panel: #10161f;
  --panel-2: #141c27;
  --line: #223047;
  --text: #f2f5f9;
  --muted: #9aa7b8;
  --accent: #34d399;
  --accent-dark: #10b981;
  --accent-ink: #052e22;
  --gold: #fbbf24;
  --radius: 16px;
  --maxw: 1080px;
}

/* ---- "Deck cream" light theme (matches the closing call deck).
   Activate by adding ?theme=light to any page URL, or set CONFIG.theme. ---- */
:root[data-theme="light"] {
  --bg: #FBFAF6;
  --panel: #ffffff;
  --panel-2: #f4f1ea;
  --line: #e6e1d5;
  --text: #16181d;
  --muted: #626a76;
  --accent: #0e9f6e;
  --accent-dark: #0b7d57;
  --accent-ink: #ffffff;
  --gold: #b98a1d;
}
:root[data-theme="light"] .reg-card,
:root[data-theme="light"] .vsl,
:root[data-theme="light"] .deck-frame { box-shadow: 0 18px 50px rgba(35, 30, 15, 0.12); }
:root[data-theme="light"] .hero::before {
  background: radial-gradient(600px 300px at 50% 0%, rgba(14, 159, 110, 0.09), transparent 70%);
}
:root[data-theme="light"] .btn { box-shadow: 0 8px 22px rgba(11, 125, 87, 0.28); }
:root[data-theme="light"] .pill { background: rgba(0,0,0,0.02); }
:root[data-theme="light"] .chip { background: rgba(0,0,0,0.025); }
:root[data-theme="light"] .slide .art { background: #f0ede4; }
:root[data-theme="light"] .slide .art.contain img { background: #f0ede4; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

img, video { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- announcement banner ---------- */
.announce {
  position: sticky; top: 0; z-index: 50;
  display: block; text-align: center;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: var(--accent-ink);
  font-family: "Sora", sans-serif; font-weight: 800;
  font-size: clamp(14px, 2.6vw, 17px); letter-spacing: 0.03em;
  padding: 13px 16px;
  text-decoration: none;
}
.announce em { font-style: normal; text-decoration: underline; text-underline-offset: 3px; }
.announce:hover { filter: brightness(1.06); }

/* ---------- free-line (big sub-headline) ---------- */
.free-line {
  font-family: "Sora", sans-serif; font-weight: 800;
  font-size: clamp(20px, 3.6vw, 28px);
  color: var(--accent-dark);
  margin: 0 auto 10px;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.wordmark {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 18px;
  letter-spacing: 0.14em; color: var(--text);
}
.wordmark span { color: var(--accent); }
.topbar .pill { font-size: 13px; }

/* ---------- pills & chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,0.02);
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52,211,153,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(52,211,153,0.08); }
}

/* ---------- hero ---------- */
.hero { padding: 40px 0 60px; text-align: center; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 480px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(52,211,153,0.12), transparent 70%);
  pointer-events: none;
}
.hero .eyebrow {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 5.4vw, 52px); font-weight: 800; margin: 0 auto 18px;
  max-width: 21ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub {
  color: var(--muted); font-size: clamp(16px, 2.4vw, 19px);
  max-width: 56ch; margin: 0 auto 30px;
}
.hero .sub strong { color: var(--text); }

/* ---------- VSL ---------- */
.vsl {
  max-width: 760px; margin: 0 auto 20px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  background: #000;
}
.vsl video { width: 100%; display: block; }
.btn.vsl-cta {
  width: auto; font-size: 19px; padding: 18px 38px; margin: 0 auto 44px;
  display: inline-flex;
}

/* ---------- countdown ---------- */
.next-session { margin: 0 auto 26px; }
.next-session .label {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 10px; font-weight: 700;
}
.session-date {
  font-family: "Sora", sans-serif; font-size: clamp(18px, 3vw, 24px);
  font-weight: 700; margin-bottom: 16px;
}
.session-date span { color: var(--accent); }
.countdown { display: flex; justify-content: center; gap: 10px; }
.countdown .unit {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  min-width: 72px; padding: 12px 8px;
}
.countdown .num { font-family: "Sora", sans-serif; font-size: 28px; font-weight: 800; }
.countdown .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

/* ---------- registration card ---------- */
.reg-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; max-width: 460px; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  text-align: left;
}
.reg-card h3 { font-size: 19px; margin-bottom: 4px; }
.reg-card .hint { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; font-size: 16px; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: none; cursor: pointer;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: var(--accent-ink); font-family: "Sora", sans-serif;
  font-size: 17px; font-weight: 800; letter-spacing: 0.01em;
  padding: 16px 22px; border-radius: 12px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 8px 24px rgba(16,185,129,0.35);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(16,185,129,0.45); }
.btn.secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none; width: auto;
}
.reg-card .fineprint { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- stats strip ---------- */
.stats { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stat .big { font-family: "Sora", sans-serif; font-size: clamp(22px, 4vw, 34px); font-weight: 800; color: var(--accent); }
.stat .small { font-size: 13px; color: var(--muted); max-width: 22ch; margin: 4px auto 0; }

/* ---------- sections ---------- */
section.block { padding: 70px 0; }
.kicker {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 800; margin-bottom: 12px; text-align: center;
}
.block h2 { font-size: clamp(26px, 4.2vw, 38px); text-align: center; margin-bottom: 14px; }
.block .lede { color: var(--muted); text-align: center; max-width: 60ch; margin: 0 auto 40px; }

/* ---------- learn list ---------- */
.learn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.learn .item {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.learn .n {
  font-family: "Sora", sans-serif; font-weight: 800; color: var(--accent);
  font-size: 14px; letter-spacing: 0.1em; margin-bottom: 8px;
}
.learn h3 { font-size: 18px; margin-bottom: 6px; }
.learn p { font-size: 15px; color: var(--muted); }

/* ---------- proof wall ---------- */
.proof-grid { column-count: 3; column-gap: 14px; }
.proof-grid figure {
  break-inside: avoid; margin: 0 0 14px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.proof-grid img, .proof-grid video { width: 100%; }
.proof-grid figcaption { padding: 12px 14px; font-size: 13.5px; color: var(--muted); }
.proof-grid figcaption strong { color: var(--text); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; }
.about .photo { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.about h2 { text-align: left; }
.about p { color: var(--muted); margin-bottom: 14px; }
.about p strong { color: var(--text); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.steps .step {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px;
}
.steps .step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(52,211,153,0.12); color: var(--accent);
  font-family: "Sora", sans-serif; font-weight: 800; margin-bottom: 12px;
}
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; font-family: "Sora", sans-serif; font-size: 16px; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- final cta ---------- */
.final { text-align: center; padding: 80px 0 90px; position: relative; }
.final::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 420px;
  background: radial-gradient(600px 280px at 50% 100%, rgba(52,211,153,0.1), transparent 70%);
  pointer-events: none;
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 50px; }
footer .disclaimer { font-size: 12px; color: #64748b; max-width: 90ch; margin: 0 auto; text-align: center; }
footer .socials { text-align: center; margin-bottom: 14px; font-size: 14px; }

/* ---------- thank-you / apply shared ---------- */
.narrow { max-width: 640px; margin: 0 auto; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.checkmark {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: rgba(52,211,153,0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}
.cal-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cal-buttons .btn { width: auto; font-size: 15px; padding: 13px 18px; }

/* ---------- Telegram card (thank-you page) ---------- */
.tg-card {
  border: 2px solid var(--accent-dark);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.10), rgba(16, 185, 129, 0.05));
}
.tg-card h3 { font-size: 22px; color: var(--accent-dark); }
.tg-card p { color: var(--text); opacity: 0.9; font-size: 16px; }
.tg-btn { margin-top: 18px; font-size: 18px; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .learn { grid-template-columns: 1fr; }
  .proof-grid { column-count: 2; }
  .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section.block { padding: 52px 0; }
  .proof-grid { column-count: 1; }
  .countdown .unit { min-width: 64px; }
  .stats .wrap { grid-template-columns: 1fr; gap: 20px; }
  .topbar .pill { display: none; }
}
