/* Angle pages. Sits on top of the live style.css + copy.css and replaces their look.
   Why it looks like this (research 2026-11-16, see WEBINAR-PAGE-RESEARCH.md):
   - phone first: everything needed on the first screen (label, headline, one line, host, button, time)
   - one clear font (Satoshi), big body text (17-18px), full-width buttons at least 56px tall
   - one loud colour (blue) used only for the action; calm warm background
   - sections separated by colour bands, not lines; one strict spacing scale (8 16 24 32 48 72 112)
   - the countdown counts to the real class time; the date and time sit in plain view */

@font-face { font-family: "Satoshi"; font-weight: 400; font-display: swap; src: url("fonts/satoshi-400.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 500; font-display: swap; src: url("fonts/satoshi-500.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 700; font-display: swap; src: url("fonts/satoshi-700.woff2") format("woff2"); }

:root {
  --ground: oklch(97.4% 0.007 85);
  --surface: oklch(99.5% 0.003 85);
  --tint: oklch(95.4% 0.022 266);
  --ink: oklch(22% 0.03 270);
  --muted: oklch(44% 0.026 268);
  --line: oklch(89% 0.012 85);
  --blue: oklch(51% 0.225 266);
  --blue-deep: oklch(43% 0.2 266);
  --blue-soft: oklch(93% 0.035 266);
  --bg-soft: var(--ground);
  --font: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --section-y: clamp(72px, 9vw, 112px);
  --float: 0 1px 2px oklch(22% 0.03 270 / 0.06), 0 32px 64px -24px oklch(22% 0.03 270 / 0.3);
}
body { background: var(--ground); color: var(--ink); font: 400 18px/1.6 var(--font); }
h1, h2, h3 { font-family: var(--font); font-weight: 700; color: var(--ink); text-wrap: balance; }
h2 { margin: 0 0 32px; max-width: 18em; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.025em; text-align: left; }

/* ---------- Top bar ---------- */
.alert-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: center; padding: 10px 16px;
  background: var(--ink); color: var(--ground); font: 700 15px/1.4 var(--font); letter-spacing: 0.005em; text-align: center;
}
.alert-bar .tag { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Buttons: the only loud colour ---------- */
.cta, .sticky button {
  background: var(--blue); color: var(--surface); font-family: var(--font);
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.2) inset, 0 14px 30px -14px oklch(51% 0.225 266 / 0.75);
}
.cta:hover { background: var(--blue-deep); transform: none; box-shadow: 0 1px 0 oklch(100% 0 0 / 0.2) inset, 0 14px 30px -14px oklch(51% 0.225 266 / 0.75); }
.cta .main { font-weight: 700; letter-spacing: -0.005em; }
.sticky { background: color-mix(in oklab, var(--surface) 94%, transparent); }
.sticky button { font-weight: 700; font-size: 18px; min-height: 56px; }

/* ---------- Hero: one centred column, everything on the first screen ---------- */
.hero { padding: 32px 0 var(--section-y); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; max-width: 900px; }
/* Logo: same circle size, picture zoomed in so "IMA" reads; the name sits beside it */
.brand-row { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.logo { display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--ink); }
.logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.55); }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.kicker {
  margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-deep); font-size: 15px; font-weight: 700; line-height: 1.4; text-wrap: balance;
}
.hero h1 { margin: 0; max-width: 15em; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -0.03em; text-align: center; }
h1 .mark::after { height: 0.08em; bottom: -0.03em; }
.hero .sub { margin: 24px auto 0; max-width: 36em; font-size: 19px; line-height: 1.6; color: var(--muted); text-align: center; }
.host-chip { display: inline-flex; align-items: center; gap: 12px; margin: 24px 0 0; font-size: 16px; line-height: 1.4; color: var(--muted); text-align: left; }
.host-chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.host-chip b { color: var(--ink); font-weight: 700; }
.hero .cta { width: 100%; max-width: 520px; min-width: 0; min-height: 64px; margin-top: 24px; padding: 18px 32px; }
.hero .cta .main { font-size: 21px; }

