/* Scoped to the new partnership surfaces; existing pages keep their layout. */
.b2b-page, .b2b-home { --b2b-accent: #166568; --b2b-tint: #eef5f3; }
.b2b-page *, .b2b-home * { box-sizing: border-box; letter-spacing: 0; }
.b2b-page h1, .b2b-page h2, .b2b-page h3, .b2b-home h2 { max-width: 100%; hyphens: none; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
.b2b-page h1 { font-size: 72px; line-height: 1.08; margin: 0 0 24px; }
.b2b-page h2, .b2b-home h2 { font-size: 44px; line-height: 1.12; margin: 0 0 24px; }
.b2b-page h3 { font-size: 29px; line-height: 1.2; margin: 0; }
.b2b-page p, .b2b-home p { margin: 0 0 24px; }
.b2b-inner { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.b2b-section, .b2b-home { padding-block: 80px; }
.b2b-tint, .b2b-home { background: var(--b2b-tint); }
.b2b-page .eyebrow, .b2b-home .eyebrow { color: var(--b2b-accent); font-size: 14px; margin-bottom: 16px; }
.b2b-hero { position: relative; min-height: 580px; display: flex; align-items: flex-end; background: #163b40; isolation: isolate; }
.b2b-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 65%; z-index: -2; }
.b2b-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,20,26,.82), rgba(0,20,26,.12) 85%); z-index: -1; }
.b2b-hero-copy { width: min(1320px, calc(100% - 96px)); margin: 0 auto; padding: 72px 0; color: #fff; }
.b2b-hero .eyebrow, .b2b-hero .b2b-link { color: #fff; }
.b2b-intro { font-size: 24px; line-height: 1.5; max-width: 42ch; }
.b2b-lead { font-size: 21px; line-height: 1.7; padding-bottom: 40px; }
.b2b-actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.b2b-button, .b2b-page #wp-submit { display: inline-flex; align-items: center; justify-content: center; padding: 15px 22px; min-height: 50px; background: var(--b2b-accent); color: #fff; border: 1px solid var(--b2b-accent); font: 600 15px/1.5 var(--atelier-sans); text-decoration: none; text-transform: none; text-align: center; white-space: normal; }
.b2b-button:hover, .b2b-page #wp-submit:hover { background: #104e50; color: #fff; }
.b2b-hero .b2b-button { background: #fff; border-color: #fff; color: #153f42; }
.b2b-link { color: var(--b2b-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.b2b-schools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; margin-top: 40px; }
.b2b-schools > article { display: grid; grid-template-rows: subgrid; grid-row: span 4; min-width: 0; }
.b2b-schools img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.b2b-schools p, .b2b-columns p { margin: 0; }
.b2b-page ul { padding: 0 0 0 20px; margin: 0; }
.b2b-page li { margin-bottom: 12px; padding-left: 4px; }
.b2b-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; margin: 36px 0; }
.b2b-columns > article { min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: span 2; }
.b2b-wide-copy { max-width: 85ch; padding-bottom: 40px; }
.b2b-creator, .b2b-access, .b2b-home-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.b2b-creator > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.b2b-creator h2 { font-size: 38px; }
.b2b-creator ul { margin-bottom: 28px; }
.b2b-note { font-size: 14px; line-height: 1.65; color: #565e5b; }
.b2b-page .b2b-note { max-width: 95ch; margin-top: 28px; }
.b2b-faq { max-width: 900px; }
.b2b-faq details { border-top: 1px solid #cbd7d3; padding: 20px 0; }
.b2b-faq summary { font-weight: 600; cursor: pointer; line-height: 1.55; padding-right: 12px; }
.b2b-faq details p { margin: 16px 0 0; }
.b2b-contact { background: #f4f6f5; }
.b2b-login { border-left: 1px solid #cbd7d3; padding-left: 48px; min-width: 0; }
.b2b-login h2 { font-size: 36px; }
.b2b-page label { display: block; font-size: 15px; margin-bottom: 8px; }
.b2b-page input[type=text], .b2b-page input[type=password] { display: block; width: 100%; min-height: 48px; padding: 10px 12px; background: #fff; color: #242421; border: 1px solid #798c86; font: inherit; }
.b2b-page input[type=checkbox] { width: 18px; height: 18px; vertical-align: middle; margin: 0 8px 0 0; }
.b2b-page .login-remember label { font-weight: 400; }
.b2b-page :focus-visible, .b2b-home :focus-visible { outline: 3px solid #337e82; outline-offset: 5px; }
.home-layout > .b2b-home { order: 15; }
.b2b-home-inner { align-items: center; }
.b2b-home img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.b2b-guide-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.b2b-guide-page .b2b-inner { max-width: 900px; }
.b2b-guide-page h1 { font-size: 54px; }
.b2b-guide h2 { font-size: 32px; margin-top: 44px; }
.b2b-guide p { max-width: none; }
.b2b-page [id], .b2b-home { scroll-margin-top: 120px; }
@media(max-width: 1100px) {
  .b2b-schools { grid-template-columns: 1fr; gap: 20px; }
  .b2b-schools > article { grid-template-rows: auto; grid-row: auto; grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr); gap: 16px 32px; margin-bottom: 28px; }
  .b2b-schools img { grid-row: span 3; height: 100%; aspect-ratio: 4 / 3; }
  .b2b-creator, .b2b-access, .b2b-home-inner { gap: 36px; }
  .b2b-columns { grid-template-columns: 1fr; gap: 28px; }
  .b2b-columns > article { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); grid-template-rows: auto; grid-row: auto; gap: 32px; }
  .b2b-login { padding-left: 28px; }
  .b2b-page h2, .b2b-home h2 { font-size: 36px; }
  .b2b-page h3 { font-size: 27px; }
}
@media(max-width: 760px) {
  .b2b-inner, .b2b-hero-copy { width: calc(100% - 40px); }
  .b2b-section, .b2b-home { padding-block: 52px; }
  .b2b-hero { min-height: 510px; }
  .b2b-hero-copy { padding: 48px 0; }
  .b2b-page h1 { font-size: 44px; }
  .b2b-guide-page h1 { font-size: 36px; }
  .b2b-page h2, .b2b-home h2 { font-size: 32px; }
  .b2b-page h3 { font-size: 27px; }
  .b2b-intro, .b2b-lead { font-size: 19px; }
  .b2b-creator, .b2b-access, .b2b-home-inner, .b2b-schools > article, .b2b-columns > article { grid-template-columns: 1fr; }
  .b2b-schools img { grid-row: auto; height: auto; }
  .b2b-creator > img { aspect-ratio: 4 / 3; }
  .b2b-columns > article { gap: 16px; }
  .b2b-login { border-left: 0; border-top: 1px solid #cbd7d3; padding: 36px 0 0; }
  .b2b-guide-heading { flex-wrap: wrap; }
}
@media(max-width: 360px) {
  .b2b-page h1 { font-size: 40px; }
  .b2b-guide-page h1 { font-size: 34px; }
  .b2b-page h2, .b2b-home h2 { font-size: 29px; }
  .b2b-page h3 { font-size: 25px; }
}
