/* =========================================================
   Brightlane — single-file CSS. No framework, no build step.
   Plain, hand-written CSS using custom properties + flex/grid.
   ========================================================= */

:root {
  /* Brightlane palette (exact) */
  --indigo-deep: #2B2A6B;   /* headings / dark text */
  --body: #5E6282;          /* body copy */
  --indigo: #5B4BFF;        /* primary */
  --coral: #FF7A59;         /* warm coral */
  --mint: #2EC4A0;          /* mint */
  --sunflower: #FFC93C;     /* sunflower */
  --lilac: #E9E6FF;         /* soft lilac */
  --pale-mint: #DDF7EF;     /* pale mint */
  --off-white: #FAFAFF;     /* page off-white */
  --white: #FFFFFF;

  /* Text-safe deepened variants (kept in-family, used only where
     a colour sits behind/under TEXT, to hold WCAG AA contrast) */
  --coral-deep: #DB5B3A;
  --mint-deep: #0F6F57;
  --sunflower-deep: #8A6A08;

  /* Section tints */
  --hero-bg: #F6F5FF;
  --facts-bg: #F8F6FF;
  --footer-bg: #FBFBFF;
  --border: #E7E4F8;
  --shadow: 0 20px 45px -25px rgba(43, 42, 107, 0.35);

  /* Type scale (desktop / 1440) */
  --fs-h1: 60px;
  --lh-h1: 80px;
  --fs-h2: 40px;
  --lh-h2: 48px;
  --fs-h3: 30px;
  --lh-h3: 40px;
  --fs-h4: 20px;
  --lh-h4: 28px;
  --fs-body: 16px;
  --lh-body: 28px;
  --fs-small: 14px;

  --section-pad: 120px;
  --container-w: 1176px;
  --radius-btn: 4px;
  --font-sans: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--white);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { color: var(--indigo-deep); font-weight: 600; margin: 0; }
p { margin: 0; }

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Visible, high-contrast focus ring everywhere (AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Default indigo focus ring disappears against the indigo bands + the
   indigo-gradient offer panel; swap to sunflower there (3.51:1 on indigo,
   clears the 3:1 non-text-contrast floor for focus indicators) */
.bl-check :focus-visible,
.bl-cta :focus-visible,
.bl-testi__card :focus-visible {
  outline-color: var(--sunflower);
}

.bl-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bl-skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--indigo-deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  z-index: 999;
  transition: top 0.15s ease;
}
.bl-skip-link:focus { top: 12px; }

.bl-container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.bl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 11px 40px;
  border-radius: var(--radius-btn);
  font-size: var(--fs-small);
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.bl-btn:hover { transform: translateY(-1px); }
.bl-btn:active { transform: translateY(0); }

.bl-btn--outline {
  background: transparent;
  border-color: var(--indigo);
  color: var(--indigo);
}
.bl-btn--outline:hover { background: var(--lilac); }

.bl-btn--soft-indigo { background: var(--lilac); color: var(--indigo-deep); }
.bl-btn--soft-indigo:hover { background: #ded8ff; }

.bl-btn--soft-mint { background: var(--pale-mint); color: var(--mint-deep); }
.bl-btn--soft-mint:hover { background: #c9f1e5; }

.bl-btn--mint-solid { background: var(--mint-deep); color: #fff; }
.bl-btn--mint-solid:hover { background: #0b5a44; }

.bl-btn--white { background: #fff; color: var(--indigo); }
.bl-btn--white:hover { background: var(--lilac); }

/* ---------- Header ---------- */
/*
 * NOTE: the translucent/blurred background lives on a ::before layer, not on
 * .bl-header itself. `backdrop-filter` (like `transform`) makes an element a
 * new containing block for its `position: fixed` descendants — and the
 * mobile nav panel (.bl-nav, fixed-positioned when open) lives inside this
 * header. Putting the filter on .bl-header would silently pin that panel to
 * the 88px header box instead of the viewport, making its links unclickable
 * on mobile. Keeping the filter on a non-ancestor pseudo-element avoids that
 * entirely while keeping the same visual effect.
 */
.bl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.bl-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 250, 255, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  transition: background-color 0.2s ease;
}
.bl-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -18px rgba(43, 42, 107, 0.45);
}
.bl-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.96);
}
.bl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}

