/* =========================================================================
   BukMasta public website
   =========================================================================
   Marketing layer on top of the shared design system. Reads the same tokens
   as the application, so the site a visitor sees and the product they sign
   into are recognisably one thing.
   ========================================================================= */

:root {
  --site-ink: #04204f;
  --site-deep: #021a3f;
  --site-hero-from: #021a3f;
  --site-hero-to: #034bb6;
  /* Wide enough for four pricing cards to sit side by side without crowding. */
  --site-max: 1320px;
}

body.bm-site {
  background: var(--bm-surface);
  color: var(--bm-ink);
  font-size: 1rem;
  line-height: 1.65;
  padding-top: 72px;
}

.site-container { max-width: var(--site-max); margin: 0 auto; padding: 0 1.25rem; }

/* Post-then-redirect feedback, shown above whatever the page renders. */
.site-messages { padding-top: 1.25rem; padding-bottom: 0.25rem; }
.site-messages .alert:last-child { margin-bottom: 0; }

/* Header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--bm-border);
}
.site-header .site-container { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.site-logo img { height: 34px; display: block; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 0.35rem; }
.site-nav a {
  color: var(--bm-ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--bm-radius);
  text-decoration: none;
}
.site-nav a:hover { background: var(--bm-primary-soft); color: var(--bm-primary-ink); text-decoration: none; }
.site-nav .site-cta {
  background: var(--bm-primary);
  color: #fff;
  padding: 0.55rem 1.1rem;
}
.site-nav .site-cta:hover { background: var(--bm-primary-hover); color: #fff; }
.site-nav-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; color: var(--bm-ink); margin-left: auto; }

/* Hero ----------------------------------------------------------------- */
.site-hero {
  background: linear-gradient(135deg, var(--site-hero-from) 0%, var(--site-hero-to) 100%);
  color: #fff;
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.site-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -35%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 150, 255, 0.28) 0%, transparent 62%);
  pointer-events: none;
}
.site-hero .site-container { position: relative; z-index: 1; }
.site-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bm-brand-yellow);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--bm-radius-pill);
  padding: 0.32rem 0.9rem;
  margin-bottom: 1.25rem;
}
.site-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 18ch;
}
.site-hero p.site-lede {
  color: #c8d3f2;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.site-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-site-primary {
  background: var(--bm-brand-green);
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: var(--bm-radius);
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}
.btn-site-primary:hover { background: #039614; color: #fff; }
.btn-site-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--bm-radius);
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 1rem;
}
.btn-site-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
/* Ghost button tuned for light/sunken sections — same shape as btn-site-ghost
   but ink-coloured text and border so it stays visible on --bm-canvas. */
