:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #5b667a;
  --line: #dce3ef;
  --line-strong: #aeb8c8;
  --selection-border: #b7d2ff;
  --selection-control-border: #c3ccd8;
  --selection-control-border-mobile: #d7dde7;
  --accent: #1d68ff;
  --accent-dark: #1547a8;
  --green: #0c976b;
  --warn: #9a5a00;
  --danger: #b3261e;
  --shadow: 0 16px 36px rgba(18, 31, 56, .08);
  --auth-vertical-chrome: 144px;
  --auth-page-gutter: clamp(16px, 3svh, 42px);
}

html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}

button, input, select, textarea { font: inherit; }
a { color: var(--accent-dark); }
*, *::before, *::after { box-sizing: border-box; }
.navbar {
  margin-bottom: 0 !important;
  position: relative;
  z-index: 40;
}

.app-brand {
  white-space: nowrap;
  letter-spacing: 0;
}

.app-shell {
  width: 100%;
  flex: 1 0 auto;
}

.identity-app-shell {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
}

.identity-app-shell > main {
  width: 100%;
  min-height: 0;
  display: flex;
  padding-bottom: 0 !important;
}

.footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 16px 0;
  border-color: #d9e2ef !important;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -10px 28px rgba(18, 31, 56, .04);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(8px, .06fr) auto minmax(36px, 1fr) auto auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 8px;
  min-height: 48px;
}

.footer-brand,
.footer-contact,
.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-brand {
  grid-column: 1;
  color: #344054;
  font-size: .95rem;
  font-weight: 700;
}

.footer-brand-name {
  display: inline-block;
  margin-right: 18px;
}

.footer-tagline {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.35;
}

.footer-trademark {
  grid-column: 3;
  margin-left: -18px;
  max-width: min(360px, 28vw);
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: flex-start;
  color: #344054;
  font-size: .88rem;
  font-weight: 760;
  line-height: 1.35;
  text-align: left;
}

@media (min-width: 681px) {
  .footer-trademark {
    gap: 6px 16px;
  }
}

.footer-contact {
  grid-column: 5;
  justify-content: flex-end;
  color: #344054;
  font-size: .9rem;
  font-weight: 760;
  margin-left: -4px;
  margin-right: 2px;
}

.footer-contact-label,
.legal-policy-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: #344054;
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: underline;
  text-decoration-color: #98a2b3;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color .18s ease, text-decoration-color .18s ease, transform .18s ease;
}

.footer-contact-label:hover,
.footer-contact-label:focus-visible,
.legal-policy-link:hover,
.legal-policy-link:focus-visible {
  color: var(--accent-dark);
  text-decoration-color: #667085;
}

.footer-contact-label:hover,
.footer-contact-label:focus-visible {
  transform: translateY(-1px);
}

.footer-contact-label:focus-visible,
.legal-policy-link:focus-visible {
  outline: 3px solid rgba(29, 104, 255, .18);
  outline-offset: 3px;
}

.legal-policy-link {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
}

.footer-social {
  grid-column: 6;
  justify-content: flex-end;
  margin-left: 2px;
}

.footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 38px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: box-shadow .18s ease, filter .18s ease, transform .18s ease;
}

.footer .footer-social-link-instagram {
  background:
    radial-gradient(circle at 28% 105%, rgba(232, 166, 59, .7) 0 18%, transparent 38%),
    radial-gradient(circle at 12% 100%, rgba(193, 75, 40, .62) 0 28%, transparent 48%),
    linear-gradient(135deg, #764da5 0%, #9a3b81 42%, #ad4b73 68%, #b8505b 100%);
  box-shadow: 0 9px 20px rgba(132, 55, 109, .15);
}

.footer .footer-social-link-x {
  background: #050505;
  box-shadow: 0 10px 22px rgba(5, 5, 5, .14);
}

.footer .footer-social-link:hover,
.footer .footer-social-link:focus-visible {
  color: #fff;
  filter: saturate(1.06) brightness(1.03);
  text-decoration: none;
  transform: translateY(-1px);
}

.footer .footer-social-link-instagram:hover,
.footer .footer-social-link-instagram:focus-visible {
  box-shadow: 0 13px 26px rgba(132, 55, 109, .2);
}

.footer .footer-social-link-x:hover,
.footer .footer-social-link-x:focus-visible {
  box-shadow: 0 14px 28px rgba(5, 5, 5, .22);
}

.footer .footer-social-link:focus-visible {
  outline: 3px solid rgba(29, 104, 255, .18);
  outline-offset: 2px;
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  margin-right: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 18px;
}

/* Articles */
.articles-page,
.article-page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 9vw, 112px);
}

.articles-hero,
.article-header {
  max-width: 820px;
}

