/* Shared VSEEE visual system. Page-specific layouts remain in their own stylesheets. */
:root {
  --vseee-bg: #07101f;
  --vseee-surface: #0d1930;
  --vseee-surface-strong: #111f3a;
  --vseee-line: #2d4265;
  --vseee-text: #f5f7ff;
  --vseee-muted: #b9c5d8;
  --vseee-cyan: #58dce9;
  --vseee-blue: #607cff;
  --vseee-violet: #9270ff;
  --vseee-amber: #ffc873;
  --vseee-font: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, sans-serif;
  --vseee-shell-max: 1180px;
}

html { color-scheme: dark; }
body,
button,
input,
select,
textarea { font-family: var(--vseee-font); }

:focus-visible { outline: 3px solid var(--vseee-cyan); outline-offset: 3px; }

.site-header,
.plans-header,
.privacy-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(7, 16, 31, .94);
  backdrop-filter: blur(15px);
}

.site-nav,
.plans-nav,
.privacy-nav,
.account-header {
  width: min(var(--vseee-shell-max), calc(100% - 40px));
  min-height: 78px;
  margin-inline: auto;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }

.brand-logo,
.plans-nav img,
.privacy-nav img,
.account-header img { width: 174px; height: auto; }

.nav-plans,
.nav-login,
.plans-nav > a:not(:first-child),
.privacy-nav nav a,
.account-nav a,
.back-link {
  font-family: var(--vseee-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.site-header .nav-plans,
.account-header .nav-plans {
  min-height: 44px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #415678;
  border-radius: 12px;
  padding: 9px 16px;
  color: #dce5f5;
  text-decoration: none;
}

.site-header .nav-login,
.account-header .nav-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 9px 17px;
  background: linear-gradient(135deg, var(--vseee-blue), var(--vseee-violet));
  color: #fff;
  text-decoration: none;
}

.site-header .nav-plans:hover,
.account-header .nav-plans:hover { border-color: #7188ff; background: #101e36; }
.site-header .nav-login:hover,
.account-header .nav-login:hover { filter: brightness(1.08); }
.header-actions { display:flex; align-items:center; gap:12px; margin-left:auto; }

.eyebrow,
.section-label,
.context-label,
.plan-name,
.brief-label,
.status-label { font-size: max(12px, 0.75rem); }

.compact-site-footer {
  border-top: 1px solid var(--vseee-line);
  padding: 26px 0;
  background: rgba(5, 13, 26, .72);
}

.compact-site-footer .shell-footer-inner {
  width: min(var(--vseee-shell-max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.compact-site-footer img { display: block; width: 160px; height: auto; }
.compact-site-footer nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; }
.compact-site-footer a { color: #dce3f1; font-size: 13px; font-weight: 650; text-decoration: none; }
.compact-site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.shell-footer-nav { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px 16px; }
.shell-footer-nav a { display:inline-flex; min-height:36px; align-items:center; padding:6px 2px; color:#dce3f1; font-size:13px; font-weight:650; text-decoration:none; }
.shell-footer-nav a:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; }

.privacy-choice-link { white-space: nowrap; }

@media (max-width: 560px) {
  .site-nav,
  .plans-nav,
  .privacy-nav,
  .account-header { width: calc(100% - 28px); min-height: 65px; }

  .brand-logo,
  .plans-nav img,
  .privacy-nav img,
  .account-header img { width: 112px; }

  .site-header .nav-plans,
  .site-header .nav-login,
  .account-header .nav-plans,
  .account-header .nav-login { min-height: 42px; padding: 8px 10px; font-size: 10px; letter-spacing: .045em; }

  .site-nav { gap: 9px; }

  .compact-site-footer .shell-footer-inner { width: calc(100% - 28px); align-items: flex-start; flex-direction: column; }
  .compact-site-footer nav { justify-content: flex-start; }

  .clinical-notice,
  .footer-bottom,
  .footer-actions,
  .footer-page-links,
  .privacy-footer,
  .privacy-footer nav {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .clinical-notice { width: 100%; overflow-wrap: anywhere; }
  .footer-page-links,
  .privacy-footer nav { flex-wrap: wrap; }
  .privacy-choice-link { white-space: normal; }
}
