/* Shared public-site visual language, aligned with the November homepage.
   Loaded only by the redesigned public pages; portal/app styles stay isolated. */
:root {
  --bg: #080f18;
  --bg-soft: #0c1622;
  --surface: #0c1622;
  --surface-2: #111f2e;
  --surface2: #111f2e;
  --surface-glass: #0c1622f5;
  --text: #f3f7fd;
  --muted: #acbdd2;
  --faint: #93a8c1;
  --line: #8bb0de29;
  --line-strong: #8bb0de4d;
  --accent: #78adff;
  --accent-text: #78adff;
  --accent-ink: #080f18;
  --blue: #9ac8ff;
  --mint: #9ac8ff;
  --good: #7de5b1;
  --warn: #ffd166;
  --bad: #ff9f99;
  --shadow: 0 18px 56px #0000001a;
  --radius: 18px;
  --radius-sm: 12px;
  --page: min(1360px, calc(100% - 80px));
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--sans);
  --ink-950: var(--bg);
  --ink-900: var(--surface);
  --ink-850: var(--surface-2);
  --ink-800: #152436;
  --ink-700: #20334b;
  --paper: var(--text);
  --paper-soft: var(--muted);
  --signal: var(--accent);
  --signal-2: var(--blue);
  --glass: var(--surface-glass);
  --glass-strong: var(--surface-2);
  --icon-accent: var(--accent);
  --icon-muted: var(--faint);
}
:root[data-theme="light"] {
  --bg: #f3f7fc; --bg-soft: #eaf1fa; --surface: #ffffff;
  --surface-2: #e9f0f9; --surface2: #e9f0f9; --surface-glass: #fffffff5;
  --text: #102039; --muted: #445a75; --faint: #526985;
  --line: #1b4c8524; --line-strong: #1b4c8544;
  --accent: #245bb1; --accent-text: #245bb1; --accent-ink: #ffffff;
  --blue: #305f9f; --mint: #305f9f;
  --good: #218654; --warn: #805800; --bad: #9f3029;
  --shadow: 0 18px 50px #183d6b0a;
  --ink-800: #e4edf8; --ink-700: #d5e2f2;
}
body.site-blue-page { min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--sans); }
body.site-blue-page::before { display: none; }
.site-blue-page :is(h1, h2, h3, h4) { font-family: var(--sans); font-style: normal; font-weight: 650; letter-spacing: -.035em; }
.site-blue-page :is(h1, h2, h3) em { font-style: normal; }
.site-blue-page :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-blue-page ::selection { color: var(--bg); background: var(--accent); }
.site-blue-page .kicker { font-family: var(--sans); font-size: 11px; font-weight: 650; letter-spacing: .16em; color: var(--accent); }
.site-blue-page .public-page-progress { display: none; }