/* When it starts, when it is: one quiet panel, 24px clear of the button */
.event { width: 100%; max-width: 520px; margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-align: left; }
.event-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 24px; }
.event-row + .event-row { border-top: 1px solid var(--line); }
.event-k { font-size: 15px; font-weight: 500; color: var(--muted); }
.event .clock { display: flex; justify-content: flex-start; align-items: flex-end; gap: 24px; margin: 0; }
.event .clock .u { display: flex; flex-direction: column; min-width: 40px; }
.event .clock b { font: 700 32px/1 var(--font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.event .clock small { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.event .when { display: block; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink); text-align: left; }
.event .when [data-time] { white-space: nowrap; }
.event .when .qa { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--muted); }

/* ---------- What you'll learn: heading left, numbered rows right ---------- */
.learn-section { background: var(--surface); }
.learn-section .wrap, .faq-section .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.learn-section h2, .faq-section h2 { margin: 0; position: sticky; top: 96px; }
.learn { counter-reset: step; max-width: none; margin: 0; gap: 0; }
.learn li { counter-increment: step; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.learn li:last-child { border-bottom: 1px solid var(--line); }
.learn li::before { content: counter(step, decimal-leading-zero); font: 700 24px/1.3 var(--font); letter-spacing: -0.02em; color: var(--blue); }
.learn strong { display: block; margin-bottom: 4px; font-size: 20px; font-weight: 700; line-height: 1.35; }
.learn span { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- Why it fits: the one dark band ---------- */
.band { background: var(--ink); color: var(--ground); }
.band h2, .band h3 { color: var(--ground); }
.band h2 { margin-bottom: 48px; }
.fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: none; margin: 0; }
.fit-grid article { padding: 0 32px; border: 0; border-left: 1px solid oklch(97% 0.007 85 / 0.16); border-radius: 0; background: none; }
.fit-grid article:first-child { padding-left: 0; border-left: 0; }
.fit-grid h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.fit-grid p { margin: 0; font-size: 17px; line-height: 1.65; color: oklch(84% 0.014 85); }

/* ---------- Who's teaching: the big photo lives here ---------- */
.host-section { background: var(--tint); }
.host-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: center; max-width: 1000px; }
.host-section .story-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: var(--float); }
.host-section .story-photo figcaption { left: 12px; right: auto; bottom: 12px; padding: 8px 14px; border-radius: 12px; background: color-mix(in oklab, var(--surface) 94%, transparent); font-size: 16px; font-weight: 700; }
.host-section .story-photo small { font-size: 14px; font-weight: 400; color: var(--muted); }
.host-section ul { list-style: none; margin: 0; padding: 0; }
.host-section li { padding: 20px 0; border-top: 1px solid oklch(22% 0.03 270 / 0.12); }
.host-section li:last-child { border-bottom: 1px solid oklch(22% 0.03 270 / 0.12); }
.host-section li b { display: block; font-size: 20px; font-weight: 700; line-height: 1.35; }
.host-section li span { display: block; margin-top: 4px; font-size: 17px; color: var(--muted); }