.btn-site-ghost-ink {
  background: transparent;
  color: var(--bm-ink, #0f172a);
  border: 1px solid var(--bm-border, #cbd5e1);
  border-radius: var(--bm-radius);
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 1rem;
}
.btn-site-ghost-ink:hover {
  background: var(--bm-surface, #fff);
  border-color: var(--bm-brand-green, #1f8a4c);
  color: var(--bm-brand-green-deep, #0f5132);
}

/* Sections ------------------------------------------------------------- */
.site-section { padding: 4.5rem 0; }
.site-section-sunken { background: var(--bm-canvas); }
.site-section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.site-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.site-section-head p { color: var(--bm-muted); font-size: 1.03rem; margin: 0; }

/* Features ------------------------------------------------------------- */
.site-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.site-feature {
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  padding: 1.6rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.site-feature:hover { transform: translateY(-3px); box-shadow: var(--bm-shadow-lg); border-color: var(--bm-brand-green); }
.site-feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--bm-radius);
  background: var(--bm-brand-green-soft);
  color: var(--bm-brand-green-deep);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.site-feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.site-feature p { color: var(--bm-muted); font-size: 0.93rem; margin: 0; }

/* Customers ------------------------------------------------------------ */
.site-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem 2rem;
  align-items: center;
}
.site-logo-item { text-align: center; }
.site-logo-item img {
  max-height: 46px;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter .2s ease, opacity .2s ease;
}
.site-logo-item:hover img { filter: grayscale(0); opacity: 1; }
.site-logo-name { font-weight: 700; color: var(--bm-ink-soft); font-size: 0.95rem; }
.site-logo-industry { display: block; font-size: 0.78rem; color: var(--bm-faint); font-weight: 400; }

.site-quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.site-quote {
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-left: 3px solid var(--bm-brand-green);
  border-radius: var(--bm-radius-lg);
  padding: 1.5rem;
}
.site-quote blockquote { font-size: 0.98rem; color: var(--bm-ink-soft); margin: 0 0 1rem; }
.site-quote figcaption { font-size: 0.85rem; color: var(--bm-muted); }
.site-quote figcaption strong { color: var(--bm-ink); display: block; }

/* Pricing -------------------------------------------------------------- */
.site-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 1199.98px) { .site-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639.98px)  { .site-price-grid { grid-template-columns: 1fr; } }
.site-plan {
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  padding: 1.75rem 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.site-plan-featured {
  border-color: var(--bm-brand-green);
  border-width: 2px;
  box-shadow: 0 14px 40px rgba(4, 182, 25, 0.18);
}
.site-plan-flag {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bm-brand-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: var(--bm-radius-pill);
  white-space: nowrap;
}
.site-plan h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.site-plan-tagline { color: var(--bm-muted); font-size: 0.88rem; min-height: 2.4em; margin-bottom: 1rem; }
.site-plan-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bm-ink); line-height: 1.1; }
.site-plan-period { color: var(--bm-muted); font-size: 0.87rem; margin-bottom: 1.4rem; }
.site-plan-features { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.site-plan-features li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.91rem;
  padding: 0.32rem 0;
  color: var(--bm-ink-soft);
}
.site-plan-features li i { margin-top: 0.18rem; }
.site-plan-features .site-plan-yes i { color: var(--bm-brand-green); }
.site-plan-features .site-plan-no { color: var(--bm-faint); }
.site-plan-features .site-plan-no i { color: var(--bm-faint); }
.site-plan .btn { width: 100%; }
.site-price-note { text-align: center; color: var(--bm-muted); font-size: 0.88rem; margin-top: 2rem; }

/* Closing call to action ----------------------------------------------- */
.site-cta-band {
  background: linear-gradient(135deg, var(--site-hero-from) 0%, var(--site-hero-to) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.site-cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.6rem; }
.site-cta-band p { color: #c8d3f2; max-width: 46rem; margin: 0 auto 1.8rem; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--site-deep); color: #93a4c8; padding: 3.5rem 0 2rem; }
.site-footer a { color: #c3cfe8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { color: #fff; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.22rem 0; font-size: 0.92rem; }
.site-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 991.98px) {
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  body.bm-site { padding-top: 64px; }
  .site-header { height: 64px; }
  .site-nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--bm-border);
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.15rem;
    display: none;
    box-shadow: var(--bm-shadow-lg);
  }
  body.site-nav-open .site-nav { display: flex; }
  .site-nav .site-cta { text-align: center; margin-top: 0.4rem; }
  .site-hero { padding: 3.25rem 0 3.5rem; }
  .site-section { padding: 3rem 0; }
  .site-footer-grid { grid-template-columns: 1fr; }
}

/* Plan quotas — the concrete limits, shown above the feature list. */
.site-plan-quotas {
  list-style: none;
  padding: 0.85rem 0.95rem;
  margin: 0 0 1.25rem;
  background: var(--bm-surface-sunken);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
}
.site-plan-quotas li {
  font-size: 0.86rem;
  color: var(--bm-ink-soft);
  font-weight: 600;
  padding: 0.16rem 0;
}
.site-plan-featured .site-plan-quotas { background: var(--bm-brand-green-soft); border-color: #a7e8b0; }

/* Add-on prices sit with the quotas because they answer the question the
   quotas raise: what happens when the business needs one more. */
.site-plan-quotas li.site-plan-addon {
  color: var(--bm-brand-green, #1f8a4c);
  border-top: 1px dashed var(--bm-border);
  margin-top: 0.3rem;
  padding-top: 0.3rem;
}
.site-plan-quotas li.site-plan-addon ~ li.site-plan-addon {
  border-top: 0;
  margin-top: 0;
  padding-top: 0.16rem;
}

/* Abstract particle field behind the hero. Sits under the content and never
   intercepts a click. */
.site-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
.site-hero { isolation: isolate; }
.site-hero .site-container { position: relative; z-index: 2; }

/* Soft abstract wash on the sunken sections, so the page has depth without
   another image request. */
.site-section-sunken {
  position: relative;
  background:
    radial-gradient(60rem 30rem at 12% -10%, rgba(4, 182, 25, 0.07), transparent 60%),
    radial-gradient(50rem 26rem at 92% 8%, rgba(3, 75, 182, 0.07), transparent 62%),
    var(--bm-canvas);
}
.site-cta-band {
  position: relative;
  overflow: hidden;
}
.site-cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 42rem; height: 42rem;
  background: radial-gradient(circle, rgba(4, 182, 25, 0.28), transparent 62%);
  pointer-events: none;
}
.site-cta-band .site-container { position: relative; z-index: 1; }

/* Features page ---------------------------------------------------------- */
.site-feature-jump {
  position: sticky;
  top: 72px;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--bm-border);
}
.site-feature-jump ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.site-feature-jump li { flex: 0 0 auto; }
.site-feature-jump a {
  display: block;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bm-ink-soft);
  padding: 0.35rem 0.7rem;
  border-radius: var(--bm-radius-pill);
  text-decoration: none;
}
.site-feature-jump a:hover {
  background: var(--bm-brand-green-soft);
  color: var(--bm-brand-green-deep);
  text-decoration: none;
}

.site-feature-band-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.site-feature-band-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.site-feature-band-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--bm-border), transparent);
}
.site-feature-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bm-brand-green-deep);
  background: var(--bm-brand-green-soft);
  border-radius: var(--bm-radius-pill);
  padding: 0.2rem 0.6rem;
}

