/* WIRED webinar pages. The light look of /apply: paper ground, near-black type, Anton caps for headlines,
   Barlow for text, Barlow Condensed for labels, the fiber line, pale steel strands behind. Red is the action only. */
:root {
  --bg: #F5F3EF;
  --panel: #FFFFFF;
  --line: rgba(17, 16, 16, 0.14);
  --line-soft: rgba(17, 16, 16, 0.08);
  --strong: #111010;
  --text: #1F1C1B;
  --muted: #4F4A48;
  --faint: #6B6563;
  --red: #ED1C24;
  --red-deep: #C9141B;
  --fiber: #2B2827;
  --shadow: 0 1px 2px rgba(17, 16, 16, 0.05), 0 12px 36px rgba(17, 16, 16, 0.07);

  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --wrap: 1180px;
  --pad: max(22px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--strong); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- background: the pale steel strands of /apply with a faint signal running each one */
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    url("https://www.wired2d.com/apply/assets/bg-wide-light.svg") center / cover no-repeat,
    radial-gradient(ellipse 75% 60% at 0% 100%, rgba(126, 139, 151, 0.12), transparent 60%),
    var(--bg);
}
@media (orientation: portrait) {
  .bg { background-image: url("https://www.wired2d.com/apply/assets/bg-tall-light.svg"), radial-gradient(ellipse 90% 50% at 0% 100%, rgba(126, 139, 151, 0.12), transparent 60%); }
}
.bg-flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-flow path {
  fill: none; stroke: #3A4550; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 0.06 0.94; stroke-dashoffset: 1; opacity: 0; animation: flow 11s linear infinite;
}
.bg-flow path:nth-child(2) { animation-duration: 13s; animation-delay: -5s; }
.bg-flow path:nth-child(3) { animation-duration: 9s; animation-delay: -2s; }
.bg-flow path:nth-child(4) { animation-duration: 15s; animation-delay: -9s; }
@keyframes flow { 0% { stroke-dashoffset: 1; opacity: 0; } 12% { opacity: 0.5; } 82% { opacity: 0.5; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.bg-flow-tall { display: none; }
@media (orientation: portrait) { .bg-flow-wide { display: none; } .bg-flow-tall { display: block; } }

.page { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * 22px); margin-inline: auto; padding-left: var(--pad); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
main { flex: 1; }

/* ---------- top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px 0; }
.brand img { width: 124px; height: auto; }
.top-tag { font: 600 13px/1 var(--label); text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); }

/* ---------- type */
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--strong); text-wrap: balance; }
h1 { font-size: clamp(52px, 15.5vw, 92px); line-height: 0.94; letter-spacing: 0.004em; }
h2 { font-size: clamp(36px, 9.5vw, 54px); line-height: 0.98; letter-spacing: 0.005em; }
.eyebrow { font: 600 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.lede { max-width: 31em; font-size: 19px; color: var(--text); text-wrap: pretty; }
.note { max-width: 31em; font-size: 16px; color: var(--muted); text-wrap: pretty; }
.fiber-line { position: relative; width: 112px; height: 2px; background: var(--fiber); }
.fiber-line::after { content: ""; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--fiber); }

/* "Free live webinar": the status pill of the format (Troy, Pinnacle), quiet, with a live dot. */
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 8px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--panel) 70%, transparent);
  font: 700 14px/1 var(--label); text-transform: uppercase; letter-spacing: 0.16em; color: var(--strong);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fiber); box-shadow: 0 0 0 3px rgba(43, 40, 39, 0.12); }

