:root {
  color-scheme: light dark;
  --bb-bg: #fcfbf8;
  --bb-navy: #062e53;
  --bb-text: #4a5d6f;
  --bb-muted: #566574;
  --bb-border: #bfc9d3;
  --bb-white: #ffffff;
  --bb-error: #8b2f2f;
  --bb-serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bb-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --page-max: 1088px;
}

* { box-sizing: border-box; }
html { background: var(--bb-bg); color: var(--bb-navy); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bb-bg);
  color: var(--bb-text);
  font-family: var(--bb-sans);
  text-rendering: optimizeLegibility;
}

a { color: var(--bb-navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wordmark:hover { text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 14px;
  background: var(--bb-navy);
  color: white;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-shell {
  width: min(calc(100% - 120px), var(--page-max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bb-border);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  color: var(--bb-navy);
  text-transform: uppercase;
  line-height: 1;
}
.wordmark-top {
  font-size: 9.904762px;
  font-weight: 600;
  letter-spacing: .26em;
  line-height: 1.2;
}
.wordmark-bottom {
  margin-top: 5px;
  font-size: 16px;
  font-weight: 600;
  line-height: 18.4px;
  letter-spacing: 3.52px;
  white-space: nowrap;
}
.header-link {
  margin-top: 16.2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 18.4px;
}
.linkedin-header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14.28px;
  line-height: 24px;
}
.linkedin-glyph {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1;
}

.landing-main {
  min-height: calc(100vh - 104px);
  padding: 62px 0 0;
}
.hero {
  text-align: center;
}
.hero h1 {
  margin: 0 auto;
  max-width: 660px;
  color: var(--bb-navy);
  font-family: var(--bb-serif);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.2px;
}
.hero-subtitle {
  margin: 28px 0 0;
  color: var(--bb-muted);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
}

.signup-wrap {
  width: 617.76px;
  max-width: 100%;
  height: 98px;
  margin: 24px auto 0;
}
.signup-row {
  display: grid;
  grid-template-columns: 339.77px 277.99px;
  width: 100%;
  min-height: 64px;
}
.signup-field {
  width: 100%;
  min-width: 0;
  height: 64px;
  padding: 0 24px;
  border: 1px solid var(--bb-border);
  border-right: 0;
  border-radius: 5px 0 0 5px;
  outline: none;
  background: var(--bb-white);
  color: #24384a;
  font-size: 17px !important;
  line-height: 25.5px !important;
}
.signup-field::placeholder { color: #4c4c4c; opacity: 1; }
.signup-field:-webkit-autofill,
.signup-field:-webkit-autofill:hover,
.signup-field:-webkit-autofill:focus,
.signup-field:-webkit-autofill:active {
  -webkit-text-fill-color: #24384a;
  font-family: inherit;
  font-size: 17px !important;
  line-height: 25.5px !important;
}
/* Keep Chrome's in-field autofill preview typography aligned with the input.
   Chrome may render the preview through an internal suggested-value layer;
   ::first-line is the author-accessible hook that can influence that text. */
.signup-field:-webkit-autofill::first-line,
.signup-field:autofill::first-line {
  font-family: inherit !important;
  font-size: 17px !important;
  line-height: 25.5px !important;
}
.signup-field:focus {
  border-color: var(--bb-navy);
  box-shadow: inset 0 0 0 1px var(--bb-navy);
}
.signup-field[aria-invalid="true"] {
  border-color: var(--bb-error);
  border-right: 1px solid var(--bb-error);
  box-shadow: inset 0 0 0 1px var(--bb-error);
}
.signup-button {
  width: 100%;
  height: 64px;
  border: 1px solid var(--bb-navy);
  border-radius: 0 5px 5px 0;
  background: var(--bb-navy);
  color: var(--bb-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  padding: 0 28px;
}
.signup-button:hover { filter: brightness(0.96); text-decoration: none; }
.signup-button:focus-visible,
.header-link:focus-visible,
.wordmark:focus-visible,
.footer-link:focus-visible,
.linkedin-cta:focus-visible,
.privacy-copy a:focus-visible {
  outline: 3px solid rgba(6,46,83,.28);
  outline-offset: 4px;
}

.signup-reassurance {
  margin: 14px 0 0;
  text-align: center;
  color: var(--bb-text);
  font-size: 14px;
  line-height: 20px;
}

#signup-step-2[hidden] { display: none; }
[data-step] { position: relative; }
.signup-consent {
  margin: 16px 0 0;
  text-align: left;
}
.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.consent-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid var(--bb-border);
  border-radius: 2px;
  background: var(--bb-white);
  display: grid;
  place-content: center;
}
.consent-checkbox::before {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}
.consent-checkbox:checked { background: var(--bb-navy); border-color: var(--bb-navy); }
.consent-checkbox:checked::before { transform: rotate(-45deg) scale(1); }
.consent-checkbox:focus-visible { outline: 3px solid rgba(6,46,83,.28); outline-offset: 3px; }
.consent-checkbox[aria-invalid="true"] {
  border-color: var(--bb-error);
  box-shadow: inset 0 0 0 1px var(--bb-error);
}
.consent-primary {
  color: var(--bb-text);
  font-size: 14px;
  line-height: 20px;
}
.consent-disclosure {
  color: var(--bb-text);
  font-size: 13px;
  line-height: 18px;
}
.consent-disclosure a { text-decoration: underline; text-underline-offset: 2px; }
.form-error {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--bb-error);
  font-size: 13px;
  line-height: 18px;
  text-align: left;
}
.form-error:empty { display: none; }
.field-error {
  position: absolute;
  top: -22px;
  left: 0;
  margin: 0;
}
.consent-error { margin: 8px 0 0 28px; }

.framework {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 68px;
  text-align: center;
}
.framework > div {
  padding-top: 16px;
  border-top: 1px solid var(--bb-border);
}
.framework-name {
  margin: 0;
  color: var(--bb-navy);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .18em;
}
.framework-copy {
  margin: 10px 0 0;
  color: var(--bb-navy);
  font-family: var(--bb-sans);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  font-style: italic;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding: 20px 0 20px;
  border-top: 1px solid var(--bb-border);
  color: var(--bb-muted);
  font-size: 13px;
  line-height: 18px;
}
.footer-link { color: var(--bb-muted); }

/* Shared simple-state pages */
.state-main {
  min-height: calc(100vh - 104px);
  padding: 120px 0 80px;
}
.state-column {
  width: min(620px, 100%);
  margin: 0 auto;
}
.state-title,
.page-title,
.about-title {
  margin: 0;
  color: var(--bb-navy);
  font-family: var(--bb-serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.2px;
}
.state-title { font-size: 48px; }
.state-body {
  margin: 28px 0 0;
  color: var(--bb-text);
  font-size: 18px;
  line-height: 1.60;
}
.state-helper {
  margin: 26px 0 0;
  color: var(--bb-muted);
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
}

/* About */
.about-main { padding: 59px 0 0; }
.about-grid {
  display: grid;
  grid-template-columns: 225px minmax(0, 680px);
  gap: 60px;
  align-items: start;
  margin-left: -16px;
}
.about-photo {
  width: 225px;
  height: 225px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.about-title { font-size: 48px; font-weight: 600; line-height: 1.08; letter-spacing: -1.2px; }
.about-copy {
  max-width: 650px;
  margin-top: 34px;
  color: var(--bb-text);
  font-size: 18px;
  line-height: 1.58;
}
.about-copy p { margin: 0; }
.linkedin-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 46px;
  color: var(--bb-navy);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

/* Privacy */
.privacy-main { padding: 92px 0 0; }
.privacy-column { width: min(720px, 100%); margin: 0 auto; }
.page-title { font-size: 48px; }
.last-updated { margin: 14px 0 46px; color: var(--bb-muted); font-size: 13px; }
.privacy-copy { color: var(--bb-text); font-size: 17px; line-height: 1.68; }
.privacy-copy h2 {
  margin: 48px 0 14px;
  color: var(--bb-navy);
  font-family: var(--bb-serif);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 600;
  font-variant-numeric: lining-nums proportional-nums;
}
.privacy-copy p { margin: 0 0 18px; }
.privacy-copy address { font-style: normal; margin: 0 0 18px; }
.privacy-copy a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 720px) {
  .site-shell { width: min(calc(100% - 60px), var(--page-max)); }
  .site-header {
    padding-top: 24px;
    padding-bottom: 18px;
    margin-inline: 0;
    align-items: flex-start;
  }
  .wordmark { gap: 0; transform: none; }
  .wordmark-top { font-size: 9.904762px; letter-spacing: .26em; }
  .wordmark-bottom {
    font-size: 16px;
    font-weight: 600;
    line-height: 18.4px;
    letter-spacing: 3.52px;
  }
  .header-link {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18.4px;
  }
  .linkedin-header-link {
    margin-top: 16px;
    line-height: 18.4px;
  }

  .landing-main { padding: 84px 0 0; }
  .landing-page .wordmark { transform: none; }
  .hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -.75px;
  }
  .hero-subtitle { margin-top: 20px; font-size: 18px; line-height: 1.55; }
  .signup-wrap { width: 100%; height: auto; margin-top: 18px; }
  .signup-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .signup-field,
  .signup-button {
    height: 56px;
    border-radius: 5px;
  }
  .signup-field {
    border-right: 1px solid var(--bb-border);
    padding: 0 24px;
    font-size: 16px !important;
    line-height: 24px !important;
  }
  .signup-field:-webkit-autofill,
  .signup-field:-webkit-autofill:hover,
  .signup-field:-webkit-autofill:focus,
  .signup-field:-webkit-autofill:active {
    font-size: 16px !important;
    line-height: 24px !important;
  }
  .signup-field:-webkit-autofill::first-line,
  .signup-field:autofill::first-line {
    font-size: 16px !important;
    line-height: 24px !important;
  }
  .signup-button {
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }
  .signup-reassurance { margin-top: 14px; font-size: 14px; }
  .signup-consent { margin-top: 16px; }
  .consent-disclosure { font-size: 14px; line-height: 20px; }
  .framework {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 64px;
    padding-left: 0;
    text-align: left;
  }
  .framework-name { font-size: 12px; }
  .framework-copy { margin-top: 10px; font-size: 18px; line-height: 1.55; }
  .site-footer { margin-top: 60px; flex-direction: column; align-items: flex-start; gap: 10px; }

  .state-main { padding: 96px 0 60px; }
  .state-title { font-size: 40px; }
  .state-body { margin-top: 24px; font-size: 18px; }
  .state-helper { margin-top: 24px; }

  .about-page .site-header { padding-inline: 0; align-items: flex-start; }
  .about-page .wordmark { transform: none; }
  .about-page .linkedin-header-link { margin-top: 16px; font-size: 14px; gap: 6px; line-height: 18.4px; position: static; top: auto; }
  .about-main { padding: 42px 0 0; }
  .about-grid { grid-template-columns: 1fr; gap: 0; margin-left: 0; }
  .about-photo { width: 165px; height: 165px; }
  .about-title { margin-top: 12px; font-size: 42px; }
  .about-copy { margin-top: 30px; font-size: 18px; line-height: 1.55; }
  .linkedin-cta { margin-top: 36px; font-size: 16px; }

  .privacy-main { padding: 70px 0 0; }
  .page-title { font-size: 40px; }
  .last-updated { margin-bottom: 38px; }
  .privacy-copy { font-size: 17px; line-height: 1.68; }
  .privacy-copy h2 { margin-top: 40px; font-size: 23px; }
}

@media (max-width: 380px) {
  .signup-wrap { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Newsletter signup confirmation */
.thank-you-main {
  min-height: calc(100vh - 104px);
  display: flex;
  flex-direction: column;
  padding: 62px 0 0;
}
.thank-you-card {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}
.thank-you-icon {
  display: block;
  width: 38px;
  height: auto;
  margin: 26px auto 0;
  overflow: visible;
  fill: none;
  stroke: var(--bb-navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thank-you-title {
  margin: 0;
  color: var(--bb-navy);
  font-family: var(--bb-serif);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.2px;
}
.thank-you-body {
  margin: 30px 0 0;
  color: var(--bb-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
}
.thank-you-signoff {
  margin: 30px 0 0;
  color: var(--bb-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}
.thank-you-helper {
  margin: 34px 0 0;
  color: #637383;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.thank-you-footer {
  margin-top: auto;
}

@media (max-width: 720px) {
  .thank-you-page .wordmark { transform: none; }
  .thank-you-main {
    min-height: calc(100vh - 67px);
    min-height: calc(100svh - 67px);
    padding: 84px 0 0;
  }
  .thank-you-card {
    width: 100%;
  }
  .thank-you-icon {
    width: 34px;
    margin-top: 22px;
  }
  .thank-you-title {
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -.75px;
  }
  .thank-you-body {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.5;
  }
  .thank-you-body br { display: none; }
  .thank-you-signoff {
    margin-top: 24px;
    font-size: 19px;
  }
  .thank-you-helper {
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.5;
  }
  .thank-you-footer {
    margin-top: auto;
  }
}

/* Thank-you page desktop alignment refinements */
@media (min-width: 721px) {
  /* Match pages that naturally have a vertical scrollbar so the shared
     centered shell, wordmark and About link resolve to identical x positions. */
  body.thank-you-page {
    overflow-y: scroll;
  }

  /* Header ends at ~80px on desktop. Filling the remaining viewport places
     the footer rule lower while keeping its text fully visible without scroll. */
  .thank-you-main {
    min-height: calc(100vh - 80px);
  }
}

/* Newsletter subscription confirmed */
.success-icon {
  display: block;
  width: 30px;
  height: auto;
  margin: 26px auto 0;
  overflow: visible;
  fill: none;
  stroke: var(--bb-navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success-promise {
  margin: 28px 0 0;
  color: var(--bb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .success-icon {
    width: 27px;
    margin-top: 22px;
  }
  .success-promise {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.5;
  }
}

/* Unified footer placement — success page is the reference.
   The success/thank-you pages remain untouched. Every other page uses the
   same footer size and the same measured distance from the page bottom. */
@media (min-width: 721px) {
  /* The success page always reserves scrollbar width on desktop; do the same
     everywhere so the footer rule and both labels also match horizontally. */
  body { overflow-y: scroll; }

  body:not(.thank-you-page) .site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  body:not(.thank-you-page) .site-shell > main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.71875px;
  }

  body:not(.thank-you-page) .site-shell > main > .site-footer {
    margin-top: auto;
  }
}

@media (max-width: 720px) {
  body:not(.thank-you-page) .site-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  body:not(.thank-you-page) .site-shell > main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 7.71875px;
  }

  body:not(.thank-you-page) .site-shell > main > .site-footer {
    margin-top: auto;
  }
}


/* Requested spacing refinements: Privacy + mobile content/footer rhythm */
@media (min-width: 721px) {
  .privacy-page .privacy-main { padding-top: 72px; }

  /* Match the Privacy last-line-to-rule distance to the About page's
     Connect-on-LinkedIn-to-rule distance at the same viewport height. */
  body.privacy-page .site-shell > main > .site-footer {
    margin-top: max(2px, calc(100vh - 544px));
  }
}

@media (max-width: 720px) {
  .privacy-page .privacy-main { padding-top: 56px; }

  /* Landing: match the content-to-footer-rule gap to the current
     Join-for-free-to-BUSINESS gap (72px). About stays at 60px. */
  body.landing-page .site-shell > main > .site-footer {
    margin-top: 72px;
  }

  body.about-page .site-shell > main > .site-footer {
    margin-top: 60px;
  }

  /* The Privacy copy already contributes an 18px final paragraph margin,
     so 42px here produces the same 60px last-line-to-rule distance. */
  body.privacy-page .site-shell > main > .site-footer {
    margin-top: 42px;
  }
}

@media (max-width: 720px) {
  /* Keep Almost there / Success footer-label-to-page-end spacing identical
     to the Landing page. The larger content-to-rule gap above does not alter
     the footer's own bottom padding. */
  .thank-you-page .thank-you-main {
    padding-bottom: max(0px, calc(100svh - 878.15625px));
  }
}

@media (max-width: 340px) {
  /* Narrow phones add one extra wrap in the Landing-page framework. */
  .thank-you-page .thank-you-main {
    padding-bottom: max(0px, calc(100svh - 933.546875px));
  }
}

/* Desktop Landing footer rhythm: match the last-content-to-rule gap to the
   existing Join-for-free-to-BUSINESS gap (72px). */
@media (min-width: 721px) {
  body.landing-page .site-shell > main > .site-footer {
    margin-top: 72px;
  }
}


/* Dark mode — Deep Navy Charcoal palette */
@media (prefers-color-scheme: dark) {
  :root {
    --bb-bg: #0D1822;
    --bb-navy: #DDE8EF;
    --bb-text: #B5C1CB;
    --bb-muted: #8FA1B0;
    --bb-border: #2A3B49;
    --bb-white: #121F2A;
    --bb-error: #D9A3A3;
  }

  html {
    color-scheme: dark;
    background: var(--bb-bg);
    color: var(--bb-navy);
  }

  body {
    background: var(--bb-bg);
    color: var(--bb-text);
  }

  a {
    color: #8FB1C8;
  }

  .skip-link {
    background: #8FB1C8;
    color: #0D1822;
  }

  .wordmark,
  .hero h1,
  .state-title,
  .page-title,
  .about-title,
  .privacy-copy h2,
  .thank-you-title,
  .framework-name {
    color: #DDE8EF;
  }

  .header-link,
  .linkedin-header-link,
  .linkedin-cta,
  .footer-link,
  .consent-disclosure a,
  .privacy-copy a {
    color: #8FB1C8;
  }

  .hero-subtitle,
  .signup-reassurance,
  .consent-primary,
  .consent-disclosure,
  .state-body,
  .state-helper,
  .about-copy,
  .privacy-copy,
  .thank-you-body,
  .thank-you-signoff,
  .success-promise,
  .framework-copy {
    color: #B5C1CB;
  }

  .last-updated,
  .site-footer,
  .thank-you-helper {
    color: #8FA1B0;
  }

  .site-footer {
    border-top-color: #2A3B49;
  }

  .signup-field {
    background: #121F2A;
    color: #D6E0E7;
    border-color: #2A3B49;
  }

  .signup-field:-webkit-autofill,
  .signup-field:-webkit-autofill:hover,
  .signup-field:-webkit-autofill:focus,
  .signup-field:-webkit-autofill:active {
    -webkit-text-fill-color: #D6E0E7;
  }

  .signup-field::placeholder {
    color: #8FA1B0;
  }

  .signup-field:focus {
    border-color: #8FB1C8;
    box-shadow: inset 0 0 0 1px #8FB1C8;
  }

  .signup-button {
    background: transparent;
    color: #8FB1C8;
    border-color: #8FB1C8;
  }

  .signup-button:hover {
    background: rgba(143, 177, 200, 0.08);
    filter: none;
  }

  .signup-button:focus-visible,
  .header-link:focus-visible,
  .wordmark:focus-visible,
  .footer-link:focus-visible,
  .linkedin-cta:focus-visible,
  .privacy-copy a:focus-visible {
    outline: 3px solid rgba(143, 177, 200, 0.35);
  }

  .consent-checkbox {
    background: #121F2A;
    border-color: #2A3B49;
  }

  .consent-checkbox::before {
    border-left-color: #0D1822;
    border-bottom-color: #0D1822;
  }

  .consent-checkbox:checked {
    background: #8FB1C8;
    border-color: #8FB1C8;
  }

  .consent-checkbox:focus-visible {
    outline: 3px solid rgba(143, 177, 200, 0.35);
  }

  .thank-you-icon,
  .success-icon {
    stroke: #8FB1C8;
  }
}


/* Desktop About vertical rhythm: keep the Connect on LinkedIn line exactly
   centered between the profile-copy ending and the footer rule. */
@media (min-width: 721px) {
  body.about-page .about-grid {
    flex: 1 1 auto;
  }

  body.about-page .about-grid > section {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  body.about-page .linkedin-cta {
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: auto;
    transform: translateY(-3px);
  }

  body.about-page .site-shell > main > .site-footer {
    margin-top: 0;
  }
}

/* Homepage hero entrance animation — restored from the last approved v9 timing. */
@media (prefers-reduced-motion: no-preference) {
  .landing-page .hero h1 {
    animation: bb-hero-fade 1250ms ease 160ms both;
  }

  .landing-page .hero-subtitle {
    animation: bb-hero-fade 1250ms ease 760ms both;
  }
}

@keyframes bb-hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Newsletter icon entrance animations — restored 2026-10-06 */
.thank-you-icon,
.success-icon {
  opacity: 1;
  visibility: visible;
  transform-origin: 50% 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .thank-you-icon {
    animation: bb-envelope-enter 3000ms cubic-bezier(.22,.9,.3,1) both;
  }

  .success-icon {
    animation: bb-check-pop 2200ms cubic-bezier(.2,.95,.3,1) both;
  }

  .success-icon path {
    stroke-dasharray: 46;
    stroke-dashoffset: 46;
    animation: bb-check-draw 1640ms cubic-bezier(.2,.8,.25,1) 440ms forwards;
  }
}

@keyframes bb-envelope-enter {
  0% {
    opacity: 0;
    transform: translateY(7px) rotate(-2deg) scale(.96);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px) rotate(-.8deg) scale(1.01);
  }
  62.5% {
    opacity: 1;
    transform: translateY(1px) rotate(.6deg) scale(1.006);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes bb-check-pop {
  0% {
    opacity: 0;
    transform: scale(.78);
  }
  33.333% {
    opacity: 1;
    transform: scale(1.09);
  }
  66.667% {
    opacity: 1;
    transform: scale(.985);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bb-check-draw {
  from { stroke-dashoffset: 46; }
  to { stroke-dashoffset: 0; }
}


/* Desktop viewport compaction — 2026-10-06
   Preserve the approved visual system while removing avoidable vertical overflow
   on standard laptop/desktop browser viewports. Mobile rhythm remains unchanged. */
@media (min-width: 721px) {
  html { scrollbar-gutter: stable; }
  body { overflow-y: auto; }

  .site-header {
    padding-top: 28px;
    padding-bottom: 16px;
  }
  .header-link { margin-top: 13px; }
  .linkedin-header-link { margin-top: 12px; }

  .landing-main { padding-top: 48px; }
  .hero-subtitle { margin-top: 24px; }
  .signup-wrap { margin-top: 20px; }
  .framework { margin-top: 44px; }

  .site-footer { padding-top: 14px; padding-bottom: 14px; }

  .state-main { padding-top: 78px; padding-bottom: 56px; }
  .state-body { margin-top: 24px; }
  .state-helper { margin-top: 22px; }

  .about-main { padding-top: 44px; }
  .about-copy { margin-top: 26px; }

  .privacy-page .privacy-main { padding-top: 54px; }

  body.thank-you-page { overflow-y: auto; }
  .thank-you-page .site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .thank-you-main {
    min-height: 0;
    flex: 1 1 auto;
    padding-top: 46px;
  }
  .thank-you-icon,
  .success-icon { margin-top: 20px; }
  .thank-you-body { margin-top: 24px; }
  .thank-you-signoff { margin-top: 22px; }
  .thank-you-helper { margin-top: 26px; }
  .success-promise { margin-top: 22px; }
}

/* Newsletter-to-web editorial polish — 2026-10-06
   Keep the approved compact layout and brand palette; refine only the
   editorial line system, form weight and text hierarchy to match the newsletter. */

/* The core web palette already matches the live newsletter exactly:
   navy #062e53, body #4a5d6f, secondary #566574,
   rules #bfc9d3 and warm background #fcfbf8. Use those tokens consistently. */
.signup-field { color: var(--bb-text); }
.signup-field::placeholder { color: var(--bb-muted); }
.signup-field:-webkit-autofill,
.signup-field:-webkit-autofill:hover,
.signup-field:-webkit-autofill:focus,
.signup-field:-webkit-autofill:active {
  -webkit-text-fill-color: var(--bb-text);
}
.thank-you-helper { color: var(--bb-muted); }

/* Echo the newsletter's section-label + hairline grammar. */
.framework {
  text-align: left;
}
.framework > div {
  padding-top: 0;
  border-top: 0;
  min-width: 0;
}
.framework-name {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.framework-name::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  min-width: 24px;
  height: 1px;
  background: var(--bb-border);
}
.framework-copy {
  color: var(--bb-muted);
  text-align: left;
}

/* Slightly clearer hierarchy without changing the approved scale. */
.hero h1,
.state-title,
.page-title,
.about-title,
.thank-you-title {
  text-wrap: balance;
}
.hero-subtitle,
.state-body,
.about-copy,
.privacy-copy,
.thank-you-body,
.success-promise {
  text-wrap: pretty;
}

/* The newsletter form language is flatter and more editorial than app-like.
   Desktop only: reduce control height/radius while preserving the mobile form. */
@media (min-width: 721px) {
  .signup-wrap {
    height: 92px;
  }
  .signup-row {
    grid-template-columns: 350px minmax(0, 1fr);
    min-height: 58px;
  }
  .signup-field,
  .signup-button {
    height: 58px;
  }
  .signup-field {
    padding-left: 22px;
    padding-right: 22px;
    border-radius: 3px 0 0 3px;
  }
  .signup-button {
    border-radius: 0 3px 3px 0;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 15.5px;
  }
  .signup-reassurance {
    margin-top: 12px;
    color: var(--bb-muted);
  }
}