.site-feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.site-feature-detail h3 { font-size: 1.06rem; }
.site-feature-checks { list-style: none; padding: 0; margin: 0.9rem 0 0; }
.site-feature-checks li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--bm-ink-soft);
  padding: 0.2rem 0;
}
.site-feature-checks i { color: var(--bm-brand-green); margin-top: 0.16rem; flex-shrink: 0; }

@media (max-width: 767.98px) {
  .site-feature-jump { top: 64px; }
}

/* Reading-width content — long prose and forms should not run the full
   1320px, which is sized for four pricing cards, not for text. */
.site-narrow { max-width: 860px; margin: 0 auto; padding: 0 1.25rem; }

.site-narrow .accordion-item { margin-bottom: 0.6rem; border-radius: var(--bm-radius) !important; }
.site-narrow .accordion-button { font-size: 1rem; padding: 1rem 1.15rem; }
.site-narrow .accordion-body { color: var(--bm-ink-soft); font-size: 0.95rem; padding: 0 1.15rem 1.15rem; }

.site-contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start; }
@media (max-width: 767.98px) { .site-contact-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.site-contact-list { list-style: none; padding: 0; margin: 1.25rem 0 2rem; }
.site-contact-list li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.6rem 0; }
.site-contact-list i { color: var(--bm-brand-green); font-size: 1.15rem; margin-top: 0.15rem; }
.site-contact-label { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--bm-faint); font-weight: 700; }

.site-contact-aside {
  background: var(--bm-brand-green-soft);
  border: 1px solid #a7e8b0;
  border-radius: var(--bm-radius-lg);
  padding: 1.15rem 1.25rem;
  font-size: 0.9rem;
}

