/* Landing review: shared type, compact hero rhythm, readable native previews. */
.welcome-page .home-copy h1{margin-bottom:16px}
.welcome-page .tw-controls{min-height:0;margin:0 0 16px}
.welcome-page .tw-controls:has(.tw-pause[hidden]){display:none}
.welcome-page .school-tools-heading h2{font-size:clamp(32px,3.2vw,44px);line-height:1.13;margin-bottom:16px}
.welcome-page .hero-benefits{font-size:13px;margin-top:24px}
.preview-fan-front .dash-side .dash-nav,.preview-fan-front .dash-lbl,.preview-fan-front .dash-footer,.preview-fan-front .dash-row.dash-h,.preview-fan .fan-tabs,.preview-fan .fan-f label,.preview-fan .fan-f input,.preview-fan .fan-f select{font-size:12px}
.preview-fan-front .dash-school b,.preview-fan-front .dash-cap,.preview-fan-front .dash-ok{font-size:11px}
.preview-fan-front .dash-school span{font-size:10px}
.preview-fan-front .dash-row{font-size:12px;line-height:1.5}
@media(max-width:800px){.preview-fan-front .dash-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,.4fr);gap:6px}.preview-fan-front .dash-row>div{min-width:0;overflow-wrap:anywhere}.preview-fan-front .dash-who{flex-wrap:wrap}.preview-fan-front .dash-school b{font-size:11px}}
@media(max-width:600px){.welcome-page .home-copy h1{margin-bottom:16px}.welcome-page .tw-controls{margin-bottom:12px}}

/* Give the beta invitation its own readable measure on widescreen displays. */
@media(min-width: 1000px) {
  .reference-ui.welcome-page:has(.school-tools-heading) .home-main {
    padding-bottom: clamp(24px, 3vw, 44px);
  }

  .reference-ui.welcome-page:has(.school-tools-heading) .home-access {
    box-sizing: border-box;
    width: 100%;
    margin: clamp(40px, 4vw, 64px) auto 0;
    padding: clamp(30px, 2vw, 56px) clamp(24px, 2.2vw, 56px) 4px;
  }

  .reference-ui.welcome-page:has(.school-tools-heading) .home-access-heading {
    margin-bottom: 12px;
  }

  .reference-ui.welcome-page:has(.school-tools-heading) .home-access-heading h2 {
    max-width: none;
    font-size: clamp(28px, 2.5vw, 36px);
  }

  .reference-ui.welcome-page:has(.school-tools-heading) .home-access .home-hero-actions {
    margin-top: 20px;
  }

  .reference-ui.welcome-page:has(.school-tools-heading) .home-access-other {
    justify-content: flex-start;
    gap: 8px 24px;
    margin-top: 10px;
    padding-top: 0;
  }
}

@media(min-width: 1600px) {
  .reference-ui.welcome-page:has(.school-tools-heading) .home-access-heading h2 {
    font-size: clamp(36px, 1.8vw, 48px);
  }
  .reference-ui.welcome-page:has(.school-tools-heading) .home-access > p {
    font-size: clamp(16px, .8vw, 20px);
  }
  .reference-ui.welcome-page:has(.school-tools-heading) .home-access .home-primary {
    min-height: clamp(48px, 2.2vw, 60px);
    font-size: clamp(14px, .65vw, 18px);
  }
}

@media(max-width: 600px) {
  .reference-ui.welcome-page .site-header {
    gap: 8px;
    padding-inline: clamp(12px, 4vw, 20px);
  }

  .reference-ui.welcome-page .site-header .brand {
    min-width: 0;
  }

  .reference-ui.welcome-page .site-header .brand-logo {
    width: clamp(134px, 36vw, 155px) !important;
    max-width: 100%;
    height: auto;
  }

  .reference-ui.welcome-page .site-header .header-nav {
    flex-shrink: 0;
  }
}

@media(max-width: 600px) {
  .reference-ui.welcome-page .home-preview-student,
  .reference-ui.welcome-page .home-copy .tw-suffix {
    min-width: 0;
    max-width: 100%;
  }

  .reference-ui.welcome-page .home-preview-student .landing-photo {
    display: block;
    width: min(100%, 270px);
    max-width: 100%;
    height: auto;
    margin-inline: auto;
  }

  .reference-ui.welcome-page .home-copy .tw-logo {
    max-width: calc(100% - 1.9em);
  }
}

