/* ── 360 Binaural Beats — theme tuned to the cosmic-gramophone logo ── */
:root {
  --bg: #0a0710;
  --bg-2: #0f0a18;
  --surface: #140d1f;
  --surface2: #1c1330;
  --fg: #ece8f5;
  --fg-muted: #8b7da3;
  --accent: #c084fc;       /* purple */
  --accent-2: #f472b6;     /* pink */
  --magenta: #d946ef;
  --border: rgba(192,132,252,0.14);
  --border-strong: rgba(192,132,252,0.3);
  /* band colors */
  --epsilon: #6366f1;
  --delta: #a78bfa;
  --theta: #34d399;
  --alpha: #22d3ee;
  --beta:  #f59e0b;
  --gamma: #f472b6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(217,70,239,0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(192,132,252,0.06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  font-family: 'Work Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(10,7,16,0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav-brand-text {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}
.nav-brand-text span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ── Layout ── */
.main {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 48px 120px;
}
.header { margin-bottom: 40px; text-align: center; }
.eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 14px;
}
.title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(120deg, #fff 30%, var(--accent) 70%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Card ── */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 0 100px rgba(192,132,252,0.05), 0 32px 70px rgba(0,0,0,0.45);
}

/* ── Waveform ── */
.waveform-wrap {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 30px;
  position: relative;
}
#waveCanvas { width: 100%; height: 130px; display: block; border-radius: 8px; }
.wave-badge {
  position: absolute;
  top: 22px; left: 28px;
  font-family: 'Sora', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(192,132,252,0.1);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}

/* ── Section labels ── */
.field-label {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.field { margin-bottom: 28px; }

/* ── Preset goals ── */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.preset {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--surface2);
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.18s;
}
.preset:hover { border-color: var(--border-strong); color: var(--fg); transform: translateY(-2px); }
.preset.active { border-color: var(--accent); background: rgba(192,132,252,0.1); color: #fff; }
.preset-emoji { font-size: 1.3rem; line-height: 1; }
.preset-name { font-family: 'Sora', sans-serif; font-size: 0.78rem; font-weight: 600; }

/* ── Band tabs ── */
.band-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.band-tab {
  padding: 14px 8px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: var(--surface2);
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
  color: var(--fg-muted);
}
.band-tab:hover { border-color: var(--border-strong); color: var(--fg); }
.band-tab.active { color: #fff; }
.band-tab-name { font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 700; display: block; margin-bottom: 4px; }
.band-tab-range { font-size: 10px; letter-spacing: 1px; opacity: 0.6; font-family: 'Sora', monospace; }
.band-tab[data-band="epsilon"].active { border-color: var(--epsilon); background: rgba(99,102,241,0.1); }
.band-tab[data-band="delta"].active { border-color: var(--delta); background: rgba(167,139,250,0.1); }
.band-tab[data-band="theta"].active { border-color: var(--theta); background: rgba(52,211,153,0.1); }
.band-tab[data-band="alpha"].active { border-color: var(--alpha); background: rgba(34,211,238,0.1); }
.band-tab[data-band="beta"].active  { border-color: var(--beta);  background: rgba(245,158,11,0.1); }
.band-tab[data-band="gamma"].active { border-color: var(--gamma); background: rgba(244,114,182,0.1); }
.band-tab[data-band="epsilon"].active .band-tab-name { color: var(--epsilon); }
.band-tab[data-band="delta"].active .band-tab-name { color: var(--delta); }
.band-tab[data-band="theta"].active .band-tab-name { color: var(--theta); }
.band-tab[data-band="alpha"].active .band-tab-name { color: var(--alpha); }
.band-tab[data-band="beta"].active  .band-tab-name { color: var(--beta); }
.band-tab[data-band="gamma"].active .band-tab-name { color: var(--gamma); }

/* ── Freq detail ── */
.freq-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0;
  padding: 20px 24px;
  background: rgba(192,132,252,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.freq-info { display: flex; flex-direction: column; gap: 6px; }
.freq-band-name { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.freq-hz-display { font-family: 'Sora', monospace; font-size: 1.9rem; font-weight: 800; color: var(--accent); }
.freq-desc { font-size: 0.85rem; color: var(--fg-muted); max-width: 280px; text-align: right; }
.band-pill {
  font-family: 'Sora', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(192,132,252,0.12); border: 1px solid var(--border-strong); color: var(--accent);
}
.band-pill[data-band="epsilon"] { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.4); color: var(--epsilon); }
.band-pill[data-band="delta"] { background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.4); color: var(--delta); }
.band-pill[data-band="theta"] { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.4); color: var(--theta); }
.band-pill[data-band="alpha"] { background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.4); color: var(--alpha); }
.band-pill[data-band="beta"]  { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.4); color: var(--beta); }
.band-pill[data-band="gamma"] { background: rgba(244,114,182,0.12); border-color: rgba(244,114,182,0.4); color: var(--gamma); }