.bl-logo { display: inline-flex; align-items: center; gap: 10px; }
.bl-logo__word { font-weight: 600; font-size: 22px; color: var(--indigo-deep); }

.bl-nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}
.bl-nav__list a {
  font-size: 15px;
  font-weight: 500;
  color: var(--indigo-deep);
  position: relative;
  padding: 6px 2px;
}
.bl-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}
.bl-nav__list a:hover::after,
.bl-nav__list a:focus-visible::after { transform: scaleX(1); }

.bl-header__actions { display: flex; align-items: center; gap: 16px; }

.bl-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.bl-burger__bar {
  width: 20px;
  height: 2px;
  background: var(--indigo-deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.bl-burger[aria-expanded="true"] .bl-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bl-burger[aria-expanded="true"] .bl-burger__bar:nth-child(2) { opacity: 0; }
.bl-burger[aria-expanded="true"] .bl-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.bl-hero {
  background: var(--hero-bg);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.bl-hero__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
}
.bl-hero__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 600;
  max-width: 900px;
}
.bl-hero__sub {
  margin-top: 24px;
  max-width: 620px;
  font-size: 18px;
  line-height: 30px;
  font-weight: 300;
  color: var(--body);
}
.bl-hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.bl-hero__art {
  margin-top: 64px;
  width: 100%;
  max-width: 960px;
}
.bl-hero__dots { position: absolute; inset: 0; pointer-events: none; }
.bl-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0.8;
}
.bl-dot--coral { background: var(--coral); }
.bl-dot--sun { background: var(--sunflower); }
.bl-dot--mint { background: var(--mint); }
.bl-dot--indigo { background: var(--indigo); }

/* ---------- Generic section ---------- */
.bl-section { padding: var(--section-pad) 0; }
.bl-section--tight { padding: 80px 0; }
.bl-section__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.bl-section__head h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
}
.bl-section__head p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
}
.bl-section__cta { text-align: center; margin-top: 56px; }

/* ---------- Cards (How we work) ---------- */
.bl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.bl-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bl-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bl-card__icon--coral { background: #FFEDE7; }
.bl-card__icon--mint { background: var(--pale-mint); }
.bl-card__icon--sun { background: #FFF6DE; }
.bl-card h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.bl-card p { font-size: 16px; line-height: 28px; }
.bl-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--indigo);
  font-size: 15px;
}
.bl-card__link svg { transition: transform 0.15s ease; }
.bl-card__link:hover svg { transform: translateX(4px); }

/* ---------- Feature rows ---------- */
.bl-feature { padding: var(--section-pad) 0; }
.bl-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.bl-feature--reverse .bl-feature__inner { grid-template-columns: 1fr 1fr; }
.bl-feature__text h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.bl-feature__text > p { margin-top: 20px; font-size: 16px; line-height: 28px; font-weight: 300; }
.bl-feature__lead { color: var(--indigo-deep); font-size: 18px; line-height: 30px; font-weight: 500; margin-bottom: 8px; display: block; }
.bl-feature__text .bl-btn { margin-top: 28px; }

