/* Supplied WPS navigation/footer adapted for the standalone landing page.
   All shell styling is scoped; no platform stylesheet depends on this file. */

.wps-site-shell {
  font-family: museo_sans, Tahoma, system-ui, sans-serif;
  line-height: 1.5;
  --shell-bg: #f7fafd;
  --shell-footer-bg: #edf2f8;
  --shell-ink: #16213a;
  --shell-muted: #5a6b85;
  --shell-border: #e0e9f4;
  --shell-hover: #eaf3fb;
  --shell-accent: #023689;
}
.wps-site-shell[data-theme="dark"] {
  --shell-bg: #07061a;
  --shell-footer-bg: #040312;
  --shell-ink: #fff;
  --shell-muted: rgba(255,255,255,.55);
  --shell-border: rgba(255,255,255,.1);
  --shell-hover: rgba(255,255,255,.05);
  --shell-accent: #7fd3f2;
}
.wps-site-header { position: fixed; top: 0; left: 0; right: 0; padding: 16px 24px; z-index: 6; pointer-events: none; transition: padding .2s ease; }
.wps-site-header.is-stuck { padding: 0; }
.wps-site-footer { container: wps-footer / inline-size; }

@scope (.wps-site-shell) {
  a, button, summary { -webkit-tap-highlight-color: transparent; }
  a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid #009dd9;
    outline-offset: 4px;
    border-radius: 6px;
  }
  .nav {
    position: relative;
    height: 64px;
    background: var(--shell-bg);
    border-bottom: 1px solid var(--shell-border);
    transition: box-shadow .2s ease;
  }
  .nav::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: var(--brand-gradient);
  }
  .nav.is-stuck { box-shadow: 0 4px 18px rgba(14,49,120,.07); }
  .nav__pill { display: flex; align-items: center; height: 100%; width: 100%; }
  .nav__brand {
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
    flex-shrink: 0;
    padding: 0 32px;
    border-right: 1px solid var(--shell-border);
  }
  .brand { display: inline-flex; align-items: center; flex-shrink: 0; }
  .brand img { display: block; height: 34px; width: auto; }
  .brand .logo-on-dark { display: none; }
  :scope[data-theme="dark"] .brand .logo-on-light { display: none; }
  :scope[data-theme="dark"] .brand .logo-on-dark { display: block; }
  .nav__links {
    display: flex;
    flex: 1;
    align-items: center;
    gap: clamp(10px, 1vw, 22px);
    padding: 0 40px;
    min-width: 0;
    color: var(--shell-muted);
    font-size: clamp(12px, .72vw, 14px);
    font-weight: 400;
  }
  .nav__links > a, .nvi > summary { padding: 8px 0; white-space: nowrap; }
  .nav__links > a:hover, .nvi > summary:hover, .nvi[open] > summary { color: var(--shell-accent); }
  .nvi { position: relative; }
  .nvi > summary { display: flex; align-items: center; gap: 5px; list-style: none; cursor: pointer; }
  .nvi > summary::-webkit-details-marker { display: none; }
  .nvi__car { color: #8a9ab0; font-size: 12px; transition: transform .2s ease; }
  .nvi[open] .nvi__car { transform: rotate(180deg); }
  .nvi__dd {
    position: absolute;
    top: calc(100% + 8px);
    left: -16px;
    min-width: 210px;
    padding: 7px;
    border: 1px solid var(--shell-border);
    border-radius: 12px;
    background: var(--shell-bg);
    box-shadow: 0 16px 40px rgba(14,49,120,.13);
  }
  .nvi:not([open]) .nvi__dd { display: none; }
  .nvi:last-child .nvi__dd { left: auto; right: 0; }
  .nvi__dd a { display: block; padding: 9px 11px; border-radius: 7px; color: var(--shell-muted); font-size: 13px; white-space: nowrap; }
  .nvi__dd a:hover { background: var(--shell-hover); color: var(--shell-accent); }
  .nav__end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; margin-right: 28px; }
  .theme-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 34px;
    min-width: 34px;
    border: 1px solid var(--shell-border);
    border-radius: 9px;
    background: var(--shell-bg);
    color: var(--shell-muted);
  }
  .theme-toggle { cursor: pointer; padding: 0; }
  .theme-toggle:hover { background: var(--shell-hover); color: var(--shell-accent); }
  .theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .theme-toggle__sun { display: none; }
  :scope[data-theme="dark"] .theme-toggle__sun { display: block; }
  :scope[data-theme="dark"] .theme-toggle__moon { display: none; }
  .burger {
    display: none;
    align-items: center;
    gap: 12px;
    height: 36px;
    margin-right: 24px;
    padding: 0 12px;
    border: 1px solid var(--shell-border);
    border-radius: 9px;
    color: var(--shell-ink);
    background: var(--shell-bg);
    cursor: pointer;
  }
  .burger:hover { background: var(--shell-hover); }
  .burger__label { font-size: 12px; font-weight: 400; white-space: nowrap; }
  .burger__icon { display: flex; flex-direction: column; gap: 4px; width: 15px; }
  .burger__icon > span { display: block; width: 15px; height: 1.5px; border-radius: 2px; background: currentColor; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    padding: 24px;
    overflow-y: auto;
    border: 0;
    background: var(--shell-bg);
    color: var(--shell-ink);
  }
  .mobile-menu::backdrop { background: rgba(4,3,18,.6); }
  .wps-mobile-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--shell-border); }
  .wps-close-menu { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--shell-border); border-radius: 9px; font-size: 26px; }
  .mobile-menu nav > a, .mm-sub > summary { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--shell-border); font-size: 16px; font-weight: 400; }
  .mm-sub > summary { list-style: none; cursor: pointer; }
  .mm-sub > summary::-webkit-details-marker { display: none; }
  .mm-sub > summary::after { content: '+'; color: var(--shell-muted); }
  .mm-sub[open] > summary::after { content: '−'; }
  .mm-sub__list { padding: 8px 0 8px 14px; border-bottom: 1px solid var(--shell-border); }
  .mm-sub__list a { display: block; padding: 9px 0; color: var(--shell-muted); font-size: 14px; }
  .mobile-menu__utility { margin-top: 28px; color: var(--shell-accent); font-size: 14px; font-weight: 700; }

  .foot { padding: 32px 40px 20px; border-top: 1px solid var(--shell-border); background: var(--shell-footer-bg); color: var(--shell-muted); }
  .foot__grid { display: grid; grid-template-columns: 1.15fr .8fr .85fr 1.35fr auto; gap: 24px; padding-bottom: 26px; }
  .foot__grid > * { min-width: 0; }
  .foot__logo { display: inline-flex; }
  .foot__logo img { display: block; height: 30px; width: auto; max-width: 100%; }
  .foot__lock--dark { display: none !important; }
  :scope[data-theme="dark"] .foot__lock--light { display: none; }
  :scope[data-theme="dark"] .foot__lock--dark { display: block !important; }
  .foot__platform-label { margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: var(--shell-muted); }
  .foot h4 { margin: 0 0 14px; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--shell-ink); }
  .foot ul { display: flex; flex-direction: column; gap: 7px; list-style: none; font-size: 13px; line-height: 1.6; }
  .foot a { transition: color .15s ease, background .15s ease; }
  .foot a:hover { color: var(--shell-accent); }
  .foot a[href^="mailto:"] { overflow-wrap: anywhere; }
  .foot__grid > div:nth-child(4) li > span { display: block; margin-bottom: 1px; font-size: 11px; color: var(--shell-muted); }
  .foot__grid > div:nth-child(4) li + li { margin-top: 5px; }
  .social { display: flex; gap: 7px; margin-top: 15px; }
  .social a, .foot__podcast-links a { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--shell-border); border-radius: 8px; color: var(--shell-muted); }
  .social svg { width: 13px; height: 13px; fill: currentColor; }
  .foot .social a:hover, .foot .foot__podcast-links a:hover { background: var(--shell-hover); color: var(--shell-accent); }
  .foot__podcast { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
  .foot__podcast-label { font-size: 9px; font-weight: 400; }
  .foot__podcast-links { display: flex; gap: 6px; }
  .foot__podcast-links a { width: 25px; height: 25px; border-radius: 7px; }
  .foot__podcast-links svg { width: 12px; height: 12px; fill: currentColor; }
  .foot__org-logo { display: block; height: 46px; width: auto; }
  .foot__org-logo--dark { display: none; }
  :scope[data-theme="dark"] .foot__org-logo--light { display: none; }
  :scope[data-theme="dark"] .foot__org-logo--dark { display: block; }
  .foot__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 17px; border-top: 1px solid var(--shell-border); font-size: 11px; color: var(--shell-muted); }
  .foot__legal { display: flex; flex-wrap: wrap; gap: 16px; }
  .wps-skip-link { position: fixed; left: 24px; top: -100px; padding: 12px 20px; border: 2px solid #009dd9; border-radius: 8px; background: var(--shell-bg); color: var(--shell-accent); z-index: 120; }
  .wps-skip-link:focus { top: 8px; }

  @media (max-width: 1500px) {
    .nav__links { display: none; }
    .nav__end { margin-right: 12px; }
    .burger { display: inline-flex; }
  }
  @media (max-width: 1279px) {
    .nav__brand { width: auto; border-right: 0; padding: 0 24px; }
  }
  @media (max-width: 560px) {
    .nav__brand { padding: 0 18px; }
    .brand img { height: 28px; }
    .nav__end { gap: 0; margin-right: 8px; }
    .burger__label { display: none; }
    .burger { padding: 0 9px; margin-right: 18px; }
    .mobile-menu { padding: 20px; }
  }
  @media (max-width: 360px) {
    .nav__brand { padding: 0 16px; }
    .brand img { height: 25px; }
    .burger { margin-right: 16px; }
  }
  @container wps-footer (max-width: 1100px) {
    .foot__grid { grid-template-columns: 1.15fr .8fr 1fr; gap: 24px; }
    .foot__grid > div:nth-child(4) { grid-column: 1 / 3; }
  }
  @container wps-footer (max-width: 650px) {
    .foot { padding: 26px 24px 20px; }
    .foot__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .foot__grid > div:first-child { grid-column: 1 / -1; }
    .foot__grid > div:nth-child(4) { grid-column: 1; }
    .foot__podcast { margin-top: 0; }
    .foot__grid > div:first-child { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
    .social, .foot__platform-label { margin-top: 0; }
    .foot__bar { font-size: 11px; gap: 14px; }
  }
  @container wps-footer (max-width: 380px) {
    .foot__grid > div:nth-child(4) { grid-column: 1 / -1; }
  }
}

@scope (.wps-site-shell) {
  .nav { pointer-events: auto; background: transparent; border: 0; }
  .nav::before { display: none; }
  .nav__pill { max-width: 1400px; margin: 0 auto; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(7,6,26,.4); backdrop-filter: blur(18px); box-shadow: 0 10px 35px rgba(0,0,0,.12); }
  .nav.is-stuck { box-shadow: none; }
  .nav.is-stuck .nav__pill { max-width: 100%; border-radius: 0; border-color: #d7e2f0; background: rgba(255,255,255,.9); box-shadow: 0 5px 20px rgba(14,49,120,.08); }
  :scope[data-theme="dark"] .nav.is-stuck .nav__pill { background: rgba(7,6,26,.82); border-color: rgba(255,255,255,.14); }
  :scope[data-theme="dark"] .foot h4 { color: rgba(255,255,255,.85); }
  .nav__brand { padding: 0 24px; border-right: 1px solid rgba(255,255,255,.16); }
  .brand { width: auto; background: transparent; border-radius: 0; padding: 0; }
  .brand img { height: 30px; max-width: 190px; }
  .brand .logo-on-dark { display: block; }
  .brand .logo-on-light { display: none; }
  .nav.is-stuck .brand .logo-on-dark { display: none; }
  .nav.is-stuck .brand .logo-on-light { display: block; }
  :scope[data-theme="dark"] .nav.is-stuck .brand .logo-on-dark { display: block; }
  :scope[data-theme="dark"] .nav.is-stuck .brand .logo-on-light { display: none; }
  .nav__links { font-weight: 600; padding: 0 22px; gap: clamp(8px,.7vw,14px); color: rgba(255,255,255,.75); font-size: 12px; }
  .nav__links > a:hover, .nvi > summary:hover, .nvi[open] > summary { color: #5cead8; }
  .nav.is-stuck .nav__links { color: var(--shell-muted); }
  .nav.is-stuck .nav__links > a:hover, .nav.is-stuck .nvi > summary:hover, .nav.is-stuck .nvi[open] > summary { color: var(--shell-accent); }
  .nav__end { margin-right: 20px; }
  .theme-toggle, .burger { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
  .theme-toggle:hover, .burger:hover { background: rgba(255,255,255,.12); color: #fff; }
  .nav.is-stuck .theme-toggle, .nav.is-stuck .burger { border-color: var(--shell-border); color: var(--shell-muted); }
  .nav.is-stuck .theme-toggle:hover, .nav.is-stuck .burger:hover { background: var(--shell-hover); color: var(--shell-accent); }
  .burger { margin-right: 20px; }
  .mobile-menu { pointer-events: auto; box-shadow: none; border-radius: 0; }
  .mobile-menu .brand .logo-on-dark { display: none; }
  .mobile-menu .brand .logo-on-light { display: block; }
  :scope[data-theme="dark"] .mobile-menu .brand .logo-on-dark { display: block; }
  :scope[data-theme="dark"] .mobile-menu .brand .logo-on-light { display: none; }
  .mobile-menu__utility { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 12px; }
  .mobile-menu .mobile-menu__utility > a { border: 0; padding: 6px 0; font-size: 13px; }
  .foot { padding: 42px max(24px, calc((100% - 1240px) / 2)) 24px; }
  .foot__grid, .foot__bar { max-width: 1240px; margin-inline: auto; }
  .foot ul { margin: 0; padding: 0; }
  .foot__legal { align-items: center; }
  .foot__legal button { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
  .foot__legal button:hover { color: var(--shell-accent); }
  @media (max-width: 1500px) { .nav__end { margin-right: 10px; } }
  @media (max-width: 560px) {
    .nav__brand { padding: 0 16px; border: 0; }
    .brand img { height: 26px; }
    .nav__end { margin-right: 8px; }
    .burger { margin-right: 12px; }
  }
  @media (max-width: 360px) { .nav__brand { padding: 0 12px; } .brand img { height: 23px; } }
}
@media (max-width: 560px) { .wps-site-header { padding: 12px; } }