/* ── Sliders & inputs ── */
.slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.slider-row + .slider-row { margin-top: 10px; }
.slider-row-label {
  font-family: 'Sora', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--fg-muted); white-space: nowrap; min-width: 86px;
}
.slider-wrap { flex: 1; }
.slider-val { font-family: 'Sora', monospace; font-size: 0.85rem; color: var(--accent); min-width: 72px; text-align: right; }

input[type=range] {
  width: 100%; height: 4px;
  background: rgba(192,132,252,0.15);
  border-radius: 4px; outline: none;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  box-shadow: 0 0 14px rgba(192,132,252,0.5);
}
input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border: none; border-radius: 50%;
  background: var(--accent); cursor: pointer;
}

.freq-input {
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  border-radius: 8px; color: var(--fg);
  font-family: 'Sora', monospace; font-size: 0.9rem; font-weight: 600;
  padding: 8px 12px; width: 96px; text-align: center; outline: none;
  transition: border-color 0.2s;
}
.freq-input:focus { border-color: var(--accent); }

/* ── Ambience ── */
.amb-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.amb-tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border-radius: 11px;
  border: 1px solid transparent; background: var(--surface2);
  color: var(--fg-muted); cursor: pointer; transition: all 0.18s;
}
.amb-tab:hover { border-color: var(--border-strong); color: var(--fg); }
.amb-tab.active { border-color: var(--accent-2); background: rgba(244,114,182,0.1); color: #fff; }
.amb-emoji { font-size: 1.2rem; line-height: 1; }
.amb-name { font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 600; }

/* ── Meditative layers (multi-select) ── */
.field-hint { font-family: 'Work Sans', sans-serif; font-size: 0.7rem; font-weight: 400; color: var(--fg-muted); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.layer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.layer-tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border-radius: 11px;
  border: 1px solid transparent; background: var(--surface2);
  color: var(--fg-muted); cursor: pointer; transition: all 0.18s; position: relative;
}
.layer-tab:hover { border-color: var(--border-strong); color: var(--fg); }
.layer-tab.active { border-color: #fbbf24; background: rgba(251,191,36,0.1); color: #fff; box-shadow: 0 0 0 1px rgba(251,191,36,0.22) inset; }
.layer-tab.active::after { content: '●'; position: absolute; top: 5px; right: 7px; font-size: 0.5rem; color: #fbbf24; }

/* ── Volume +/- buttons ── */
.vol-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--magenta);
  background: transparent; color: var(--magenta);
  font-size: 1.1rem; font-weight: 700; line-height: 1;
  cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: 0;
}
.vol-btn:hover { background: rgba(217,70,239,0.15); color: #fff; }
.vol-btn:active { transform: scale(0.92); }
.vol-btn.flash {
  background: var(--magenta); color: #fff;
  box-shadow: 0 0 16px rgba(217,70,239,0.7);
}

/* ── Duration ── */
.session-length-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.session-custom { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.session-custom .unit { color: var(--fg-muted); font-size: 0.85rem; font-weight: 600; }
.duration-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.duration-preset {
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid transparent; background: var(--surface2);
  color: var(--fg-muted); font-size: 0.8rem; font-family: 'Sora', monospace;
  cursor: pointer; transition: all 0.18s;
}
.duration-preset:hover { border-color: var(--border-strong); color: var(--fg); }
.duration-preset.active { border-color: var(--accent); background: rgba(192,132,252,0.1); color: var(--accent); }
.duration-preset.playing {
  border-color: var(--magenta); background: rgba(217,70,239,0.18); color: var(--magenta);
  box-shadow: 0 0 14px rgba(217,70,239,0.3);
}

/* ── Controls ── */
.controls-row { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.btn-play {
  flex: 1; padding: 17px 32px; border-radius: 13px; border: none;
  font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-play.idle { background: linear-gradient(120deg, var(--accent), var(--magenta)); color: #0a0710; }
.btn-play.idle:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(192,132,252,0.3); }
.btn-play.playing { background: rgba(192,132,252,0.15); color: var(--accent); border: 1px solid var(--border-strong); }
.btn-play.playing:hover { background: rgba(192,132,252,0.22); }
.btn-download {
  padding: 17px 24px; border-radius: 13px;
  border: 1px solid var(--border-strong); background: var(--surface2);
  color: var(--fg-muted); font-family: 'Sora', sans-serif; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px;
}
.btn-download:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.btn-download:disabled { opacity: 0.45; cursor: not-allowed; }

.status { text-align: center; padding: 12px; font-size: 0.85rem; color: var(--fg-muted); margin-top: 14px; min-height: 20px; }

/* ── Science note ── */
.science-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 28px; padding: 16px 20px;
  background: rgba(192,132,252,0.04); border: 1px solid var(--border);
  border-radius: 10px; font-size: 0.82rem; color: var(--fg-muted); line-height: 1.6;
}
.science-note svg { flex-shrink: 0; margin-top: 1px; opacity: 0.5; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links a:not(.active) { display: none; }
  .main { padding: 32px 20px 80px; }
  .card { padding: 22px; }
  .preset-grid, .band-tabs { grid-template-columns: repeat(3, 1fr); }
  .amb-grid { grid-template-columns: repeat(3, 1fr); }
  .layer-grid { grid-template-columns: repeat(3, 1fr); }
  .freq-detail { flex-direction: column; gap: 12px; text-align: center; }
  .freq-desc { text-align: center; }
  .controls-row { flex-direction: column; }
  .btn-download { width: 100%; justify-content: center; }
}

/* ── Export card ── */
.export-card { border-top: 1px solid var(--border); padding-top: 22px; }
.export-note {
  font-size: 0.8rem; color: var(--fg-muted); line-height: 1.5;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 14px;
}
.export-note strong { color: var(--fg); font-weight: 600; }
.export-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 10px;
}
.export-length { display: flex; align-items: center; gap: 8px; }
.num-small { width: 64px; }
.num-small:disabled { opacity: 0.45; cursor: not-allowed; }
.export-length .unit { color: var(--fg-muted); font-size: 0.85rem; font-weight: 600; }
.fmt-toggle {
  display: inline-flex; border: 1px solid var(--border-strong);
  border-radius: 100px; overflow: hidden;
}
.fmt-btn {
  padding: 8px 20px; background: transparent; border: none;
  color: var(--fg-muted); cursor: pointer;
  font-family: 'Sora', sans-serif; font-size: 0.78rem; font-weight: 700;
  transition: all 0.15s;
}
.fmt-btn.active { background: var(--accent); color: #14091f; }
.fmt-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.fmt-note { font-size: 0.75rem; color: var(--accent-2); min-height: 1em; margin-bottom: 8px; }
.export-btn { width: 100%; justify-content: center; }
.export-bar-wrap {
  height: 5px; border-radius: 3px; background: var(--surface2);
  margin-top: 12px; overflow: hidden; display: none;
}
.export-bar-wrap.visible { display: block; }
.export-bar {
  height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}
.pro-line { display: none; font-size: 0.78rem; color: var(--fg-muted); margin-top: 12px; text-align: center; }
.pro-line.visible { display: block; }
.pro-line a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pro-line a:hover { text-decoration: underline; }

/* ── Pro modal ── */
.pro-modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(6,3,12,0.72); backdrop-filter: blur(6px);
}
.pro-modal.open { display: flex; }
.pro-modal-card {
  position: relative; width: min(420px, calc(100vw - 40px));
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 18px; padding: 32px 28px; text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  /* The card had no height cap. It was already tall (price, perks, key field,
     buy button, fineprint) and the newsletter block adds ~130px more, which
     runs off the bottom on a short viewport — a laptop in a small window, or
     a phone in landscape — taking the buy button with it. Cap and scroll. */
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.pro-modal-card h2 { font-family: 'Sora', sans-serif; font-size: 1.35rem; margin-bottom: 6px; }
.pro-modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--fg-muted); font-size: 1rem; cursor: pointer;
}
.pro-modal-close:hover { color: var(--fg); }
.pro-price { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 16px; }
.pro-price span { font-size: 0.8rem; font-weight: 400; color: var(--fg-muted); }
.pro-perks { list-style: none; text-align: left; margin: 0 auto 20px; max-width: 300px; }
.pro-perks li { padding: 6px 0 6px 26px; position: relative; font-size: 0.88rem; color: var(--fg); }
.pro-perks li::before { content: '✓'; position: absolute; left: 4px; color: var(--accent-2); font-weight: 700; }
.pro-buy { width: 100%; justify-content: center; }
.pro-fineprint { font-size: 0.72rem; color: var(--fg-muted); margin-top: 12px; }
.pro-key-entry { margin-top: 18px; border-top: 1px solid var(--surface2); padding-top: 14px; }
.pro-key-label { font-size: 0.78rem; color: var(--fg-muted); margin-bottom: 8px; }
.pro-key-row { display: flex; gap: 8px; }
.pro-key-input {
  flex: 1; background: var(--bg); border: 1px solid var(--surface2); border-radius: 8px;
  padding: 8px 12px; color: var(--fg); font-size: 0.85rem; font-family: monospace;
}
.pro-key-input:focus { border-color: var(--accent); outline: none; }
.pro-key-btn {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 8px 16px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.pro-key-btn:hover { opacity: 0.85; }
.pro-key-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pro-key-msg { font-size: 0.75rem; margin-top: 6px; min-height: 1.2em; }
.pro-key-msg.success { color: #34d399; }
.pro-key-msg.error { color: #f87171; }

@media (max-width: 768px) {
  .export-controls { flex-direction: column; align-items: stretch; }
  .export-length { justify-content: center; }
  .fmt-toggle { align-self: center; }
}


/* ── Newsletter opt-in (Pro modal) ─────────────────────────────────────────
   Deliberately quieter than the buy button: it's the fallback for someone who
   said no, not a competing call to action. */
.nl { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.10); }
.nl-label { font-size: 13px; font-weight: 600; margin: 0 0 8px; opacity: .9; }
.nl-row { display: flex; gap: 8px; }
.nl-input {
  flex: 1; min-width: 0; padding: 9px 11px; font-size: 13px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: inherit;
}
.nl-input:focus { outline: none; border-color: rgba(255,255,255,.42); }
.nl-btn {
  padding: 9px 14px; font-size: 13px; font-weight: 600; white-space: nowrap;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); color: inherit; cursor: pointer;
}
.nl-btn:hover { background: rgba(255,255,255,.14); }
.nl-btn:disabled { opacity: .5; cursor: default; }
/* Honeypot: off-screen rather than display:none — some bots skip hidden
   fields but happily fill positioned ones. */
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-msg { font-size: 12px; margin: 8px 0 0; min-height: 1em; }
.nl-msg.ok { color: #7ddca4; }
.nl-msg.error { color: #ff9b9b; }
.nl-fine { font-size: 11px; opacity: .55; margin: 6px 0 0; }

/* ── About page — WallHush's own colours ──────────────────────────────────
   This page is about a different product, so it wears that product's palette:
   night blue, moonlight off-white, and the gold the app and printed guide
   already use. Crossing from the generator into this page should feel like
   stepping outside at night, not like reading the same page twice.

   Tokens are redefined on .wh rather than :root so the generator is untouched.
   No inline styles anywhere — the site's CSP allows stylesheets from 'self'
   only, so an inline <style> would silently not apply. */

.wh {
  --wh-bg:       #0d0d17;   /* the app icon's darkest ground */
  --wh-bg-2:     #141728;
  --wh-surface:  #171a2b;
  --wh-surface2: #1e2338;
  --wh-fg:       #faf5e6;   /* moonlight — warm, never pure white */
  --wh-muted:    #9aa2b8;
  --wh-gold:     #c89a4d;   /* the guide's #b8893a, lifted to read on night */
  --wh-gold-dim: #a37f3e;
  --wh-border:   rgba(200,154,77,0.16);
  --wh-border-2: rgba(200,154,77,0.34);

  color: var(--wh-fg);
  background:
    /* moonlight, high and slightly right, as if off-frame */
    radial-gradient(ellipse 52% 38% at 74% -6%, rgba(250,245,230,0.16), transparent 62%),
    radial-gradient(ellipse 70% 46% at 74% -10%, rgba(200,154,77,0.13), transparent 70%),
    /* a cool counter-light low on the left, so the page is not lit from one side */
    radial-gradient(ellipse 60% 44% at 6% 62%, rgba(90,110,180,0.10), transparent 68%),
    /* horizon: the ground darkens toward the bottom like a landscape would */
    linear-gradient(180deg, var(--wh-bg-2) 0%, var(--wh-bg) 58%, #090911 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* The stars sit in their own fixed layer so they do not scroll with the text —
   the sky stays put and the content moves across it. */
.wh::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22700%22%20height%3D%22700%22%20viewBox%3D%220%200%20700%20700%22%3E%3Ccircle%20cx%3D%22667.6%22%20cy%3D%22330.9%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.54%22%2F%3E%3Ccircle%20cx%3D%22396.5%22%20cy%3D%22570.5%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.55%22%2F%3E%3Ccircle%20cx%3D%22697.6%22%20cy%3D%22658.5%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22321.1%22%20cy%3D%22220.4%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.33%22%2F%3E%3Ccircle%20cx%3D%2272.7%22%20cy%3D%22633.6%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.34%22%2F%3E%3Ccircle%20cx%3D%22476.0%22%20cy%3D%22488.7%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.66%22%2F%3E%3Ccircle%20cx%3D%22148.1%22%20cy%3D%22221.1%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22550.8%22%20cy%3D%22583.8%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.62%22%2F%3E%3Ccircle%20cx%3D%22304.9%22%20cy%3D%22483.1%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.42%22%2F%3E%3Ccircle%20cx%3D%22588.3%22%20cy%3D%22636.3%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.29%22%2F%3E%3Ccircle%20cx%3D%22543.2%22%20cy%3D%22657.2%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22467.9%22%20cy%3D%22239.1%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%22572.1%22%20cy%3D%22345.5%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.28%22%2F%3E%3Ccircle%20cx%3D%2280.0%22%20cy%3D%22370.4%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.72%22%2F%3E%3Ccircle%20cx%3D%2275.3%22%20cy%3D%22200.8%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.64%22%2F%3E%3Ccircle%20cx%3D%22692.6%22%20cy%3D%22559.2%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.41%22%2F%3E%3Ccircle%20cx%3D%22127.7%22%20cy%3D%22699.6%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.2%22%2F%3E%3Ccircle%20cx%3D%2288.3%22%20cy%3D%22620.4%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.21%22%2F%3E%3Ccircle%20cx%3D%22390.1%22%20cy%3D%22353.9%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.3%22%2F%3E%3Ccircle%20cx%3D%22630.6%22%20cy%3D%22408.1%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%22512.5%22%20cy%3D%22397.7%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.25%22%2F%3E%3Ccircle%20cx%3D%2289.8%22%20cy%3D%22533.5%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22143.4%22%20cy%3D%22575.6%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.61%22%2F%3E%3Ccircle%20cx%3D%22101.2%22%20cy%3D%22663.5%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.66%22%2F%3E%3Ccircle%20cx%3D%22462.9%22%20cy%3D%22649.7%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.31%22%2F%3E%3Ccircle%20cx%3D%22165.2%22%20cy%3D%22277.8%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.66%22%2F%3E%3Ccircle%20cx%3D%22601.5%22%20cy%3D%22391.8%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.46%22%2F%3E%3Ccircle%20cx%3D%22374.4%22%20cy%3D%2228.6%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.52%22%2F%3E%3Ccircle%20cx%3D%22324.6%22%20cy%3D%22222.6%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.65%22%2F%3E%3Ccircle%20cx%3D%22275.0%22%20cy%3D%22644.7%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.27%22%2F%3E%3Ccircle%20cx%3D%22688.7%22%20cy%3D%22213.5%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.25%22%2F%3E%3Ccircle%20cx%3D%22280.2%22%20cy%3D%22121.5%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.31%22%2F%3E%3Ccircle%20cx%3D%22237.3%22%20cy%3D%22152.0%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.26%22%2F%3E%3Ccircle%20cx%3D%22504.3%22%20cy%3D%2251.0%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.19%22%2F%3E%3Ccircle%20cx%3D%22312.2%22%20cy%3D%22664.9%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.51%22%2F%3E%3Ccircle%20cx%3D%22193.4%22%20cy%3D%22323.3%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.44%22%2F%3E%3Ccircle%20cx%3D%22631.4%22%20cy%3D%22125.0%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.27%22%2F%3E%3Ccircle%20cx%3D%22526.4%22%20cy%3D%22481.2%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.63%22%2F%3E%3Ccircle%20cx%3D%22425.0%22%20cy%3D%22518.0%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.7%22%2F%3E%3Ccircle%20cx%3D%22272.2%22%20cy%3D%22343.8%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.68%22%2F%3E%3Ccircle%20cx%3D%22624.3%22%20cy%3D%22234.5%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.51%22%2F%3E%3Ccircle%20cx%3D%22193.1%22%20cy%3D%223.4%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.36%22%2F%3E%3Ccircle%20cx%3D%22487.1%22%20cy%3D%22406.5%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.58%22%2F%3E%3Ccircle%20cx%3D%2291.4%22%20cy%3D%2240.6%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.43%22%2F%3E%3Ccircle%20cx%3D%22202.7%22%20cy%3D%22294.5%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.21%22%2F%3E%3Ccircle%20cx%3D%22564.7%22%20cy%3D%22578.3%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.21%22%2F%3E%3Ccircle%20cx%3D%22423.2%22%20cy%3D%22259.9%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.3%22%2F%3E%3Ccircle%20cx%3D%22225.9%22%20cy%3D%22219.6%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.38%22%2F%3E%3Ccircle%20cx%3D%22371.1%22%20cy%3D%2275.3%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.3%22%2F%3E%3Ccircle%20cx%3D%22654.8%22%20cy%3D%22254.8%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.45%22%2F%3E%3Ccircle%20cx%3D%22534.9%22%20cy%3D%22412.3%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.54%22%2F%3E%3Ccircle%20cx%3D%22695.1%22%20cy%3D%22578.8%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22697.0%22%20cy%3D%22604.5%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.47%22%2F%3E%3Ccircle%20cx%3D%22372.9%22%20cy%3D%22352.0%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.41%22%2F%3E%3Ccircle%20cx%3D%22371.5%22%20cy%3D%22111.6%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.71%22%2F%3E%3Ccircle%20cx%3D%22514.6%22%20cy%3D%22314.7%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.37%22%2F%3E%3Ccircle%20cx%3D%22207.5%22%20cy%3D%22687.7%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.63%22%2F%3E%3Ccircle%20cx%3D%22646.5%22%20cy%3D%22519.8%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.68%22%2F%3E%3Ccircle%20cx%3D%22469.8%22%20cy%3D%2242.0%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.39%22%2F%3E%3Ccircle%20cx%3D%22532.0%22%20cy%3D%22689.4%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.58%22%2F%3E%3Ccircle%20cx%3D%22406.1%22%20cy%3D%2220.0%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.64%22%2F%3E%3Ccircle%20cx%3D%22274.8%22%20cy%3D%22307.4%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.2%22%2F%3E%3Ccircle%20cx%3D%22501.9%22%20cy%3D%2255.8%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.2%22%2F%3E%3Ccircle%20cx%3D%22426.7%22%20cy%3D%22316.0%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.38%22%2F%3E%3Ccircle%20cx%3D%22671.0%22%20cy%3D%22526.0%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22259.6%22%20cy%3D%22221.6%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.55%22%2F%3E%3Ccircle%20cx%3D%22661.0%22%20cy%3D%22176.5%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.34%22%2F%3E%3Ccircle%20cx%3D%22534.5%22%20cy%3D%22308.1%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.46%22%2F%3E%3Ccircle%20cx%3D%22374.3%22%20cy%3D%22471.5%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.68%22%2F%3E%3Ccircle%20cx%3D%22166.5%22%20cy%3D%22658.1%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.53%22%2F%3E%3Ccircle%20cx%3D%2298.6%22%20cy%3D%22123.5%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.25%22%2F%3E%3Ccircle%20cx%3D%22568.7%22%20cy%3D%22547.4%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.42%22%2F%3E%3Ccircle%20cx%3D%22257.9%22%20cy%3D%22526.9%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.59%22%2F%3E%3Ccircle%20cx%3D%22674.0%22%20cy%3D%22540.1%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.23%22%2F%3E%3Ccircle%20cx%3D%22534.6%22%20cy%3D%22437.2%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.55%22%2F%3E%3Ccircle%20cx%3D%22256.9%22%20cy%3D%22671.8%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.48%22%2F%3E%3Ccircle%20cx%3D%22237.2%22%20cy%3D%22286.5%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.2%22%2F%3E%3Ccircle%20cx%3D%22504.1%22%20cy%3D%22213.0%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.39%22%2F%3E%3Ccircle%20cx%3D%22362.4%22%20cy%3D%22258.0%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.42%22%2F%3E%3Ccircle%20cx%3D%22287.8%22%20cy%3D%22148.7%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.61%22%2F%3E%3Ccircle%20cx%3D%22571.1%22%20cy%3D%22631.6%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.42%22%2F%3E%3Ccircle%20cx%3D%22692.8%22%20cy%3D%22685.6%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.53%22%2F%3E%3Ccircle%20cx%3D%22679.9%22%20cy%3D%22606.4%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.32%22%2F%3E%3Ccircle%20cx%3D%22187.9%22%20cy%3D%22182.1%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.44%22%2F%3E%3Ccircle%20cx%3D%2237.4%22%20cy%3D%22170.2%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.39%22%2F%3E%3Ccircle%20cx%3D%22196.0%22%20cy%3D%22457.4%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.3%22%2F%3E%3Ccircle%20cx%3D%22281.2%22%20cy%3D%22285.1%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.27%22%2F%3E%3Ccircle%20cx%3D%22333.6%22%20cy%3D%22161.2%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.26%22%2F%3E%3Ccircle%20cx%3D%22500.8%22%20cy%3D%22644.9%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.52%22%2F%3E%3Ccircle%20cx%3D%22195.8%22%20cy%3D%22528.0%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22199.3%22%20cy%3D%22242.0%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.4%22%2F%3E%3Ccircle%20cx%3D%22355.5%22%20cy%3D%22517.4%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.19%22%2F%3E%3Ccircle%20cx%3D%22369.8%22%20cy%3D%22623.7%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22611.7%22%20cy%3D%22326.4%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.44%22%2F%3E%3Ccircle%20cx%3D%22122.5%22%20cy%3D%22583.7%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.69%22%2F%3E%3Ccircle%20cx%3D%22698.9%22%20cy%3D%22391.5%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.39%22%2F%3E%3Ccircle%20cx%3D%22631.6%22%20cy%3D%22456.1%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22208.2%22%20cy%3D%22652.7%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.62%22%2F%3E%3Ccircle%20cx%3D%22212.4%22%20cy%3D%22134.6%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.31%22%2F%3E%3Ccircle%20cx%3D%22684.9%22%20cy%3D%22239.9%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.32%22%2F%3E%3Ccircle%20cx%3D%22683.7%22%20cy%3D%22646.3%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%22630.6%22%20cy%3D%22223.9%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.7%22%2F%3E%3Ccircle%20cx%3D%22287.0%22%20cy%3D%22463.3%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.68%22%2F%3E%3Ccircle%20cx%3D%22284.3%22%20cy%3D%22375.4%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.4%22%2F%3E%3Ccircle%20cx%3D%22691.9%22%20cy%3D%22447.3%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.34%22%2F%3E%3Ccircle%20cx%3D%22173.7%22%20cy%3D%22257.0%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.49%22%2F%3E%3Ccircle%20cx%3D%22558.1%22%20cy%3D%22105.2%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22387.7%22%20cy%3D%22647.8%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.24%22%2F%3E%3Ccircle%20cx%3D%22384.9%22%20cy%3D%22426.1%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.19%22%2F%3E%3Ccircle%20cx%3D%22490.5%22%20cy%3D%22510.2%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.19%22%2F%3E%3Ccircle%20cx%3D%22586.6%22%20cy%3D%2220.7%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.47%22%2F%3E%3Ccircle%20cx%3D%22650.2%22%20cy%3D%22379.2%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.51%22%2F%3E%3Ccircle%20cx%3D%2273.7%22%20cy%3D%22639.1%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.22%22%2F%3E%3Ccircle%20cx%3D%22196.5%22%20cy%3D%22251.4%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.67%22%2F%3E%3Ccircle%20cx%3D%22243.5%22%20cy%3D%22389.0%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.45%22%2F%3E%3Ccircle%20cx%3D%22291.3%22%20cy%3D%2267.4%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.25%22%2F%3E%3Ccircle%20cx%3D%22338.5%22%20cy%3D%22198.3%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.27%22%2F%3E%3Ccircle%20cx%3D%22422.3%22%20cy%3D%22318.9%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22465.8%22%20cy%3D%22309.5%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.52%22%2F%3E%3Ccircle%20cx%3D%22552.4%22%20cy%3D%22103.7%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%22118.6%22%20cy%3D%22378.3%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.69%22%2F%3E%3Ccircle%20cx%3D%22430.7%22%20cy%3D%22507.4%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.66%22%2F%3E%3Ccircle%20cx%3D%221.1%22%20cy%3D%22574.2%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.63%22%2F%3E%3Ccircle%20cx%3D%2245.2%22%20cy%3D%22293.1%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.34%22%2F%3E%3Ccircle%20cx%3D%22464.7%22%20cy%3D%22216.3%22%20r%3D%221.3%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.45%22%2F%3E%3Ccircle%20cx%3D%22603.7%22%20cy%3D%224.1%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.29%22%2F%3E%3Ccircle%20cx%3D%22203.1%22%20cy%3D%2290.4%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.61%22%2F%3E%3Ccircle%20cx%3D%22206.8%22%20cy%3D%2274.3%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.24%22%2F%3E%3Ccircle%20cx%3D%22150.1%22%20cy%3D%22662.1%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.57%22%2F%3E%3Ccircle%20cx%3D%22441.5%22%20cy%3D%22299.1%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.44%22%2F%3E%3Ccircle%20cx%3D%22404.6%22%20cy%3D%22456.4%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.21%22%2F%3E%3Ccircle%20cx%3D%2286.4%22%20cy%3D%2271.2%22%20r%3D%221.0%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.71%22%2F%3E%3Ccircle%20cx%3D%22279.6%22%20cy%3D%22251.7%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.22%22%2F%3E%3Ccircle%20cx%3D%22397.8%22%20cy%3D%22660.3%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.21%22%2F%3E%3Ccircle%20cx%3D%22245.5%22%20cy%3D%22497.0%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.3%22%2F%3E%3Ccircle%20cx%3D%22671.7%22%20cy%3D%22139.5%22%20r%3D%220.6%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.64%22%2F%3E%3Ccircle%20cx%3D%22578.3%22%20cy%3D%2228.0%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%22509.3%22%20cy%3D%22563.2%22%20r%3D%220.9%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.38%22%2F%3E%3Ccircle%20cx%3D%2281.2%22%20cy%3D%2224.0%22%20r%3D%220.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.65%22%2F%3E%3Ccircle%20cx%3D%22329.4%22%20cy%3D%22506.3%22%20r%3D%221.7%22%20fill%3D%22%23faf5e6%22%20opacity%3D%220.56%22%2F%3E%3Ccircle%20cx%3D%2224.2%22%20cy%3D%22653.3%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22342.1%22%20cy%3D%22557.6%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22426.5%22%20cy%3D%22153.4%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22463.2%22%20cy%3D%22392.6%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22198.3%22%20cy%3D%22122.4%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22425.4%22%20cy%3D%22515.0%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22247.8%22%20cy%3D%2246.3%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22358.2%22%20cy%3D%22168.5%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%2249.0%22%20cy%3D%22332.3%22%20r%3D%222.1%22%20fill%3D%22%23e8c98a%22%20opacity%3D%220.5%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: repeat;
  background-size: 700px 700px;
  opacity: 0.55;
  /* Fade the field out toward the bottom, where the horizon gradient takes over. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 86%);
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 86%);
  pointer-events: none;
  z-index: 0;
}
.wh .nav, .wh .main { position: relative; z-index: 1; }

.wh .nav {
  background: rgba(13,13,23,0.72);
  border-bottom: 1px solid var(--wh-border);
}
.wh .nav-links a { color: var(--wh-muted); }
.wh .nav-links a:hover, .wh .nav-links a.active { color: var(--wh-gold); }
.wh .nav-brand-text { color: var(--wh-fg); }
.wh .nav-brand-text span { color: var(--wh-gold); }

.about { max-width: 960px; }

.wh .eyebrow { color: var(--wh-gold); opacity: 0.9; }
.wh .title {
  background: linear-gradient(120deg, var(--wh-fg) 34%, #e9d3a6 68%, var(--wh-gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.wh .subtitle { color: var(--wh-muted); }

.about-block { max-width: 640px; margin: 0 auto; text-align: center; }
.about-h {
  font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 600;
  color: var(--wh-fg); margin-bottom: 10px;
}
.about-p { color: var(--wh-muted); line-height: 1.75; }

/* A thin gold seam instead of a plain rule — the same seam the app uses on the
   left edge of the screen when the realm is open. */
.about-rule {
  height: 1px; max-width: 240px; margin: 58px auto;
  background: linear-gradient(90deg, transparent, var(--wh-border-2), transparent);
}

.about-pivot { margin-bottom: 36px; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
  margin-bottom: 56px;
}
.about-card {
  background: linear-gradient(180deg, rgba(30,35,56,0.86) 0%, rgba(20,23,40,0.78) 100%);
  border: 1px solid var(--wh-border);
  border-radius: 18px;
  padding: 26px 24px;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, transform 0.2s;
}
.about-card:hover { border-color: var(--wh-border-2); transform: translateY(-2px); }
.about-card h3 {
  font-family: 'Sora', sans-serif; font-size: 0.98rem; font-weight: 600;
  color: var(--wh-fg); margin-bottom: 9px; letter-spacing: -0.01em;
}
.about-card p { color: var(--wh-muted); font-size: 0.92rem; line-height: 1.7; }

/* The one thing that should feel like a button. Gold, because everything else
   on the page is quiet — spend the boldness once. */
.about-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 120% at 50% -20%, rgba(200,154,77,0.14), transparent 70%),
    linear-gradient(180deg, rgba(30,35,56,0.9) 0%, rgba(16,18,32,0.9) 100%);
  border: 1px solid var(--wh-border-2);
  border-radius: 22px;
  padding: 40px 32px 34px;
  box-shadow: 0 0 120px rgba(200,154,77,0.07), 0 32px 70px rgba(0,0,0,0.5);
}
.about-cta-price {
  font-family: 'Sora', sans-serif; font-size: 2.3rem; font-weight: 800;
  color: var(--wh-fg); line-height: 1; margin-bottom: 22px;
}
.about-cta-price span {
  display: block; font-size: 0.78rem; font-weight: 400;
  color: var(--wh-muted); letter-spacing: 2px; text-transform: uppercase;
  margin-top: 10px;
}
.about-cta-btn {
  display: inline-block;
  padding: 18px 46px; border-radius: 14px;
  background: linear-gradient(120deg, #e8c98a 0%, #c89a4d 52%, #b8893a 100%);
  color: #17120a; text-decoration: none;
  font-family: 'Sora', sans-serif; font-size: 1.02rem; font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 34px rgba(200,154,77,0.3);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}
.about-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 16px 46px rgba(200,154,77,0.45);
}
.about-cta-btn:focus-visible { outline: 2px solid var(--wh-gold); outline-offset: 3px; }

.about-cta-fine {
  color: var(--wh-muted); font-size: 0.85rem; line-height: 1.65;
  max-width: 460px; margin: 22px auto 0;
}
.about-cta-fine strong { color: var(--wh-fg); font-weight: 600; }
.about-cta-sub { font-size: 0.78rem; opacity: 0.72; margin-top: 10px; }

.about-back { text-align: center; margin-top: 44px; }
.about-back a {
  color: var(--wh-muted); text-decoration: none; font-size: 0.85rem;
  transition: color 0.2s;
}
.about-back a:hover { color: var(--wh-gold); }

@media (prefers-reduced-motion: reduce) {
  .about-cta-btn, .about-card { transition: none; }
  .about-cta-btn:hover, .about-card:hover { transform: none; }
}

@media (max-width: 640px) {
  .about-cta { padding: 32px 22px 28px; }
  .about-cta-btn { padding: 16px 30px; width: 100%; }
  .about-rule { margin: 40px auto; }
  .wh::before { opacity: 0.4; }
}

.about-safety {
  max-width: 560px; margin: 40px auto 0; text-align: center;
  color: var(--wh-muted); font-size: 0.78rem; line-height: 1.7; opacity: 0.8;
}