.bl-bullets { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.bl-bullets li { display: flex; gap: 16px; align-items: flex-start; }
.bl-bullet__icon {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bl-bullet__icon--coral { background: #FFEDE7; }
.bl-bullet__icon--mint { background: var(--pale-mint); }
.bl-bullets h3 { font-size: 18px; line-height: 26px; }
.bl-bullets p { margin-top: 4px; font-size: 15px; line-height: 24px; }

.bl-feature__art picture { display: block; }

/* ---------- Free website check band ---------- */
.bl-check {
  position: relative;
  background: var(--indigo);
  color: #fff;
  padding: 120px 0 170px;
  text-align: center;
  overflow: hidden;
}
.bl-check__inner { position: relative; z-index: 2; }
.bl-check h2 { color: #fff; font-size: var(--fs-h2); line-height: var(--lh-h2); }
.bl-check > .bl-check__inner > p {
  margin: 16px auto 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
  color: #ECEAFF;
}
.bl-check__form {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.bl-check__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.bl-check__field label { font-size: 13px; margin-bottom: 6px; color: #FFFFFF; }
.bl-check__field input {
  width: 280px;
  height: 50px;
  border-radius: var(--radius-btn);
  border: none;
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--indigo-deep);
}
/* #5E5A82 on white = 6.44:1, clears the 4.5:1 AA floor (measured 2026-10-24) */
.bl-check__field input::placeholder { color: #5E5A82; }
.bl-check__form .bl-btn { align-self: flex-end; }
.bl-check__status {
  margin: 20px auto 0;
  max-width: 540px;
  font-size: 14px;
  line-height: 22px;
  color: #fff;
}
.bl-check__status:empty { display: none; }
.bl-check__status a { color: #fff; text-decoration: underline; }
.bl-check__skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 160px;
  z-index: 1;
}

/* ---------- Slider (case studies) ---------- */
.bl-slider__viewport { overflow: hidden; }
.bl-slider__track {
  display: flex;
  gap: 32px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.bl-slider__slide { flex: 0 0 calc((100% - 64px) / 3); }
.bl-case {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bl-case__img {
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}
.bl-case__img--lilac { background: var(--lilac); }
.bl-case__img--mint { background: var(--pale-mint); }
.bl-case__img--peach { background: #FFE6DC; }
.bl-case__img img { width: 100%; height: 100%; object-fit: contain; }
.bl-case h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.bl-case p { font-size: 15px; line-height: 24px; }

.bl-slider__controls {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.bl-slider__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--lilac);
  background: #fff;
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.bl-slider__arrow:hover { background: var(--lilac); border-color: var(--indigo); }
.bl-slider__arrow:disabled { opacity: 0.35; cursor: not-allowed; }

.bl-slider__dots { display: flex; gap: 10px; }
.bl-slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--lilac);
  cursor: pointer;
  padding: 0;
}
.bl-slider__dots button[aria-current="true"] { background: var(--indigo); width: 26px; border-radius: 6px; transition: width 0.2s ease; }

/* slides outside the visible window are inert + aria-hidden (set in JS);
   this just removes them from layout flow for assistive tech cleanliness */
.bl-slider__slide[aria-hidden="true"] { visibility: hidden; }
.bl-slider__slide:not([aria-hidden="true"]) { visibility: visible; }

/* ---------- Stats ---------- */
/* sized to fit compound values ("1 report") inside the 180px circle, not just single digits */

/* ---------- Testimonials ---------- */
.bl-testi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.bl-testi__text h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }

.bl-testi__card { position: relative; }
.bl-blob {
  position: absolute;
  inset: -10% -6%;
  z-index: 0;
}
.bl-testi__list { position: relative; z-index: 1; list-style: none; }
.bl-testi__item {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 48px;
}
.bl-testi__item.is-active { display: flex; }
.bl-testi__quote {
  margin-top: 0;
  color: #fff;
  font-style: italic;
  font-size: 18px;
  line-height: 30px;
  width: 100%;
  max-width: 320px;
}
/* the founding-client offer text is a plain statement, not a quote */
.bl-testi__quote--plain { font-style: normal; }
.bl-testi__item .bl-btn { margin-top: 28px; }

/* ---------- Tools I work with (plain-text badges, no logos/trademarks) ---------- */
.bl-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 16px;
  max-width: 900px;
  margin: 0 auto;
}
.bl-tool-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--indigo-deep);
  font-weight: 500;
  font-size: 15px;
}

/* ---------- Pricing ---------- */
.bl-pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.bl-pricing-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bl-pricing-card--highlight {
  border-color: var(--indigo);
  box-shadow: 0 24px 55px -25px rgba(43, 42, 107, 0.5);
}
.bl-pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 40px;
  background: var(--indigo-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
}
.bl-pricing-card h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.bl-pricing-card__price { font-size: 32px; font-weight: 600; color: var(--indigo-deep); }
.bl-pricing-card__price span { font-size: 32px; }
.bl-pricing-card__list { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 0; }
.bl-pricing-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 24px;
}
.bl-pricing-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--pale-mint);
  border: 2px solid var(--mint-deep);
}
.bl-pricing-card .bl-btn { margin-top: auto; align-self: flex-start; }
.bl-pricing__fineprint { text-align: center; margin-top: 40px; font-size: 14px; color: var(--body); }

/* ---------- About (bio) ---------- */
.bl-about {
  background: var(--facts-bg);
}
.bl-about__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.bl-about__inner p { font-size: 18px; line-height: 30px; }

