/* solwise. public site in the product's blue and white (2026-10-18): the same tokens as app.css, a light blue hero with ink
   text and one blue call to action. Loaded last on public pages (_public_base.html) in place of the earlier warm theme. */

:root {
  --font: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --radius: 12px; --radius-sm: 8px;
  --blue: #2563EB; --blue-hover: #1D4ED8; --blue-soft: #EFF5FF;
  --brand-green: #2563EB;
  color-scheme: light;
  --bg: #F6F8FC; --surface: #FFFFFF; --surface-2: #F1F5F9; --surface-hover: #EEF2F7;
  --border: #E2E8F0; --border-soft: #EDF1F6; --border-strong: #CBD5E1;
  --text: #14243D; --text-strong: #14243D; --text-muted: #526078; --text-subtle: #5F6C82;
  --accent: #1D4ED8; --accent-strong: #1E40AF; --accent-soft: #EFF5FF; --accent-ink: #1E3A8A;
  --primary: #2563EB; --primary-hover: #1D4ED8; --primary-ink: #FFFFFF; --focus: #2563EB;
  --tier-calculated: #1D4ED8; --tier-calculated-soft: #EFF5FF;
  --hero-bg: #EFF5FF; --hero-text: #14243D; --hero-muted: #526078; --hero-accent: #1D4ED8; --hero-line: #BFD3FD;
  --hero-hover: rgba(37, 99, 235, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0B1220; --surface: #111A2B; --surface-2: #17223A; --surface-hover: #1C2945;
    --border: #24314A; --border-soft: #1C2840; --border-strong: #33425F;
    --text: #E6EDF8; --text-strong: #F5F8FD; --text-muted: #A3B1C7; --text-subtle: #93A1B8;
    --accent: #93B4FB; --accent-strong: #B5CCFD; --accent-soft: rgba(37, 99, 235, 0.18); --accent-ink: #BFD3FD;
    --primary: #2563EB; --primary-hover: #3B74F0; --primary-ink: #FFFFFF; --focus: #7AA2F7;
    --tier-calculated: #93B4FB; --tier-calculated-soft: rgba(37, 99, 235, 0.18);
    --hero-bg: #0E1A33; --hero-text: #F5F8FD; --hero-muted: #A3B1C7; --hero-accent: #93B4FB; --hero-line: #2A3B5E;
    --hero-hover: rgba(255, 255, 255, 0.07);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B1220; --surface: #111A2B; --surface-2: #17223A; --surface-hover: #1C2945;
  --border: #24314A; --border-soft: #1C2840; --border-strong: #33425F;
  --text: #E6EDF8; --text-strong: #F5F8FD; --text-muted: #A3B1C7; --text-subtle: #93A1B8;
  --accent: #93B4FB; --accent-strong: #B5CCFD; --accent-soft: rgba(37, 99, 235, 0.18); --accent-ink: #BFD3FD;
  --primary: #2563EB; --primary-hover: #3B74F0; --primary-ink: #FFFFFF; --focus: #7AA2F7;
  --tier-calculated: #93B4FB; --tier-calculated-soft: rgba(37, 99, 235, 0.18);
  --hero-bg: #0E1A33; --hero-text: #F5F8FD; --hero-muted: #A3B1C7; --hero-accent: #93B4FB; --hero-line: #2A3B5E;
  --hero-hover: rgba(255, 255, 255, 0.07);
}

body.pub { font-family: var(--font); }
.brand { font-family: var(--font); font-weight: 800; letter-spacing: -0.04em; color: var(--blue); }
.brand .dot, .hero h1 .dot, .cta-band .dot { color: var(--blue); }
.pub-nav .brand, .pub-footer .brand { color: var(--blue); }
:root[data-theme="dark"] .pub-nav .brand, :root[data-theme="dark"] .brand .dot { color: #93B4FB; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pub-nav .brand, :root:not([data-theme="light"]) .brand .dot { color: #93B4FB; } }
.pub-nav { background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--border); color: var(--text); }
.pub-links a, .pub-signin { color: var(--text-muted); }
.pub-links a:hover, .pub-signin:hover, .pub-links a[aria-current="page"] { color: var(--text-strong); background: var(--hero-hover); }
.pub-signin { color: var(--text-strong); }
.pub-nav .theme-switch { background: var(--surface-2); }
.pub-nav .theme-switch button { color: var(--text-muted); }
.pub-nav .theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text-strong); }
.pub-menu-btn { color: var(--text-strong); }

.btn { border-radius: var(--r-sm); font-weight: 600; box-shadow: none; }
.pub-cta, .btn-hero { background: var(--blue); border-color: var(--blue); color: #fff; }
.pub-cta:hover, .btn-hero:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn-hero, .btn-hero-ghost { border-radius: var(--r-sm); }
.btn-hero-ghost { border-color: var(--border-strong); color: var(--text-strong); }
.btn-hero-ghost:hover { background: var(--hero-hover); }

.hero { background: var(--hero-bg); border-bottom: 1px solid var(--hero-line); }
.hero::before { background-image: radial-gradient(rgba(37, 99, 235, 0.10) 1.2px, transparent 1.6px); }
.hero h1, h1, h2.band-title { font-family: var(--font); letter-spacing: -0.03em; }
.hero-visual img, .hero-photo { border-radius: var(--r-lg); }
.preview-card, .example-card, .card { border-radius: var(--r-md); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(20, 36, 61, 0.05); }
.kicker, .eyebrow { color: var(--accent); }
.step-n, .how-n { background: var(--blue-soft); color: var(--accent); }
.principle h3::before { background: var(--blue); }
.band-alt { background: var(--surface); }
.pub-footer { background: var(--surface); border-top: 1px solid var(--border); }
.cta-band { background: var(--hero-bg); color: var(--hero-text); }
.waitlist-form input[type="email"]:focus { outline-color: var(--blue); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