.articles-hero {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.articles-kicker {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.articles-hero h1,
.article-header h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.articles-hero > p:last-child,
.article-deck {
  max-width: 740px;
  margin: 22px 0 0;
  color: #46566f;
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  font-weight: 620;
  line-height: 1.65;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.article-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(18, 31, 56, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.article-card:hover {
  border-color: #c7d4e8;
  box-shadow: 0 20px 44px rgba(18, 31, 56, .1);
  transform: translateY(-3px);
}

.article-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e9f0ff, #f7f9fd 58%, #e7f7f1);
  color: var(--accent-dark);
  text-decoration: none;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}

.article-card:hover .article-card-media img {
  transform: scale(1.025);
}

.article-card-placeholder {
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -.06em;
}

.article-card-body {
  min-height: 260px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.article-card-meta {
  margin: 0 0 10px;
  color: #667085;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.article-card h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 880;
  letter-spacing: -.02em;
  line-height: 1.26;
}

.article-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.article-card-body > p:not(.article-card-meta) {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 20px;
  color: var(--muted);
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card-link {
  margin-top: auto;
  font-size: .92rem;
  font-weight: 850;
  text-decoration: none;
}

.articles-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 760;
}

.articles-pagination a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}

.articles-pagination a:last-child {
  justify-self: end;
}

.articles-empty {
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.articles-empty h2,
.articles-empty p {
  margin: 0;
}

.articles-empty h2 {
  font-size: 1.45rem;
}

.articles-empty p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.article-page {
  width: min(980px, calc(100% - 40px));
}

.article-header {
  margin: 0 auto;
  text-align: center;
}

.article-header h1 {
  font-size: clamp(2.25rem, 5vw, 4.15rem);
}

.article-back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: #46566f;
  font-size: .9rem;
  font-weight: 820;
  text-decoration: none;
}

.article-header .article-deck {
  margin-left: auto;
  margin-right: auto;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  color: #667085;
  font-size: .88rem;
  font-weight: 750;
}

.article-hero-image {
  overflow: hidden;
  margin: clamp(34px, 6vw, 58px) 0 0;
  border-radius: 14px;
  background: #e9eef6;
  box-shadow: 0 18px 44px rgba(18, 31, 56, .1);
}

.article-hero-image img {
  width: 100%;
  max-height: 560px;
  display: block;
  object-fit: cover;
}

.article-content {
  max-width: 760px;
  margin: clamp(40px, 7vw, 68px) auto 0;
  color: #263247;
  font-size: 1.04rem;
  line-height: 1.78;
}

.article-content :where(h1, h2, h3, h4) {
  margin: 1.8em 0 .65em;
  color: var(--text);
  font-weight: 880;
  letter-spacing: -.025em;
  line-height: 1.2;
  scroll-margin-top: 24px;
}

.article-content h1 { font-size: 2.25rem; }
.article-content h2 { font-size: 1.8rem; }
.article-content h3 { font-size: 1.42rem; }
.article-content h4 { font-size: 1.18rem; }

.article-content :where(p, ul, ol, blockquote, table, figure) {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.article-content :where(img, video, iframe) {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.article-content a {
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  background: #eef4ff;
  color: #30405b;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}

.article-content :where(th, td) {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: #edf3ff;
  color: var(--text);
}

.article-footer-callout {
  max-width: 760px;
  margin: clamp(48px, 8vw, 82px) auto 0;
  border: 1px solid #cddcf6;
  border-radius: 12px;
  padding: clamp(26px, 5vw, 42px);
  background: linear-gradient(135deg, #eef4ff, #ffffff 72%);
  text-align: center;
}

.article-footer-callout p,
.article-footer-callout h2 {
  margin: 0;
}

.article-footer-callout p {
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-footer-callout h2 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-footer-callout .primary {
  margin-top: 22px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .articles-page,
  .article-page {
    width: min(100% - 28px, 1160px);
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .article-card-body {
    min-height: 230px;
    padding: 20px;
  }

  .articles-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .articles-pagination > span:nth-child(2) {
    display: none;
  }

  .article-content {
    overflow-x: auto;
    font-size: 1rem;
  }

  .article-content h1 { font-size: 1.85rem; }
  .article-content h2 { font-size: 1.55rem; }
  .article-content h3 { font-size: 1.3rem; }
}

.footer .footer-social-link-x .footer-social-icon {
  fill: currentColor;
  stroke: none;
}

.progress-pilot {
  min-height: calc(100vh - 132px);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(28, 159, 120, .18), transparent 28%),
    radial-gradient(circle at 92% 26%, rgba(15, 107, 255, .14), transparent 30%),
    linear-gradient(145deg, #f8fcff 0%, #edf5f8 52%, #fff8ef 100%);
  color: #102039;
}

.progress-pilot-hero,
.progress-pilot-proof {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.progress-pilot-hero {
  min-height: min(760px, calc(100vh - 132px));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(400px, .72fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 88px);
}

.progress-pilot-intro h1 {
  max-width: 720px;
  margin: 12px 0 28px;
  color: #102039;
  font-size: clamp(2.85rem, 5.7vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.progress-pilot-value {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.progress-pilot-value span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #263a55;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  font-weight: 850;
}

.progress-pilot-value i {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff5ed;
  color: #147457;
  font-size: .78rem;
  font-style: normal;
  font-weight: 950;
}

.ad-landing-proof.progress-pilot-clinical-proof {
  grid-template-columns: minmax(0, 295px);
  margin-top: 28px;
}

.progress-pilot-funnel-stack {
  min-width: 0;
  display: grid;
  gap: 18px;
  align-self: center;
}

.progress-pilot-snapshot-stage {
  display: grid;
  place-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(20px, 3vw, 36px);
  padding: clamp(34px, 4.7vw, 59px) 0 clamp(16px, 2vw, 28px);
}

.progress-pilot-card {
  min-width: 0;
  border: 1px solid rgba(25, 49, 81, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 80px rgba(17, 39, 71, .16);
}

.progress-pilot-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.progress-pilot-card-head .eyebrow {
  color: #147457;
}

.progress-pilot-card-head h2 {
  max-width: 390px;
  margin: 5px 0 0;
  color: #102039;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.12;
}

.progress-pilot-step {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef4fb;
  color: #50627b;
  font-size: .75rem;
  font-weight: 900;
}

.progress-pilot-meter {
  height: 7px;
  overflow: hidden;
  margin: 20px 0 22px;
  border-radius: 999px;
  background: #e8eef4;
}

.progress-pilot-meter span {
  display: block;
  width: var(--progress-pilot-completion, 33%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f6bff, #1c9f78);
  transition: width .24s ease;
}

.progress-pilot-panel[hidden],
.progress-pilot-result[hidden] {
  display: none;
}

.progress-pilot-question-help {
  margin: 0 0 14px;
  color: #627087;
  font-size: .92rem;
  font-weight: 690;
}

.progress-pilot-options {
  display: grid;
  gap: 10px;
}

.progress-pilot-options button {
  width: 100%;
  display: grid;
  gap: 3px;
  border: 1px solid #d7e0eb;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fff;
  color: #102039;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.progress-pilot-options button:hover,
.progress-pilot-options button:focus-visible {
  border-color: rgba(15, 107, 255, .52);
  box-shadow: 0 9px 20px rgba(25, 66, 120, .08);
  transform: translateY(-1px);
}

.progress-pilot-options button.is-selected {
  border-color: #0f6bff;
  background: #f1f7ff;
  box-shadow: 0 0 0 2px rgba(15, 107, 255, .12);
}

.progress-pilot-options strong,
.progress-pilot-options span {
  display: block;
}

.progress-pilot-options strong {
  font-size: .95rem;
  font-weight: 880;
}

.progress-pilot-options span {
  color: #617088;
  font-size: .8rem;
  line-height: 1.35;
  font-weight: 660;
}

.progress-pilot-next {
  margin-top: 16px;
}

.progress-pilot-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.progress-pilot-actions .primary {
  width: 100%;
}

.progress-pilot-card button:disabled {
  opacity: .46;
  cursor: not-allowed;
  transform: none;
}

.progress-pilot-result {
  text-align: center;
}

.progress-pilot-result-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #dff5ed;
  color: #147457;
}

.progress-pilot-result-icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress-pilot-result h2 {
  margin: 8px 0 10px;
  color: #102039;
  font-size: clamp(1.65rem, 3.1vw, 2.35rem);
  line-height: 1.1;
}

.progress-pilot-result > p:not(.eyebrow):not(.progress-pilot-risk-reversal) {
  margin: 0;
  color: #53647b;
  line-height: 1.5;
  font-weight: 680;
}

.progress-pilot-result-plan {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  text-align: left;
}

.progress-pilot-result-plan div {
  display: grid;
  gap: 4px;
  border: 1px solid #dbe4ed;
  border-radius: 9px;
  padding: 12px 13px;
  background: #f8fbfd;
}

.progress-pilot-result-plan span {
  color: #147457;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.progress-pilot-result-plan strong {
  color: #263a55;
  font-size: .86rem;
  line-height: 1.38;
}

.progress-pilot-signup {
  min-height: 50px;
}

.progress-pilot-risk-reversal {
  margin: 9px 0 0;
  color: #68778d;
  font-size: .76rem;
  font-weight: 760;
}

.progress-pilot-restart {
  border: 0;
  margin-top: 11px;
  padding: 4px;
  background: transparent;
  color: #315d96;
  font-size: .78rem;
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.progress-pilot-noscript {
  display: grid;
  gap: 12px;
  border-top: 1px solid #dbe4ed;
  margin-top: 18px;
  padding-top: 18px;
  color: #53647b;
  font-weight: 680;
}

.progress-pilot-noscript p {
  margin: 0;
}

.progress-pilot-proof {
  padding-block: clamp(64px, 8vw, 104px);
}

.progress-pilot-proof > div:first-child {
  max-width: 780px;
}

.progress-pilot-proof h2 {
  margin: 8px 0 0;
  color: #102039;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
}

.progress-pilot-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.progress-pilot-proof-grid article {
  min-height: 220px;
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 12px;
  padding: clamp(20px, 2.5vw, 28px);
  background: rgba(255, 255, 255, .76);
}

.progress-pilot-proof-grid span {
  color: #0f6bff;
  font-size: .78rem;
  font-weight: 950;
}

.progress-pilot-proof-grid h3 {
  margin: 32px 0 10px;
  color: #102039;
  font-size: 1.3rem;
}

.progress-pilot-proof-grid p {
  margin: 0;
  color: #53647b;
  line-height: 1.5;
  font-weight: 660;
}

.progress-pilot-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-radius: 14px;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 32px);
  background: #102039;
  color: #fff;
}

.progress-pilot-final-cta div {
  display: grid;
  gap: 4px;
}

.progress-pilot-final-cta strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.progress-pilot-final-cta span {
  color: #c7d3e5;
  font-weight: 650;
}

.progress-pilot-final-cta .primary {
  flex: 0 0 auto;
  min-height: 50px;
}

.progress-pilot-login {
  margin: 18px 0 0;
  color: #5c6b81;
  text-align: center;
  font-weight: 690;
}

.progress-pilot-login a {
  color: #0d5bc8;
  font-weight: 850;
}

@media (min-width: 941px) {
  .ad-landing-proof.progress-pilot-clinical-proof {
    grid-template-columns: minmax(0, 420px);
  }

  .progress-pilot-snapshot-stage {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  .progress-pilot-options strong {
    font-size: 1rem;
  }

  .progress-pilot-options span {
    font-size: .84rem;
  }

  .progress-pilot-result-plan strong {
    font-size: .98rem;
    font-weight: 800;
  }

  .progress-pilot-proof-grid h3 {
    font-size: 1.42rem;
    font-weight: 900;
  }

  .progress-pilot-final-cta {
    margin-top: 34px;
  }
}

@media (max-width: 940px) {
  .progress-pilot-hero {
    grid-template-columns: 1fr;
  }

  .progress-pilot-intro {
    max-width: 760px;
  }

  .progress-pilot-funnel-stack {
    width: min(620px, 100%);
  }

  .progress-pilot-card {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .progress-pilot-hero,
  .progress-pilot-proof {
    width: min(100% - 24px, 1180px);
  }

  .progress-pilot-hero {
    min-height: calc(100svh - 132px);
    gap: 0;
    padding-block: 24px 48px;
  }

  .progress-pilot-intro > :not(h1) {
    display: none;
  }

  .progress-pilot-intro h1 {
    margin: 0 0 22px;
    font-size: clamp(2.15rem, 10.5vw, 3.15rem);
    line-height: 1.02;
  }

  .progress-pilot-card {
    padding: 18px;
  }

  .progress-pilot-card-head {
    gap: 10px;
  }

  .progress-pilot-card-head h2 {
    font-size: 1.45rem;
  }

  .progress-pilot-snapshot-stage {
    width: min(100% - 24px, 620px);
    margin-bottom: 24px;
    padding: 38px 0 18px;
  }

  .progress-pilot-options button {
    padding: 12px;
  }

  .progress-pilot-proof-grid {
    grid-template-columns: 1fr;
  }

  .progress-pilot-proof {
    padding-bottom: 32px;
  }

  .progress-pilot-proof-grid article {
    min-height: 0;
  }

  .progress-pilot-proof-grid h3 {
    margin-top: 20px;
  }

  .progress-pilot-final-cta {
    display: grid;
  }

  .progress-pilot-final-cta .primary {
    width: 100%;
  }
}

.ad-landing {
  background:
    radial-gradient(circle at 10% 8%, rgba(28, 159, 120, .18), transparent 28%),
    radial-gradient(circle at 92% 26%, rgba(15, 107, 255, .14), transparent 30%),
    linear-gradient(145deg, #f8fcff 0%, #edf5f8 52%, #fff8ef 100%);
  min-height: calc(100vh - 132px);
  padding: clamp(26px, 5vw, 64px) clamp(18px, 6vw, 82px);
}

.ad-landing-hero {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: min(680px, calc(100vh - 210px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 4.5vw, 58px);
  align-items: center;
}

.ad-landing-copy h1 {
  max-width: 760px;
  margin: 10px 0 22px;
  font-size: clamp(2.7rem, 5.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: #102039;
}

.ad-landing-subhead {
  max-width: 650px;
  margin: 0;
  color: #3f536d;
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  line-height: 1.55;
  font-weight: 720;
}

.ad-landing-actions,
.ad-landing-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ad-landing-actions {
  margin-top: 28px;
  align-items: center;
}

.ad-landing-actions .primary,
.ad-landing-actions .ghost-light {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 1rem;
  box-shadow: 0 14px 32px rgba(19, 85, 170, .16);
}

.ad-landing-primary {
  background: #0f6bff;
}

.ad-landing-proof {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 590px;
}

.ad-landing-proof article {
  min-height: 128px;
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  padding: 17px 18px;
  box-shadow: 0 14px 34px rgba(18, 31, 56, .08);
}

.ad-landing-proof-menu span {
  display: block;
  margin-top: 10px;
  color: #40506a;
  font-size: .98rem;
  line-height: 1.38;
  font-weight: 720;
}

.ad-landing-proof .ad-landing-sector-gadget {
  display: grid;
  align-content: center;
  gap: 9px;
  background: #fff;
}

.ad-sector-gadget-kicker,
.ad-sector-gadget-score,
.ad-sector-gadget-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ad-sector-gadget-kicker {
  color: #637189;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.ad-sector-gadget-kicker i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #1c9f78;
  box-shadow: 0 0 0 4px rgba(28, 159, 120, .12);
}

.ad-sector-gadget-score > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ad-sector-gadget-score strong {
  overflow: hidden;
  color: #102039;
  font-size: clamp(.85rem, 1.45vw, 1.02rem);
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-sector-gadget-score span {
  color: #1a7e61;
  font-size: .67rem;
  font-weight: 850;
  line-height: 1;
}

.ad-sector-gadget-score b {
  color: #0f6bff;
  font-size: clamp(1.22rem, 2.4vw, 1.72rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ad-sector-gadget-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef4;
}

.ad-sector-gadget-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f6bff, #1c9f78);
}

.ad-sector-gadget-meta {
  color: #637189;
  font-size: .63rem;
  font-weight: 760;
  line-height: 1.1;
}

.ad-sector-gadget-meta span:last-child {
  text-align: right;
}

.ad-landing-proof-menu {
  display: grid;
  align-content: center;
  gap: 8px;
}

.ad-landing-proof-menu span {
  min-width: 0;
  width: 100%;
  margin-top: 0;
  color: #0f6bff;
  font-size: clamp(1.12rem, 2.08vw, 1.6rem);
  line-height: 1.04;
  font-weight: 880;
  white-space: nowrap;
}

.ad-score-preview {
  width: 100%;
  justify-self: end;
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 28px 70px rgba(18, 31, 56, .16);
  padding: clamp(18px, 3vw, 28px);
}

.progress-pilot .progress-pilot-readiness-preview {
  width: min(620px, 100%);
  max-width: 620px;
  justify-self: center;
}

.ad-score-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.ad-score-header h2 {
  margin: 6px 0 0;
  color: #102039;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
}

.ad-score-ring {
  width: clamp(104px, 16vw, 148px);
  background: conic-gradient(#1c9f78 calc(var(--score) * 3.6deg), #e8eef4 0deg);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  line-height: 1;
  flex: 0 0 auto;
}

.ad-score-ring span {
  width: 70%;
  display: grid;
  place-items: center;
  text-align: center;
}

.ad-progress-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.ad-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  color: #40506a;
  font-weight: 760;
}

.ad-progress-row strong {
  color: #102039;
  font-size: .9rem;
}

.ad-progress-row i {
  grid-column: 1 / -1;
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1c9f78 calc(var(--bar) * 1%), #e8eef4 0);
}

.ad-landing-strip {
  width: min(1180px, 100%);
  margin: clamp(18px, 4vw, 44px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 681px) {
  .ad-landing-strip {
    margin-top: clamp(12px, 2vw, 24px);
  }
}

.ad-landing-strip article {
  min-height: 118px;
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  padding: 18px;
}

.ad-landing-strip strong,
.ad-landing-strip span {
  display: block;
}

.ad-landing-strip strong {
  margin-bottom: 8px;
  color: #102039;
  font-size: 1.04rem;
}

.ad-landing-strip span {
  color: #4c5b72;
  line-height: 1.45;
  font-weight: 650;
}

.landing-video-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1030;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background: rgba(10, 20, 38, .66);
}

.landing-video-backdrop[hidden] {
  display: none;
}

.landing-video-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92svh, 860px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 24px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 86px rgba(5, 16, 38, .34);
  outline: none;
  overscroll-behavior: contain;
}

.landing-video-modal:focus {
  outline: 3px solid rgba(117, 205, 253, .72);
  outline-offset: 3px;
}

.landing-video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: #25324a;
  font-size: 1.55rem;
  line-height: 1;
}

.landing-video-close:hover,
.landing-video-close:focus-visible {
  border-color: var(--line);
  background: #fff;
  color: #000;
}

.landing-video-frame {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #071120;
  box-shadow: 0 18px 44px rgba(18, 31, 56, .18);
}

.landing-video-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #071120;
}

.landing-video-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding-right: 22px;
}

.landing-video-copy h2 {
  margin: 0;
  color: #102039;
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.landing-video-copy p {
  margin: 0;
}

.landing-video-copy p:not(.eyebrow) {
  color: #40506a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.52;
}

.landing-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.landing-video-actions .primary,
.landing-video-actions .ghost-light {
  flex: 1 1 0;
  min-width: 190px;
  min-height: 48px;
  justify-content: center;
}

.video-watch-page {
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 76px) clamp(16px, 4vw, 48px);
  background:
    radial-gradient(circle at 92% 16%, rgba(15, 107, 255, .15), transparent 34%),
    linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
}

.video-watch-card {
  width: min(1040px, 100%);
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.video-watch-header {
  max-width: 820px;
}

.video-watch-header h1 {
  margin: 8px 0 12px;
  color: #102039;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}

.video-watch-header > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #40506a;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.55;
}

.video-watch-player {
  overflow: hidden;
  border: 1px solid rgba(29, 95, 191, .2);
  border-radius: 8px;
  background: #071120;
  box-shadow: 0 26px 70px rgba(18, 31, 56, .2);
}

.video-watch-player video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #071120;
}

.video-watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.video-watch-actions .primary,
.video-watch-actions .ghost-light {
  min-height: 48px;
  justify-content: center;
}

.app-hero {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 56px);
  background: linear-gradient(135deg, #12213f, #1d5fbf);
  color: #fff;
  position: relative;
  z-index: 20;
}

.app-hero h1 {
  max-width: 980px;
  margin: 4px 0 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.subhead { max-width: 850px; color: rgba(255,255,255,.84); font-size: 1.04rem; font-weight: 700; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .13em; font-size: .92rem; font-weight: 850; color: #75cdfd; }
.hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.profile-menu {
  position: relative;
}

.top-menu-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-nav-actions {
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.top-menu-actions .navbar-nav {
  align-items: center;
  gap: 12px;
}

.primary-nav {
  min-width: 0;
}

.primary-nav .nav-link,
.top-menu-actions .nav-link,
.profile-trigger strong,
.profile-trigger small {
  overflow-wrap: normal;
  word-break: keep-all;
}

.primary-nav .nav-link {
  white-space: nowrap;
}

.top-menu-actions .nav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 750;
  text-align: left;
}

.top-menu-actions .nav-link:hover,
.top-menu-actions .nav-link:focus {
  background: #f6f8fb;
}

.top-menu-actions form {
  margin: 0;
}

.top-menu-actions .btn-link {
  text-decoration: none;
}

.top-menu-actions .login-action {
  border: 1px solid var(--line);
  background: #fff;
}

.top-menu-actions .login-action:hover,
.top-menu-actions .login-action:focus {
  border-color: rgba(29, 104, 255, .32);
}

.top-menu-actions .signup-action {
  background: var(--accent);
  color: #fff !important;
}

.top-menu-actions .signup-action:hover,
.top-menu-actions .signup-action:focus {
  background: var(--accent-dark);
}

.auth-mobile-menu {
  display: none;
}

.auth-mobile-trigger {
  min-height: 38px;
  width: 38px;
  display: inline-grid;
  place-content: center;
  gap: 3px;
  flex: 0 0 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: background .18s ease, color .18s ease;
}

.auth-mobile-trigger span {
  width: 4px;
  height: 4px;
  display: block;
  border-radius: 50%;
  background: currentColor;
}

.auth-mobile-trigger:hover,
.auth-mobile-trigger:focus,
.auth-mobile-trigger[aria-expanded="true"] {
  background: #f6f8fb;
  border-color: rgba(29, 104, 255, .26);
  color: var(--accent-dark);
}

.auth-mobile-dropdown {
  min-width: 148px;
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(18, 31, 56, .14);
}

.auth-mobile-dropdown .dropdown-item {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: var(--text);
  font-weight: 800;
}

.auth-mobile-dropdown .dropdown-item:hover,
.auth-mobile-dropdown .dropdown-item:focus {
  background: #f6f8fb;
  color: var(--accent-dark);
}

.top-menu-profile .profile-trigger {
  min-height: 42px;
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.top-menu-profile .profile-trigger:hover,
.top-menu-profile .profile-trigger[aria-expanded="true"] {
  background: #f6f8fb;
}

.top-menu-profile .profile-trigger small {
  color: var(--muted);
}

.top-menu-profile .avatar {
  width: 32px;
  background: var(--accent);
  color: #fff;
}

.top-menu-profile .profile-popover {
  z-index: 45;
  max-height: calc(100svh - 86px);
  background: var(--panel);
}

@media (min-width: 681px) and (max-width: 1180px) {
  .navbar > .container-fluid {
    gap: 12px;
  }

  .app-nav-menu {
    min-width: 0;
  }

  .primary-nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 2px;
  }

  .primary-nav .nav-link {
    min-height: 38px;
    padding: 8px 6px;
    font-size: clamp(.78rem, 1.45vw, .92rem);
    line-height: 1.1;
  }

  .top-menu-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .top-menu-actions .navbar-nav {
    gap: 6px;
  }

  .top-menu-actions .nav-link {
    padding-inline: 10px;
  }

  .top-menu-profile .profile-trigger {
    max-width: 190px;
    padding-right: 10px;
  }
}

.profile-trigger {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,.13);
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 24px rgba(5, 16, 38, .14);
}

.profile-trigger:hover,
.profile-trigger[aria-expanded="true"] {
  background: rgba(255,255,255,.2);
}

.profile-trigger strong,
.profile-trigger small {
  display: block;
  line-height: 1.15;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-trigger small {
  margin-top: 2px;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 700;
}

.avatar {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 900;
}

.profile-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 140px);
  overflow: auto;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(5, 16, 38, .22);
}

.profile-popover[hidden] {
  display: none;
}

.profile-popover .eyebrow {
  color: var(--accent-dark);
}

.profile-popover h2 {
  margin-bottom: 0;
}

.profile-popover-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.icon-button {
  width: 36px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.profile-form {
  display: grid;
  gap: 2px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.two-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-layout {
  display: block;
  padding: 24px clamp(16px, 4vw, 56px);
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.content,
.dashboard-widget,
.widget-copy,
.widget-head,
.timeline-item,
.chart-row,
.sector-bar,
.item,
.metric,
.school,
.app-row {
  min-width: 0;
}
.panel, .score-card, .school, .app-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.compact { padding: 14px; box-shadow: none; }
.stack { display: grid; gap: 14px; }
.grid { display: grid; gap: 16px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

h2, h3, h4 { margin-top: 0; }
p { color: var(--muted); }
h1, h2, h3, h4, p, a, strong, span, small, time, label, button {
  overflow-wrap: anywhere;
}
label { display: grid; gap: 7px; margin-bottom: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: #fff;
  color: var(--text);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.25;
  box-shadow: none;
}

select {
  padding-right: 38px;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 20px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 15px) 50% / 6px 6px no-repeat,
    #fff;
}

input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime-local"] {
  min-width: 0;
  padding-right: 11px;
}

input[type="date"]::-webkit-date-and-time-value,
input[type="month"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value,
input[type="datetime-local"]::-webkit-date-and-time-value {
  min-height: 1.25em;
  text-align: left;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  margin: 0;
  opacity: .68;
  cursor: pointer;
}
textarea { min-height: 90px; resize: vertical; }

.score-grid, .metric-grid, .school-metrics, .activity-form {
  display: grid;
  gap: 10px;
}
.score-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.school-metrics { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 16px 0; }
.activity-form { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.activity-form .wide { grid-column: 1 / -1; }

.acceptance-values,
.residency-rates {
  display: flex;
  align-items: center;
  gap: 6px 10px;
  flex-wrap: wrap;
}

.residency-rates {
  white-space: nowrap;
}

.primary, .ghost-button, .ghost-light, .ghost-danger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.primary { background: var(--accent); color: #fff; }
.ghost-button { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.ghost-light { background: #fff; color: var(--accent-dark); border: 1px solid var(--line); }
.ghost-danger { background: #fff; color: var(--danger); border: 1px solid var(--line); }
.full { width: 100%; }
.tiny { font-size: .84rem; color: var(--muted); }

.score-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.score-card h2 { font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.08; margin-bottom: 8px; }
.readiness-percent { font-weight: 800; }
.ring {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) calc(var(--score) * 3.6deg), #e9eef8 0deg);
  font-size: 1.35rem;
  font-weight: 900;
}
.ring span {
  width: 92px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.dashboard-widget {
  display: grid;
  gap: 12px;
  align-content: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.widget-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.widget-head h3 {
  margin-bottom: 0;
  font-weight: 600;
}

.small-link,
.status-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}

.status-pill {
  color: var(--muted);
  background: #f8fafc;
}

.mini-stats,
.metric-strip,
.donut-set {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-stats span,
.metric-strip span {
  flex: 1 1 142px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(29, 104, 255, .14);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  font-weight: 750;
}

.mini-stats strong,
.metric-strip strong {
  color: var(--text);
  font-size: 1.05rem;
}

.count-nowrap {
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef7;
}

.progress-track span {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transition: width .22s ease;
}

.task-dashboard-progress {
  margin-bottom: 4px;
}

.timeline-list,
.chart-list,
.sector-bars {
  display: grid;
  gap: 10px;
}

.timeline-item,
.sector-bar {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcff;
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.timeline-item {
  grid-template-columns: minmax(58px, auto) minmax(0, 1fr);
  align-items: start;
}

.timeline-item:hover,
.timeline-item:focus,
.sector-bar:hover,
.sector-bar:focus {
  transform: translateY(-1px);
  border-color: rgba(29, 104, 255, .38);
  box-shadow: 0 12px 28px rgba(18, 31, 56, .09);
}

.timeline-item time {
  color: var(--accent-dark);
  font-weight: 900;
}

.timeline-item strong,
.timeline-item span {
  display: block;
}

.timeline-item span {
  color: var(--muted);
}

.timeline-item strong {
  margin-bottom: 3px;
  color: var(--text);
}

.daily-task-widget {
  border-color: var(--line);
  background: #fff;
}

.daily-task-widget .widget-head {
  margin-bottom: 4px;
}

.daily-task-focus {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.daily-task-focus:hover,
.daily-task-focus:focus {
  transform: translateY(-1px);
  border-color: rgba(29, 104, 255, .38);
  box-shadow: 0 12px 28px rgba(18, 31, 56, .09);
}

.daily-task-focus strong {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 950;
}

.daily-task-focus span:not(.badge) {
  color: var(--muted);
  font-weight: 650;
}

.weekly-task-summary {
  display: grid;
  gap: 9px;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid rgba(29, 104, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.weekly-task-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.weekly-task-summary-head strong {
  color: var(--text);
  font-size: .98rem;
  font-weight: 900;
}

.task-progress-track {
  height: 9px;
  background: #dfe8f5;
}

.task-progress-track span {
  background: linear-gradient(90deg, var(--accent), var(--green));
}

.weekly-task-summary p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.45;
}

.widget-note {
  margin: 0;
  padding-left: .85rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.weekly-task-count {
  margin-right: .1rem;
  color: var(--text);
  font-weight: 700;
}

.ai-sector-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(29, 104, 255, .14);
}

.ai-sector-breakdown-mobile {
  display: none;
}

.ai-sector-row {
  display: grid;
  grid-template-columns: minmax(118px, .72fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(29, 104, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.ai-sector-row strong,
.ai-sector-row span {
  display: block;
}

.ai-sector-row > div:first-child strong {
  color: var(--text);
  font-size: .92rem;
  font-weight: 850;
}

.ai-sector-row > div:first-child span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 760;
}

.ai-sector-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 10px;
  align-items: center;
}

.ai-sector-meter strong {
  color: var(--text);
  font-size: .92rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: #f8fafc;
}

.segmented button {
  border: 0;
  border-radius: 999px;
  padding: 5px 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.segmented button.active {
  background: var(--text);
  color: #fff;
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(104px, .78fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.chart-row strong,
.chart-row span {
  display: block;
}

.chart-row span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
}

.mini-donut {
  --donut-inner-inset: 12px;
  --donut-text-width: calc(100% - 34px);
  --donut-value-size: 1.46rem;
  --donut-label-size: .8rem;
  flex: 1 1 88px;
  max-width: 108px;
  min-width: 82px;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: min-content min-content;
  align-content: center;
  justify-items: center;
  gap: 2px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--score) * 3.6deg), #e9eef8 0deg);
  position: relative;
  overflow: visible;
}

.mini-donut::before {
  content: "";
  position: absolute;
  inset: var(--donut-inner-inset);
  border-radius: 50%;
  background: #fff;
}

.mini-donut span,
.mini-donut small {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--donut-text-width);
  max-width: var(--donut-text-width);
  min-width: var(--donut-text-width);
  box-sizing: content-box;
  min-height: 1em;
  line-height: 1.18;
  padding-block: 1px;
  text-align: center;
  overflow: visible;
}

.mini-donut span {
  font-size: var(--donut-value-size);
  font-weight: 950;
  min-height: calc(var(--donut-value-size) * 1.24);
  line-height: 1.22;
  color: var(--text);
  white-space: nowrap;
}

.mini-donut small {
  color: var(--muted);
  font-size: var(--donut-label-size);
  font-weight: 850;
  min-height: calc(var(--donut-label-size) * 1.22);
  line-height: 1.15;
  overflow-wrap: anywhere;
  white-space: normal;
}

.green-donut {
  background: conic-gradient(var(--green) calc(var(--score) * 3.6deg), #e9eef8 0deg);
}

.warn-donut {
  background: conic-gradient(#d38a16 calc(var(--score) * 3.6deg), #e9eef8 0deg);
}

.fit-donut {
  background: conic-gradient(#7c3aed calc(var(--score) * 3.6deg), #e9eef8 0deg);
}

.teal-donut {
  background: conic-gradient(#0f8b8d calc(var(--score) * 3.6deg), #e9eef8 0deg);
}

.slate-donut {
  background: conic-gradient(#475569 calc(var(--score) * 3.6deg), #e9eef8 0deg);
}

.rose-donut {
  background: conic-gradient(#be3455 calc(var(--score) * 3.6deg), #e9eef8 0deg);
}

.school-fit-widget {
  grid-column: 1 / -1;
  gap: 16px;
}

.school-fit-layout {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: center;
}

.fit-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  justify-items: center;
  text-align: center;
  border: 1px solid rgba(29, 104, 255, .14);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcff;
}

.fit-summary .mini-donut {
  --donut-inner-inset: 16px;
  --donut-text-width: calc(100% - 48px);
  --donut-value-size: 2.04rem;
  --donut-label-size: .94rem;
  width: 168px;
  max-width: none;
  min-width: 168px;
}

.fit-summary strong,
.fit-summary span {
  display: block;
}

.fit-summary strong {
  font-size: 1.15rem;
}

.fit-summary span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 750;
}

.chart-meta {
  min-width: 0;
  max-width: 100%;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.chart-meta > strong:first-child {
  max-width: 100%;
  line-height: 1.16;
}

.chart-name-stack {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.04;
}

.chart-name-stack span {
  display: block;
  margin: 0;
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.summary-stack {
  display: grid;
  justify-items: center;
  gap: 3px;
  line-height: 1.18;
}

.summary-stack .summary-application-count {
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.summary-stack .summary-application-count .count-nowrap {
  display: inline-block;
}

.metric-stack {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1.12;
  color: var(--text);
  white-space: nowrap;
}

.school-donut-set {
  display: grid;
  grid-template-columns: repeat(7, minmax(104px, 1fr));
  align-items: center;
}

.school-donut-set .mini-donut {
  width: 100%;
  max-width: 138px;
  min-width: 104px;
  justify-self: center;
}

.activity-progress-widget {
  display: grid;
  gap: 14px;
}

.category-progress-grid,
.activity-fit-grid {
  display: grid;
  gap: 14px;
}

.category-progress-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.activity-fit-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.category-progress,
.activity-fit-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  justify-items: center;
  text-align: center;
  border: 1px solid rgba(29, 104, 255, .14);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcff;
}

.category-progress .mini-donut,
.activity-fit-item .mini-donut {
  --donut-inner-inset: 18px;
  --donut-text-width: calc(100% - 58px);
  --donut-value-size: clamp(1.72rem, 1.5vw, 2.08rem);
  --donut-label-size: clamp(.76rem, .78vw, .9rem);
  width: clamp(166px, 11.6vw, 210px);
  min-width: clamp(166px, 11.6vw, 210px);
  max-width: 210px;
}

.category-progress .mini-donut small,
.activity-fit-item .mini-donut small {
  margin: 2px auto 0;
}

.category-progress strong,
.category-progress span,
.activity-fit-item strong,
.activity-fit-item span {
  display: block;
}

.category-progress strong,
.activity-fit-item strong {
  font-size: 1.08rem;
}

.category-progress span,
.activity-fit-item span {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
}

.category-progress .metric-stack,
.activity-fit-item .metric-stack {
  color: var(--text);
  font-weight: 900;
  font-size: 1.02rem;
}

.activity-fit-item {
  --fit-donut-offset-x: -12px;
  align-content: center;
}

.activity-fit-item .mini-donut {
  align-self: center;
  justify-self: center;
  margin-inline: auto;
  transform: translateX(var(--fit-donut-offset-x));
}

.activity-fit-item .chart-meta {
  gap: 3px;
  transform: translateX(var(--fit-donut-offset-x));
}

.activity-fit-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 31, 56, .05);
  overflow: hidden;
}

.activity-fit-details summary {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  color: var(--text);
  font-weight: 800;
}

.activity-fit-details summary::-webkit-details-marker {
  display: none;
}

.activity-fit-summary-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.activity-fit-summary-copy strong {
  color: var(--text);
  font-size: .98rem;
  line-height: 1.2;
}

.activity-fit-summary-copy span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.3;
}

.activity-fit-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.activity-fit-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.activity-fit-details[open] .activity-fit-chevron {
  transform: rotate(225deg);
}

.activity-fit-dropdown {
  display: grid;
  gap: 0;
  padding: 6px 14px 14px;
  background: #fbfcff;
}

.activity-fit-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(120px, .55fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #d7dfeb;
}

.activity-fit-row:last-child {
  border-bottom: 0;
}

.activity-fit-row-main {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.activity-fit-row-main strong {
  color: var(--text);
  font-size: .96rem;
  line-height: 1.25;
}

.activity-fit-row-main span {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 760;
  line-height: 1.3;
}

.activity-fit-row-progress {
  height: 8px;
  border-radius: 999px;
  background: #e7edf6;
  overflow: hidden;
}

.activity-fit-row-progress span {
  display: block;
  width: min(var(--fit-progress), 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dark), var(--green));
}

.activity-fit-row-hours {
  color: var(--text);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.activity-fit-details + p {
  margin-top: 18px;
}

.sector-bar {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
}

.sector-bar span,
.sector-bar strong {
  position: relative;
  z-index: 1;
}

.sector-bar i {
  position: absolute;
  inset: auto auto 0 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--green));
}

.compact-stack {
  gap: 10px;
}

.risk-scan {
  display: grid;
  gap: 10px;
}

.risk-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}

.risk-tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.risk-tabs button.active {
  color: var(--text);
  border-color: rgba(29, 104, 255, .45);
  box-shadow: inset 0 0 0 2px rgba(29, 104, 255, .12);
}

.risk-tabs button.warning.active {
  border-color: #e7b766;
  box-shadow: inset 0 0 0 2px rgba(211, 138, 22, .14);
}

.risk-tabs button.danger.active {
  border-color: #df928d;
  box-shadow: inset 0 0 0 2px rgba(179, 38, 30, .12);
}

.risk-panels {
  display: grid;
}

.risk-panel {
  display: none;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcff;
}

.risk-panel.active {
  display: grid;
}

.risk-panel strong,
.risk-panel span {
  display: block;
}

.risk-panel span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.risk-panel .small-link,
.risk-panel .ghost-light {
  width: fit-content;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcff;
  color: var(--muted);
  font-weight: 750;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.tabs a {
  min-height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
  text-decoration: none;
}
.page-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 10px 0;
  margin-bottom: 22px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
}
.section-menu-trigger {
  display: none;
}
.tabs a.active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.page-panel {
  animation: pageIn .16s ease-out;
}
.section-title {
  margin-bottom: 14px;
}
.section-title h3 {
  margin-bottom: 0;
}
.task-page-title { font-weight: 600; }

.task-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
  gap: 16px;
  align-items: start;
}

.task-title-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.task-title-copy .eyebrow {
  margin-bottom: 0;
}

.task-title-copy .task-page-title {
  margin-bottom: 1px;
}

.task-title-copy p:last-child {
  margin-bottom: 0;
}

.task-view-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  justify-self: end;
  min-width: min(420px, 100%);
  margin-bottom: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f6fb;
}

.task-view-toggle a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.task-view-toggle a.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 18px rgba(18, 31, 56, .08);
}

.item, .metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcff;
}
.item strong, .metric strong, .school strong { display: block; }
.metric strong { font-size: 1.45rem; color: var(--text); }
.metric span, .item span, .school-metrics span { color: var(--muted); overflow-wrap: anywhere; }
.school-metrics .metric-lines {
  display: grid;
  gap: 2px;
}
.warning { border-color: #f3cf97; background: #fff8ec; }
.danger { border-color: #f0b8b4; background: #fff3f2; }

.task {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcff;
}
.task.done {
  border-color: #b7d9ca;
  background: #f4fbf8;
}

.task.daily {
  border-color: rgba(29, 104, 255, .24);
  padding-top: 14px;
  background: #f7fbff;
}

.task.timeline {
  background: #fbfcff;
}

.task h4 { margin: 8px 0 4px; }
.task.daily h4 { margin: 8px 0 6px; }
.due { color: var(--muted); margin-left: 8px; font-weight: 700; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #e7f0ff;
  color: #114eb8;
  font-size: .78rem;
  font-weight: 850;
}
.badge.green { background: #e6f6ef; color: #05704d; }

.sector-progress-card {
  display: grid;
  gap: 12px;
}

.sector-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.sector-card-head h3 {
  margin-bottom: 6px;
}

.sector-card-head p {
  margin: 0;
  color: var(--muted);
}

.sector-card-head strong {
  min-width: 58px;
  text-align: right;
  color: var(--text);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.sector-progress-track {
  height: 13px;
}

.sector-slider-control {
  display: grid;
  gap: 8px;
}

.sector-slider-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  --slider-progress: 0%;
  width: 100%;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--accent), var(--green)) 0 50% / var(--slider-progress) 11px no-repeat,
    linear-gradient(#e8eef7, #e8eef7) 0 50% / 100% 11px no-repeat;
  accent-color: var(--accent);
  cursor: pointer;
}

.sector-slider-control input[type="range"]:focus {
  outline: none;
}

.sector-slider-control input[type="range"]:focus-visible {
  outline: 3px solid rgba(29, 104, 255, .22);
  outline-offset: 4px;
}

.sector-slider-control input[type="range"]::-webkit-slider-runnable-track {
  height: 11px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.sector-slider-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -5.5px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(18, 31, 56, .22);
}

.sector-slider-control input[type="range"]::-moz-range-track {
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.sector-slider-control input[type="range"]::-moz-range-progress {
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--green));
}

.sector-slider-control input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(18, 31, 56, .22);
}

.sector-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 750;
}

.sector-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sector-card-actions .primary {
  flex: 0 0 auto;
}

.sector-auto-note {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.guided-flow-inline-form {
  margin: 0;
  display: inline-flex;
}

.section-head, .school-header, .control-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.application-manager-title {
  font-weight: 585;
}
.hours-by-category-title {
  font-weight: 635;
}
.control-row { flex-wrap: wrap; }
.control-row input[type="text"], .control-row input:not([type]) { min-width: min(280px, 100%); }
.inline-check { display: flex; gap: 8px; align-items: center; margin: 0; white-space: nowrap; }
.inline-check input { width: auto; min-height: auto; }

.school-filter-row {
  flex: 1 1 560px;
  justify-content: flex-end;
}

.school-filter-panel {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.school-filter-panel .section-head {
  display: grid;
  grid-template-columns: minmax(236px, max-content) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.school-filter-panel h3 {
  margin-bottom: 0;
  line-height: 1.12;
  color: #111827;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}

.school-header strong {
  margin-bottom: 8px;
}

.school {
  --school-action-width: 116px;
  display: grid;
  gap: 14px;
}

.school-header {
  align-items: flex-start;
}

.school-title-block {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.school-header strong {
  color: var(--text);
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  line-height: 1.25;
  margin-bottom: 0;
}

.school-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 100%;
}

.school-chip {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-chip-mobile-text {
  display: none;
}

.school-chip-location {
  border-color: rgba(29, 104, 255, .16);
  background: #eaf2ff;
  color: #1547a8;
}

.school-chip-status.public,
.school-chip-status.private,
.school-chip-status.neutral {
  border-color: rgba(12, 151, 107, .2);
  background: #e6f6ef;
  color: #05704d;
}

.school-chip-fit.high,
.school-chip-fit.solid,
.school-chip-fit.developing {
  border-color: rgba(29, 104, 255, .16);
  background: #eaf2ff;
  color: #1547a8;
}

.school-filter-panel .school-filter-row {
  display: grid;
  grid-template-columns: minmax(220px, .86fr) minmax(386px, 430px) minmax(202px, auto) minmax(86px, auto);
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  width: 100%;
}

.school-filter-row input[name="search"] {
  min-height: 46px;
  min-width: 0;
  padding: 11px 14px;
  flex: 1 1 280px;
  max-width: none;
  border: 1px solid var(--selection-control-border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 8px 18px rgba(18, 31, 56, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.school-filter-row input[name="search"]::placeholder {
  color: #6b7280;
}

.school-filter-row input[name="search"]:focus {
  border-color: rgba(29, 104, 255, .5);
  box-shadow: 0 0 0 4px rgba(29, 104, 255, .1), 0 10px 22px rgba(18, 31, 56, .06);
  outline: none;
}

.school-number-filter {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(174px, 1fr) minmax(112px, 126px);
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 6px 8px 6px 14px;
  border: 1px solid var(--selection-control-border);
  border-radius: 14px;
  background: #fff;
  color: #475467;
  font-size: .8rem;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(18, 31, 56, .04);
}

.school-number-filter > .school-number-label {
  color: var(--accent-dark);
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.school-number-filter select {
  min-height: 34px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 6px 20px 6px 8px;
  background: #eef6ff;
  color: var(--text);
  font: inherit;
  font-size: .84rem;
  font-weight: 900;
  cursor: pointer;
  min-width: 0;
  text-overflow: ellipsis;
}

.school-number-value {
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(58px, max-content) max-content;
  justify-content: end;
  align-items: center;
  min-width: 0;
  column-gap: 6px;
  border-radius: 10px;
  background: #f7fafc;
}

.school-number-value input {
  min-height: 34px;
  width: min(6.8ch, 100%);
  border: 0;
  border-radius: 10px 0 0 10px;
  padding: 6px 2px 6px 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  font-weight: 900;
  text-align: right;
  justify-self: end;
  min-width: 0;
}

.school-number-value input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.school-number-value input[type="number"]::-webkit-outer-spin-button,
.school-number-value input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.school-number-unit {
  min-width: max-content;
  padding: 0 8px 0 0;
  color: #526071;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.school-number-filter select:focus,
.school-number-filter input:focus {
  box-shadow: 0 0 0 3px rgba(29, 104, 255, .12);
  outline: none;
}

.school-filter-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 46px;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--selection-control-border);
  border-radius: 14px;
  padding: 4px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 31, 56, .04);
}

.selected-filter-toggle {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
  font-size: .8rem;
  white-space: nowrap;
}

.selected-filter-toggle.active {
  background: linear-gradient(135deg, var(--text), #24324a);
  color: #fff;
  box-shadow: 0 8px 16px rgba(18, 31, 56, .14);
}

.selected-filter-toggle:focus-visible {
  outline: 3px solid rgba(29, 104, 255, .16);
  outline-offset: 2px;
}

.filter-button {
  min-height: 46px;
  padding: 10px 16px;
  min-width: 98px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #1557d8);
  color: #fff;
  box-shadow: 0 12px 24px rgba(29, 104, 255, .18);
}

.filter-button:hover,
.filter-button:focus-visible {
  background: linear-gradient(135deg, #1557d8, var(--accent-dark));
  color: #fff;
  box-shadow: 0 15px 30px rgba(29, 104, 255, .23);
  transform: translateY(-1px);
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .school-filter-panel .section-head {
    gap: 14px;
  }

  .school-filter-panel .school-filter-row {
    grid-template-columns: minmax(150px, .7fr) minmax(360px, 400px) minmax(184px, auto) minmax(66px, auto);
    gap: 6px;
  }

  .school-number-filter {
    grid-template-columns: auto minmax(164px, 1fr) minmax(102px, 116px);
    gap: 4px;
    padding-left: 10px;
    padding-right: 6px;
  }

  .school-number-filter select {
    padding-left: 8px;
    padding-right: 20px;
  }

  .school-number-value {
    column-gap: 4px;
  }

  .selected-filter-toggle {
    padding: 8px 6px;
    gap: 2px;
    font-size: .74rem;
  }

  .filter-button {
    min-width: 66px;
    padding-inline: 6px;
  }
}

@media (max-width: 1180px) {
  .school-filter-panel .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }

  .school-filter-panel .school-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .school-filter-row input[name="search"] {
    max-width: none;
  }

  .school-number-filter {
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr) minmax(96px, 116px);
  }

  .school-filter-toggle,
  .filter-button {
    width: 100%;
  }
}

.school-toggle-form {
  flex: 0 0 auto;
  margin: 0;
}

.school-toggle-button {
  width: var(--school-action-width);
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.school-toggle-button.include {
  background: var(--accent);
  color: #fff;
}

.school-toggle-button.included {
  background: #fff;
  color: var(--green);
  border-color: rgba(12, 151, 107, .32);
}

.school-toggle-button:hover,
.school-toggle-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(18, 31, 56, .1);
}

.school-metrics > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: start;
  border: 1px solid rgba(29, 104, 255, .1);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcff;
}

.school-metrics strong {
  color: var(--text);
  line-height: 1.2;
}

.school-metrics span {
  line-height: 1.35;
}

.school > p {
  min-width: 0;
  margin: 0;
  line-height: 1.55;
}

.school > p strong {
  display: inline;
  color: var(--text);
}

.school form[method="post"] {
  min-width: 0;
}

.school textarea {
  line-height: 1.45;
}

.activity-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.activity-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.activity-form-footer .primary {
  flex: 0 0 auto;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.source-links a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, .18);
  padding: 6px 10px;
  background: rgba(37, 99, 235, .08);
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.app-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(120px, .75fr));
  gap: 10px;
  align-items: end;
}
.app-row label { margin-bottom: 0; }

.identity-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100svh - var(--auth-vertical-chrome));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--auth-page-gutter) 0;
}

.identity-hero {
  margin-bottom: clamp(24px, 4vw, 36px);
  text-align: center;
}

.identity-hero h1 {
  max-width: 860px;
  margin: 4px auto 0;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.identity-hero .eyebrow {
  color: var(--accent-dark);
}

.identity-manage-page {
  --settings-nav-width: 260px;
  --settings-shell-gap: clamp(16px, 2.5vw, 24px);
  --settings-card-padding: clamp(28px, 4vw, 36px);
  display: block;
  min-height: auto;
  padding-top: clamp(28px, 5vw, 58px);
  padding-bottom: clamp(34px, 6vw, 72px);
}

.identity-manage-page .identity-manage-hero {
  width: min(820px, calc(100% - var(--settings-nav-width) - var(--settings-shell-gap)));
  margin: 0 0 clamp(20px, 3vw, 34px) calc(var(--settings-nav-width) + var(--settings-shell-gap));
  text-align: left;
}

.identity-manage-page .identity-manage-hero h1 {
  margin-left: 0;
  margin-right: 0;
  color: #102039;
}

.identity-shell,
.identity-card,
.identity-manage-card,
.identity-manage-nav,
.identity-form-panel {
  min-width: 0;
}

.identity-shell {
  width: 100%;
}

.identity-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .62fr);
  gap: 18px;
  align-items: start;
}

.identity-auth-stack {
  display: grid;
  width: 100%;
  justify-items: center;
  align-items: start;
  min-height: 0;
}

.identity-auth-showcase {
  width: 100%;
  justify-self: stretch;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 500px);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

.identity-auth-intro {
  min-width: 0;
}

.identity-auth-intro .eyebrow {
  color: var(--accent-dark);
}

.identity-auth-intro h1 {
  max-width: 620px;
  margin: 8px 0 16px;
  color: #102039;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.identity-auth-intro p:last-child {
  max-width: 520px;
  margin: 0;
  color: #46566f;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.55;
  font-weight: 720;
}

.identity-auth-stack .identity-card {
  width: min(500px, 100%);
}

.identity-card,
.identity-manage-card,
.identity-form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: var(--settings-card-padding, clamp(28px, 4vw, 36px));
  box-shadow: var(--shadow);
}

.identity-auth-stack .login-card,
.identity-auth-stack .register-card {
  max-height: calc(100svh - var(--auth-vertical-chrome) - (var(--auth-page-gutter) * 2));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.identity-narrow-card {
  width: min(560px, 100%);
}

.identity-side-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.identity-card h2,
.identity-manage-card h2,
.identity-form-panel h3 {
  margin-bottom: 0;
}

.identity-form {
  display: grid;
  gap: 20px;
  min-height: 0;
}

.login-form,
.register-form {
  gap: 20px;
}

.identity-email-form {
  display: grid;
  gap: 20px;
}

.login-form h2,
.register-form h2 {
  margin-bottom: 0;
}

.identity-card-title {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 24px;
  text-align: center;
}

.identity-card-title .eyebrow {
  margin-bottom: 0;
  color: var(--accent-dark);
}

.identity-card-title h2 {
  max-width: 860px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.password-reset-form {
  gap: 18px;
}

.password-reset-title {
  margin-bottom: 4px;
}

.password-reset-title h2 {
  font-size: clamp(1.9rem, 4vw, 2.65rem);
}

.password-reset-title p:last-child {
  max-width: 430px;
  margin: 0;
  color: #46566f;
  font-weight: 720;
  line-height: 1.5;
}

.identity-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
}

.identity-submit-button .button-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: identity-spin .75s linear infinite;
}

.identity-submit-button.is-loading .button-spinner {
  display: inline-block;
}

.identity-submit-button:disabled {
  cursor: wait;
  opacity: .82;
}

.identity-submit-status {
  min-height: 20px;
  margin: -8px 0 0;
  color: #46566f;
  font-size: .92rem;
  font-weight: 720;
  line-height: 1.4;
  text-align: center;
}

@keyframes identity-spin {
  to {
    transform: rotate(360deg);
  }
}

.password-reset-confirmation {
  margin-bottom: 18px;
}

.login-form .text-danger[role="alert"],
.register-form .text-danger[role="alert"] {
  margin: -4px 0 0;
}

.register-form #registerSubmit {
  margin-top: 18px;
}

.identity-card-subtitle {
  margin: 6px 0 0;
  color: #56647a;
  font-size: .95rem;
  line-height: 1.45;
}

.register-assurance {
  margin: 12px 0 0;
  color: #46566f;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.login-form #login-submit {
  margin-top: 6px;
}

.login-remember label {
  min-height: 34px;
  padding-block: 4px;
}

.external-auth-options {
  display: grid;
  gap: 10px;
}

.google-auth-button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  appearance: none;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  padding: 10px 16px;
  background: #fff;
  color: #182235;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 18px rgba(18, 31, 56, .06);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.google-auth-button:hover,
.google-auth-button:focus {
  border-color: rgba(29, 104, 255, .45);
  box-shadow: 0 12px 26px rgba(18, 31, 56, .1);
  transform: translateY(-1px);
}

.google-mark {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 24px;
}

@media (max-height: 760px) {
  :root {
    --auth-page-gutter: clamp(10px, 2svh, 20px);
  }
  .identity-auth-intro h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
  }
  .identity-auth-intro p:last-child {
    font-size: 1rem;
  }
  .identity-card-title {
    margin-bottom: 12px;
  }
  .identity-card-title h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
  }
  .login-form,
  .register-form,
  .identity-email-form {
    gap: 12px;
  }
  .register-form #registerSubmit,
  .login-form #login-submit {
    margin-top: 4px;
  }
}

.identity-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: #6a7588;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.identity-divider::before,
.identity-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.identity-form .mb-3,
.identity-page .mb-3 {
  margin-bottom: 0 !important;
}

.identity-page .form-floating > label {
  display: block;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.identity-page .form-control,
.identity-page .form-select {
  min-height: 42px;
  border-color: var(--line);
  border-radius: 8px;
  background-color: #fff;
  color: var(--text);
  box-shadow: none;
}

.identity-page .form-control:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.identity-page .form-select {
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.25;
}

.identity-page .form-select {
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.identity-page .form-control:focus,
.identity-page .form-select:focus {
  border-color: rgba(29, 104, 255, .55);
  box-shadow: 0 0 0 .2rem rgba(29, 104, 255, .12);
}

.identity-page .primary,
.identity-page .ghost-light,
.identity-page .ghost-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.identity-link-list,
.identity-provider-list,
.identity-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.identity-link-list {
  padding-top: 8px;
}

.identity-link-list-centered {
  justify-content: center;
  gap: 8px 22px;
  text-align: center;
}

.identity-twofactor-card,
.identity-centered-copy,
.identity-alert-centered {
  text-align: center;
}

.identity-check-centered label {
  justify-content: center;
  width: 100%;
}

.identity-link-list a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.identity-link-list a:hover,
.identity-link-list a:focus {
  text-decoration: underline;
}

.identity-page .checkbox label,
.identity-page .form-check-label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-weight: 750;
}

.identity-page input[type="checkbox"] {
  width: 1rem;
  min-height: 1rem;
}

.identity-manage-shell {
  display: grid;
  grid-template-columns: minmax(220px, var(--settings-nav-width)) minmax(0, 1fr);
  gap: var(--settings-shell-gap);
  align-items: start;
}

.identity-manage-nav {
  position: sticky;
  top: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.identity-nav-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.identity-nav-list a {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
}

.identity-nav-list a:hover,
.identity-nav-list a:focus {
  background: #f6f8fb;
  color: var(--text);
}

.identity-nav-list a.active {
  background: var(--text);
  color: #fff;
}

.identity-manage-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.identity-manage-card > h2 {
  color: #102039;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.identity-manage-card > h2 + p {
  margin-top: -6px;
  color: #4d5c73;
  font-weight: 720;
  line-height: 1.5;
}

.identity-form-panel {
  width: min(680px, 100%);
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}

.manage-email-panel {
  padding-top: 10px;
}

.manage-email-panel .identity-form {
  gap: 10px;
}

.authenticator-app-panel h3 {
  margin-bottom: 18px;
}

.mobile-authenticator-label {
  display: none;
}

.desktop-authenticator-label {
  display: inline;
}

h3.desktop-authenticator-label {
  display: block;
}

.identity-danger-panel {
  border-color: #f0b8b4;
  background: #fffafa;
}

.identity-alert {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfcff;
}

.identity-alert p:last-child,
.identity-card p:last-child,
.identity-form-panel p:last-child {
  margin-bottom: 0;
}

.identity-alert-warning {
  border-color: #f3cf97;
  background: #fff8ec;
}

.identity-alert-danger,
.identity-alert-card {
  border-color: #f0b8b4;
  background: #fff3f2;
}

.identity-inline-form {
  display: inline-flex;
}

.identity-text-button {
  width: fit-content;
  min-height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 850;
  text-align: left;
}

.identity-table {
  width: 100%;
  border-collapse: collapse;
}

.identity-table td {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  vertical-align: middle;
}

.identity-table td:last-child {
  text-align: right;
}

.identity-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 1.25rem;
}

.identity-code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.identity-qr-panel {
  width: 100%;
  max-width: 244px;
  display: grid;
  place-items: center;
  justify-self: center;
  padding: 12px;
  margin: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.identity-qr-panel img {
  display: block;
  width: 100%;
  max-width: 196px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.plan-layout {
  display: grid;
  gap: 16px;
}

.plan-summary-card,
.plan-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.plan-summary-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
}

.plan-summary-card h2 {
  margin-bottom: 3px;
  font-weight: 840;
}

.plan-summary-card .eyebrow {
  margin-bottom: 3px;
}

.plan-summary-card p {
  margin-bottom: 0;
}

.plan-summary-card h2 + p {
  color: #526071;
  font-weight: 660;
  line-height: 1.45;
}

.plan-current-status,
.signup-current-plan {
  min-width: 0;
  border: 1px solid rgba(29, 104, 255, .18);
  border-radius: 8px;
  background: #fff;
}

.plan-current-status {
  min-width: 164px;
  min-height: 82px;
  display: inline-grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 12px 14px;
}

.plan-current-status strong {
  color: var(--accent-dark);
  font-size: 1.18rem;
  line-height: 1.1;
}

.plan-current-status small {
  color: var(--muted);
  font-weight: 800;
}

.current-plan-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #edf4ff;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.popup-active-badge {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  white-space: nowrap;
}

.plan-panel {
  display: grid;
  gap: 16px;
}

.plan-panel h3 {
  margin-bottom: 4px;
}

.plan-panel-head h3 {
  font-weight: 660;
}

.plan-panel p {
  margin-bottom: 0;
}

.plan-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 2px;
}

.plan-date-card {
  gap: 6px;
  padding: 14px 16px;
  background: #f8fafc;
}

.plan-trial-end-card {
  background: #f8fafc;
}

.plan-date-card strong {
  color: #102039;
  font-weight: 900;
}

.plan-date-card p {
  color: #344054;
  font-weight: 780;
}

.plan-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plan-metrics span {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(29, 104, 255, .14);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcff;
  color: var(--muted);
  font-weight: 800;
}

.plan-metrics strong {
  display: block;
  color: var(--text);
}

.plan-options-grid,
.signup-plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan-option-card,
.signup-plan-option {
  min-width: 0;
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f7fbff;
}

.plan-option-card.active,
.signup-plan-option:first-child {
  border-color: var(--line-strong);
  background: #f7fbff;
}

.plan-option-card h3,
.signup-plan-option h3 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.plan-offer-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-price-original {
  color: var(--muted);
  font-size: .72em;
  font-weight: 750;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.plan-option-card .eyebrow,
.signup-plan-option .eyebrow {
  margin-bottom: 6px;
}

.plan-option-card p:not(.eyebrow),
.signup-plan-option p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 750;
}

.plan-option-card form,
.signup-plan-option form {
  margin: 0;
}

.contact-page {
  width: 100%;
  min-height: calc(100svh - 134px);
  margin: 0;
  padding: clamp(34px, 7vw, 88px) clamp(16px, 5vw, 56px);
  display: grid;
  align-items: center;
  background: #fff;
}

body:has(.contact-page),
.app-shell:has(.contact-page),
.app-shell:has(.contact-page) > main {
  background: #fff;
}

.app-shell:has(.contact-page) > main {
  padding-bottom: 0 !important;
}

.contact-hero {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.contact-copy,
.contact-panel {
  background: #fff;
}

.contact-copy {
  min-height: clamp(360px, 42vw, 500px);
  display: grid;
  align-content: center;
  padding: clamp(8px, 2vw, 18px) 0;
}

.contact-copy h1 {
  max-width: 720px;
  margin: 10px 0 clamp(24px, 3vw, 36px);
  color: #102039;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-lead {
  max-width: 680px;
  margin: 0;
  color: #3f536d;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  font-weight: 720;
  line-height: 1.55;
}

.contact-panel {
  display: grid;
  align-content: center;
  gap: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 42px) clamp(22px, 3.5vw, 34px) clamp(22px, 3.5vw, 34px);
  box-shadow: 0 18px 44px rgba(18, 31, 56, .08);
}

.contact-detail-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #e4eaf3;
  border-radius: 8px;
  padding: clamp(16px, 2vw, 20px);
  background: #fff;
}

.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f1f6ff;
  color: var(--accent-dark);
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-label {
  display: block;
  margin-bottom: 3px;
  color: #667085;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-detail-card a {
  color: #1f4f9a;
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-detail-card a:hover,
.contact-detail-card a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-note {
  border: 1px solid #e4eaf3;
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.contact-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 880;
}

.contact-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
  line-height: 1.5;
}

.error-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 86px) clamp(16px, 5vw, 56px);
}

.error-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(247, 251, 255, .98), rgba(242, 247, 255, .94)),
    #fff;
  box-shadow: var(--shadow);
}

.error-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.error-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #102039;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.error-lead {
  max-width: 660px;
  margin: 0;
  color: #3f536d;
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  font-weight: 720;
  line-height: 1.55;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-actions .primary,
.error-actions .ghost-light {
  min-height: 44px;
}

.error-support {
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(29, 104, 255, .14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, .78);
}

.error-support strong {
  display: block;
  margin-bottom: 5px;
}

.error-support p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.referral-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.referral-grid > .identity-qr-panel,
.signup-referral-grid > .identity-qr-panel {
  margin: 0;
}

.referral-copy-stack {
  display: grid;
  gap: 10px;
}

.referral-copy-stack label {
  margin-bottom: 0;
}

.referral-copy-stack input[readonly] {
  background: #fbfcff;
  color: var(--text);
  font-weight: 750;
}

.modal-open {
  overflow: hidden;
}

.signup-plan-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background: rgba(10, 20, 38, .58);
}

.preview-save-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background: rgba(10, 20, 38, .58);
}

.complete-profile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background: rgba(10, 20, 38, .58);
}

.tutorial-review-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background: rgba(10, 20, 38, .58);
}

.tutorial-plan-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(5, 16, 38, .74), rgba(20, 43, 72, .68)),
    rgba(10, 20, 38, .62);
}

.trial-extension-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(5, 16, 38, .74), rgba(20, 43, 72, .7)),
    rgba(10, 20, 38, .62);
}

.try-desktop-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1010;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 24px);
  background: rgba(10, 20, 38, .58);
}

.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1020;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 24px);
  background: rgba(10, 20, 38, .58);
}

.signup-plan-backdrop[hidden] {
  display: none;
}

.preview-save-backdrop[hidden] {
  display: none;
}

.complete-profile-backdrop[hidden] {
  display: none;
}

.tutorial-review-backdrop[hidden] {
  display: none;
}

.tutorial-plan-backdrop[hidden] {
  display: none;
}

.try-desktop-modal-backdrop[hidden] {
  display: none;
}

.legal-modal-backdrop[hidden] {
  display: none;
}

.try-desktop-modal {
  position: relative;
  width: min(100%, 430px);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(220, 227, 239, .96);
  border-radius: 8px;
  padding: clamp(22px, 6vw, 30px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 64px rgba(15, 31, 56, .24);
  outline: none;
}

.legal-modal {
  position: relative;
  width: min(100%, 760px);
  max-height: min(88vh, 760px);
  overflow: auto;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(220, 227, 239, .96);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 30px);
  background: #fff;
  color: #000;
  box-shadow: 0 24px 64px rgba(15, 31, 56, .24);
  outline: none;
}

.try-desktop-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #566176;
  font-size: 1.55rem;
  line-height: 1;
}

