/* Trading Apprentice — /webinar registration page (long-form, 2026-09-21).
   Loads AFTER webinar.css and reuses its tokens (--ta, --ta-light, --ta-card …).
   Copy is aligned to the live masterclass deck "The Apprenticeship". */

.r-page { background: var(--ta-bg); }
.r-wrap { margin: 0 auto; width: 100%; max-width: 1080px; padding-inline: 16px; }
.r-narrow { max-width: 760px; }
.r-center { text-align: center; }
.r-accent { color: var(--ta-light); }

/* ---------- header + announcement pill ---------- */
.r-logo { display: block; margin: 0 auto 22px; width: 64px; height: 64px; object-fit: cover; border-radius: 16px; }
.r-badge {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 4px auto 0; padding: 14px 26px; border-radius: 14px; max-width: 100%;
  background: rgba(117,209,167,0.08); border: 1px solid rgba(117,209,167,0.7);
  box-shadow: 0 0 0 1px rgba(117,209,167,0.15), 0 0 22px rgba(117,209,167,0.35), inset 0 0 18px rgba(117,209,167,0.08);
}
.r-badge b { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; letter-spacing: 0.01em; text-transform: none; }
.r-badge b i { width: 9px; height: 9px; border-radius: 50%; background: var(--ta-light); box-shadow: 0 0 10px var(--ta-light); flex: none; }
.r-badge span { font-size: 13.5px; color: var(--ta-light); line-height: 1.4; }
@media (max-width: 480px) { .r-badge { padding: 12px 16px; } .r-badge b { font-size: 14px; } .r-badge span { font-size: 12.5px; } }
/* legacy top bar (unused) */
.r-topbar {
  background: linear-gradient(90deg, #0f2a1e, #173d2b 50%, #0f2a1e);
  border-bottom: 1px solid rgba(117,209,167,0.25);
  padding: 8px 16px; text-align: center; line-height: 1.35;
}
.r-topbar b { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.r-topbar span { font-size: 12px; color: var(--ta-light); }

/* ---------- hero ---------- */
.r-hero { background: var(--ta-glow); padding: 24px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.r-mark { display: block; margin: 0 auto; border-radius: 12px; }
.r-kicker { margin-top: 18px; font-style: italic; font-weight: 600; color: var(--ta-light); font-size: 17px; }
.r-h1 {
  margin: 12px auto 0; max-width: 900px; font-family: 'Satoshi','Inter',sans-serif;
  font-weight: 900; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance;
  font-size: clamp(34px, 6.2vw, 64px);
}
.r-h1 .u { color: var(--ta-light); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.r-sub {
  margin: 18px auto 0; max-width: 720px; font-weight: 600; font-style: italic;
  line-height: 1.5; font-size: clamp(16px, 2.1vw, 19px); text-wrap: pretty;
}
.r-fine { margin: 12px auto 0; max-width: 640px; font-size: 11.5px; line-height: 1.5; color: var(--ta-muted); }

/* countdown */
.r-count { margin: 30px auto 0; max-width: 420px; }
.r-count .lab { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.r-count .row { margin-top: 12px; display: flex; justify-content: center; gap: 8px; align-items: flex-start; }
.r-count .cell {
  width: 68px; padding: 10px 0 8px; border-radius: 10px; background: var(--ta-card);
  border: 1px solid var(--ta-card-border);
}
.r-count .num { display: block; font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; font-size: 30px; font-variant-numeric: tabular-nums; }
.r-count .u { display: block; margin-top: 2px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ta-muted); }
.r-count .sep { font-size: 26px; font-weight: 800; color: var(--ta-muted); padding-top: 12px; }

/* inline registration card */
.r-form {
  margin: 28px auto 0; max-width: 620px; text-align: left;
  background: rgba(10,18,14,0.85); border: 1px solid rgba(117,209,167,0.35);
  border-radius: 14px; padding: 18px; box-shadow: 0 24px 60px -30px rgba(117,209,167,0.45);
}
.r-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.r-fields .full { grid-column: 1 / -1; }
.r-fields input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 8px; font: inherit; font-size: 15px;
  color: #fff; background: #0b0f0d; border: 1px solid rgba(255,255,255,0.14);
}
.r-fields input::placeholder { color: #6f7a74; }
/* phone + country picker: one control. The border lives on the wrapper so the pair reads
   as a single field matching the others.

   A <select> shows the SAME text open and closed, and Chrome prefers an option's `label`
   attribute for the closed state — which rendered a truncated "United S..." over the
   chevron. So the select is transparent and laid over a compact "flag +code" span: the
   closed control stays narrow, while the native dropdown (and the native wheel picker on
   mobile) still lists full country names. The select remains the real, focusable,
   labelled control; the span is decorative and aria-hidden. */
.r-phone { display: flex; align-items: stretch; height: 48px; border-radius: 8px;
  background: #0b0f0d; border: 1px solid rgba(255,255,255,0.14); overflow: hidden; }
.r-phone:focus-within { outline: 2px solid var(--ta-light); outline-offset: 1px; }
.r-phone .cc { position: relative; flex: none; display: flex; align-items: center;
  padding: 0 22px 0 12px; border-right: 1px solid rgba(255,255,255,0.14); }
.r-phone .cc-txt { font-size: 15px; color: #fff; white-space: nowrap; }
.r-phone .cc::after { content: ""; position: absolute; right: 9px; top: 50%; width: 0; height: 0;
  margin-top: -2px; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 5px solid #6f7a74; pointer-events: none; }
.r-phone select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  border: 0; background: transparent; color: #fff; font: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none; }
/* The dropdown list renders with the OS palette, so options need an explicit dark
   background or they come out white-on-white in dark mode on some platforms. */
.r-phone select option { background: #0b0f0d; color: #fff; }
.r-phone input {
  flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: none;
  background: #0b0f0d; color: #fff; font: inherit; font-size: 15px; border-radius: 0;
}
.r-phone input:focus { outline: none; }

.r-fields input:focus { outline: 2px solid var(--ta-light); outline-offset: 1px; }
@media (max-width: 480px) { .r-fields { grid-template-columns: 1fr; } }
.r-consent { margin-top: 12px; display: flex; gap: 8px; font-size: 11px; line-height: 1.45; color: var(--ta-muted); }
.r-consent input { margin-top: 2px; accent-color: var(--ta); flex: none; }
.r-note { margin-top: 10px; font-size: 11.5px; color: var(--ta-muted); text-align: center; }

/* primary CTA */
.r-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 100%; max-width: 620px; margin: 14px auto 0; min-height: 64px; padding: 12px 18px;
  border: 0; border-radius: 10px; cursor: pointer; text-align: center;
  background: linear-gradient(180deg, #86dcb3, #5fae89); color: #06110b;
  box-shadow: 0 10px 30px -12px rgba(117,209,167,0.8), inset 0 1px 0 rgba(255,255,255,0.4);
  font-family: 'Satoshi','Inter',sans-serif;
}
.r-cta .t { font-size: 19px; font-weight: 900; }
.r-cta .s { font-family: 'Inter',sans-serif; font-size: 12.5px; font-weight: 500; opacity: 0.8; }
.r-cta:hover { filter: brightness(1.05); }
.r-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.r-deliver { margin-top: 18px; font-size: 13.5px; font-weight: 700; }
.r-deliver span { color: var(--ta-light); }

/* ---------- section scaffolding ---------- */
.r-sec { padding: 64px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.r-pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ta-light);
  background: var(--ta-pill-bg); border: 1px solid var(--ta-pill-border);
}
.r-h2 {
  margin: 14px auto 0; max-width: 820px; font-family: 'Satoshi','Inter',sans-serif; font-weight: 900;
  font-size: clamp(28px, 4.4vw, 42px); line-height: 1.12; text-wrap: balance;
}
.r-lede { margin: 12px auto 0; max-width: 640px; color: var(--ta-muted); line-height: 1.6; font-size: 16px; }
.r-label { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ta-light); }

/* ---------- the 3 steps ---------- */
.r-steps { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.r-step {
  background: var(--ta-card); border: 1px solid var(--ta-card-border); border-radius: 14px;
  padding: 22px; display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px;
}
.r-step .n {
  grid-row: 1 / span 4; grid-column: 1; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; font-size: 22px;
  background: var(--ta-pill-bg); border: 1px solid var(--ta-pill-border); color: var(--ta-light);
}
.r-step > :not(.n) { grid-column: 2; }
.r-step h3 { font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; font-size: 24px; line-height: 1.2; }
.r-step p { color: var(--ta-muted); line-height: 1.6; font-size: 15px; }
.r-step ul { margin-top: 8px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.r-step li, .r-yes li, .r-no li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.r-step li svg, .r-yes li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ta-light); }
@media (max-width: 640px) {
  .r-step { grid-template-columns: 1fr; }
  .r-step > :not(.n) { grid-column: 1; }
  .r-step .n { grid-row: auto; width: 44px; height: 44px; font-size: 18px; }
  .r-step ul { grid-template-columns: 1fr; }
}
.r-recap {
  margin-top: 16px; display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(117,209,167,0.14), rgba(117,209,167,0.03));
  border: 1px solid var(--ta-pill-border); text-align: left;
}
.r-recap b { display: block; font-size: 15.5px; }
.r-recap span { font-size: 13.5px; color: var(--ta-muted); }
.r-recap svg { flex: none; width: 26px; height: 26px; color: var(--ta-light); }

/* ---------- walk away with ---------- */
.r-take { margin: 26px auto 0; max-width: 760px; list-style: none; display: flex; flex-direction: column; }
.r-take li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.07); text-align: left; }
.r-take li:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.r-take .i {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: var(--ta-pill-bg); border: 1px solid var(--ta-pill-border); color: var(--ta-light);
}
.r-take .i svg { width: 18px; height: 18px; }
.r-take b { display: block; font-size: 16px; }
.r-take span { font-size: 14px; color: var(--ta-muted); }

/* ---------- host ---------- */
.r-host { display: grid; grid-template-columns: 440px 1fr; gap: 40px; align-items: start; text-align: left; }
@media (max-width: 820px) { .r-host { grid-template-columns: 1fr; } }
.r-host .photo { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--ta-card-border); max-width: 360px; margin: 0 auto; width: 100%; }
.r-host .photo img { display: block; width: 100%; aspect-ratio: 384/470; object-fit: cover; object-position: center 20%; }
.r-live {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px; background: rgba(0,0,0,0.75); font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.15);
}
.r-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 3px rgba(255,77,77,0.25); }
.r-host h2 { font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin-top: 8px; }
.r-host .role { margin-top: 6px; color: var(--ta-light); font-weight: 600; font-size: 15px; }
.r-host .bio p { margin-top: 14px; line-height: 1.65; font-size: 15.5px; color: #d9dcdf; }
.r-stats { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 640px) { .r-stats { grid-template-columns: 1fr 1fr; } }
.r-stat { background: var(--ta-card); border: 1px solid var(--ta-card-border); border-radius: 12px; padding: 16px 14px; text-align: center; }
.r-stat b { display: block; font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; font-size: 30px; color: var(--ta-light); font-variant-numeric: tabular-nums; }
.r-stat span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--ta-muted); }