/* ---------- Member words: open quotes ---------- */
.members-section { background: var(--ground); }
.member-feedback { max-width: none; margin: 0; gap: 48px; }
.member-feedback .win { padding: 24px 0 0; border: 0; border-top: 2px solid var(--ink); border-radius: 0; background: none; box-shadow: none; }
.member-feedback .headline { margin: 0 0 12px; font: 700 15px/1.4 var(--font); letter-spacing: 0; color: var(--blue-deep); }
.member-feedback blockquote { font-size: 21px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.member-feedback figcaption { margin-top: 24px; font-size: 16px; font-weight: 700; }
.win figcaption .av { width: 40px; height: 40px; background: var(--ink); color: var(--ground); font-weight: 700; }
.win figcaption small { font-size: 14px; font-weight: 400; color: var(--muted); }
.disclaim { max-width: 60ch; margin: 32px 0 0; font-size: 14px; text-align: left; }

/* ---------- Questions ---------- */
.faq-section { background: var(--surface); }
.faq { max-width: none; margin: 0; gap: 0; }
.faq details { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 48px 22px 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.faq summary::after { right: 0; color: var(--blue); }
.faq details p { padding: 0 48px 24px 0; font-size: 17px; line-height: 1.65; color: var(--muted); }

/* ---------- Last push: a blue band, the button turns white ---------- */
.final { padding: var(--section-y) 0; background: var(--blue); color: var(--surface); text-align: center; }
.final h2 { margin: 0 auto 16px; max-width: 14em; color: var(--surface); font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.03em; text-align: center; }
.final p { margin: 0; font-size: 18px; color: oklch(92% 0.03 266); }
.final .cta { margin-top: 32px; background: var(--surface); color: var(--blue-deep); box-shadow: 0 14px 30px -14px oklch(22% 0.03 270 / 0.5); }
.final .cta:hover { background: var(--blue-soft); }

.site-foot { border-top: 0; padding-top: 32px; font-size: 14px; }
.fine-print { max-width: 720px; margin: 0 auto; padding: 0 16px 32px; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .learn-section .wrap, .faq-section .wrap { grid-template-columns: 1fr; }
  .learn-section h2, .faq-section h2 { position: static; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-grid article, .fit-grid article:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid oklch(97% 0.007 85 / 0.16); }
  .band h2 { margin-bottom: 24px; }
  .host-grid { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 40px; }
  .member-feedback { gap: 40px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding-top: 24px; }
  .brand-row { margin-bottom: 16px; gap: 10px; }
  .logo { width: 44px; height: 44px; }
  .brand-name { font-size: 20px; }
  .kicker { margin-bottom: 16px; font-size: 14px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); line-height: 1.08; }
  .hero .sub { margin-top: 16px; font-size: 17px; }
  .host-chip { margin-top: 20px; font-size: 15px; }
  .host-chip img { width: 36px; height: 36px; }
  .hero .cta { margin-top: 20px; min-height: 60px; padding: 16px 24px; }
  .hero .cta .main { font-size: 20px; }
  .event { margin-top: 20px; }
  .event-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 20px; }
  .event .clock { gap: 20px; }
  .event .clock b { font-size: 30px; }
  .host-grid { grid-template-columns: 1fr; gap: 32px; }
  .host-section .story-photo { max-width: 300px; margin: 0 auto; }
  .host-section li { padding: 16px 0; }
  .host-section li b, .learn strong { font-size: 18px; }
  .host-section li span, .learn span, .fit-grid p, .faq details p { font-size: 16px; }
  .learn li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .learn li::before { font-size: 20px; }
  .member-feedback blockquote { font-size: 19px; }
  .faq summary { font-size: 17px; }
  .final h2 { font-size: 34px; }
}
@media (max-width: 360px) {
  .event .clock { gap: 14px; }
  .event .clock b { font-size: 26px; }
}

/* ---------- Sign-up pop-up: same font, colours and button as the page (fields and wording unchanged) ---------- */
dialog { border-radius: 24px; background: var(--surface); width: min(480px, calc(100% - 24px)); box-shadow: 0 40px 90px -30px oklch(22% 0.03 270 / 0.55); }
dialog::backdrop { background: oklch(22% 0.03 270 / 0.6); backdrop-filter: none; }
.modal { padding: 32px 28px 28px; }
.modal .close { top: 16px; right: 16px; background: var(--ground); }
.tags { gap: 8px; margin-bottom: 16px; }
.tags > span[class] { padding: 6px 12px; background: var(--ground); color: var(--ink); font-size: 13px; font-weight: 500; border: 1px solid var(--line); }
.tags i { color: var(--blue); }
.modal h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.modal .lead { margin: 8px 0 24px; font-size: 16px; line-height: 1.5; }
.field { margin-bottom: 16px; }
.field label { margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.field input, .field select { min-height: 54px; border: 1px solid var(--line); background-color: var(--ground); font: 500 17px var(--font); }
.field input::placeholder { color: oklch(62% 0.02 268); }
.field input:focus, .field select:focus { background-color: var(--surface); border-color: var(--blue); box-shadow: 0 0 0 4px oklch(51% 0.225 266 / 0.15); }
.reminder-consent { gap: 12px; margin: 16px 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.reminder-consent input { width: 18px; height: 18px; flex-basis: 18px; margin-top: 2px; accent-color: var(--blue); }
.go { min-height: 60px; margin-top: 8px; background: var(--blue); font: 700 19px var(--font); box-shadow: 0 1px 0 oklch(100% 0 0 / 0.2) inset, 0 14px 30px -14px oklch(51% 0.225 266 / 0.75); }
.go:hover { background: var(--blue-deep); }
.fine { font-size: 13px; }
@media (max-width: 480px) { .modal { padding: 28px 20px 20px; } .modal h3 { font-size: 24px; } }