/* ---------- CTA band ---------- */
.bl-cta { background: var(--indigo); padding: 90px 0; }
.bl-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.bl-cta h2 { color: #fff; font-size: var(--fs-h2); line-height: 1.35; font-weight: 600; }

/* ---------- Footer ---------- */
.bl-footer { background: var(--footer-bg); padding-top: 96px; }
.bl-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}
.bl-footer__brand p { margin-top: 16px; font-size: 14px; line-height: 22px; max-width: 240px; }
.bl-footer__col h3 { font-size: 16px; margin-bottom: 20px; }
.bl-footer__col ul { display: flex; flex-direction: column; gap: 14px; }
.bl-footer__col a { font-size: 15px; color: var(--body); }
.bl-footer__col a:hover { color: var(--indigo); }

.bl-footer__art { width: 100%; line-height: 0; }
.bl-footer__art img { width: 100%; }

.bl-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 24px 32px;
  font-size: 14px;
}
.bl-footer__legal-links { display: flex; gap: 24px; }
.bl-footer__legal-links a:hover { color: var(--indigo); }

/* =========================================================
   Responsive — 1024 / 768 / 390 (plus a general fluid step)
   ========================================================= */

@media (max-width: 1180px) {
  :root {
    --section-pad: 96px;
    --container-w: 940px;
  }
  .bl-cards { gap: 28px; }
  .bl-pricing__cards { gap: 28px; }
  .bl-feature__inner { gap: 48px; }
}

@media (max-width: 1024px) {
  :root {
    --fs-h1: 46px;
    --lh-h1: 58px;
    --fs-h2: 32px;
    --lh-h2: 40px;
    --fs-h3: 26px;
    --lh-h3: 34px;
    --section-pad: 80px;
  }
  .bl-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: #fff;
    display: block;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
  }
  .bl-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .bl-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px;
  }
  .bl-nav__list a {
    display: block;
    width: 100%;
    padding: 16px 4px;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }
  .bl-burger { display: flex; }
  .bl-header__actions .bl-btn--outline { display: none; }
  body.bl-no-scroll { overflow: hidden; }

  .bl-cards { grid-template-columns: 1fr; }
  .bl-feature__inner { grid-template-columns: 1fr; }
  .bl-feature--reverse .bl-feature__inner .bl-feature__art { order: -1; }
  .bl-feature--reverse .bl-feature__inner { grid-template-columns: 1fr; }
  .bl-feature__art { max-width: 520px; margin: 0 auto; }

  .bl-testi { grid-template-columns: 1fr; }
  .bl-testi__text { text-align: center; }
  .bl-testi__card { max-width: 560px; margin: 0 auto; }


  .bl-footer__grid { grid-template-columns: 1fr 1fr; }
  .bl-footer__brand { grid-column: 1 / -1; }

  .bl-pricing__cards { grid-template-columns: 1fr; }

  .bl-slider__slide { flex-basis: calc((100% - 32px) / 2); }
}