/* Training ---------------------------------------------------------------- */
.site-featured-training {
  background: linear-gradient(135deg, var(--bm-brand-green-soft), #fff 60%);
  border: 1px solid #a7e8b0;
  border-radius: var(--bm-radius-lg);
  padding: 2rem;
}
.site-training-flag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  background: var(--bm-brand-green); color: #fff;
  padding: 0.22rem 0.7rem; border-radius: var(--bm-radius-pill); margin-bottom: 0.75rem;
}
.site-training-meta { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.site-training-meta li { display: flex; gap: 0.6rem; align-items: center; padding: 0.22rem 0; font-size: 0.92rem; }
.site-training-meta i { color: var(--bm-brand-green-deep); }

.site-training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.site-training-card {
  display: flex; gap: 1rem;
  background: var(--bm-surface); border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg); padding: 1.25rem;
}
.site-training-date {
  flex: 0 0 auto; text-align: center; min-width: 4rem;
  background: var(--bm-brand-green-soft); border-radius: var(--bm-radius);
  padding: 0.6rem 0.4rem; align-self: flex-start;
}
.site-training-day { display: block; font-size: 1.5rem; font-weight: 800; color: var(--bm-brand-green-deep); line-height: 1; }
.site-training-month { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--bm-muted); }
.site-training-body h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.site-training-fee { font-weight: 700; color: var(--bm-ink); margin-bottom: 0.6rem; }

/* Province badge — clearly distinguishable so people can spot their province
   at a glance and register. */
.site-province-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff;
  background: var(--bm-brand-green-deep, #0369a1);
  padding: 0.22rem 0.7rem;
  border-radius: var(--bm-radius-pill);
  margin-bottom: 0.5rem;
}
.site-province-badge::before {
  /* bootstrap-icons geo-alt (U+F3E8). A single backslash: "\\f3e8" is an
     escaped backslash followed by the literal text f3e8, which is what the
     badge was printing. */
  content: "\f3e8";
  font-family: "bootstrap-icons";
  font-size: 0.85rem;
}
.site-featured-training .site-province-badge {
  font-size: 0.85rem;
  padding: 0.28rem 0.85rem;
  margin-bottom: 0.75rem;
}

/* Launch countdown ------------------------------------------------------ */
/* Shared by the strip under the navbar on the front page and the full clock
   on /users/launch/. The palette leans on the national colours — red and gold
   against black — so the band reads as a national countdown rather than one
   more marketing ribbon, and so it separates itself from the blue hero it
   sits above. */
:root {
  --png-red: #ce1126;
  --png-gold: #fcd116;
  --png-black: #0b0d12;
}

/* The band under the navbar ------------------------------------------- */
.launch-strip {
  background:
    radial-gradient(circle at 12% 50%, rgba(206, 17, 38, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 88% 50%, rgba(252, 209, 22, 0.28) 0%, transparent 55%),
    linear-gradient(90deg, #0b0d12 0%, #16101c 50%, #0b0d12 100%);
  border-bottom: 3px solid var(--png-gold);
  color: #fff;
  padding: 0.85rem 0;
  position: relative;
  overflow: hidden;
}
/* A slow sweep of light across the band. Motion is what makes a strip this
   short get noticed at all; it is switched off for reduced-motion users. */
.launch-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: launch-sweep 5.5s linear infinite;
  pointer-events: none;
}
@keyframes launch-sweep {
  0%   { left: -40%; }
  100% { left: 120%; }
}
.launch-strip .site-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.launch-strip-lead {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--png-gold);
}
.launch-strip-lead .launch-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--png-red);
  box-shadow: 0 0 0 0 rgba(206, 17, 38, 0.85);
  animation: launch-pulse 1.6s ease-out infinite;
  flex: none;
}
@keyframes launch-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(206, 17, 38, 0.85); }
  70%  { box-shadow: 0 0 0 12px rgba(206, 17, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(206, 17, 38, 0); }
}
.launch-strip-copy {
  font-size: 0.9rem;
  color: #e8ecf6;
}
.launch-strip-copy strong { color: #fff; }
.launch-strip .btn {
  font-size: 0.82rem;
  padding: 0.4rem 1rem;
  white-space: nowrap;
}

/* The clock itself, in both sizes ------------------------------------- */
.launch-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.launch-unit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(252, 209, 22, 0.35);
  border-radius: 0.6rem;
  min-width: 3.4rem;
  padding: 0.4rem 0.55rem;
  text-align: center;
}
.launch-num {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
  display: block;
}
.launch-label {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--png-gold);
  margin-top: 0.28rem;
  font-weight: 700;
}
/* Each digit change gets a short beat so the eye is drawn back to the clock. */
.launch-num.is-ticking { animation: launch-tick 0.45s ease-out; }
@keyframes launch-tick {
  0%   { transform: translateY(-22%); opacity: 0.35; }
  100% { transform: translateY(0); opacity: 1; }
}
/* Inside the last 24 hours the clock turns red and breathes. */
.launch-countdown.is-final-day .launch-unit {
  border-color: rgba(206, 17, 38, 0.8);
  background: rgba(206, 17, 38, 0.22);
  animation: launch-breathe 1.8s ease-in-out infinite;
}
@keyframes launch-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}

