/* Trading Apprentice — Webinar funnel pages.
   Structure cloned from the house webinar funnel (registration / thank-you / confirmed / replay).
   Brand: TA VSL palette — ACCENT #66af8d, ACCENT_LIGHT #75d1a7, DARK_BG #0a0a0a, CARD #111111.
   Fonts: self-hosted Inter (body) + Satoshi (display), matching the VSL funnel. */

@font-face {
  font-family: 'Inter';
  src: url('/webinar/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/webinar/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/webinar/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/webinar/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/webinar/fonts/satoshi-900.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

:root {
  --ta: #66af8d;
  --ta-light: #75d1a7;
  --ta-bg: #0a0a0a;
  --ta-card: #111111;
  --ta-card-border: rgba(255,255,255,0.09);
  --ta-pill-border: rgba(117,209,167,0.35);
  --ta-pill-bg: rgba(117,209,167,0.10);
  --ta-button: #161616;
  --ta-button-border: rgba(255,255,255,0.12);
  --ta-offwhite: #f5f5f5;
  --ta-muted: #9b9ea7;
  --ta-glow: radial-gradient(140% 640px at 50% -40px, rgba(117,209,167,0.42) 0%, rgba(102,175,141,0.14) 30%, rgba(3,8,6,0) 62%), #030806;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ta-bg);
  color: var(--ta-offwhite);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}
.display { font-family: 'Satoshi', 'Inter', sans-serif; }
a { color: var(--ta-light); text-decoration: none; }
img { max-width: 100%; }

/* ---------- shared chrome ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: var(--ta-glow);
}
.wrap { position: relative; margin: 0 auto; width: 100%; }

.lockup { display: flex; align-items: center; gap: 12px; }
.lockup img { height: 36px; width: 36px; border-radius: 8px; }
.lockup .word {
  text-align: left; font-size: 14px; font-weight: 700; line-height: 1.05;
  letter-spacing: 0.02em; color: var(--ta-offwhite);
}
.lockup .word span { font-size: 11px; letter-spacing: 0.22em; color: var(--ta-light); }
.lockup.center { flex-direction: column; gap: 6px; }
.lockup.center .word { text-align: center; }

.topbar { display: none; }
@media (min-width: 481px) {
  .topbar { display: flex; align-items: center; justify-content: space-between; }
}
.topbar .stat { text-align: right; font-size: 14px; line-height: 1.2; color: var(--ta-muted); }

.pill {
  display: inline-block; border-radius: 6px; border: 1px solid var(--ta-pill-border);
  background: var(--ta-pill-bg); padding: 6px 12px;
  font-size: 12px; font-weight: 700; line-height: 1.1; letter-spacing: 1.4px;
  color: var(--ta-light); text-transform: uppercase;
}
.pill.solid { background: var(--ta-light); color: #04150c; }

.card {
  margin-top: 30px; border-radius: 16px; border: 1px solid var(--ta-card-border);
  background: var(--ta-card); padding: 22px 18px 24px;
}
@media (min-width: 481px) { .card { padding: 28px 28px 30px; } }
.card.roomy { padding: 45px 14px 55px; }
@media (min-width: 481px) { .card.roomy { padding: 45px 42px 62px; } }
.card.accent { background: rgba(117,209,167,0.13); }

.card h2, .card h4 {
  margin-top: 21px; text-align: left; font-family: 'Satoshi','Inter',sans-serif;
  font-weight: 700; line-height: 1.25; color: var(--ta-offwhite);
  font-size: 25px;
}
@media (min-width: 481px) { .card h2, .card h4 { font-size: 20px; margin-left: auto; margin-right: auto; width: fit-content; } }
.card p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ta-muted); }
@media (min-width: 481px) { .card p { font-size: 16px; } }

.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: flex; min-height: 50px; width: 100%; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--ta-button-border); background: var(--ta-button);
  color: var(--ta-offwhite); font-size: 15px; line-height: 1.2;
  transition: border-color 150ms;
  cursor: pointer; padding: 14px;
}
@media (min-width: 481px) { .btn { font-size: 16px; } }
.btn:hover { border-color: var(--ta); }
.btn.cta {
  background: linear-gradient(180deg, var(--ta-light) 0%, var(--ta) 100%);
  border: none; color: #04150c; font-weight: 700;
}
.btn.cta:hover { filter: brightness(1.08); }
.btn.big { padding: 18px 28px; font-size: 18px; font-weight: 700; border-radius: 12px; }
.btn .sub { display: block; margin-top: 2px; font-size: 15px; font-weight: 400; opacity: 0.8; }
.btn-grid { margin-top: 18px; display: grid; width: 100%; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 481px) { .btn-grid.two { grid-template-columns: 1fr 1fr; } }
.btn-col { margin-top: 19px; display: flex; width: 100%; flex-direction: column; gap: 12px; }

/* ---------- placeholder slot ---------- */
.slot {
  margin-top: 24px; border-radius: 12px; border: 1.5px dashed rgba(117,209,167,0.45);
  background: rgba(117,209,167,0.06); padding: 42px 20px;
  text-align: center; color: var(--ta-light); font-size: 15px; font-weight: 600; line-height: 1.5;
}
.slot small { display: block; margin-top: 8px; color: var(--ta-muted); font-weight: 400; font-size: 13px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid rgba(255,255,255,0.07); padding: 34px 16px 40px; }
footer .mark { height: 26px; width: auto; border-radius: 6px; opacity: 0.95; }
footer .copy { margin-top: 34px; font-size: 14px; line-height: 1.4; color: var(--ta-muted); }
footer .links { margin-top: 27px; font-size: 14px; line-height: 1.5; color: var(--ta-muted); }
footer .legal { margin-top: 35px; display: grid; width: 100%; grid-template-columns: 1fr; gap: 26px; max-width: 520px; margin-left: auto; margin-right: auto; }
@media (min-width: 481px) { footer .legal { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
footer .legal a { font-size: 12px; line-height: 1.45; color: var(--ta-light); }
footer .fine { margin: 32px auto 0; max-width: 860px; font-size: 12px; line-height: 1.45; color: #9b9ea7; }
footer .brandfoot { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- countdown ---------- */
.timer { display: grid; width: 280px; grid-template-columns: repeat(4, 1fr); }
@media (min-width: 481px) { .timer { width: 400px; } }
.timer .cell { display: flex; flex-direction: column; align-items: center; }
.timer .num { font-size: 32px; font-weight: 700; line-height: 1.15; color: var(--ta-light); font-variant-numeric: tabular-nums; }
.timer .lab { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--ta-muted); }

/* ---------- modal ---------- */
.modal-veil {
  position: fixed; inset: 0; z-index: 50; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(0,0,0,0.88);
}
.modal-veil.open { display: flex; }
.modal {
  width: 100%; max-width: 440px; border-radius: 16px; border: 1px solid var(--ta-card-border);
  background: var(--ta-card); padding: 28px 22px; position: relative;
}
.modal h3 { font-family: 'Satoshi','Inter',sans-serif; font-size: 22px; font-weight: 700; line-height: 1.25; }
.modal .when { margin-top: 8px; color: var(--ta-light); font-size: 14px; font-weight: 600; }
.modal .x {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 999px;
  background: rgba(0,0,0,0.55); color: #fff; border: none; font-size: 18px; cursor: pointer;
}

/* ---------- lists ---------- */
.checklist { margin: 24px auto 0; max-width: 720px; display: flex; flex-direction: column; gap: 14px; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; text-align: left; }
.checklist svg { margin-top: 2px; height: 22px; width: 22px; flex: none; color: var(--ta-light); }
.checklist p { margin-top: 0; font-size: 14px; line-height: 1.45; color: var(--ta-muted); }
@media (min-width: 481px) { .checklist p { font-size: 16px; } }
.checklist strong { color: #fff; }

.tiles { margin-top: 26px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 481px) { .tiles { grid-template-columns: 1fr 1fr; gap: 16px; } }
.tile { border-radius: 12px; border: 1px solid rgba(94,94,94,0.5); background: rgba(0,0,0,0.5); padding: 18px; text-align: left; }
@media (min-width: 481px) { .tile { padding: 20px; } }
.tile svg { height: 26px; width: 26px; color: var(--ta-light); }
.tile h3 { margin-top: 12px; font-family: 'Satoshi','Inter',sans-serif; font-size: 18px; line-height: 1.3; color: var(--ta-offwhite); }
@media (min-width: 481px) { .tile h3 { font-size: 20px; } }
.tile p { margin-top: 8px; font-size: 14px; line-height: 1.4; color: #fff; }
@media (min-width: 481px) { .tile p { font-size: 16px; line-height: 1.35; } }

.steps { margin: 24px auto 0; max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; align-items: flex-start; gap: 14px; text-align: left; }
.step .n {
  display: flex; height: 32px; width: 32px; flex: none; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--ta-light); color: #04150c; font-size: 15px; font-weight: 700;
}
.step .t { font-size: 15px; font-weight: 700; line-height: 1.35; color: #fff; }
@media (min-width: 481px) { .step .t { font-size: 17px; } }
.step .d { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ta-muted); }
@media (min-width: 481px) { .step .d { font-size: 15px; } }

.warn {
  margin-top: 22px; border-radius: 10px; border: 1px solid rgba(255,79,79,0.42);
  background: rgba(255,79,79,0.10); padding: 13px 16px;
  text-align: left; font-size: 14px; line-height: 1.45; color: #fcfcfc;
}
.warn strong { color: #ff4f4f; }

.kicker { font-size: 13px; font-weight: 700; line-height: 1.55; color: var(--ta-light); }
@media (min-width: 481px) { .kicker { font-size: 14px; } }
.kicker.dim { color: var(--ta-muted); }

@media (max-width: 480px) { .hide-m { display: none; } }

/* ---------- page type scale (exact source pairs, min-width:481px) ---------- */
p.t-kicker-24 { font-size: 13px; }
h1.t-h1-reg { font-size: 21px; line-height: 1.2; }
p.t-sub-reg { font-size: 13.5px; }
h2.t-host { font-size: 26px; }
h1.t-h1-ty { font-size: 21px; }
h1.t-h1-cnf { font-size: 21px; }
p.t-sub-cnf { font-size: 13.5px; }
.lockup .word.t-word { font-size: 13px; }
.lockup .word span.t-word-sub { font-size: 11px; }
.pill.t-pill-lg { font-size: 14px; }
h1.t-h1-rpl { font-size: 21px; }
h2.t-h2-rpl { font-size: 16px; }
p.t-sub-rpl { font-size: 13.5px; }
.card h2.t-step-h { font-size: 21px; }
.card h2.t-cta-h { font-size: 21px; }
.card p.t-cta-k { font-size: 16px; }
.card p.t-cta-b { font-size: 14px; }
.card p.t-cta-n { font-size: 13px; }
.card p.t-eco { font-size: 16px; }
.card p.t-body-lg { font-size: 14px; }
a.btn.cta.t-cta-btn { font-size: 16px; }

@media (min-width: 481px) {
  p.t-kicker-24 { font-size: 24px; }
  h1.t-h1-reg { font-size: 54px; line-height: 1.15; }
  p.t-sub-reg { font-size: 24px; }
  h2.t-host { font-size: 30px; }
  h1.t-h1-ty { font-size: 32px; }
  h1.t-h1-cnf { font-size: 44px; }
  p.t-sub-cnf { font-size: 18px; }
  .lockup .word.t-word { font-size: 18px; }
  .lockup .word span.t-word-sub { font-size: 12px; }
  .pill.t-pill-lg { font-size: 20px; }
  h1.t-h1-rpl { font-size: 45px; }
  h2.t-h2-rpl { font-size: 25px; }
  p.t-sub-rpl { font-size: 20px; }
  .card h2.t-step-h { font-size: 24px; }
  .card h2.t-cta-h { font-size: 40px; }
  .card p.t-cta-k { font-size: 20px; }
  .card p.t-cta-b { font-size: 18px; }
  .card p.t-cta-n { font-size: 15px; }
  .card p.t-eco { font-size: 20px; }
  .card p.t-body-lg { font-size: 18px; }
}