.legal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #000;
  font-size: 1.55rem;
  line-height: 1;
}

.try-desktop-close:hover,
.try-desktop-close:focus-visible,
.legal-modal-close:hover,
.legal-modal-close:focus-visible {
  border-color: var(--line);
  background: #fff;
  color: #000;
}

.try-desktop-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--accent-dark);
}

.try-desktop-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.try-desktop-kicker {
  margin: 2px 0 -4px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-modal-kicker {
  margin: 2px 0 -4px;
  color: #000;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.try-desktop-modal h2 {
  margin: 0;
  padding-right: 28px;
  color: #102039;
  font-size: clamp(1.55rem, 7vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.legal-modal h2 {
  margin: 0;
  padding-right: 28px;
  color: #000;
  font-size: clamp(1.55rem, 5vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.try-desktop-modal p {
  margin: 0;
}

.legal-modal p {
  margin: 0;
}

.legal-modal-body {
  display: grid;
  gap: 8px;
  padding-top: 0;
  padding-right: 4px;
}

.try-desktop-modal p:not(.try-desktop-kicker) {
  color: #46566f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.legal-modal p:not(.legal-modal-kicker) {
  color: #000;
  font-size: .93rem;
  font-weight: 620;
  line-height: 1.58;
}

.legal-modal-body > p:first-child {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-weight: 790;
}

.legal-modal-body p:has(> strong) {
  padding: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
}

.legal-modal-body p:has(> strong) strong {
  font-weight: 840;
}

.legal-modal-body h3,
.legal-modal-body h4 {
  margin: 14px 0 0;
  color: #000;
  letter-spacing: 0;
}

.legal-modal-body h3 {
  padding-top: 0;
  border-top: 0;
  font-size: 1.04rem;
  font-weight: 880;
}

.legal-modal-body h4 {
  display: block;
  width: auto;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: .94rem;
  font-weight: 840;
  line-height: 1.35;
}

.legal-modal-body h3 + p,
.legal-modal-body h4 + p {
  margin-top: 0;
}

.try-desktop-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 2px;
}

.try-desktop-actions .primary,
.try-desktop-actions .ghost-light {
  width: 100%;
  border-radius: 8px;
}

.signup-plan-modal {
  width: min(920px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 24px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 80px rgba(5, 16, 38, .32);
}

.preview-save-modal {
  width: min(680px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 24px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 80px rgba(5, 16, 38, .32);
}

.complete-profile-modal {
  width: min(780px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 80px rgba(5, 16, 38, .32);
}

.tutorial-review-modal {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 30px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 80px rgba(5, 16, 38, .32);
}

.tutorial-plan-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92svh, 820px);
  overflow: auto;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 32px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 80px rgba(5, 16, 38, .32);
}

.tutorial-plan-modal:focus {
  outline: 3px solid rgba(117, 205, 253, .72);
  outline-offset: 3px;
}

.tutorial-plan-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.tutorial-plan-head {
  display: grid;
  gap: 8px;
  padding-right: 34px;
}

.tutorial-plan-head h2,
.tutorial-plan-head p {
  margin: 0;
}

.tutorial-plan-head h2 {
  max-width: 640px;
  color: #102039;
  font-size: clamp(1.7rem, 5vw, 2.45rem);
  line-height: 1.08;
}

.tutorial-plan-head p:not(.eyebrow) {
  color: #46566f;
  font-weight: 700;
  line-height: 1.5;
}

.tutorial-plan-value {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tutorial-plan-value span,
.tutorial-plan-options form {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(29, 104, 255, .14);
  border-radius: 8px;
  padding: 14px;
  background: #f7fbff;
  color: #46566f;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
}

.tutorial-plan-value strong,
.tutorial-plan-options strong {
  display: block;
  color: #102039;
  font-size: 1rem;
  font-weight: 900;
}

.tutorial-plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tutorial-plan-options form {
  align-content: space-between;
  margin: 0;
}

.tutorial-plan-options form:last-child {
  border-color: rgba(29, 104, 255, .34);
  background: #edf6ff;
}

.tutorial-plan-options span {
  display: block;
}

.tutorial-plan-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tutorial-review-modal:focus {
  outline: 3px solid rgba(117, 205, 253, .72);
  outline-offset: 3px;
}

.tutorial-review-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.tutorial-review-head {
  display: grid;
  gap: 8px;
  padding-right: 34px;
}

.tutorial-review-head h2,
.tutorial-review-head p {
  margin: 0;
}

.tutorial-review-head h2 {
  color: #102039;
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  line-height: 1.12;
}

.tutorial-review-head p:not(.eyebrow) {
  color: #46566f;
  font-weight: 700;
  line-height: 1.5;
}

.tutorial-review-form {
  display: grid;
  gap: 16px;
}

.tutorial-review-stars {
  margin: 0;
  padding: 0;
  border: 0;
}

.tutorial-review-star-options {
  display: flex;
  justify-content: center;
  gap: clamp(6px, 2vw, 12px);
}

.tutorial-review-stars legend {
  width: 100%;
  margin-bottom: 22px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 800;
}

.tutorial-review-stars label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.tutorial-review-stars input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.tutorial-review-stars label > span[aria-hidden="true"] {
  color: #c8d0dd;
  font-size: clamp(2.25rem, 10vw, 3rem);
  line-height: 1;
  transition: color .15s ease, transform .15s ease;
}

.tutorial-review-stars label:hover > span[aria-hidden="true"],
.tutorial-review-stars label.selected > span[aria-hidden="true"] {
  color: #f4b400;
  transform: translateY(-1px);
}

.tutorial-review-stars input:focus-visible + span {
  border-radius: 4px;
  outline: 3px solid rgba(18, 111, 166, .3);
  outline-offset: 3px;
}

.tutorial-review-error {
  margin: 0;
  color: #a62525;
  font-weight: 800;
}

.tutorial-review-form .primary {
  width: 100%;
}

@media (max-width: 680px) {
  .tutorial-plan-value,
  .tutorial-plan-options {
    grid-template-columns: 1fr;
  }

  .tutorial-plan-actions {
    display: grid;
  }
}

.trial-extension-popup {
  width: min(980px, 100%);
  max-height: min(92svh, 880px);
  overflow: auto;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 86px rgba(5, 16, 38, .38);
  overscroll-behavior: contain;
}

.signup-plan-modal:focus {
  outline: 3px solid rgba(117, 205, 253, .72);
  outline-offset: 3px;
}

.preview-save-modal:focus {
  outline: 3px solid rgba(117, 205, 253, .72);
  outline-offset: 3px;
}

.complete-profile-modal:focus {
  outline: 3px solid rgba(117, 205, 253, .72);
  outline-offset: 3px;
}

.trial-extension-popup:focus {
  outline: 3px solid rgba(117, 205, 253, .72);
  outline-offset: 3px;
}

.trial-extension-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.trial-extension-head h2 {
  margin: 0;
  color: #102039;
  font-size: clamp(1.85rem, 4vw, 3.35rem);
  font-weight: 760;
  line-height: 1.06;
}

.trial-extension-head p:not(.eyebrow) {
  margin: 0;
  color: #46566f;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 720;
  line-height: 1.48;
}

.trial-extension-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trial-extension-status div {
  min-width: 0;
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(29, 104, 255, .14);
  border-radius: 8px;
  padding: 14px;
  background: #f7fbff;
}

.trial-extension-status span {
  color: #667085;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trial-extension-status strong {
  color: #102039;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.16;
}

.trial-extension-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trial-extension-benefits span {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid #e4eaf3;
  border-radius: 8px;
  padding: 14px;
  background: #fbfcff;
  color: var(--muted);
  font-weight: 720;
  line-height: 1.42;
}

.trial-extension-benefits strong {
  color: var(--text);
}

.trial-extension-options {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 12px;
}

.trial-extension-option {
  min-width: 0;
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.trial-extension-option-featured {
  border-color: rgba(12, 151, 107, .32);
  background: linear-gradient(135deg, #f7fffc, #f7fbff);
}

.trial-extension-option h3 {
  margin: 4px 0 8px;
  color: #102039;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.trial-extension-option p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 740;
  line-height: 1.44;
}

.trial-extension-option form {
  margin: 0;
}

.trial-extension-option .primary,
.trial-extension-option .ghost-light {
  min-height: 48px;
}

.signup-plan-head,
.signup-plan-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.signup-plan-head h2 {
  margin: 4px 0 0;
  font-weight: 560;
}

.preview-save-modal .signup-plan-head {
  margin-bottom: 8px;
}

.complete-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.complete-profile-head h2 {
  margin: 4px 0 8px;
  color: #102039;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.08;
}

.complete-profile-head p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: #46566f;
  font-weight: 720;
  line-height: 1.5;
}

.complete-profile-form {
  display: grid;
  gap: 16px;
}

.complete-profile-form label {
  min-width: 0;
}

.complete-profile-form input,
.complete-profile-form select {
  width: 100%;
}

.complete-profile-scores {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.complete-profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.complete-profile-actions .primary,
.complete-profile-actions .ghost-light {
  min-height: 46px;
}

.signup-plan-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signup-current-plan {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #ffffff, #f1f7ff);
}

.signup-current-plan h3 {
  margin: 3px 0 4px;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 540;
  line-height: 1.12;
}

.signup-current-plan p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.signup-continue-access {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 8px;
  padding: 15px 16px;
  background: #fbfcff;
}

.signup-continue-access h3 {
  margin: 3px 0 4px;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 582;
  line-height: 1.2;
}

.signup-continue-access .mobile-title {
  display: none;
}

.signup-continue-access p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.signup-plan-summary span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(29, 104, 255, .16);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcff;
  color: var(--muted);
  font-weight: 800;
}

.signup-plan-summary strong {
  color: var(--text);
  font-size: 1.05rem;
}

.signup-plan-summary.compact {
  grid-template-columns: minmax(0, 1fr);
}

.preview-save-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preview-save-benefits span {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(29, 104, 255, .16);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcff;
  color: var(--muted);
  font-weight: 750;
}

.preview-save-benefits strong {
  color: var(--text);
}

.signup-referral-box {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
}

.signup-referral-box h3 {
  margin-bottom: 4px;
}

.signup-referral-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.signup-referral-grid {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.signup-plan-actions {
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.signup-plan-actions .primary,
.signup-plan-actions .ghost-light {
  min-height: 42px;
}

.preview-save-modal .signup-plan-actions .primary,
.preview-save-modal .signup-plan-actions .ghost-light {
  min-height: 52px;
  min-width: 150px;
  padding: 14px 22px;
  font-size: 1rem;
}

.preview-save-modal .signup-plan-actions {
  gap: 12px;
  margin-top: 8px;
  padding-top: 4px;
}

.guided-flow-tour {
  position: fixed;
  inset: 0;
  z-index: 940;
  pointer-events: none;
}

.guided-flow-tour[hidden] {
  display: none;
}

.guided-flow-card {
  position: fixed;
  top: var(--tour-card-top, 96px);
  left: var(--tour-card-left, 24px);
  width: min(var(--tour-card-width, 420px), calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  display: grid;
  gap: 16px;
  overflow: auto;
  padding: 0 22px 22px;
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%),
    #fff;
  box-shadow: 0 24px 64px rgba(18, 31, 56, .2), 0 2px 8px rgba(18, 31, 56, .08);
  pointer-events: auto;
  scrollbar-gutter: stable;
  transition: box-shadow .16s ease, border-color .16s ease;
}

.guided-flow-card.is-dragging {
  border-color: rgba(29, 104, 255, .34);
  box-shadow: 0 28px 72px rgba(18, 31, 56, .24), 0 0 0 4px rgba(29, 104, 255, .1);
  user-select: none;
}

.guided-flow-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -8px;
  width: 16px;
  height: 16px;
  border-left: 1px solid rgba(23, 32, 51, .12);
  border-bottom: 1px solid rgba(23, 32, 51, .12);
  background: #fff;
  transform: rotate(45deg);
}

.guided-flow-tour[data-step="profile"] .guided-flow-card::before {
  top: 20px;
  right: -8px;
  left: auto;
  border: 0;
  border-top: 1px solid rgba(23, 32, 51, .12);
  border-right: 1px solid rgba(23, 32, 51, .12);
}

.guided-flow-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -22px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid rgba(23, 32, 51, .08);
  border-radius: 8px 8px 0 0;
  background: rgba(247, 250, 255, .92);
  color: #5d6b82;
  cursor: grab;
  touch-action: none;
}

.guided-flow-card.is-dragging .guided-flow-toolbar {
  cursor: grabbing;
}

.guided-flow-toolbar span {
  min-width: 0;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guided-flow-reset {
  min-height: 30px;
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  color: #35516f;
  font-size: .72rem;
  font-weight: 900;
}

.guided-flow-reset:hover,
.guided-flow-reset:focus-visible {
  border-color: rgba(29, 104, 255, .42);
  color: var(--accent-dark);
}

.guided-flow-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.guided-flow-head h2 {
  max-width: 32ch;
  margin: 4px 0 0;
  font-size: 1.28rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.guided-flow-head > span {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 900;
}

.guided-flow-card p {
  margin: 0;
  color: #46566f;
  line-height: 1.5;
  font-weight: 700;
}

.guided-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.guided-flow-steps li {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #6a7588;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.15;
}

.guided-flow-steps li::before {
  content: "";
  height: 5px;
  border-radius: 999px;
  background: #d7deea;
}

.guided-flow-steps li.complete {
  color: #16734f;
}

.guided-flow-steps li.complete::before {
  background: var(--success);
}

.guided-flow-steps li.active {
  color: var(--accent-dark);
}

.guided-flow-steps li.active::before {
  background: var(--accent);
}

.guided-flow-steps span {
  overflow-wrap: anywhere;
}

.guided-flow-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.guided-flow-actions .primary,
.guided-flow-actions .ghost-light {
  min-height: 44px;
  justify-content: center;
}

.guided-flow-target {
  position: relative;
  z-index: 930;
  outline: 3px solid rgba(29, 104, 255, .34);
  outline-offset: 5px;
  box-shadow: 0 0 0 9px rgba(29, 104, 255, .12);
}

.top-menu-profile .profile-popover.guided-flow-target {
  position: absolute;
}

.recovery-code {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfcff;
  color: var(--text);
  font-size: .98rem;
  text-align: center;
}

@media (max-width: 1050px) {
  .two, .app-row { grid-template-columns: 1fr; }
  .app-hero { align-items: stretch; }
  .hero-actions { flex-wrap: wrap; justify-content: flex-start; }
  .section-head {
    align-items: flex-start;
  }
  .school-filter-row {
    width: 100%;
    justify-content: flex-start;
  }
  .school-filter-row input[name="search"] {
    max-width: none;
  }
  .school-filter-panel .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  .school-filter-panel .school-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .school-number-filter {
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr) minmax(96px, 116px);
  }
  .school-filter-toggle,
  .filter-button {
    width: 100%;
  }
  .profile-popover {
    position: absolute;
    left: clamp(16px, 4vw, 56px);
    right: clamp(16px, 4vw, 56px);
    width: auto;
  }
  .identity-manage-page .identity-manage-hero {
    width: 100%;
    margin-left: 0;
  }
  .identity-auth-grid,
  .identity-auth-showcase,
  .identity-manage-shell,
  .contact-hero,
  .error-card {
    grid-template-columns: 1fr;
  }
  .identity-manage-shell {
    row-gap: 22px;
  }
  .identity-auth-intro {
    text-align: center;
  }
  .identity-auth-intro h1,
  .identity-auth-intro p:last-child {
    margin-left: auto;
    margin-right: auto;
  }
  .identity-auth-stack .login-card,
  .identity-auth-stack .register-card {
    max-height: calc(100svh - var(--auth-vertical-chrome) - (var(--auth-page-gutter) * 2));
  }
  .identity-manage-nav {
    position: static;
    padding: 6px 10px 0;
  }
  .identity-nav-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px 6px;
  }
  .identity-nav-list a {
    min-height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .plan-metrics,
  .plan-options-grid,
  .referral-grid,
  .signup-current-plan,
  .signup-plan-options,
  .signup-referral-grid,
  .preview-save-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .sector-card-meta {
    gap: 6px;
    font-size: .75rem;
  }
}

@media (max-width: 680px) {
  :root {
    --auth-vertical-chrome: 158px;
    --auth-page-gutter: clamp(10px, 2svh, 18px);
  }
  .app-hero, .score-card, .section-head, .school-header, .task { flex-direction: column; align-items: stretch; }
  .app-layout { padding: 16px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .panel, .score-card, .school, .app-row, .dashboard-widget { padding: 16px; }
  .sector-card-head strong {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .sector-card-meta {
    align-items: center;
    flex-direction: row;
  }
  .sector-card-meta span {
    white-space: nowrap;
  }
  .sector-card-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .score-grid, .school-metrics, .activity-form, .two-fields { grid-template-columns: 1fr; }
  .task-section-head {
    grid-template-columns: 1fr;
  }
  .task-view-toggle {
    justify-self: stretch;
    min-width: 0;
  }
  .contact-page {
    min-height: auto;
    padding: 32px 14px 42px;
    align-items: start;
  }
  .contact-copy {
    min-height: auto;
    padding: 0;
  }
  .contact-copy h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }
  .contact-panel {
    padding: 18px 16px 16px;
  }
  .contact-detail-card {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 12px;
  }
  .contact-detail-icon {
    width: 40px;
    height: 40px;
  }
  .footer {
    padding: 14px 0;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px 12px;
    min-height: 58px;
  }
  .footer-brand,
  .footer-contact,
  .footer-social {
    text-align: left;
  }
  .footer-brand {
    display: grid;
    gap: 2px 12px;
    justify-content: start;
  }
  .footer-tagline {
    min-height: 28px;
    margin-bottom: 0;
  }
  .footer-brand-name {
    margin-right: 0;
  }
  .footer-trademark {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: -3.5px;
    margin-left: -4px;
    justify-self: start;
    max-width: 100%;
    min-height: 28px;
    font-size: .8rem;
    text-align: left;
  }
  .footer-contact {
    grid-column: 1;
    grid-row: 3;
    justify-content: start;
    column-gap: 31px;
    margin-left: -4px;
    margin-right: 8px;
  }
  .footer-contact-label {
    min-height: 38px;
  }
  .footer-social {
    grid-column: 2;
    grid-row: 3;
    justify-content: end;
    margin-left: 10px;
  }
  .footer .footer-social-link {
    flex: 0 0 38px;
    width: 38px;
    min-height: 38px;
  }
  .identity-page {
    width: min(100% - 20px, 500px);
    min-height: auto;
    display: block;
    padding: clamp(34px, 7svh, 56px) 0 clamp(30px, 6svh, 48px);
  }
  .identity-page:has(.login-card) {
    padding-bottom: clamp(26px, 5svh, 42px);
  }
  .identity-page:has(.register-card) {
    padding-bottom: clamp(30px, 6svh, 48px);
  }
  .identity-page.identity-manage-page {
    width: min(100% - 20px, 720px);
    padding-top: 24px;
  }
  .identity-hero {
    margin-bottom: 18px;
  }
  .identity-manage-page .identity-manage-hero {
    width: 100%;
    margin-bottom: 14px;
    text-align: center;
  }
  .identity-manage-page .identity-manage-hero h1 {
    margin-left: auto;
    margin-right: auto;
  }
  .identity-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }
  .identity-manage-card > h2 {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    overflow-wrap: anywhere;
  }
  .identity-manage-card > h2 + p {
    margin-top: -4px;
  }
  .plan-summary-card .eyebrow {
    margin-bottom: 10px;
  }
  .plan-panel {
    gap: 18px;
  }
  .plan-options-grid,
  .signup-plan-options {
    gap: 16px;
  }
  .plan-option-card,
  .signup-plan-option {
    min-height: 204px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .plan-option-card h3,
  .signup-plan-option h3 {
    font-weight: 880;
  }
  .plan-option-card .eyebrow,
  .signup-plan-option .eyebrow {
    margin-bottom: 5px;
  }
  .desktop-authenticator-label,
  h3.desktop-authenticator-label {
    display: none;
  }
  .mobile-authenticator-label {
    display: inline;
  }
  .identity-card {
    padding: clamp(18px, 5vw, 24px) 18px;
  }
  .login-form,
  .register-form {
    gap: 14px;
  }
  .identity-email-form {
    gap: 14px;
  }
  .identity-card-title {
    gap: 4px;
    margin-bottom: 14px;
  }
  .identity-auth-stack .login-card,
  .identity-auth-stack .register-card {
    max-height: none;
    overflow: visible;
  }
  .signup-plan-backdrop,
  .preview-save-backdrop,
  .complete-profile-backdrop {
    place-items: end center;
    align-items: end;
    padding: 18svh 10px max(10px, env(safe-area-inset-bottom));
  }
  .preview-save-backdrop {
    place-items: center;
    align-items: center;
    padding: 10px;
  }
  .signup-plan-modal,
  .preview-save-modal,
  .complete-profile-modal {
    width: 100%;
    max-height: min(82svh, 720px);
    border-radius: 16px 16px 8px 8px;
    padding: 16px;
    overscroll-behavior: contain;
  }
  .signup-plan-head,
  .signup-plan-actions,
  .complete-profile-actions {
    display: grid;
  }
  .signup-continue-access .desktop-title {
    display: none;
  }
  .signup-continue-access .mobile-title {
    display: inline;
  }
  .signup-plan-head,
  .profile-popover-head,
  .complete-profile-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }
  .signup-plan-head .icon-button,
  .profile-popover-head .icon-button,
  .complete-profile-head .icon-button {
    justify-self: end;
    align-self: start;
    margin-top: -6px;
    margin-right: -6px;
  }
  .complete-profile-head h2 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }
  .complete-profile-scores {
    grid-template-columns: 1fr;
  }
  .complete-profile-actions {
    width: 100%;
    gap: 10px;
  }
  .complete-profile-actions .primary,
  .complete-profile-actions .ghost-light {
    width: 100%;
    justify-content: center;
  }
  .preview-save-modal .signup-plan-actions {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 10px;
  }
  .preview-save-modal .signup-plan-actions .primary,
  .preview-save-modal .signup-plan-actions .ghost-light {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    justify-content: center;
  }
  .error-page {
    padding: 24px 14px 34px;
  }
  .error-card {
    padding: 18px;
  }
  .error-actions {
    display: grid;
  }
  .error-actions .primary,
  .error-actions .ghost-light {
    width: 100%;
    justify-content: center;
  }
  .signup-plan-actions .primary,
  .signup-plan-actions .ghost-light {
    width: 100%;
    justify-content: center;
  }
  .guided-flow-card {
    top: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    max-height: min(70svh, 520px);
    gap: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    border-radius: 16px 16px 10px 10px;
    box-shadow: 0 18px 44px rgba(18, 31, 56, .24);
  }
  .guided-flow-card::before {
    display: none;
  }
  .guided-flow-toolbar {
    display: none;
  }
  .guided-flow-head {
    grid-template-columns: minmax(0, 1fr) minmax(44px, auto);
    gap: 12px;
    align-items: start;
  }
  .guided-flow-head h2 {
    max-width: none;
    font-size: 1.08rem;
    line-height: 1.28;
  }
  .guided-flow-head > span {
    min-width: 44px;
    min-height: 28px;
    padding: 4px 8px;
    font-size: .72rem;
  }
  .guided-flow-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    padding: 4px 0 0;
  }
  .guided-flow-steps li {
    gap: 5px;
    min-height: 30px;
    font-size: .62rem;
    text-align: center;
  }
  .guided-flow-steps li::before {
    height: 4px;
  }
  .guided-flow-steps span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .guided-flow-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .guided-flow-actions .primary,
  .guided-flow-actions .ghost-light {
    width: 100%;
    min-height: 48px;
    padding-inline: 14px;
    border-radius: 12px;
  }
  .section-menu {
    display: grid;
    justify-items: center;
    gap: 8px;
  }
  .section-menu-trigger {
    width: min(100%, 320px);
    max-width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(29, 104, 255, .2);
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 10px 24px rgba(18, 31, 56, .06);
    cursor: pointer;
    text-align: center;
  }
  .section-menu-trigger strong {
    font-weight: 950;
    text-align: center;
  }
  .section-menu-trigger::after {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-right: 2px solid var(--accent-dark);
    border-bottom: 2px solid var(--accent-dark);
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
  }
  .section-menu.open .section-menu-trigger::after {
    transform: rotate(225deg) translate(-2px, -1px);
  }
  .section-menu-panel {
    display: none;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 8px;
    margin: 0;
    width: min(100%, 320px);
  }
  .section-menu.open .section-menu-panel {
    display: grid;
  }
  .section-menu-panel a {
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    background: #fff;
    color: var(--muted);
    font-weight: 850;
    text-align: center;
  }
  .section-menu-panel a.active {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
    font-weight: 950;
  }
  .score-card {
    gap: 12px;
    padding-top: 22px;
    padding-bottom: 24px;
  }
  .score-card h2 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }
  .ring {
    width: min(58vw, 188px);
    align-self: center;
    font-size: 1.65rem;
    margin-top: -6px;
    margin-bottom: 0;
  }
  .ring span {
    width: calc(100% - 44px);
  }
  .widget-head,
  .chart-row {
    grid-template-columns: 1fr;
  }
  .widget-head {
    display: grid;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .segmented,
  .small-link,
  .status-pill {
    width: 100%;
  }
  .segmented button,
  .small-link,
  .status-pill {
    justify-content: center;
  }
  .risk-tabs {
    grid-template-columns: 1fr;
  }
  .risk-panel .small-link,
  .risk-panel .ghost-light {
    width: 100%;
  }
  .category-progress,
  .activity-fit-item,
  .activity-form-footer {
    grid-template-columns: 1fr;
  }
  .activity-fit-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }
  .activity-fit-row-main {
    gap: 0;
  }
  .activity-fit-row-main span {
    display: none;
  }
  .activity-fit-row-hours {
    text-align: left;
  }
  .category-progress .mini-donut,
  .activity-fit-item .mini-donut {
    width: 174px;
    min-width: 174px;
    max-width: 174px;
  }
  .activity-form-footer,
  .activity-flags {
    align-items: stretch;
    flex-direction: column;
  }
  .activity-form-footer .primary,
  .school-filter-toggle,
  .selected-filter-toggle,
  .filter-button,
  .school-toggle-button {
    width: 100%;
    justify-content: center;
  }
  .school-filter-toggle {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 999px;
  }
  .school-filter-panel .school-filter-row {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .school-filter-panel {
    padding: 16px;
    border-color: var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .school-filter-panel h3 {
    font-size: clamp(1.28rem, 5.8vw, 1.58rem);
    font-weight: 900;
    margin-bottom: 6px;
    width: 100%;
  }
  .school-filter-panel .section-head,
  .school-filter-panel .school-filter-row {
    gap: 10px;
  }
  .school-filter-row input[name="search"],
  .school-number-filter,
  .filter-button {
    min-height: 46px;
  }
  .school-filter-row input[name="search"] {
    border-radius: 16px;
    border-color: var(--selection-control-border-mobile);
    padding: 12px 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(29, 104, 255, .05);
  }
  .school-number-filter {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(74px, 80px);
    justify-items: stretch;
    gap: 4px;
    align-items: center;
    min-width: 0;
    border-color: var(--selection-control-border-mobile);
    border-radius: 16px;
    padding: 4px 6px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(29, 104, 255, .05);
  }
  .school-number-filter > .school-number-label {
    grid-column: 1 / -1;
    padding-left: 4px;
    color: var(--accent-dark);
    font-size: clamp(.62rem, 2.7vw, .72rem);
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .school-number-filter select,
  .school-number-value,
  .school-number-filter input {
    min-height: 36px;
    border-radius: 10px;
    background: #eef7ff;
  }
  .school-number-filter select {
    width: 100%;
    padding-left: 4px;
    padding-right: 2px;
    font-size: clamp(.6rem, 2.85vw, .72rem);
    white-space: nowrap;
  }
  .school-number-filter input {
    background: transparent;
    max-width: none;
    width: min(5.2ch, 100%);
    height: 36px;
    padding: 0 1px 0 2px;
    font-size: clamp(.76rem, 3vw, .86rem);
    line-height: 1;
    transform: translate(-1px, -1px);
  }
  .school-number-filter[data-number-unit="students"] input {
    width: min(3.8ch, 100%);
  }
  .school-number-value {
    grid-template-columns: minmax(0, max-content) auto;
    justify-self: end;
    width: 100%;
    column-gap: 4px;
  }
  .school-number-unit {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-self: center;
    padding-right: 2px;
    font-size: clamp(.52rem, 2.3vw, .62rem);
    text-align: center;
    transform: translateX(-2px);
  }
  .school-filter-toggle {
    min-height: 46px;
    border-color: var(--selection-control-border-mobile);
    border-radius: 16px;
    padding: 4px;
    background: #fff;
  }
  .selected-filter-toggle {
    min-height: 36px;
    border-radius: 12px;
  }
  .filter-button {
    border-radius: 16px;
  }
  .school-toggle-form {
    width: 100%;
  }
  .school {
    --school-action-width: 100%;
    gap: 12px;
    padding-bottom: 22px;
  }
  .school-header {
    gap: 12px;
  }
  .school-title-block {
    display: grid;
    width: 100%;
    margin-inline: 0;
  }
  .school-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .school-header strong {
    width: 100%;
    margin-bottom: 1px;
  }
  .school-chip {
    justify-content: center;
    min-width: 0;
    width: auto;
    max-width: var(--school-action-width);
    min-height: 28px;
    padding: 5px 10px;
    font-size: clamp(.76rem, 2.75vw, .84rem);
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
  }
  .school-chip-desktop-text {
    display: none;
  }
  .school-chip-mobile-text {
    display: inline;
  }
  .school-metrics {
    gap: 8px;
    margin: 12px 0;
  }
  .school-metrics > div {
    padding: 11px;
  }
  .school > p {
    font-size: .95rem;
  }
  .source-links {
    display: grid;
    grid-template-columns: 1fr;
  }
  .source-links a {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
  }
  .mini-donut {
    min-width: 82px;
  }
  .mini-donut::before {
    inset: 9px;
  }
  .hero-actions,
  .top-menu-actions,
  .profile-menu,
  .ghost-button,
  .profile-trigger {
    width: 100%;
  }
  .top-menu-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 0;
  }
  .app-nav-menu {
    margin-top: 10px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
  .primary-nav {
    display: grid;
    gap: 8px;
  }
  .primary-nav .nav-link,
  .top-menu-actions .nav-link,
  .top-menu-profile .profile-trigger {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 12px;
    background: #fff;
    color: var(--text) !important;
    font-weight: 850;
    text-align: left;
    box-shadow: none;
  }
  .primary-nav .nav-link:hover,
  .primary-nav .nav-link:focus,
  .top-menu-actions .nav-link:hover,
  .top-menu-actions .nav-link:focus,
  .top-menu-profile .profile-trigger:hover,
  .top-menu-profile .profile-trigger[aria-expanded="true"] {
    background: #f6f8fb;
    border-color: rgba(29, 104, 255, .26);
  }
  .top-menu-actions .navbar-nav {
    width: 100%;
    align-items: stretch;
    gap: 8px;
  }
  .auth-direct-action {
    display: none;
  }
  .auth-mobile-menu {
    display: flex;
    justify-content: flex-start;
    width: max-content;
    position: relative;
  }
  .auth-mobile-trigger {
    min-height: 46px;
    width: 46px;
    flex-basis: 46px;
    border-radius: 8px;
  }
  .auth-mobile-dropdown {
    position: absolute !important;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    z-index: 1000;
    margin-top: 0 !important;
  }
  .landing-nav-actions {
    width: auto;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding-top: 0;
  }
  .landing-nav-actions .navbar-nav {
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .landing-nav-actions .auth-mobile-menu {
    justify-content: center;
  }
  .landing-nav-actions .auth-mobile-dropdown {
    left: auto;
    right: 0;
  }
  .top-menu-actions .nav-link {
    width: 100%;
    justify-content: flex-start;
  }
  .landing-nav-actions .nav-link {
    width: auto;
    justify-content: center;
  }
  .top-menu-actions .btn-link {
    border: 1px solid var(--line);
  }
  .app-brand {
    font-size: 1rem;
  }
  .profile-trigger {
    justify-content: flex-start;
  }
  .profile-popover {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 12px;
  }
  .top-menu-profile .profile-popover,
  .top-menu-profile .profile-popover.guided-flow-target {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 12px;
  }
  .identity-page {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    display: block;
    padding: clamp(34px, 7svh, 56px) 0 clamp(30px, 6svh, 48px);
  }
  .identity-page:has(.login-card) {
    padding-bottom: clamp(26px, 5svh, 42px);
  }
  .identity-page:has(.register-card) {
    padding-bottom: clamp(30px, 6svh, 48px);
  }
  .identity-auth-showcase {
    gap: 18px;
  }
  .identity-auth-intro {
    display: none;
  }
  .identity-app-shell {
    flex: 0 0 auto;
  }
  .identity-app-shell + .footer {
    margin-top: auto;
  }
  .identity-app-shell > main {
    display: block;
  }
  .identity-auth-stack .login-card,
  .identity-auth-stack .register-card {
    max-height: none;
    overflow: visible;
  }
  .identity-card,
  .identity-manage-card,
  .identity-form-panel {
    padding: clamp(16px, 4.8vw, 20px);
  }
  .identity-nav-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin-bottom: 12px;
    padding: 2px 2px 0;
    scroll-snap-type: x proximity;
  }
  .identity-nav-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .identity-nav-list a {
    min-height: 42px;
    padding-inline: 12px;
    white-space: nowrap;
  }
  .identity-action-row,
  .identity-provider-list {
    display: grid;
    grid-template-columns: 1fr;
  }
  .identity-table,
  .identity-table tbody,
  .identity-table tr,
  .identity-table td {
    display: block;
    width: 100%;
  }
  .identity-table td:last-child {
    text-align: left;
    padding-top: 0;
  }
  .plan-summary-card,
  .plan-panel-head {
    display: grid;
  }
  .plan-current-status {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .ad-landing-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(20px, 3vw, 34px);
    min-height: auto;
  }

  .ad-score-preview {
    max-width: 360px;
  }

  .ad-landing-strip {
    grid-template-columns: 1fr;
  }

  .school-fit-layout {
    grid-template-columns: 1fr;
  }

  .school-donut-set {
    grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  }

  .category-progress-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ad-landing-hero {
    grid-template-columns: 1fr;
  }

  .ad-score-preview {
    justify-self: start;
    max-width: 680px;
  }

  .landing-video-modal {
    grid-template-columns: 1fr;
  }

  .landing-video-copy {
    padding-right: 32px;
  }
}

@media (max-width: 680px) {
  .ad-landing {
    min-height: auto;
    padding: 24px 14px 34px;
  }

  .ad-landing-copy {
    display: flex;
    flex-direction: column;
  }

  .ad-landing-copy h1 {
    font-size: clamp(2.4rem, 10.8vw, 3.3rem);
    line-height: 1.04;
    margin-bottom: 0;
  }

  .ad-landing-subhead {
    margin-bottom: 10px;
  }

  .ad-landing-actions {
    order: 3;
    margin-top: 18px;
  }

  .ad-landing-actions .primary,
  .ad-landing-actions .ghost-light {
    width: 100%;
  }

  .ad-landing-proof {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 18px;
    gap: 12px;
  }

  .ad-landing-proof article {
    min-height: 116px;
    padding: 15px 13px;
  }

  .ad-landing-proof .ad-landing-sector-gadget {
    gap: 8px;
  }

  .ad-sector-gadget-score strong {
    overflow: visible;
    font-size: clamp(.7rem, 3.2vw, .86rem);
    text-overflow: clip;
    white-space: normal;
  }

  .ad-sector-gadget-score b {
    font-size: clamp(1.08rem, 5.4vw, 1.42rem);
  }

  .ad-sector-gadget-meta {
    font-size: .56rem;
  }

  .ad-landing-proof-menu {
    gap: 8px;
  }

  .ad-landing-proof-menu span {
    font-size: clamp(1.1rem, 5.15vw, 1.31rem);
    line-height: 1.02;
  }

  .landing-video-backdrop {
    place-items: end center;
    align-items: end;
    padding: 18svh 10px max(10px, env(safe-area-inset-bottom));
  }

  .landing-video-modal {
    width: 100%;
    max-height: min(82svh, 720px);
    gap: 14px;
    border-radius: 16px 16px 8px 8px;
    padding: 14px;
  }

  .landing-video-close {
    top: 8px;
    right: 8px;
  }

  .landing-video-copy {
    padding-right: 0;
  }

  .landing-video-copy h2 {
    padding-right: 28px;
    font-size: clamp(1.48rem, 7.4vw, 2rem);
  }

  .landing-video-actions {
    display: grid;
  }

  .landing-video-actions .primary,
  .landing-video-actions .ghost-light {
    width: 100%;
  }

  .ad-score-header {
    align-items: flex-start;
  }

  .ad-score-ring {
    font-size: .95rem;
    width: 104px;
  }

  .ad-progress-row {
    grid-template-columns: 1fr;
  }

  .category-progress-grid {
    grid-template-columns: 1fr;
  }

  .daily-task-widget .ai-sector-breakdown-desktop {
    display: none;
  }

  .daily-task-widget .ai-sector-breakdown-mobile {
    display: grid;
  }

  .ai-sector-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ai-sector-meter {
    grid-template-columns: minmax(0, 1fr) 52px;
  }
}

@media (max-width: 430px) {
  .guided-flow-card {
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    max-height: min(74svh, 500px);
    padding: 14px;
  }
  .guided-flow-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .guided-flow-head > span {
    justify-self: start;
  }
  .guided-flow-steps li {
    font-size: .58rem;
  }
  .tabs { grid-template-columns: 1fr; }
  .donut-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-donut {
    width: 100%;
    min-width: 0;
    justify-self: center;
  }
  .fit-summary {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .fit-summary .mini-donut {
    width: 170px;
    min-width: 170px;
  }
  .category-progress-grid,
  .activity-fit-grid {
    grid-template-columns: 1fr;
  }
  .category-progress .mini-donut,
  .activity-fit-item .mini-donut {
    width: 176px;
    min-width: 176px;
    max-width: 176px;
  }
  .mini-stats span,
  .metric-strip span {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .trial-extension-popup {
    width: 100%;
    max-height: min(90svh, 760px);
  }

  .trial-extension-status,
  .trial-extension-benefits,
  .trial-extension-options {
    grid-template-columns: 1fr;
  }

  .trial-extension-option {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .try-desktop-modal-backdrop {
    place-items: end center;
    padding: 12svh 12px max(12px, env(safe-area-inset-bottom));
  }

  .legal-modal-backdrop {
    place-items: end center;
    padding: 12svh 12px max(12px, env(safe-area-inset-bottom));
  }

  .try-desktop-modal {
    width: 100%;
    max-height: min(82svh, 620px);
    overflow: auto;
  }

  .legal-modal {
    width: 100%;
    max-height: min(82svh, 620px);
    overflow: auto;
  }

  .trial-extension-backdrop {
    place-items: end center;
    align-items: end;
    padding: 12svh 10px max(10px, env(safe-area-inset-bottom));
  }

  .trial-extension-popup {
    max-height: min(84svh, 720px);
    padding: 16px;
  }

  .trial-extension-head h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .trial-extension-status div {
    min-height: 76px;
  }

  .trial-extension-benefits {
    gap: 8px;
  }

  .trial-extension-benefits span {
    padding: 12px;
  }

  .trial-extension-option .primary,
  .trial-extension-option .ghost-light {
    width: 100%;
    justify-content: center;
  }
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Perspective Bundle Checkout funnel. Scoped so the rest of the application is unchanged. */
.app-shell:has(.bundle-funnel) > main {
  padding-bottom: 0 !important;
}

.bundle-funnel {
  --bundle-blue: #2563eb;
  --bundle-ink: #111827;
  --bundle-muted: #4b5563;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
  color: var(--bundle-ink);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bundle-funnel-header {
  display: flex;
  justify-content: center;
  padding: 12px 16px 6px;
  background: #fff;
}

.bundle-funnel-header img {
  display: block;
  width: 137px;
  height: 58px;
  object-fit: contain;
}

.bundle-funnel-section {
  padding: 42px 16px;
}

.bundle-funnel-container {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.bundle-funnel-narrow {
  width: min(100%, 760px);
  text-align: center;
}

.bundle-funnel h1,
.bundle-funnel h2,
.bundle-funnel h3,
.bundle-funnel h4,
.bundle-funnel p {
  margin-top: 0;
}

.bundle-funnel-hero {
  padding-top: 24px;
}

.bundle-funnel-hero h1,
.bundle-results h2,
.bundle-guarantee h2,
.bundle-faq > div > h2 {
  margin-bottom: 18px;
  color: var(--bundle-blue);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.bundle-funnel-hero p,
.bundle-guarantee p,
.bundle-faq > div > p {
  max-width: 710px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.55;
}

.bundle-hero-ai-label {
  font-weight: 600;
}

.bundle-product-image {
  display: block;
  width: min(100%, 750px);
  height: auto;
  margin: 0 auto;
}

.bundle-funnel-offer-section {
  background: #f3f6fc;
}

.bundle-offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 34px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 46px rgba(30, 64, 175, .08);
}

.bundle-offer-copy > h2,
.bundle-signup-card > h2 {
  margin-bottom: 4px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.bundle-offer-copy > h3 {
  margin-bottom: 25px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.bundle-benefits {
  display: grid;
  gap: 21px;
}

.bundle-benefits article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
}

.bundle-benefits article > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 9px;
  background: #dbeafe;
  color: var(--bundle-blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.bundle-benefits h4 {
  margin-bottom: 3px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.bundle-benefits p {
  margin-bottom: 0;
  color: var(--bundle-muted);
  font-size: .94rem;
  line-height: 1.55;
}

.bundle-total,
.bundle-price {
  margin: 0;
  color: var(--bundle-blue);
  font-weight: 700;
}

.bundle-value-stack {
  display: grid;
  gap: 7px;
  margin-top: 40px;
}

.bundle-total {
  font-size: 1rem;
}

.bundle-price {
  font-size: 1.5rem;
  line-height: 1.25;
}

.bundle-signup-card {
  align-self: center;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .1);
}

.bundle-signup-card > h3 {
  margin-bottom: 20px;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
}

.bundle-signup-card > p:not(.bundle-signup-note) {
  margin-bottom: 20px;
  font-weight: 600;
}

.bundle-signup-note {
  margin-bottom: 20px;
  color: var(--bundle-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.bundle-signup-form {
  display: grid;
  gap: 8px;
  text-align: left;
}

.bundle-signup-form > label:not(.bundle-privacy-check) {
  margin-top: 5px;
  color: #111827;
  font-size: .88rem;
  font-weight: 600;
}

.bundle-input-shell {
  position: relative;
}

.bundle-input-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  width: 22px;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.bundle-input-shell > input {
  width: 100%;
  height: 52px;
  padding: 0 15px 0 49px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #111827;
  font-size: 1rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.bundle-input-shell > input::placeholder {
  color: #9ca3af;
}

.bundle-input-shell > input:focus {
  border-color: var(--bundle-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.bundle-privacy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin: 9px 0 10px;
  color: #4b5563;
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.45;
}

.bundle-privacy-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--bundle-blue);
}

.bundle-privacy-check a {
  color: var(--bundle-blue);
}

.bundle-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 8px;
  background: var(--bundle-blue);
  color: #f5f5f5;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(37, 99, 235, .22);
}

.bundle-cta:hover,
.bundle-cta:focus-visible {
  background: #1d4ed8;
  color: #fff;
}

.bundle-signup-card .bundle-cta {
  width: 100%;
}

.bundle-signup-card small {
  display: block;
  margin-top: 13px;
  color: #6b7280;
}

.bundle-trust {
  padding-top: 18px;
  text-align: center;
}

.bundle-trust h2,
.bundle-trust p {
  color: #000;
}

.bundle-trust h2 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.bundle-avatar-row {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.bundle-avatar-row img {
  width: 50px;
  height: 50px;
  margin-left: -10px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.bundle-avatar-row img:first-child {
  margin-left: 0;
}

.bundle-trust p {
  margin-bottom: 0;
  font-size: .9rem;
}

.bundle-results {
  min-height: 430px;
  display: grid;
  align-items: center;
  background: linear-gradient(rgba(5, 15, 40, .72), rgba(5, 15, 40, .72)), url("https://perspective.imgix.net/67909d273131c3003b6318e9.png?auto=format,compress&dpr=2&q=80&w=1600") center/cover no-repeat;
}

.bundle-results h2,
.bundle-results p {
  color: #fff;
}

.bundle-results p {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.bundle-guarantee {
  padding-top: 70px;
  padding-bottom: 70px;
}

.bundle-guarantee h2 {
  color: var(--bundle-ink);
}

.bundle-faq {
  background: #f7f9fd;
}

.bundle-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  text-align: left;
}

.bundle-faq details {
  padding: 19px 22px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.bundle-faq summary {
  cursor: pointer;
  color: var(--bundle-ink);
  font-weight: 700;
  list-style-position: inside;
}

.bundle-faq details p {
  margin: 14px 0 0;
  color: var(--bundle-muted);
  line-height: 1.6;
}

.bundle-final-cta {
  text-align: center;
}

.bundle-final-cta h2 {
  margin: 20px 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.bundle-signup-card-final {
  width: min(100%, 480px);
  margin: 22px auto 0;
}

.bundle-funnel-footer {
  padding: 28px 16px;
  background: #f7f7f8;
  color: #6b7280;
  text-align: center;
}

.bundle-funnel-footer nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}

.bundle-funnel-footer a {
  color: #4b5563;
}

.bundle-funnel-footer p {
  margin-bottom: 0;
  font-size: .85rem;
}

@media (max-width: 780px) {
  .bundle-funnel-section {
    padding: 34px 16px;
  }

  .bundle-trust {
    padding-top: 16px;
  }

  .bundle-funnel-hero h1,
  .bundle-results h2,
  .bundle-guarantee h2,
  .bundle-faq > div > h2 {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .bundle-offer-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 22px;
  }

  .bundle-signup-card {
    padding: 24px 18px;
  }

  .bundle-benefits p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .bundle-results {
    min-height: 390px;
  }
}

@media (max-width: 420px) {
  .bundle-funnel-hero h1,
  .bundle-results h2,
  .bundle-guarantee h2,
  .bundle-faq > div > h2 {
    font-size: 2.5rem;
  }

  .bundle-offer-card {
    padding: 18px;
  }

  .bundle-benefits article {
    grid-template-columns: 38px 1fr;
    gap: 11px;
  }

  .bundle-benefits article > span {
    width: 36px;
    height: 36px;
  }
}