/* Hero-sized clock on the launch page. */
.launch-countdown-hero {
  gap: 0.85rem;
  margin: 1.75rem 0 1.5rem;
}
.launch-countdown-hero .launch-unit {
  min-width: 6.2rem;
  padding: 1.15rem 0.7rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 34px rgba(252, 209, 22, 0.14) inset;
}
.launch-countdown-hero .launch-num { font-size: 3rem; }
.launch-countdown-hero .launch-label { font-size: 0.68rem; margin-top: 0.5rem; }
.launch-countdown-hero .launch-sep {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(252, 209, 22, 0.55);
  align-self: flex-start;
  margin-top: 1.1rem;
}

/* The two words the whole positioning turns on, picked out of the headline. */
.launch-hero-accent {
  color: var(--png-gold);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .launch-hero-accent { white-space: normal; }
}

.launch-launched {
  font-size: 1.2rem;
  font-weight: 800;
  color: #86efac;
  margin: 1.25rem 0 1.5rem;
}
.launch-note { color: #c8d3f2; font-size: 0.85rem; margin-top: 1.25rem; }

/* Independence panel --------------------------------------------------- */
/* The national-colours band that carries the Independence message. */
.launch-flag-rule {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg,
    var(--png-red) 0%, var(--png-red) 50%,
    var(--png-black) 50%, var(--png-black) 100%);
  max-width: 8rem;
  margin: 0 auto 1.5rem;
}
.launch-independence {
  background:
    radial-gradient(circle at 85% 15%, rgba(252, 209, 22, 0.16) 0%, transparent 45%),
    linear-gradient(135deg, #0b0d12 0%, #1a1020 55%, #2a0c14 100%);
  color: #f3f5fb;
  padding: 4.5rem 0;
}
.launch-independence h2 { color: #fff; }
.launch-independence .site-kicker {
  color: var(--png-gold);
  border-color: rgba(252, 209, 22, 0.4);
}
.launch-independence-lede {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #dbe1ee;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.launch-creed {
  max-width: 52rem;
  margin: 0 auto;
}
.launch-creed p {
  color: #c9d1e2;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.launch-creed p strong { color: var(--png-gold); font-weight: 700; }
.launch-pledge {
  border-left: 3px solid var(--png-gold);
  padding: 0.35rem 0 0.35rem 1.25rem;
  margin: 2rem auto 0;
  max-width: 52rem;
  font-size: 1.06rem;
  font-style: italic;
  color: #fff;
}
.launch-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
  max-width: 58rem;
  margin: 2.5rem auto 0;
}
.launch-pillar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bm-radius-lg, 0.9rem);
  padding: 1.4rem 1.25rem;
}
.launch-pillar i { font-size: 1.5rem; color: var(--png-gold); }
.launch-pillar h3 {
  font-size: 1.02rem;
  color: #fff;
  margin: 0.7rem 0 0.4rem;
}
.launch-pillar p { color: #b9c2d6; font-size: 0.9rem; margin: 0; line-height: 1.65; }

/* Numbered step badge, layered over the shared feature-card icon. */
.launch-step { position: relative; }
.launch-step-num {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bm-brand-green, #04b619);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
}
.launch-step-grid { margin-bottom: 1.5rem; }

/* Fee strip — two fees side by side with a divider. Shared with the training
   calendar page, which used these class names without ever defining them. */
.site-training-fees {
  display: block;
  background: var(--bm-surface, #fff);
  border: 1px solid var(--bm-border, #e5eaf2);
  border-radius: var(--bm-radius-lg, 0.9rem);
  padding: 1.5rem 1.25rem;
  margin: 2rem auto;
  max-width: 42rem;
}
/* The two component fees sit side by side; the total goes underneath, under a
   rule. The earlier layout put all three in one wrapping flex row, so when the
   total wrapped the "=" was left stranded at the end of the line above it. */
.site-training-fee-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.site-training-fee-item { text-align: center; }
.site-training-fee-total {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bm-border, #e5eaf2);
}
.site-training-fee-total .site-training-fee-amount { font-size: 2rem; }
.site-training-fee-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bm-muted, #64748b);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.site-training-fee-amount {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--bm-ink, #17233d);
  line-height: 1;
}
.site-training-fee-note {
  display: block;
  font-size: 0.76rem;
  color: var(--bm-muted, #64748b);
  margin-top: 0.3rem;
}
.site-training-fee-divider { width: 1px; align-self: stretch; background: var(--bm-border, #e5eaf2); }

/* The + and = between the two fees and the total. Decorative -- the labels
   carry the meaning for a screen reader, which is why they are aria-hidden. */
.site-training-fee-op {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bm-faint, #94a3b8);
  line-height: 1;
}
.site-training-fee-total .site-training-fee-amount {
  color: var(--bm-brand-green-deep, #02790f);
}
.site-training-fee-total .site-training-fee-label {
  color: var(--bm-brand-green-deep, #02790f);
}
.site-training-fee-explainer {
  max-width: 46rem;
  margin: 0 auto 1.25rem;
  text-align: center;
  color: var(--bm-muted, #475569);
  font-size: 0.92rem;
  line-height: 1.7;
}
.site-training-fee-explainer em { color: var(--bm-ink, #17233d); font-style: normal; font-weight: 700; }

@media (max-width: 640px) {
  .site-training-fee-op { display: none; }
}

.site-training-fcfs {
  /* Deliberately not flex. This paragraph contains an inline <strong>, and a
     flex container turns every child -- including that <strong> -- into its
     own column, which tore "first-come, first-served" out of the middle of
     the sentence and stacked it. */
  display: block;
  text-align: center;
  color: var(--bm-muted, #475569);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 46rem;
  margin: 0 auto;
}
.site-training-fcfs i {
  color: var(--bm-brand-green-deep, #02790f);
  margin-right: 0.35rem;
}
.site-training-fcfs strong { color: var(--bm-ink, #17233d); font-weight: 700; }

@media (max-width: 640px) {
  .launch-strip { padding: 0.7rem 0; }
  .launch-strip .site-container { gap: 0.6rem; }
  .launch-strip-copy { display: none; }
  .launch-unit { min-width: 3rem; padding: 0.35rem 0.4rem; }
  .launch-num { font-size: 1.15rem; }
  .launch-countdown-hero .launch-unit { min-width: 4.4rem; padding: 0.8rem 0.5rem; }
  .launch-countdown-hero .launch-num { font-size: 2rem; }
  .launch-countdown-hero .launch-sep { display: none; }
}
@media (max-width: 540px) {
  .site-training-fee-divider { display: none; }
}

/* Everything above that moves is decoration; honour a reduced-motion request. */
@media (prefers-reduced-motion: reduce) {
  .launch-strip::after,
  .launch-strip-lead .launch-dot,
  .launch-num.is-ticking,
  .launch-countdown.is-final-day .launch-unit { animation: none; }
}


/* Fee card on a dark hero ------------------------------------------------ */
/* The training page shows this band inside .site-hero. The light-section
   colours below it (white card, slate body text) are near-invisible there, so
   the whole group is restated for the dark ground. */
.site-hero .site-training-fees {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.site-hero .site-training-fee-label { color: #c8d3f2; }
.site-hero .site-training-fee-amount { color: #ffffff; }
.site-hero .site-training-fee-note { color: #aab8dd; }
.site-hero .site-training-fee-op { color: rgba(255, 255, 255, 0.45); }
.site-hero .site-training-fee-total { border-top-color: rgba(255, 255, 255, 0.18); }
.site-hero .site-training-fee-total .site-training-fee-label,
.site-hero .site-training-fee-total .site-training-fee-amount {
  color: var(--bm-brand-yellow, #fffc00);
}
.site-hero .site-training-fee-explainer { color: #c8d3f2; }
.site-hero .site-training-fee-explainer em { color: #ffffff; }
.site-hero .site-training-fcfs { color: #c8d3f2; }
.site-hero .site-training-fcfs i { color: var(--bm-brand-yellow, #fffc00); }
.site-hero .site-training-fcfs strong { color: #ffffff; }


/* Bank details ----------------------------------------------------------- */
/* Payment instructions on the training page. Account numbers are copied by
   hand off a phone screen, so they are set in a monospaced face at a size that
   survives a bad connection and a cracked screen -- and the reference note is
   given the weight it needs, because a deposit that cannot be matched to a
   booking is the single most common way one of these goes wrong. */
.site-bank-details {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bm-border, #e5eaf2);
}
.site-bank-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bm-ink, #17233d);
  margin: 0 0 0.5rem;
}
.site-bank-title i { color: var(--bm-brand-green-deep, #02790f); margin-right: 0.4rem; }
.site-bank-intro { font-size: 0.88rem; color: var(--bm-muted, #64748b); margin-bottom: 0.85rem; }
.site-bank-intro strong { color: var(--bm-ink, #17233d); }

.site-bank-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1rem;
  margin: 0 0 1rem;
  background: var(--bm-surface-sunken, #f6f8fc);
  border: 1px solid var(--bm-border, #e5eaf2);
  border-radius: var(--bm-radius-lg, 0.9rem);
  padding: 0.9rem 1rem;
}
.site-bank-list dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--bm-muted, #64748b);
  align-self: center;
  margin: 0;
}
.site-bank-list dd {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bm-ink, #17233d);
  letter-spacing: 0.02em;
  word-break: break-all;
}

.site-bank-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--bm-ink-soft, #3d4a63);
  background: var(--bm-warning-soft, #fef4e5);
  border-left: 3px solid var(--bm-warning, #f59e0b);
  border-radius: 0 var(--bm-radius, 0.5rem) var(--bm-radius, 0.5rem) 0;
  padding: 0.7rem 0.85rem;
  margin: 0;
}
/* The icon is its own flex item; the sentence is wrapped in a single <span>
   so its inline <strong>s are not torn into columns alongside it. */
.site-bank-note > i { color: #b45309; margin-top: 0.15rem; flex: none; }
.site-bank-note strong { color: var(--bm-ink, #17233d); font-weight: 700; }

@media (max-width: 420px) {
  .site-bank-list { grid-template-columns: 1fr; gap: 0.15rem; }
  .site-bank-list dd { margin-bottom: 0.55rem; }
}

/* A labelled rule inside a long form, so "Payment" reads as a new section
   rather than as another field label. */
.site-form-divider {
  margin: 1.75rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bm-border, #e5eaf2);
  font-weight: 800;
  color: var(--bm-ink, #17233d);
}
