.public-home {
  --home-ink: #17233c;
  --home-accent: #4338ca;
  --home-paper: #f8fafc;
  --home-muted: #4b5870;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  scroll-behavior: smooth;
}
.public-home *, .public-home *::before, .public-home *::after { box-sizing: border-box; }
.public-home ::selection { background: #c7d2fe; color: #17233c; }
.public-home a, .public-home button, .public-home summary { -webkit-tap-highlight-color: #c7d2fe; }
.public-home :focus-visible { outline: 3px solid #6366f1; outline-offset: 5px; }
.public-home a { text-underline-offset: .3em; }
.home-wrap { width: min(100% - 80px, 1320px); margin-inline: auto; }
.home-skip { position: absolute; top: -100px; left: 20px; padding: 14px; background: white; z-index: 10; }
.home-skip:focus { top: 12px; }
.home-header { display: flex; justify-content: space-between; align-items: center; min-height: 112px; gap: 24px; border-bottom: 1px solid #d9dfe9; }
.home-brand { display: inline-flex; align-items: center; gap: 13px; font-size: 15px; font-weight: 650; line-height: 1.2; text-decoration: none; letter-spacing: -.02em; }
.home-navigation { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.home-navigation a { display: inline-flex; align-items: center; min-height: 44px; gap: 18px; }
.home-nav-entry { text-decoration: none; border-bottom: 1px solid var(--home-ink); }
.home-nav-entry svg { width: 16px; height: 16px; }
.home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; background: var(--home-accent); color: white; min-height: 56px; padding: 14px 24px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.home-button:hover { background: #3730a3; }
.home-button svg { width: 23px; height: 23px; flex-shrink: 0; }
.public-home h2 { font-size: clamp(32px, 3.2vw, 46px); font-weight: 550; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; white-space: pre-line; }
.home-perspective { border-top: 1px solid #b8c1d3; }
.home-perspective:last-child { border-bottom: 1px solid #b8c1d3; }
.home-perspective summary { display: grid; grid-template-columns: 1fr 28px; cursor: pointer; padding: 21px 0; list-style: none; }
.home-perspective summary::-webkit-details-marker { display: none; }
.home-perspective summary strong { font-size: 22px; font-weight: 550; grid-column: 1; }
.home-perspective summary svg { width: 24px; height: 24px; grid-column: 2; grid-row: 1 / 3; align-self: center; }
.home-perspective[open] summary svg { transform: rotate(45deg); }
.home-perspective-content { padding-bottom: 25px; padding-right: 35px; }
.home-perspective-content h3 { font-size: 20px; font-weight: 550; margin: 0 0 12px; }
.home-perspective-content p { margin: 0 0 16px; color: var(--home-muted); }
.home-roles { background: #1e1b4b; color: #eef2ff; padding-block: 80px; scroll-margin-top: 0; }
.home-role-help { color: #c7d2fe; font-size: 13px; border-top: 1px solid #625f87; padding-top: 25px; }
@media (max-width: 1050px) {
  .home-wrap { width: calc(100% - 48px); }
}
@media (max-width: 760px) {
  .home-wrap { width: calc(100% - 40px); }
  .home-header { min-height: 90px; flex-wrap: wrap; padding-block: 18px; gap: 14px; }
  .home-brand { font-size: 12px; gap: 8px; }
  .home-navigation { gap: 10px; font-size: 12px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
  .home-roles { padding-block: 52px; }
  .home-perspective summary strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .public-home { scroll-behavior: auto; }
}
@media (max-width: 380px) {
  .home-header { flex-wrap: wrap; padding-block: 14px; }
  .home-navigation { flex: 1 1 100%; justify-content: space-between; }
}

/* Audience entry and focused marketing pages share the public visual language. */
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.home-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-accent); text-decoration: underline; font-weight: 600; }
.home-closing h2 { max-width: 780px; }
.home-closing .home-wrap > p { max-width: 700px; color: #c7d2fe; }
.home-closing .home-actions { margin-block: 28px; }
.home-closing .home-text-link { color: #eef2ff; }
.home-button-light { background: #eef2ff; color: #3730a3; }
.home-button-light:hover { background: #e0e7ff; }
@media (max-width: 760px) {
  .home-change-audience { order: 3; flex-basis: 100%; justify-content: flex-end; }
}
@media (max-width: 380px) {
  .home-actions { align-items: stretch; flex-direction: column; }
  .home-button { gap: 20px; }
}

/* Audience navigation remains a native disclosure with ordinary tabbed links. */
.sign-in-picker { position: relative; }
.sign-in-picker summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.sign-in-picker summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 3px 4px; }
.sign-in-picker summary::-webkit-details-marker { display: none; }
.sign-in-options { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: min(290px, calc(100vw - 32px)); padding: 8px; background: white; border: 1px solid #d9dfe9; border-radius: 12px; z-index: 20; }
.home-navigation .sign-in-options a { display: flex; min-height: 48px; padding: 10px 12px; text-decoration: none; border-radius: 6px; }
.sign-in-options a:hover, .sign-in-options a:focus-visible { background: #eaf1fc; color: #132e56; }