/* ---------- proof ---------- */
.r-proof { margin-top: 34px; display: flex; flex-direction: column; gap: 18px; }
.r-case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; text-align: left;
  background: var(--ta-card); border: 1px solid var(--ta-card-border);
}
.r-case .txt { padding: 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.r-case h3 { font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; }
.r-case p { color: var(--ta-muted); line-height: 1.6; font-size: 15px; }
.r-case .img { background: #050806; display: grid; place-items: center; padding: 18px; }
.r-case .img img { display: block; max-height: 420px; width: auto; max-width: 100%; border-radius: 10px; }
@media (max-width: 760px) { .r-case { grid-template-columns: 1fr; } .r-case .img img { max-height: 360px; } }
.r-disc { margin: 14px auto 0; max-width: 760px; font-size: 11.5px; line-height: 1.5; color: var(--ta-muted); text-align: center; }

/* ---------- who it's for ---------- */
.r-fit { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
@media (max-width: 720px) { .r-fit { grid-template-columns: 1fr; } }
.r-yes, .r-no { border-radius: 14px; padding: 22px; background: var(--ta-card); border: 1px solid var(--ta-card-border); }
.r-yes { border-color: var(--ta-pill-border); }
.r-yes ul, .r-no ul { margin-top: 14px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.r-no .r-label { color: #e07a7a; }
.r-no li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #e07a7a; }
.r-no li { color: var(--ta-muted); }

/* ---------- more proof grid ---------- */
.r-grid { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
@media (max-width: 720px) { .r-grid { grid-template-columns: 1fr; } }
.r-tile { background: var(--ta-card); border: 1px solid var(--ta-card-border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.r-tile .body { padding: 20px 20px 16px; }
.r-tile h3 { margin-top: 6px; font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; font-size: 21px; line-height: 1.2; }
.r-tile p { margin-top: 8px; color: var(--ta-muted); font-size: 14.5px; line-height: 1.55; }
/* Square box, because the two kinds of proof image need opposite treatment and this is
   the one ratio that serves both. Dom's community post is 1000x995, so `contain` fits it
   with no visible letterbox; Claudete's 686x900 portrait gets a tall crop centred on the
   faces instead of the horizontal slit a 300px-tall box produced. Both boxes share a
   ratio, so the grid stays aligned. */
.r-tile .img { margin-top: auto; background: #050806; aspect-ratio: 1 / 1; overflow: hidden; }
.r-tile .img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
/* SCREENSHOTS: never crop. The content IS text — a crop does not tighten the framing, it
   deletes the proof. Anything that is a screenshot rather than a photo gets this class. */
.r-tile .img--fit { padding: 10px; }
.r-tile .img--fit img { object-fit: contain; object-position: center; border-radius: 6px; }
.r-quotes { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .r-quotes { grid-template-columns: 1fr; } }
.r-quote { border-radius: 12px; padding: 18px 20px; border: 1px dashed var(--ta-pill-border); text-align: left; }
.r-quote b { display: block; font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; font-size: 20px; color: var(--ta-light); }
.r-quote span { font-size: 14px; color: var(--ta-muted); }

.r-ctablock { padding: 40px 0; text-align: center; }
.r-ctablock .strip { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--ta-muted); }

/* host: before / now pair */
.r-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 440px; width: 100%; margin: 0 auto; }
.r-ba .photo { margin: 0; max-width: none; background: var(--ta-card); display: flex; flex-direction: column; }
.r-ba .photo img { aspect-ratio: 3/4; object-position: center; }
.r-ba .photo:last-child img { object-position: center 20%; }
.r-ba .r-live { bottom: auto; top: 10px; left: 10px; }
.r-ba figcaption { padding: 10px 12px 12px; font-size: 12.5px; line-height: 1.4; color: var(--ta-muted); }
.r-ba figcaption b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ta-light); }
.r-ba .photo:first-child figcaption b { color: var(--ta-muted); }
.r-ba .photo:first-child img { filter: saturate(0.75); }
.r-alias { color: var(--ta-light); font-weight: 700; }

.r-case .r-card-disc, .r-tile .r-card-disc { font-size: 11.5px; line-height: 1.45; color: #7d8288; font-style: italic; }