/* Same restrained header, logo proportions and controls as the homepage. */
.site-blue-page .site-top { background: var(--bg); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.site-blue-page .top-inner { min-height: 92px; grid-template-columns: 188px minmax(0, 1fr) auto; gap: 18px; }
.site-blue-page .brand, .site-blue-page .brand img { width: 188px; height: auto; }
.site-blue-page .primary-nav { gap: 2px; }
.site-blue-page .primary-nav a { padding: 10px 8px; font-size: 13px; white-space: nowrap; border-radius: 8px; }
.site-blue-page .primary-nav a[aria-current="page"] { background: #78adff12; color: var(--accent); }
.site-blue-page .top-actions { gap: 7px; }
.site-blue-page :is(.icon-action, .theme-button, .menu-button) { width: 36px; height: 38px; flex-basis: 36px; border-radius: 10px; background: var(--surface); }
.site-blue-page .header-cta { min-height: 40px; padding: 10px 14px; font-size: 12px; }
.site-blue-page .header-status { min-height: 34px; padding: 8px 11px; gap: 8px; font-size: 11px; line-height: 1.25; color: var(--muted); background: #78adff0b; border: 1px solid #78adff30; }
.site-blue-page .header-status::before { width: 6px; height: 6px; flex: 0 0 6px; background: var(--faint); box-shadow: none; }
.site-blue-page .header-status[data-status="operational"] { color: var(--accent); }
.site-blue-page .header-status[data-status="operational"]::before { background: var(--good); box-shadow: 0 0 0 3px #7de5b112; }
.site-blue-page .header-status[data-status="partial"] { color: var(--warn); border-color: #ffd16633; }
.site-blue-page .header-status[data-status="partial"]::before { background: var(--warn); }
.site-blue-page .header-status[data-status="degraded"] { color: var(--bad); border-color: #ff7f7538; }
.site-blue-page .header-status[data-status="degraded"]::before { background: var(--bad); }
.site-blue-page .header-status:hover { border-color: currentColor; }
.site-blue-page .signal[data-status]::before { background: var(--faint); box-shadow: none; }
.site-blue-page .signal[data-status="operational"]::before { background: var(--good); }
.site-blue-page .signal[data-status="partial"]::before { background: var(--warn); }
.site-blue-page .signal[data-status="degraded"]::before { background: var(--bad); }
.site-blue-page :is(.button, .btn) { border-radius: 10px; font-weight: 600; box-shadow: none; transition: background-color .18s, border-color .18s, color .18s; }
.site-blue-page :is(.button, .btn):hover { transform: none; }
.site-blue-page :is(.button.accent, .button.primary, .btn-primary) { background: #2068de; border-color: #2068de; color: #fff; }
.site-blue-page :is(.button.accent, .button.primary, .btn-primary):hover { background: #175bc8; border-color: #175bc8; color: #fff; }
.site-blue-page :is(.button.ghost, .btn-secondary) { color: var(--text); border-color: var(--line-strong); background: transparent; }
.site-blue-page :is(.button.ghost, .btn-secondary):hover { border-color: var(--accent); background: #78adff08; }

/* An editorial hierarchy without oversized serif headings or visual noise. */
.site-blue-page .page-hero { padding: 76px 0 64px; border-bottom: 1px solid var(--line); }
.site-blue-page .page-hero::before { background: radial-gradient(ellipse at 80% 30%, #19416c26, transparent 55%); mask-image: none; }
body.site-blue-page .hero-title { font-size: clamp(36px, 4.35vw, 66px); font-weight: 650; line-height: 1.08; letter-spacing: -.045em; hyphens: none; }
.site-blue-page .hero-lead { max-width: 640px; margin-top: 24px; font-size: 17px; line-height: 1.65; }
.site-blue-page .hero-actions { margin-top: 30px; gap: 14px; }
.site-blue-page .hero-actions .button { min-height: 50px; padding-inline: 24px; font-size: 14px; }
.site-blue-page .hero-aside { border-radius: 18px; box-shadow: none; }
.site-blue-page .hero-aside::after { display: none; }
.site-blue-page .engine-result { color: var(--accent); }
.site-blue-page .engine-result::before { background: var(--accent); box-shadow: none; }
.site-blue-page .hero-aside strong { font-family: var(--sans); font-size: 30px; font-weight: 650; line-height: 1.2; }
.site-blue-page .section { padding-block: 74px; }
.site-blue-page .section.compact { padding-block: 58px; }
.site-blue-page .section-head { gap: 48px; margin-bottom: 36px; }
.site-blue-page .section-head h2 { font-size: clamp(27px, 3vw, 42px); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
.site-blue-page .section-head > p { font-size: 15px; line-height: 1.65; }
.site-blue-page :is(.feature, .journey-card, .price-card, .contact-card, .lead-copy, .lead-form, .cta, .refund-card, .editorial-card) { border-radius: 18px; box-shadow: none; }
.site-blue-page :is(.feature h3, .journey-card h3, .price-card h3, .contact-card h2, .editorial-card h3) { font-family: var(--sans); font-weight: 650; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.site-blue-page :is(.feature, .journey-card, .price-card, .contact-card):hover { transform: none; }
.site-blue-page .price strong { font-family: var(--sans); font-weight: 650; }
.site-blue-page :is(input, textarea, select) { accent-color: #2068de; }
.site-blue-page :is(.field input, .field textarea, .field select) { border-radius: 10px; background: var(--bg); }
.site-blue-page .lead-copy h2 { font-size: clamp(27px, 3vw, 42px); line-height: 1.15; font-weight: 650; }
.site-blue-page .site-footer { padding: 64px 0 26px; background: var(--surface); }
.site-blue-page .footer-grid { gap: 44px; }
.site-blue-page .footer-brand p { font-size: 14px; line-height: 1.65; }
.site-blue-page .footer-col h2 { font-size: 11px; font-weight: 650; letter-spacing: .1em; }
.site-blue-page .footer-bottom { margin-top: 44px; line-height: 1.7; }

/* Status, billing information and legal documents. No operational content changes. */
.site-blue-page .status-board { border-radius: 18px; }
.site-blue-page .status-summary { padding: 30px 32px; background: linear-gradient(125deg, #2c82fa0c, transparent); }
.site-blue-page .status-summary h2 { font-size: 30px; font-weight: 650; }
.site-blue-page .status-row { padding: 21px 32px; }
.site-blue-page .status-value { flex-shrink: 0; }
.site-blue-page .payment-method { min-height: 240px; border-radius: 18px; }
.site-blue-page .payment-method h3 { margin-top: 40px; font-size: clamp(27px, 3vw, 38px); font-weight: 650; line-height: 1.15; }
.site-blue-page .legal-doc { max-width: 980px; padding: 12px 40px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.site-blue-page .legal-doc section { padding-block: 30px; }
.site-blue-page .legal-doc section:last-child { border-bottom: 0; }
.site-blue-page .legal-doc h2 { font-size: 24px; font-weight: 650; line-height: 1.3; }
.site-blue-page .legal-doc :is(p, li) { line-height: 1.8; overflow-wrap: anywhere; }
.site-blue-page .legal-doc a { color: var(--accent); text-underline-offset: 4px; }
.site-blue-page .access-top .top-inner { grid-template-columns: 188px 1fr; }
.site-blue-page .access-main { padding-block: 76px; }
.site-blue-page .access-intro h1 { font-size: clamp(36px, 4.35vw, 64px); font-weight: 650; line-height: 1.1; }
.site-blue-page .access-intro h1 em { font-weight: 650; }
.site-blue-page .access-intro > p:not(.kicker) { font-size: 17px; }
.site-blue-page .access-window { border-radius: 18px; box-shadow: var(--shadow); background: var(--surface); backdrop-filter: none; }
.site-blue-page .access-route i::after { animation: none; opacity: .8; }
.site-blue-page .access-form .field :is(input, textarea) { border-radius: 10px; }
.site-blue-page .error-page { width: min(800px, calc(100% - 48px)); margin: auto; padding: 90px 0; align-content: center; }
.site-blue-page .error-page h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; }
.site-blue-page .error-page .error-logo { width: 210px; margin-bottom: 40px; }
.site-blue-page .error-page > p:not(.eyebrow) { color: var(--muted); max-width: 640px; font-size: 17px; line-height: 1.7; }

/* Public file viewer/login shells share the brand; auth/download contracts stay intact. */
.site-blue-page.files-blue-page .topbar { background: var(--surface); border-color: var(--line); }
.site-blue-page.files-blue-page :is(.sidebar, .preview-panel, .file-card, .share-dialog) { background: var(--surface); border-color: var(--line); }
.site-blue-page.files-blue-page :is(.details h1, .files-login h1, .share-dialog h2) { font-family: var(--sans); font-weight: 650; letter-spacing: -.035em; }
.site-blue-page.files-blue-page .files-login { max-width: 560px; padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.site-blue-page.files-blue-page .files-login h1 { font-size: 36px; }
.site-blue-page.files-blue-page .details h1 { font-size: clamp(27px, 3vw, 42px); }
.site-blue-page.files-blue-page .file-art { background: radial-gradient(ellipse at 50% 30%, #2c82fa1c, transparent 70%), var(--bg); }
.site-blue-page.files-blue-page .archive { background: linear-gradient(140deg, #27486d, #14273d); border-color: #78adff50; }
.site-blue-page.files-blue-page .sidebar .nav-item { background: #78adff12; color: var(--accent); }
.site-blue-page.files-blue-page .nav-item span { background: #78adff20; }
.site-blue-page.files-blue-page .icon-button[aria-pressed="true"],
.site-blue-page.files-blue-page .filters button[aria-pressed="true"] { background: #78adff18; border-color: var(--accent); color: var(--accent); }
.site-blue-page.files-blue-page .file-card:hover { border-color: var(--accent); }
.site-blue-page.files-blue-page .disc { background: conic-gradient(from 45deg, #6385ae, #c4ddfa, #5984b9, #afc9e6, #4d6c96, #9ebfeb, #6385ae); border-color: #91b8e955; }
.site-blue-page.files-blue-page .disc-hole { background: var(--bg); border-color: #91b8e9; }
.site-blue-page.files-blue-page .archive-zip { background: repeating-linear-gradient(180deg, #254769 0 8px, #91b8e9 8px 16px); border-color: #254769; }
.site-blue-page.files-blue-page .archive-zip::after { background: #91b8e9; border-color: #254769; }
.site-blue-page.files-blue-page .archive-label { color: #9ac8ff; }
.site-blue-page.files-blue-page .toast { color: #fff; background: #2068de; border-color: #78adff70; }
.site-blue-page.files-blue-page .button.primary { color: #fff; }
.site-blue-page.files-blue-page .details :is(.file-description, .download-note) { font-size: 14px; line-height: 1.75; }

@media (min-width: 1121px) and (max-width: 1360px) {
  .site-blue-page .top-inner { grid-template-columns: 156px minmax(0, 1fr) auto; gap: 12px; }
  .site-blue-page .brand, .site-blue-page .brand img { width: 156px; }
  .site-blue-page .primary-nav a { font-size: 12px; padding-inline: 6px; }
  .site-blue-page .top-actions { gap: 5px; }
  .site-blue-page .header-status { font-size: 10px; }
  .site-blue-page .social-action { display: none; }
}
@media (max-width: 1120px) {
  :root { --page: calc(100% - 48px); }
  .site-blue-page .top-inner { min-height: 80px; grid-template-columns: 188px 1fr; }
  .site-blue-page .top-actions { justify-self: end; }
  .site-blue-page .primary-nav { top: 79px; left: 24px; right: 24px; background: var(--surface); }
  .site-blue-page .primary-nav a { padding: 13px 14px; }
}
@media (max-width: 820px) {
  .site-blue-page .page-hero { padding-block: 54px; }
  body.site-blue-page .hero-title { font-size: clamp(34px, 6.6vw, 52px); }
  .site-blue-page .section { padding-block: 56px; }
  .site-blue-page .section.compact { padding-block: 44px; }
  .site-blue-page .section-head { gap: 20px; }
  .site-blue-page .hero-lead { font-size: 16px; }
  .site-blue-page .footer-grid { gap: 32px; }
  .site-blue-page .access-main { padding-block: 48px; }
  .site-blue-page .legal-doc { padding-inline: 28px; }
}
@media (max-width: 560px) {
  :root { --page: calc(100% - 36px); }
  .site-blue-page .top-inner { min-height: 72px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .site-blue-page .brand, .site-blue-page .brand img { width: 154px; }
  .site-blue-page .primary-nav { top: 71px; left: 18px; right: 18px; }
  body.site-blue-page .hero-title { font-size: clamp(34px, 8.5vw, 44px); }
  .site-blue-page .hero-actions .button { min-height: 48px; }
  .site-blue-page .section-head h2 { font-size: 28px; }
  .site-blue-page .status-summary, .site-blue-page .status-row { padding: 24px; }
  .site-blue-page .status-summary h2 { font-size: 26px; }
  .site-blue-page .legal-doc { padding: 6px 20px 20px; }
  .site-blue-page .legal-doc h2 { font-size: 22px; }
  .site-blue-page .site-footer { padding-top: 48px; }
  .site-blue-page .access-top .top-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-blue-page.files-blue-page .files-login { width: calc(100% - 36px); margin: 26px auto; padding: 24px; }
  .site-blue-page.files-blue-page .files-login h1 { font-size: 30px; }
  .site-blue-page.files-blue-page .topbar .brand img { width: 122px; }
}
