/* BrightStage AI: registration and thank-you pages, built from sections.
 *
 * Three designs share one set of section styles. A design only sets colours, fonts and a few
 * shapes (the variables below). The host's own choices arrive as the same variables, set on
 * <body>, so they win without any extra rules.
 */
.fp {
  --fp-bg: #040b1f;
  --fp-bg-image: none;
  --fp-ink: #eef2ff;
  --fp-soft: #b9c6e6;
  --fp-card: #0b1533;
  --fp-line: #1f2f5e;
  --fp-field: #040b1f;
  --fp-accent: #38cfe6;
  --fp-btn: var(--fp-accent);
  --fp-btn-ink: #032730;
  --fp-block-bg: transparent;
  --fp-radius: 14px;
  --fp-btn-radius: 10px;
  --fp-head-font: "Outfit";
  --fp-body-font: "Source Sans 3";
  --fp-head-weight: 800;
  --fp-scale: 1;

  margin: 0;
  background-color: var(--fp-bg);
  background-image: var(--fp-bg-image);
  background-repeat: no-repeat;
  color: var(--fp-ink);
  font-family: var(--fp-body-font), "Segoe UI", system-ui, sans-serif;
  font-size: calc(17px * var(--fp-scale));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.fp *, .fp *::before, .fp *::after { box-sizing: border-box; }
.fp-text-s { --fp-scale: .92; }
.fp-text-l { --fp-scale: 1.1; }
.fp [hidden] { display: none !important; }
.fp :focus-visible { outline: 2px solid var(--fp-accent); outline-offset: 2px; }
.fp a { color: var(--fp-accent); }

/* ---------- the three designs ---------- */
.fp-spotlight { --fp-bg-image: radial-gradient(120% 600px at 50% 0%, #14295f 0%, rgba(4, 11, 31, 0) 70%); }
.fp-clean {
  --fp-bg: #f6f8fc; --fp-ink: #0f1b33; --fp-soft: #46556f; --fp-card: #ffffff; --fp-line: #e1e7f2; --fp-field: #ffffff;
  --fp-accent: #1d4ed8; --fp-btn-ink: #ffffff; --fp-head-font: "Archivo";
}
.fp-story {
  --fp-bg: #f1f6fd; --fp-ink: #0f2440; --fp-soft: #455a78; --fp-card: #ffffff; --fp-line: #d0def2; --fp-field: #fbfdff;
  --fp-accent: #0a66c2; --fp-btn-ink: #ffffff; --fp-head-font: "Fraunces"; --fp-head-weight: 700;
  --fp-radius: 12px; --fp-btn-radius: 999px;
}

/* ---------- sections ---------- */
.fp-b { background: var(--fp-block-bg); padding: 26px 18px; }
.fp-in { max-width: 680px; margin: 0 auto; display: grid; gap: 14px; }
.fp-sp-tight { padding-top: 12px; padding-bottom: 12px; }
.fp-sp-roomy { padding-top: 48px; padding-bottom: 48px; }
.fp-al-center .fp-in { text-align: center; justify-items: stretch; }
/* Centred sections keep every item full width. Shrink-to-fit items made the host card and headings
   collapse to a few letters per line on phones. Buttons centre themselves with justify-self. */
.fp-al-center .fp-ticks, .fp-al-center .fp-steps, .fp-al-center .fp-faq, .fp-al-center .fp-card { text-align: left; }
.fp-al-left .fp-in { text-align: left; justify-items: start; }
.fp-sz-s .fp-in { font-size: .9em; }
.fp-sz-l .fp-in { font-size: 1.12em; }
.fp-sz-xl .fp-in { font-size: 1.28em; }
.fp-b + .fp-b:not(.fp-has-bg):not(.fp-banner):not(.fp-form):not(.fp-join):not(.fp-countdown):not(.fp-button) { border-top: 1px solid var(--fp-line); }
.fp-hero + .fp-b, .fp-confirm + .fp-b, .fp-video + .fp-b, .fp-banner + .fp-b { border-top: 0 !important; }
.fp-hero, .fp-confirm { padding-top: 34px; padding-bottom: 10px; }
section.fp-form, .fp-join, .fp-countdown { padding-top: 12px; }
/* A section is class fp-{type}. Where the element inside it has the same class (steps, faq, quote,
   video, form), the inner rules name the inner tag, so they never strip the section's own spacing. */

.fp-b h1, .fp-b h2, .fp-b h3, .fp-b p, .fp-b ul, .fp-b ol, .fp-b blockquote { margin: 0; }
.fp-h1, .fp-h2, .fp-h3, .fp-q, .fp-name { font-family: var(--fp-head-font), "Segoe UI", system-ui, sans-serif; text-wrap: balance; }
.fp-h1 { font-size: clamp(1.6em, 5.4vw, 2.5em); line-height: 1.12; font-weight: var(--fp-head-weight); letter-spacing: -0.015em; }
.fp-h2 { font-size: 1.25em; line-height: 1.2; font-weight: 700; }
.fp-h3 { font-size: 1.1em; font-weight: 700; }
.fp-eyebrow { font-family: var(--fp-head-font), sans-serif; font-size: .74em; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-accent); font-weight: 600; }
.fp-sub { font-size: 1.06em; color: var(--fp-soft); max-width: 60ch; }
/* The event's name on the confirmation section (block.blade.php, 2026-10-19). */
.fp-event-title { font-family: var(--fp-head-font), "Segoe UI", system-ui, sans-serif; font-size: 1.2em; line-height: 1.3; font-weight: 700; color: var(--fp-ink); max-width: 36ch; text-wrap: balance; }
.fp-confirm:not(.fp-al-left) .fp-event-title { margin-inline: auto; }
.fp-muted { color: var(--fp-soft); }
.fp-body { color: var(--fp-soft); max-width: 65ch; }
.fp-caption { font-size: .88em; color: var(--fp-soft); text-align: center; }
.fp-note { font-size: .82em; color: var(--fp-soft); margin: 0; }

.fp-banner { padding: 9px 16px; background: linear-gradient(90deg, #0b5394, #0e8fa8); color: #fff; --fp-ink: #fff; }
.fp-clean .fp-banner { background: #0f1b33; }
.fp-story .fp-banner { background: #0f2440; color: #dcecff; }
.fp-banner.fp-has-bg { background: var(--fp-block-bg); }
.fp-banner .fp-in { max-width: 900px; }
.fp-banner-text { text-align: center; font-weight: 700; font-size: .86em; }

.fp-card { width: 100%; background: var(--fp-card); border: 1px solid var(--fp-line); border-radius: var(--fp-radius); padding: 18px; display: grid; gap: 12px; }
.fp-clean .fp-card { box-shadow: 0 14px 34px -22px rgba(15, 27, 51, .5); }
.fp-form .fp-form { display: grid; gap: 12px; }
.fp-field { display: grid; gap: 5px; }
.fp-field > label { font-size: .74em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fp-soft); }
.fp-input {
  width: 100%; border: 1px solid var(--fp-line); border-radius: 10px; padding: 12px; background: var(--fp-field); color: var(--fp-ink);
  font: inherit; font-size: 16px; /* under 16px, iPhones zoom the page when a field is tapped */
}
select.fp-input { appearance: auto; }
.fp-fake { color: var(--fp-soft); font-size: .9em; }
.fp-choices { display: grid; gap: 6px; }
.fp-choice { display: flex; gap: 8px; align-items: center; }
.fp-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fde7e4; color: #8f1d12; font-size: .92em; }
.fp-hold { margin: 0; padding: 10px 12px; border-radius: 10px; background: #e6f0fa; color: #0f4c81; font-size: .92em; }
.fp-btn, .fp-ghost {
  display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer; font: inherit; font-weight: 800;
  border-radius: var(--fp-btn-radius); padding: 14px 18px; border: 1px solid transparent;
}
.fp-btn { background: var(--fp-btn); color: var(--fp-btn-ink) !important; font-size: 1.05em; }
.fp-btn:disabled { opacity: .6; cursor: default; }
.fp-ghost { background: transparent; border-color: var(--fp-line); color: var(--fp-ink) !important; font-weight: 700; padding: 11px 16px; }
.fp-button .fp-btn { max-width: 420px; justify-self: center; }
.fp-al-center .fp-in > .fp-btn, .fp-al-center .fp-in > .fp-ghost, .fp-al-center .fp-in > .fp-cal { justify-self: center; }
.fp-trust { font-size: .82em; color: var(--fp-soft); text-align: center; }

ul.fp-ticks, ol.fp-steps { list-style: none; padding: 0; display: grid; gap: 12px; width: 100%; }
.fp-ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.fp-ticks li::before { content: "✓"; color: var(--fp-accent); font-weight: 800; }
ol.fp-steps { counter-reset: fp; }
.fp-steps li { counter-increment: fp; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.fp-steps li::before {
  content: counter(fp); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .85em; color: var(--fp-accent); background: color-mix(in srgb, var(--fp-accent) 16%, transparent);
}
div.fp-faq { display: grid; gap: 16px; width: 100%; }
.fp-q { font-size: 1em; font-weight: 700; margin-bottom: 2px; }

/* The presenter card. Side by side by default; stacked and centred when the section is centred. */
.fp-presenter {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; width: 100%;
  padding: 18px; background: var(--fp-card); border: 1px solid var(--fp-line); border-radius: var(--fp-radius); text-align: left;
}
.fp-clean .fp-presenter { box-shadow: 0 14px 34px -22px rgba(15, 27, 51, .5); }
.fp-al-center .fp-presenter { grid-template-columns: minmax(0, 1fr); justify-items: center; justify-self: center; text-align: center; max-width: 520px; gap: 12px; padding: 26px 20px; }
.fp-host-text { min-width: 0; display: grid; gap: 4px; }
.fp-al-center .fp-host-text { justify-items: center; }
.fp-face {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; flex: none;
  background: var(--fp-accent); color: var(--fp-btn-ink); font-weight: 800; font-size: 1.9em;
  box-shadow: 0 0 0 3px var(--fp-card), 0 0 0 5px var(--fp-accent);
}
.fp-name { font-weight: 700; font-size: 1.22em; line-height: 1.2; overflow-wrap: break-word; }
.fp-role { color: var(--fp-accent); font-weight: 600; font-size: .92em; letter-spacing: .01em; }
.fp-bio { color: var(--fp-soft); font-size: .96em; max-width: 52ch; margin-top: 4px; }
@media (min-width: 900px) {
  .fp-presenter { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 22px; }
  .fp-face { width: 120px; height: 120px; }
}

blockquote.fp-quote { border-left: 3px solid var(--fp-accent); padding-left: 16px; font-family: var(--fp-head-font), Georgia, serif; font-size: 1.15em; display: grid; gap: 6px; }
.fp-quote footer { font-family: var(--fp-body-font), sans-serif; font-size: .8em; }
.fp-img { width: 100%; height: auto; border-radius: var(--fp-radius); display: block; }
div.fp-video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--fp-radius); overflow: hidden; background: #000; }
.fp-video iframe, .fp-video video { width: 100%; height: 100%; border: 0; display: block; }

.fp-cd { display: flex; gap: 8px; justify-content: center; font-variant-numeric: tabular-nums; }
.fp-cd div { min-width: 64px; padding: 10px 8px; border-radius: 12px; text-align: center; background: var(--fp-card); border: 1px solid var(--fp-line); }
.fp-clean .fp-cd div { background: #0f1b33; color: #fff; border-color: #0f1b33; }
.fp-cd b { display: block; font-family: var(--fp-head-font), sans-serif; font-size: 1.7em; line-height: 1.1; }
.fp-cd span { font-size: .62em; letter-spacing: .08em; text-transform: uppercase; color: var(--fp-soft); }
.fp-clean .fp-cd span { color: #b8c4dc; }
.fp-when { font-size: .92em; color: var(--fp-soft); text-align: center; }

.fp-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; border: 1px solid var(--fp-line); border-radius: 10px; padding: 6px 6px 6px 12px; font-size: .82em; background: var(--fp-field); color: var(--fp-soft); }
.fp-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-link button, .fp-link em { font: inherit; font-style: normal; font-weight: 700; border: 0; border-radius: 8px; padding: 7px 12px; cursor: pointer; background: var(--fp-ink); color: var(--fp-bg); }
.fp-cal summary { list-style: none; }
.fp-cal summary::-webkit-details-marker { display: none; }
.fp-cal-list { display: grid; gap: 2px; margin-top: 8px; border: 1px solid var(--fp-line); border-radius: 10px; overflow: hidden; }
.fp-cal-list a { padding: 11px 14px; text-decoration: none; color: var(--fp-ink); background: var(--fp-field); font-weight: 600; }

/* ---------- layout (2026-09-30, Alan's rules): ONE column, mobile first ----------
   Every design is a single centred column on phones and on computers: headline, form, then the rest.
   The only exception is Story: its picture or video sits LEFT of the sign-up form on wide screens.
   No right-aligned forms, no split sections, no multi-column card grids. */
.fp-b { padding: 32px 20px; }
.fp-in { max-width: 640px; gap: 16px; }
.fp-hero, .fp-confirm { padding-top: 44px; padding-bottom: 8px; }
/* Headlines sit centred above the centred form, unless the host chose Left for that section. */
.fp-hero:not(.fp-al-left) .fp-in { text-align: center; justify-items: stretch; }
.fp-hero:not(.fp-al-left) .fp-sub { margin-inline: auto; }
.fp-h1 { font-size: clamp(1.75em, 7.2vw, 2.35em); line-height: 1.1; }
.fp-h2 { font-size: 1.4em; line-height: 1.2; }
.fp-sub { font-size: 1.08em; line-height: 1.55; }
.fp-card { padding: 20px; gap: 14px; }
.fp-btn { min-height: 54px; display: grid; place-items: center; }
.fp-ghost { min-height: 48px; display: grid; place-items: center; }
.fp-cal summary.fp-ghost { display: grid; }
.fp-button .fp-in { justify-items: center; }
.fp-button .fp-btn { width: 100%; max-width: 440px; }
/* List sections: one item per row, each a small card. */
.fp-ticks li, .fp-steps li, div.fp-faq > div {
  background: var(--fp-card); border: 1px solid var(--fp-line); border-radius: var(--fp-radius); padding: 14px 16px;
}
.fp-clean .fp-ticks li, .fp-clean .fp-steps li, .fp-clean div.fp-faq > div { box-shadow: 0 10px 26px -22px rgba(15, 27, 51, .55); }
div.fp-faq { gap: 12px; }
div.fp-faq > div { display: grid; gap: 6px; }
.fp-benefits .fp-h2, section.fp-faq .fp-h2, section.fp-steps .fp-h2, .fp-host .fp-h2 { text-align: center; }
.fp-link button { min-height: 44px; padding: 0 16px; }
.fp-al-center .fp-sub, .fp-al-center .fp-body { margin-inline: auto; }
.fp-cd { gap: 10px; }
.fp-cd div { min-width: 68px; padding: 12px 8px; }
.fp-cd b { font-size: 1.9em; }
/* Story: the picture/video placeholder shown until the host adds one. */
.fp-ph {
  width: 100%; aspect-ratio: 16 / 9; border-radius: var(--fp-radius); display: grid; place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--fp-accent) 22%, var(--fp-card)), var(--fp-card));
  border: 1px solid var(--fp-line);
}
.fp-ph-play { width: 64px; height: 64px; border-radius: 50%; background: var(--fp-accent); position: relative; box-shadow: 0 10px 30px -10px var(--fp-accent); }
.fp-ph-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--fp-btn-ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }

@media (min-width: 640px) {
  .fp-b { padding: 40px 28px; }
  .fp-in { max-width: 680px; }
}

@media (min-width: 960px) {
  .fp { font-size: calc(18px * var(--fp-scale)); }
  .fp-b { padding: 56px 40px; }
  .fp-in { max-width: 720px; gap: 20px; }
  .fp-hero, .fp-confirm { padding-top: 72px; padding-bottom: 8px; }
  .fp-h1 { font-size: clamp(2.3em, 3.3vw, 3.1em); }
  .fp-h2 { font-size: 1.75em; }
  .fp-sub { font-size: 1.15em; }
  .fp-card { padding: 28px; gap: 16px; }
  .fp-ticks li, .fp-steps li, div.fp-faq > div { padding: 18px 22px; }
  /* The form, join card and app card are a comfortable width, centred. */
  section.fp-form .fp-in, .fp-join .fp-in, .fp-install .fp-in { max-width: 560px; }
  .fp-countdown .fp-in { max-width: 640px; }
  .fp-cd div { min-width: 96px; padding: 16px 10px; }
  .fp-cd b { font-size: 2.4em; }

  /* Story only: picture or video on the left, sign-up form on the right. */
  .fp-duo {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 48px; align-items: center;
    max-width: 1120px; margin: 0 auto; padding: 40px 40px 56px;
  }
  .fp-duo .fp-b { padding: 0; border: 0 !important; background: transparent; }
  .fp-duo-main { min-width: 0; }
  .fp-duo .fp-in { max-width: none; margin: 0; }
  .fp-duo + .fp-b { border-top: 1px solid var(--fp-line); }
}

@media (prefers-reduced-motion: no-preference) {
  .fp-btn, .fp-ghost { transition: transform .12s ease, filter .12s ease; }
  .fp-btn:hover { filter: brightness(1.06); }
  .fp-btn:active, .fp-ghost:active { transform: translateY(1px); }
}

/* Join choice window on the thank-you page (bs-funnel.js): the event app first, the browser second. */
.fp-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 6, 20, .72); backdrop-filter: blur(3px); }
.fp-modal[hidden] { display: none; }
.fp-modal-box { position: relative; width: 100%; max-width: 440px; background: var(--fp-card); color: var(--fp-ink); border: 1px solid var(--fp-line); border-radius: var(--fp-radius); padding: 28px 24px 22px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.fp-modal-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--fp-soft); font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.fp-modal-x:hover { color: var(--fp-ink); }
.fp-modal-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-accent); }
.fp-modal-title { margin: 0 0 10px; font-family: var(--fp-head-font), system-ui, sans-serif; font-weight: var(--fp-head-weight); font-size: 26px; line-height: 1.2; }
.fp-modal-text { margin: 0 0 20px; color: var(--fp-soft); font-size: 15.5px; line-height: 1.5; }
.fp-modal-app { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.fp-modal-app .fp-btn { width: 100%; }
.fp-modal-web { display: block; width: 100%; }
.fp-modal-steps { text-align: left; margin: 0; padding: 12px 14px 12px 32px; border: 1px solid var(--fp-line); border-radius: var(--fp-btn-radius); font-size: 15px; line-height: 1.6; }
.fp-modal-note, .fp-modal-done { margin: 0; padding: 12px 14px; border: 1px solid var(--fp-line); border-radius: var(--fp-btn-radius); font-size: 14.5px; line-height: 1.5; color: var(--fp-soft); }
body.fp-modal-open { overflow: hidden; }
.fp-modal-install { font-size: 18px; padding-top: 15px; padding-bottom: 15px; }
.fp-modal-tip { margin: -2px 0 4px; font-size: 13.5px; line-height: 1.45; color: var(--fp-soft); }
.fp-modal-title { margin-bottom: 20px; }
.fp-modal-help { text-align: left; border: 1px solid var(--fp-line); border-radius: var(--fp-btn-radius); padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.fp-modal-help[hidden] { display: none; }
.fp-modal-help-title { margin: 0; font-family: var(--fp-head-font), system-ui, sans-serif; font-weight: 700; font-size: 19px; color: var(--fp-ink); }
.fp-modal-help-text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fp-soft); }
.fp-modal-help .fp-modal-steps { border: 0; padding: 0 0 0 22px; font-size: 17px; line-height: 1.65; color: var(--fp-ink); }
.fp-modal-help .fp-modal-copy { width: 100%; }
.fp-modal-icon { display: inline-block; font-size: 15px; transform: translateY(-1px); }