/* ---------- the action */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--red); color: #FFFFFF; text-decoration: none;
  font: 700 20px/1 var(--label); text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer; transition: background-color 0.15s ease, transform 0.15s ease;
}
.cta svg { width: 22px; height: 22px; flex: none; transition: transform 0.2s ease; }
.cta:hover { background: var(--red-deep); }
.cta:hover svg { transform: translateX(4px); }
.cta:active { transform: scale(0.98); }
.cta[disabled], .cta[aria-disabled="true"] { background: #B9B3B0; cursor: default; transform: none; }
.cta[aria-busy="true"] { background: var(--red-deep); }
.ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 80%, transparent); color: var(--strong); text-decoration: none;
  font: 700 16px/1 var(--label); text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer;
}
.ghost svg { width: 18px; height: 18px; flex: none; }
.ghost:hover { border-color: var(--strong); }
.text-link { font-size: 16px; color: var(--text); }

/* ---------- registration hero: the pitch, then the form (side by side on wide screens) */
.hero { display: grid; gap: 30px; padding-block: 44px 28px; }
.pitch { display: flex; flex-direction: column; gap: 20px; }
.when { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.when-main { font: 700 23px/1.15 var(--label); text-transform: uppercase; letter-spacing: 0.04em; color: var(--strong); }
.when-sub { font-size: 16px; color: var(--muted); }
.when-count { font: 600 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.dealer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 600 13px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.dealer img { width: auto; height: 20px; }

/* The form card: white, like the SRG+ Forms card on /apply. */
.card { padding: 26px 22px 24px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); }
.card-title { font: 400 30px/1 var(--display); text-transform: uppercase; color: var(--strong); }
.card-sub { margin-top: 8px; font-size: 16px; color: var(--muted); }
.form { display: grid; gap: 16px; margin-top: 22px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font: 700 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--strong); }
.input, .select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(17, 16, 16, 0.22); border-radius: 12px;
  background: #FFFFFF; color: var(--strong); font: 500 18px/1.2 var(--body); appearance: none; -webkit-appearance: none;
}
.select { padding-right: 40px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111010' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.input::placeholder { color: #8F8987; }
.input:focus, .select:focus { outline: none; border-color: var(--strong); box-shadow: 0 0 0 3px rgba(17, 16, 16, 0.12); }
.tried [aria-invalid="true"] { border-color: var(--red-deep); }
.err { font-size: 14px; font-weight: 600; color: var(--red-deep); }
/* v26: a field that needs a fix can't be missed: a red frame twice as strong and a pale red fill, and a line above the button. */
.tried .input[aria-invalid="true"], .tried .select[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--red-deep); background-color: #FDEEEE; }
.tried .input[aria-invalid="true"]:focus, .tried .select[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1px var(--red-deep), 0 0 0 3px rgba(201, 20, 27, 0.18); }
.form-sum { padding: 12px 14px; border: 1px solid rgba(201, 20, 27, 0.35); border-radius: 12px; background: #FDEEEE; font-size: 15px; font-weight: 600; color: var(--red-deep); }
/* v26: while the CRM saves the seat (a few seconds) the fields fade, a bar runs under the button and a line asks to wait. */
.wform.is-saving > fieldset, .wform.is-saving > .row, .wform.is-saving > .field, .wform.is-saving > .ticks { opacity: 0.5; pointer-events: none; transition: opacity 0.2s ease; }
.saving { display: grid; gap: 10px; }
.saving-bar { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(17, 16, 16, 0.1); }
.saving-bar span { display: block; width: 4%; height: 100%; border-radius: inherit; background: var(--strong); animation: saving 7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.saving.done .saving-bar span { width: 100%; animation: none; }
.saving-text { font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; color: var(--strong); }
@keyframes saving { from { width: 4%; } to { width: 92%; } }
.sms { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.sms input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--strong); }
.sms a { color: var(--muted); }
.form .cta { width: 100%; margin-top: 4px; }
.fine { font-size: 13.5px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.fine a { color: var(--muted); }
.form-error { padding: 12px 14px; border: 1px solid rgba(201, 20, 27, 0.35); border-radius: 12px; font-size: 15px; color: var(--red-deep); }
/* The honeypot: out of sight and out of the tab order; people never fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.no-session-box { display: flex; flex-direction: column; gap: 14px; }

/* ---------- sections below the hero */
.band { padding-block: 64px 8px; }
.band-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.band-head .note { max-width: 34em; }

/* What you'll see: four even cards, a two-word heading and one sentence each. */
.see { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.see li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 20px 22px; border: 1px solid var(--line-soft); border-radius: 18px; background: color-mix(in srgb, var(--panel) 78%, transparent); }
.see-n { font: 400 28px/1 var(--display); color: var(--strong); }
.see strong { display: block; font: 700 21px/1.15 var(--label); text-transform: uppercase; letter-spacing: 0.04em; color: var(--strong); }
.see p { margin-top: 6px; font-size: 16px; color: var(--muted); text-wrap: pretty; }
.see-foot { margin-top: 18px; }

/* The host and the one-minute reel. Whole face, its own background, no cut-out. */
.host { display: grid; gap: 18px; }
.host-card { display: flex; flex-direction: column; gap: 18px; padding: 24px 22px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); }
.host-who { display: flex; align-items: center; gap: 16px; }
.host-who img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.host-who strong { display: block; font: 700 24px/1.1 var(--label); text-transform: uppercase; letter-spacing: 0.04em; color: var(--strong); }
.host-who span { font-size: 15px; color: var(--muted); }
.host-card p { font-size: 17px; color: var(--text); text-wrap: pretty; }
.reel { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: #0B0A0A; box-shadow: var(--shadow); }
.reel-video { width: 100%; height: 100%; object-fit: cover; }
.reel-sound { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(11, 10, 10, 0.6); color: #FFFFFF; cursor: pointer; }
.reel-sound svg { width: 20px; height: 20px; }
.reel-sound .on, .reel-sound[aria-pressed="true"] .off { display: none; }
.reel-sound[aria-pressed="true"] .on { display: block; }
.reel figcaption { position: absolute; left: 14px; top: 14px; padding: 7px 11px 6px; border-radius: 999px; background: rgba(11, 10, 10, 0.55); color: #FFFFFF; font: 700 12px/1 var(--label); text-transform: uppercase; letter-spacing: 0.16em; }

/* FAQ: plain disclosure rows. */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font: 700 20px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.03em; color: var(--strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2.4px solid var(--strong); border-bottom: 2.4px solid var(--strong); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 20px; max-width: 36em; font-size: 17px; color: var(--text); text-wrap: pretty; }

/* Closing call. */
.closing { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 64px; padding: 34px 24px; border: 1px solid var(--line-soft); border-radius: 24px; background: var(--panel); box-shadow: var(--shadow); }
.closing .note { margin-top: 10px; }

/* ---------- confirmation and live pages: one centred column */
.solo { display: flex; flex-direction: column; gap: 22px; max-width: 720px; padding-block: 52px 40px; }
.session { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); }
.session-day { font: 400 clamp(34px, 9vw, 46px)/1 var(--display); text-transform: uppercase; color: var(--strong); }
.session-time { font: 700 21px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.04em; color: var(--strong); }
.session-sub { font-size: 16px; color: var(--muted); }
.session-count { margin-top: 6px; font: 600 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.cal { display: flex; flex-direction: column; gap: 12px; }
.cal-title { font: 700 15px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.cal-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.save-link { padding: 16px 18px; border: 1px dashed var(--line); border-radius: 14px; font-size: 16px; color: var(--text); }
.save-link a { font-weight: 600; word-break: break-word; }
.next { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.next li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.next-n { font: 400 26px/1 var(--display); color: var(--strong); }
.next strong { display: block; font: 700 19px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.04em; color: var(--strong); }
.next p { margin-top: 4px; font-size: 15px; color: var(--muted); text-wrap: pretty; }
.status { font: 600 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
body[data-live="live"] .status { color: var(--red-deep); }
.join { align-self: stretch; min-height: 68px; font-size: 22px; }
.callout { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; font-size: 16px; color: var(--text); }

/* ---------- footer (same as /apply) */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 56px; padding-block: 20px 28px; border-top: 1px solid var(--line); font: 500 13px/1.4 var(--label); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.foot-links { display: flex; gap: 18px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--strong); }
.foot-dealer { display: inline-flex; align-items: center; gap: 8px; }
.foot-dealer img { width: auto; height: 16px; }
.foot-legal { flex-basis: 100%; font-size: 12px; line-height: 1.5; color: var(--faint); }

@media (min-width: 640px) {
  .see { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closing { padding: 44px 40px; }
}

@media (min-width: 760px) {
  .top { padding-top: 36px; }
  .hero { padding-block: 60px 36px; }
  .card { padding: 32px 30px 28px; }
  .host { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .host-card { justify-content: center; }
}

/* Wide screens: the pitch on the left, the form on the right, both in the first screen. */
@media (min-width: 1100px) {
  :root { --pad: max(48px, env(safe-area-inset-left, 0px)); }
  .wrap { padding-right: max(48px, env(safe-area-inset-right, 0px)); max-width: calc(var(--wrap) + 96px); }
  .brand img { width: 160px; }
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); align-items: center; gap: 72px; padding-block: 48px 40px; }
  .pitch { gap: 24px; }
  h1 { font-size: clamp(92px, 7.6vw, 120px); }
  .lede { font-size: 22px; }
  .when-main { font-size: 26px; }
  .see { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .see li { grid-template-columns: 1fr; gap: 16px; padding: 26px 24px 28px; }
  .band { padding-top: 88px; }
  .solo { max-width: 760px; margin-inline: auto; padding-top: 72px; }
  .closing { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 56px; }
}

/* ---------- v6: the sign-up is the SRG+ CRM page in a frame. Embedded, it is transparent and sits on this card. */
.card-frame { padding: 24px 10px 8px; }
.card-frame .card-title, .card-frame .card-sub { padding-inline: 12px; }
.frame-box { position: relative; margin-top: 6px; min-height: 560px; }
.reg-frame { display: block; width: 100%; height: 560px; border: 0; background: transparent; color-scheme: light; }
.frame-wait { position: absolute; inset: 0 0 auto; padding: 28px 12px; font: 600 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.frame-ready .frame-wait { display: none; }
.frame-ready .frame-box { min-height: 0; }
.frame-fallback { margin: 8px 12px 16px; }
@media (min-width: 640px) { .card-frame { padding: 28px 14px 10px; } .card-frame .card-title, .card-frame .card-sub { padding-inline: 14px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 2px; padding: 0; list-style: none; }
.chips li { padding: 6px 12px 5px; border: 1px solid var(--line); border-radius: 999px; font: 600 13px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.12em; color: var(--strong); background: color-mix(in srgb, var(--panel) 70%, transparent); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts strong { font: 400 clamp(24px, 6.4vw, 40px)/1 var(--display); text-transform: uppercase; color: var(--strong); }
.facts span { font: 600 13px/1.25 var(--label); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
@media (min-width: 760px) { .see-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hosted { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--muted); }
.hosted img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.hosted strong { color: var(--strong); font-weight: 600; }

/* A sticky "Save my seat" bar on phones once the sign-up card has scrolled away (app.js toggles .show). */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform 0.25s ease; }
.dock.show { transform: none; }
.dock-when { min-width: 0; }
.dock-when strong { display: block; font: 700 16px/1.15 var(--label); text-transform: uppercase; letter-spacing: 0.05em; color: var(--strong); }
.dock-when span { display: block; margin-top: 2px; font: 500 13px/1.3 var(--body); color: var(--muted); }
.dock .cta { flex: none; min-height: 48px; padding-inline: 18px; font-size: 17px; }
@media (min-width: 1100px) { .dock { display: none; } }
@media (max-width: 1099px) { body[data-page="register"] .foot { padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* Confirmation v6: the inbox step comes first. */
.inbox { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px 20px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); }
.inbox svg { width: 34px; height: 34px; color: var(--strong); }
.inbox strong { display: block; font: 700 21px/1.15 var(--label); text-transform: uppercase; letter-spacing: 0.04em; color: var(--strong); }
.inbox p { margin-top: 6px; font-size: 16px; color: var(--text); text-wrap: pretty; }
.inbox .note { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- v7 */
.brand-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; text-decoration: none; }
.brand-stack > img { width: 168px; height: auto; }
.brand-dealer { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 700 13px/1 var(--label); text-transform: uppercase; letter-spacing: 0.18em; color: var(--strong); }
.brand-dealer img { width: auto; height: 26px; }
.pill::before { display: none; }
/* "Save my seat" brings the sign-up into view and marks it for a moment. */
.card.flash { animation: flash 1.4s ease-out 1; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.55), var(--shadow); } 100% { box-shadow: 0 0 0 18px rgba(237, 28, 36, 0), var(--shadow); } }
.top-dealer { display: flex; align-items: center; gap: 10px; white-space: nowrap; margin: 0; font: 600 12px/1 var(--label); text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.top-dealer img { width: auto; height: 22px; }
@media (max-width: 420px) { .top-dealer { gap: 8px; font-size: 10px; letter-spacing: 0.14em; } .top-dealer img { height: 18px; } }
.when-main { font: 700 23px/1.15 var(--label); text-transform: uppercase; letter-spacing: 0.04em; color: var(--strong); }
.when-time { font: 400 clamp(30px, 8vw, 40px)/1.05 var(--display); text-transform: uppercase; color: var(--strong); }
.when-or { color: var(--faint); }
.hosts-row { display: flex; align-items: center; gap: 12px; }
.hosts-row p { font-size: 16px; color: var(--muted); text-wrap: pretty; }
.hosts-row strong { color: var(--strong); font-weight: 600; }
.faces { display: flex; flex: none; }
.faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.faces img + img { margin-left: -12px; }
/* The frame stays out of sight until the CRM page inside reports its height (no browser error page ever shows). */
.reg-frame { visibility: hidden; height: 0; }
.frame-ready .reg-frame { visibility: visible; }
.frame-wait { position: static; display: grid; gap: 12px; padding: 18px 12px 8px; }
.frame-wait span { display: block; height: 52px; border-radius: 12px; background: linear-gradient(90deg, rgba(17,16,16,0.05), rgba(17,16,16,0.09), rgba(17,16,16,0.05)); background-size: 200% 100%; animation: wait 1.4s ease-in-out infinite; }
.frame-wait span:last-child { height: 60px; border-radius: 999px; background: rgba(237, 28, 36, 0.18); }
@keyframes wait { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.frame-ready .frame-wait, .frame-failed .frame-wait { display: none; }
.frame-box { min-height: 0; }
.frame-fallback { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 14px 12px 18px; }
.frame-fallback .note { text-align: center; font-size: 14px; }
.join-box { display: flex; flex-direction: column; gap: 12px; margin: 0 12px 22px; padding: 18px; border-radius: 16px; background: var(--bg); }
.join-state { font: 700 18px/1.1 var(--label); text-transform: uppercase; letter-spacing: 0.12em; color: var(--red-deep); }
.join-box .cta[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.join-box .note { font-size: 14px; }
.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hosts { display: grid; gap: 14px; }
.host-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.host-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.host-card .host-name { font: 400 30px/1 var(--display); text-transform: uppercase; color: var(--strong); }
.host-card .host-role { font: 600 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.host-card p:last-child { margin-top: 6px; font-size: 17px; font-size: 17px; color: var(--text); text-wrap: pretty; }
@media (min-width: 760px) { .hosts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hosts .reel { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .hosts { grid-template-columns: 1fr 1fr 1.1fr; align-items: stretch; } .hosts .reel { grid-column: auto; } }

/* ---------- v8: lockup, own form, calmer hero */
.top { padding-block: 22px 0; }
.lockup { display: inline-grid; gap: 7px; text-decoration: none; }
.lockup-logo { width: 208px; height: auto; }
.lockup-dealer { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 208px; white-space: nowrap; font: 700 10.5px/1 var(--label); text-transform: uppercase; letter-spacing: 0.17em; color: var(--strong); }
.lockup-dealer img { width: auto; height: 15px; }
.hero { padding-block: 30px 28px; }
.pitch { gap: 18px; }

body.own-form .card-frame { padding: 26px 22px 24px; }
body.own-form .card-frame .card-title, body.own-form .card-frame .card-sub { padding-inline: 0; }
.wform { margin-top: 20px; gap: 18px; }
.wform fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wform legend { padding: 0; margin-bottom: 8px; font: 700 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--strong); }
.sess-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sess-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 13px 14px 12px; border: 1px solid rgba(17, 16, 16, 0.22); border-radius: 12px; background: #FFFFFF; cursor: pointer; }
.sess-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sess-opt strong { font: 700 17px/1.1 var(--label); text-transform: uppercase; letter-spacing: 0.05em; color: var(--strong); }
.sess-opt span { font-size: 15px; font-weight: 600; color: var(--strong); }
.sess-opt .ct { margin-top: -2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.sess-opt:has(input:checked) { border-color: var(--strong); box-shadow: inset 0 0 0 1px var(--strong); background: #FBFAF8; }
.sess-opt:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.sess-opt:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.sess.bad .sess-opt, .choice.bad .seg label span { border-color: var(--red-deep); box-shadow: inset 0 0 0 1px var(--red-deep); background-color: #FDEEEE; }
.ticks { display: grid; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.tick { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.tick input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--strong); }
.tick a { color: var(--strong); }
.tick-links { display: block; margin-top: 4px; }
.tick.bad span { color: var(--red-deep); }
.tick.bad input { outline: 2px solid var(--red-deep); outline-offset: 2px; }
.wform .cta { width: 100%; margin-top: 2px; }
.frame-note { margin: 16px 12px 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 15px; color: var(--strong); }

@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); align-items: start; gap: 64px; padding-block: 44px 40px; }
  .hero > .card { position: sticky; top: 24px; }
}
@media (max-width: 420px) {
  .lockup-logo, .lockup-dealer { width: 188px; }
  .lockup-dealer { font-size: 9.5px; letter-spacing: 0.15em; }
  .lockup-dealer img { height: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .frame-wait span { animation: none; }
  .cta, .cta svg, .faq summary::after { transition: none; }
  .bg-flow { display: none; }
  .saving-bar span { animation: none; width: 60%; }
  .wform.is-saving > fieldset, .wform.is-saving > .row, .wform.is-saving > .field, .wform.is-saving > .ticks { transition: none; }
}

/* Spacing inside the live page's phases. */
[data-gap="s"] { margin-top: 12px; }
[data-gap="m"] { margin-top: 18px; }
[data-gap="l"] { margin-top: 22px; }
[data-gap="xl"] { margin-top: 28px; }
[data-gap-b="l"] { margin-bottom: 22px; }

/* The one-tap question: three even pills; the pick turns near-black (red stays on the action). */
.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 8px; font: 700 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--strong); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 50px; padding: 8px 6px; border: 1px solid rgba(17, 16, 16, 0.22); border-radius: 12px; background: #FFFFFF; text-align: center; font: 600 16px/1.15 var(--label); letter-spacing: 0.02em; color: var(--strong); }
.seg input:checked + span { border-color: var(--strong); background: var(--strong); color: #FFFFFF; }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.tried .choice[aria-invalid="true"] .seg span { border-color: var(--red-deep); }
.choice .err { margin-top: 6px; }
.session-day { text-wrap: balance; }
.session-sub, .when-sub { text-wrap: pretty; }