@media (max-width: 768px) {
  :root {
    --fs-h1: 36px;
    --lh-h1: 44px;
    --fs-h2: 28px;
    --lh-h2: 36px;
    --section-pad: 64px;
  }
  .bl-header__inner { height: 76px; }
  .bl-hero { padding-top: 48px; }
  .bl-hero__sub { font-size: 16px; line-height: 26px; }
  .bl-hero__actions { flex-direction: column; width: 100%; max-width: 320px; margin: 40px auto 0; }
  .bl-hero__actions .bl-btn { width: 100%; }

  .bl-check { padding: 80px 0 140px; }
  .bl-check__form { flex-direction: column; align-items: center; }
  .bl-check__field { width: 100%; max-width: 320px; }
  .bl-check__field input { width: 100%; }
  .bl-check__form .bl-btn { width: 100%; max-width: 320px; align-self: center; }


  .bl-cta__inner { flex-direction: column; text-align: center; }

  .bl-slider__slide { flex-basis: 100%; }

  .bl-footer__grid { grid-template-columns: 1fr; }
  .bl-footer__legal { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .bl-container { padding: 0 20px; }
  :root {
    --fs-h1: 30px;
    --lh-h1: 38px;
    --fs-h2: 24px;
    --lh-h2: 32px;
    --fs-h3: 22px;
    --lh-h3: 30px;
    --section-pad: 56px;
  }
  .bl-hero__title { max-width: 100%; }
  .bl-logo__word { font-size: 19px; }
  .bl-card { padding: 28px; }
  .bl-pricing-card { padding: 28px; }
  .bl-testi__item { padding: 56px 24px; }
  .bl-check__skyline { height: 120px; }
}

/* guard against sub-pixel horizontal scroll from decorative shapes (cheetah 2026-10-24) */
html, body { overflow-x: clip; }
@media (max-width: 768px) {
  h1 br, h2 br { display: none; }
  .bl-testi__item { padding: 88px 44px 104px; }
  .bl-blob { inset: -4% -8%; }
}
@media (max-width: 480px) {
  .bl-testi__quote { font-size: 15px; line-height: 25px; }
  .bl-testi__item { padding: 84px 48px 128px; }
}
@media (max-width: 768px) {
}
.bl-about__eyebrow { font-size: 14px !important; line-height: 20px !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--indigo); margin-bottom: 12px; }
.bl-about__inner h2 { font-size: var(--fs-h3, 30px); line-height: 1.3; margin-bottom: 20px; }
/* founding-offer panel: keep white text on a dark, stable fill (Astra R2 contrast) */
.bl-testi__item .bl-btn:focus-visible { outline-color: #fff; }
@media (max-width: 768px) {
  .bl-testi__card .bl-blob { display: none; }
  .bl-testi__card { background: #4F3FF0; border-radius: 28px; }
  .bl-testi__item { padding: 48px 28px; }
}

/* ---------- Footer art: CSS-animated sky layers (cheetah 2026-10-24) ---------- */
.bl-footer__art { position: relative; }
.bl-fart { position: absolute; display: block; pointer-events: none; }
.bl-fart img { width: 100%; height: auto; display: block; }
.bl-fart--balloon { animation: bl-float 9s ease-in-out infinite; }
.bl-fart--cloud-a { animation: bl-drift 26s ease-in-out infinite; }
.bl-fart--cloud-b { animation: bl-drift 32s ease-in-out infinite reverse; }
.bl-fart--cloud-c { animation: bl-drift 29s ease-in-out infinite; animation-delay: -9s; }
.bl-fart--spark-a, .bl-fart--spark-b, .bl-fart--spark-c { animation: bl-twinkle 3.6s ease-in-out infinite; }
.bl-fart--spark-b { animation-delay: -1.2s; }
.bl-fart--spark-c { animation-delay: -2.4s; }
@keyframes bl-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14%) rotate(1.5deg); } }
@keyframes bl-drift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(18%); } }
@keyframes bl-twinkle { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .45; } }

