/* Public identity: canonical brand, neutral navigation, project-owned identity. */
.site-shell .public-header {
  --header-height: 80px;
  height: 80px;
  min-height: 80px;
  background: rgba(4, 18, 30, .94);
  border-bottom: 1px solid #8abed21c;
  font-family: LandingInter, Inter, "Segoe UI", sans-serif;
}
.site-shell .public-header .header-inner {
  width: min(1320px, calc(100% - 64px));
  min-height: 80px;
  height: 80px;
  padding: 0;
  gap: 32px;
  flex-wrap: nowrap;
  position: relative;
}
.site-shell .public-header .brand { gap: 11px; flex: 0 0 auto; }
.site-shell .public-header .landing-brand-original { width: 32px; height: 32px; filter: none; }
.site-shell .public-header .brand-name { font-size: 18px; font-weight: 650; letter-spacing: -.035em; color: #eef6fa; }
.site-shell .public-header .nav {
  position: static; display: flex; flex: 1 1 auto; align-items: center;
  gap: 3px; margin: 0; padding: 0; min-width: 0;
  max-height: none; overflow: visible; clip-path: none;
  border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
.site-shell .public-header .nav-link {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 11px; border-radius: 6px; white-space: nowrap;
  color: #b1c5d2; font-size: 13px; font-weight: 500;
}
.site-shell .public-header .nav-link:hover,
.site-shell .public-header .nav-link[aria-current] { color: #edf8fc; background: #6baac50c; }
.site-shell .public-header .nav-link[aria-current]::after { height: 1px; background: #7bc8df; bottom: 4px; }
.site-shell .public-header .header-actions { display: flex; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.site-shell .public-header .header-actions .button { min-height: 44px; height: 44px; padding: 10px 17px; border-radius: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-shell .public-header .session-link { color: #d5e4ed; border-color: #365266; background: #0a1d2b; box-shadow: none; }
.site-shell .public-header .header-actions .session-link { display: inline-flex; }
.site-shell .public-header .landing-signup { color: #082332; background: #94d8ec; border: 1px solid #94d8ec; box-shadow: none; }
.site-shell .public-header :is(.nav-session-link,.nav-mobile-signup,.menu-toggle) { display: none; }
.site-shell .public-header .public-language-menu { margin-left: auto; font-size: 11px; letter-spacing: .04em; }
.site-shell .public-header .public-language-menu summary { min-height: 44px; min-width: 46px; padding: 0 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #9db3c3; }
.site-shell .public-header .public-language-menu summary:hover { color: #edf8fc; background: #6baac50c; }
.site-shell .public-header .public-language-menu > div { background: #0b1d2c; border-color: #314958; min-width: 164px; padding: 6px; }
.site-shell .public-header .public-language-menu a { font-size: 13px; letter-spacing: 0; }
.site-shell .public-header :is(a,button,summary):focus-visible { outline: 2px solid #96e5f7; outline-offset: 4px; }
.pe-ssr-header .pe-brand { display: inline-flex; align-items: center; gap: 10px; }
.pe-ssr-header .public-language-menu summary { background: transparent; border-color: transparent; }
.home-core-marker > .core-icon { flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--home-accent); }
.preview-core-heading > span > .core-icon { width: 28px; height: 28px; }
.preview-core-heading > span, #core .lp-core-mark, .lp-answer-mark { background: transparent; border: 0; box-shadow: none; }
.pd-breadcrumb { font-size: .78rem; letter-spacing: .015em; }
@media (max-width: 1190px) {
  .site-shell .public-header .header-inner { gap: 20px; }
  .site-shell .public-header .nav-link { padding-inline: 8px; font-size: 12px; }
  .site-shell .public-header .landing-signup { display: none; }
}
@media (max-width: 960px) {
  .site-shell .public-header { height: 72px; min-height: 72px; --header-height: 72px; }
  .site-shell .public-header .header-inner { width: calc(100% - 40px); min-height: 72px; height: 72px; gap: 12px; }
  .site-shell .public-header .nav {
    display: none; position: absolute; top: 100%; inset-inline: -20px;
    max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
    padding: 16px 20px 24px; border-block: 1px solid #2a4052;
    background: #071825; box-shadow: 0 20px 30px #0004;
  }
  .site-shell .public-header .nav.open { display: flex; align-items: stretch; flex-direction: column; gap: 4px; }
  .site-shell .public-header .nav-link { padding: 12px 10px; min-height: 46px; font-size: 15px; }
  .site-shell .public-header .nav-mobile-signup { display: flex; border-top: 1px solid #243d50; margin-top: 8px; padding-top: 16px; border-radius: 0; }
  .site-shell .public-header .header-actions .menu-toggle { display: inline-grid; place-content: center; width: 44px; min-width: 44px; height: 44px; padding: 0; background: transparent; border-color: #304858; box-shadow: none; }
  .site-shell .public-header .menu-toggle svg { width: 22px; height: 22px; min-width: 22px; }
  .site-shell .public-header .header-actions { gap: 8px; }
  .site-shell .public-header .header-actions .session-link { padding-inline: 12px; background: transparent; border-color: transparent; }
  .site-shell .public-header .public-language-menu { margin: 8px 0 0; align-self: flex-start; }
  .site-shell .public-header .public-language-menu summary { justify-content: flex-start; padding-inline: 10px; }
  .site-shell .public-header .public-language-menu > div { position: static; box-shadow: none; margin-top: 6px; }
}
@media (max-width: 600px) {
  .site-shell .public-header .header-inner { width: calc(100% - 32px); }
  .site-shell .public-header .nav { inset-inline: -16px; padding-inline: 16px; }
  .site-shell .public-header .brand { gap: 8px; }
  .site-shell .public-header .brand-name { font-size: 17px; }
  .site-shell .public-header .landing-brand-original { width: 28px; height: 28px; }
}
@media (max-width: 360px) {
  .site-shell .public-header .header-inner { gap: 6px; }
  .site-shell .public-header .header-actions { gap: 3px; }
  .site-shell .public-header .header-actions .session-link { padding-inline: 5px; font-size: 12px; }
  .site-shell .public-header .brand-name { font-size: 16px; }
}

/* Premium Trust controls: existing owners and dimensions; images remain untouched. */
.site-shell :is(.button.button-primary,.button.landing-primary,.header-actions .landing-signup),
.site-shell .td-trust-score a.ts-primary {
 background:var(--tdp-primary);color:var(--tdp-ink)!important;border-color:var(--tdp-control-line);
 border-radius:12px;box-shadow:var(--tdp-inner);
}
.site-shell :is(.button.button-secondary,.button.landing-secondary,.header-actions .session-link) {
 background:var(--tdp-control-surface);color:var(--tdp-ink);border-color:var(--tdp-control-line);
 border-radius:12px;box-shadow:var(--tdp-inner);
}
.site-shell :is(.button,.ts-primary) { transition:border-color var(--tdp-fast) var(--tdp-ease),box-shadow var(--tdp-fast) var(--tdp-ease); }
.site-shell :is(.button,.ts-primary):focus-visible { outline:3px solid var(--tdp-focus);outline-offset:3px; }
.site-shell :is(.button,.ts-primary):active:not(:disabled):not([aria-disabled=true]) { box-shadow:inset 0 2px 6px #0003; }
.site-shell :is(.pe-plan-grid>.pe-card,.landing-plan) { border-color:var(--tdp-line);box-shadow:var(--tdp-inner),var(--tdp-shadow); }
.site-shell .public-header .public-language-menu>div { background:#0b1e2ef0;border-color:var(--tdp-control-line);box-shadow:var(--tdp-inner),var(--tdp-shadow);border-radius:12px; }
@media(hover:hover) and (pointer:fine) {
 .site-shell :is(.button,.ts-primary):hover:not(:disabled):not([aria-disabled=true]) { border-color:var(--tdp-focus);box-shadow:var(--tdp-inner),0 0 0 1px #38d9f629; }
}
@media(prefers-reduced-motion:reduce) { .site-shell :is(.button,.ts-primary) { transition:none; } }
@media(prefers-reduced-transparency:reduce) { .site-shell .public-header .public-language-menu>div { background:#0b1e2e; } }
@media(forced-colors:active) {
 .site-shell :is(.button,.td-trust-score a.ts-primary,.ts-card,.landing-plan,.pe-plan-grid>.pe-card) { background:Canvas;color:CanvasText!important;border-color:CanvasText;box-shadow:none; }
 .site-shell :is(.button,.ts-primary):focus-visible { outline-color:Highlight; }
}