/* ---------- Back to top ---------- */
.bl-totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(91,75,255,.25);
  background: rgba(255,255,255,.92); color: var(--indigo); box-shadow: 0 10px 28px rgba(43,42,107,.18);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, background .2s, color .2s;
}
.bl-totop.is-visible { opacity: 1; transform: none; }
.bl-totop:hover { background: var(--indigo); color: #fff; }
.bl-totop:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
@media (max-width: 480px) { .bl-totop { right: 16px; bottom: 16px; width: 46px; height: 46px; } }

@media (prefers-reduced-motion: reduce) {
  .bl-fart { animation: none !important; }
  .bl-totop { transition: none; }
}

/* ===== 5-10% layout nudges (Adam TG 11976/11978) ===== */
/* 1. Hero: text left, art right on desktop */
@media (min-width: 1025px) {
  .bl-hero { padding: 56px 0 72px; }
  .bl-hero__inner {
    display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 48px; align-items: center;
    text-align: left; justify-items: start;
  }
  .bl-hero__title, .bl-hero__sub, .bl-hero__actions { grid-column: 1; }
  .bl-hero__title { font-size: 54px; line-height: 66px; }
  .bl-hero__actions { justify-content: flex-start; }
  .bl-hero__art { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; max-width: none; }
}
/* 2. How-I-work cards: icon beside the title */
.bl-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 16px; align-items: center; }
.bl-card > *:not(.bl-card__icon):not(h3) { grid-column: 1 / -1; }
.bl-card__link { align-self: end; }
/* 3. Feature rows: swap sides on desktop */
@media (min-width: 1025px) {
  .bl-feature:not(.bl-feature--reverse) .bl-feature__art { order: -1; }
  .bl-feature--reverse .bl-feature__art { order: 1; }
}
/* 4. Website-check band: inset rounded card, no skyline */
.bl-check { max-width: 1176px; margin: 0 auto; border-radius: 32px; padding: 88px 48px; background: linear-gradient(135deg, #4A3AE8 0%, #5B4BFF 55%, #6E5CFF 100%); }
.bl-check__skyline { display: none; }
.bl-check-wrap-gap { height: 0; }
@media (max-width: 1240px) { .bl-check { margin: 0 24px; } }
@media (max-width: 480px) { .bl-check { padding: 64px 20px; border-radius: 24px; margin: 0 12px; } }
/* 5. Founding offer: rounded rectangle everywhere (no blob) */
.bl-testi__card .bl-blob { display: none; }
.bl-testi__card { background: linear-gradient(140deg, #4A3AE8, #5B4BFF); border-radius: 28px; box-shadow: 0 24px 60px rgba(74,58,232,.25); }
.bl-testi__item { padding: 56px 48px; }
@media (min-width: 1025px) {
  .bl-hero__title { font-size: 50px; line-height: 62px; }
  .bl-hero__dots .bl-dot--coral, .bl-hero__dots .bl-dot--mint { display: none; }
}
.bl-check { margin-top: 96px; }
@media (max-width: 1240px) { .bl-check { margin: 72px 24px 0; } }
@media (max-width: 480px) { .bl-check { margin: 56px 12px 0; } }
@media (min-width: 1025px) { .bl-hero__title br { display: none; } }
/* 5-second H3 loops: feather the edges so the video's background melts into the section */
.bl-loop { display: block; width: 100%; height: auto; background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
/* back-to-top restyled to Adam's reference (TG 11986): outline circle, teal chevron, slow fade */
.bl-totop {
  bottom: 32px; right: 32px; width: 48px; height: 48px; padding: 0; margin: 0;
  background-color: transparent; border: 1.5px solid rgba(14,124,120,.5); color: rgb(19,184,167);
  box-shadow: none; transform: none;
  visibility: hidden; transition: opacity .8s, visibility .8s, background-color .18s, border-color .18s;
}
.bl-totop.is-visible { visibility: visible; }
.bl-totop:hover { background-color: rgba(19,184,167,.10); border-color: rgb(19,184,167); color: rgb(19,184,167); }
.bl-totop:focus-visible { outline: 2px solid rgb(19,184,167); outline-offset: 3px; }
@media (max-width: 480px) { .bl-totop { bottom: 20px; right: 20px; width: 48px; height: 48px; } }
/* back-to-top in Brightlane colours (Adam TG 11989) */
.bl-totop { border-color: rgba(91,75,255,.45); color: var(--indigo); }
.bl-totop:hover { background-color: rgba(91,75,255,.10); border-color: var(--indigo); color: var(--indigo); }
.bl-totop:focus-visible { outline-color: var(--indigo); }
/* back-to-top inverts over dark/indigo sections (Adam TG 12005) */
.bl-totop.is-on-dark { color: #fff; border-color: rgba(255,255,255,.7); }
.bl-totop.is-on-dark:hover { background-color: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.bl-totop.is-on-dark:focus-visible { outline-color: #fff; }
/* hero loop: plays for everyone (owner choice, TG 12010); small pause button satisfies WCAG 2.2.2 */
.bl-hero__art { position: relative; }
.bl-loop-toggle { position: absolute; left: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(91,75,255,.35); background: rgba(255,255,255,.85); color: var(--indigo);
  display: grid; place-items: center; cursor: pointer; opacity: .55; transition: opacity .2s; }
.bl-hero__art:hover .bl-loop-toggle, .bl-loop-toggle:focus-visible { opacity: 1; }
.bl-loop-toggle.is-paused svg { display: none; }
.bl-loop-toggle.is-paused::before { content: ""; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
/* feature loops (white video on white section): no feather mask; pause button like the hero */
.bl-loop--plain { -webkit-mask-image: none; mask-image: none; }
.bl-feature__art--loop { position: relative; }
.bl-feature__art--loop:hover .bl-loop-toggle { opacity: 1; }
