/* Vela design system v3. "Star atlas": warm ink, engraved brass, a hand-tinted
   rose. Display: Cinzel (accents only). Text: EB Garamond. Self-hosted below
   (latin subset covers EN + German) so no request ever leaves for a font CDN. */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/cinzel-400.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/cinzel-500.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/cinzel-600.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/ebgaramond-400.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/ebgaramond-500.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/static/fonts/ebgaramond-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/static/fonts/ebgaramond-500-italic.woff2') format('woff2'); }

:root {
  --ink: #100D18;
  --ink-2: #17121f;
  --panel: #191324;
  --paper: #e4ddca;
  --paper-bright: #f4eedf;
  --muted: #a49c88;
  --faint: #756c8a;
  --brass: #c9a24b;
  --brass-bright: #ddb863;
  --rose: #c98a7a;
  --line: #241d33;
  --line-brass: rgba(201, 162, 75, 0.22);
  --maxw: 720px;
  --shell: 1180px;
  --display: "Cinzel", "EB Garamond", Georgia, serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Vellum grain + a faint warm vignette, site-wide, so it reads printed not digital. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(1100px 500px at 78% -8%, rgba(201, 162, 75, 0.08), transparent 60%);
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: var(--shell); }
.section { padding: 84px 0; }
.section + .section { border-top: 1px solid var(--line); }
.center { text-align: center; }
.prose { max-width: 640px; }

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--paper-bright); margin: 0 0 18px; }
h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.02; letter-spacing: 0.002em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.08; }
h3 { font-size: 1.32rem; line-height: 1.25; }
p { margin: 0 0 18px; }
.lead { font-size: 1.24rem; color: var(--paper); }
.sub { font-size: 1.22rem; color: var(--muted); max-width: 34rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; color: var(--faint); }
a { color: var(--brass-bright); text-decoration-color: var(--line-brass); text-underline-offset: 3px; }

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}

/* ---------- Header / footer ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 13, 24, 0.94);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; padding-top: 0; padding-bottom: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--paper-bright); text-decoration: none; }
.wordmark span { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.24em; }
.wordmark-mark { width: 30px; height: 30px; display: block; flex: none; }
.nav-link { font-size: 1rem; color: var(--brass); text-decoration: none; }
.nav-link:hover { color: var(--brass-bright); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 0.74rem; letter-spacing: 0.12em; color: var(--faint); }
.lang-toggle a { color: var(--faint); text-decoration: none; }
.lang-toggle a:hover { color: var(--brass); }
.lang-toggle a.on { color: var(--brass-bright); }

.site-footer { padding: 56px 0; border-top: 1px solid var(--line); text-align: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 1rem; }
.site-footer nav a:hover { color: var(--paper); }
.foot-brand { font-family: var(--display); letter-spacing: 0.16em; color: var(--paper); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brass);
  padding: 15px 30px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--brass-bright); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-ghost { background: transparent; color: var(--paper-bright); border-color: var(--brass); }
.btn-ghost:hover { background: rgba(201, 162, 75, 0.1); }

/* ---------- Star mark / dividers ---------- */

.star-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--brass);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.star-divider { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; }
.star-divider::before, .star-divider::after { content: ""; height: 1px; width: 90px; background: linear-gradient(90deg, transparent, var(--line-brass)); }
.star-divider::after { background: linear-gradient(90deg, var(--line-brass), transparent); }
.divider { border: none; border-top: 1px solid var(--line); margin: 34px 0; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 78px 0 70px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .sub { margin-bottom: 30px; }
.hero .cta-note { margin-top: 18px; font-size: 0.98rem; color: var(--faint); }
.hero-wheel { justify-self: center; width: 100%; max-width: 260px; }
.hero-wheel svg { width: 100%; height: auto; }
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 28px 0 0; }
.trust-strip li { font-family: var(--display); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.trust-strip li::before { content: "\2726"; color: var(--brass); margin-right: 8px; }

/* ---------- Landing sections ---------- */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.step { padding: 24px 26px; border: 1px solid var(--line); border-radius: 3px; background: var(--ink-2); }
.step-num { font-family: var(--display); color: var(--brass); font-size: 0.9rem; letter-spacing: 0.1em; }
.step h3 { margin: 8px 0 8px; }

.editorial { display: grid; gap: 28px; }
.editorial-item h3 { color: var(--paper-bright); }
.method-list { display: grid; gap: 30px; margin-top: 12px; }
.method-item { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: start; }
.method-index { font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.1em; color: var(--brass); }
.method-motif { width: 64px; height: 44px; color: var(--rose); display: block; margin-top: 8px; }
.method-close { font-family: var(--serif); font-style: italic; font-size: 1.24rem; color: var(--paper-bright); margin-top: 30px; }

.excerpt { border-left: 2px solid var(--brass); padding: 6px 0 6px 26px; margin: 0; }
.excerpt p { font-size: 1.14rem; color: var(--paper); }
.excerpt-mark { margin-bottom: 14px; }
.example-note { font-style: italic; color: var(--faint); }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 28px; }
.plan { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 3px; background: var(--ink-2); }
.plan .muted { margin-bottom: 22px; }
.plan .btn { margin-top: auto; }
.plan-featured { border-color: var(--line-brass); background: linear-gradient(180deg, rgba(201, 162, 75, 0.06), transparent); }
.plan .tag { font-family: var(--display); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.price { font-family: var(--display); font-size: 1.5rem; color: var(--brass-bright); margin: 6px 0 12px; }

.faq-list { display: grid; gap: 4px; }
.faq-item { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: none; }
.faq-item h3 { margin-bottom: 8px; }
.cta-final { text-align: center; }

/* ---------- Reading ---------- */

.reading { max-width: 640px; margin: 0 auto; }
.reading h2 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.06em; color: var(--brass); margin: 34px 0 12px; }
.reading p { font-size: 1.16rem; line-height: 1.72; color: var(--paper); }

/* ---------- Form ---------- */

.panel { border: 1px solid var(--line); border-radius: 4px; background: var(--ink-2); padding: 30px; margin-top: 10px; }
.birth { display: grid; gap: 20px; }
.birth label { display: grid; gap: 8px; font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.birth input {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  width: 100%;
}
.birth input:focus { outline: none; border-color: var(--brass); }
.field-note { text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 0.9rem; color: var(--faint); }
.error { color: var(--rose); font-style: italic; }
.birth input.field-bad { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }

/* /reading two-column: form + reassurance aside. Stacks on mobile. */
.form-aside { margin-top: 30px; border: 1px solid var(--line-brass); border-radius: 4px; background: linear-gradient(180deg, rgba(201, 162, 75, 0.05), transparent); padding: 28px 26px; }
.aside-wheel { width: 66px; height: 66px; display: block; color: var(--brass); margin-bottom: 18px; }
.form-aside h2 { font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.06em; color: var(--brass); margin-bottom: 16px; }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.aside-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.aside-list li::before { content: "\2726"; position: absolute; left: 0; top: 0; color: var(--brass); }

.bp-upsell { max-width: 440px; margin: 30px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--paper); }

/* Astrocartography world map: real coastlines (Natural Earth 50m), styled warm
   land + brass coast, pan/zoomable. Strokes are non-scaling so lines stay crisp
   at any zoom; labels carry an ocean-coloured halo so names read over the map. */
.astromap-wrap { margin: 8px 0 26px; }
.astromap-stage { position: relative; }
.astromap { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 5px; background: #0a0813; touch-action: pan-y; cursor: grab; }
.astromap.is-panning { cursor: grabbing; }
.am-ocean { fill: #0a0813; }
.am-land { fill: #221c2e; stroke: #b18f4a; stroke-width: 0.35; stroke-opacity: 0.5; vector-effect: non-scaling-stroke; }
.am-grid { stroke: rgba(70, 60, 88, 0.22); stroke-width: 0.5; vector-effect: non-scaling-stroke; }
.am-equator { stroke: rgba(201, 162, 75, 0.14); }
.am-line { stroke-width: 1; stroke-opacity: 0.85; vector-effect: non-scaling-stroke; }
.am-city { stroke: #0a0813; stroke-width: 0.5; vector-effect: non-scaling-stroke; }
.am-planet { font-family: var(--display); font-size: 8px; text-anchor: middle; letter-spacing: 0.05em; paint-order: stroke; stroke: #0a0813; stroke-width: 2.4px; stroke-linejoin: round; }
.am-cityname { fill: var(--paper-bright); font-family: var(--serif); font-size: 8px; paint-order: stroke; stroke: #0a0813; stroke-width: 2.2px; stroke-linejoin: round; }
.am-legend { margin-top: 10px; font-style: italic; }
.astromap-ctrl { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; }
.astromap-ctrl button { width: 27px; height: 27px; padding: 0; border: 1px solid var(--line-brass); background: rgba(10, 8, 19, 0.74); color: var(--paper); font-size: 15px; line-height: 1; border-radius: 4px; cursor: pointer; }
.astromap-ctrl button:hover { border-color: var(--brass-bright); color: var(--paper-bright); }
/* Google Maps links under the map */
.am-links { margin-top: 20px; }
.am-links-head { font-family: var(--display); letter-spacing: 0.09em; text-transform: uppercase; font-size: 0.76rem; color: var(--faint); margin: 0 0 12px; }
.am-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.am-links li { font-size: 0.98rem; color: var(--paper); }
.am-swatch { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.am-lp { color: var(--paper-bright); font-weight: 600; margin-right: 4px; }
.am-links a { color: var(--brass-bright); text-decoration: none; border-bottom: 1px solid var(--line-brass); }
.am-links a:hover { border-bottom-color: var(--brass-bright); }
.am-scan { margin-left: 6px; font-style: italic; font-size: 0.9rem; }
/* Honeypot: kept off-screen for humans, tempting for form-filling bots. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Couples form: two birth panels side by side on desktop. */
.couples-grid { display: grid; gap: 22px; }
.couples-side { border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; margin: 0; display: grid; gap: 18px; }
.couples-side legend { font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); padding: 0 8px; }
.couples-submit { grid-column: 1 / -1; }
@media (min-width: 760px) { .couples-grid { grid-template-columns: 1fr 1fr; } }

.autocomplete { position: relative; }
.ac-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  max-height: 244px;
  overflow-y: auto;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.ac-list li {
  padding: 9px 12px;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--paper);
}
.ac-list li:hover, .ac-list li.on { background: rgba(201, 162, 75, 0.12); color: var(--paper-bright); }

/* ---------- Consent boxes (§ 356 BGB / DSGVO): emphasized, not fine print ---- */

.consent { border: 1px solid var(--line); border-left: 2px solid var(--line-brass); border-radius: 3px; background: var(--ink); padding: 13px 16px 14px; margin: 4px 0 2px; transition: border-color 0.25s ease; }
.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-family: var(--serif); font-size: 0.95rem; line-height: 1.55; letter-spacing: 0; text-transform: none; font-weight: normal; text-align: left; color: var(--muted); }
.consent label span { transition: color 0.25s ease; }
.consent input[type="checkbox"] { flex: none; width: 17px; height: 17px; margin-top: 3px; accent-color: var(--brass); cursor: pointer; }
.consent input:checked + span { color: var(--paper); }
.consent:has(input:checked) { border-left-color: var(--brass); }
.consent-link { display: inline-block; margin: 9px 0 0 29px; font-size: 0.85rem; }

/* ---------- Mini upsell ---------- */

.upsell { margin-top: 40px; padding: 30px; border: 1px solid var(--line-brass); border-radius: 4px; background: linear-gradient(180deg, rgba(201, 162, 75, 0.06), transparent); }

/* Locked personalized TOC: the full blueprint's sections tagged with the
   reader's own placements, their prose blurred behind purchase. */
.toc-teaser { max-width: 640px; margin: 46px auto 0; }
.locked-toc { margin-top: 8px; display: grid; gap: 14px; }
.locked-sec { padding: 18px 22px; border: 1px solid var(--line); border-radius: 3px; background: var(--ink-2); }
.locked-head { display: flex; justify-content: space-between; align-items: baseline; }
.locked-sec .bp-num { margin-bottom: 6px; }
.locked-sec h3 { margin: 0 0 4px; font-size: 1.18rem; }
.locked-lock { font-family: var(--display); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line); border-radius: 2px; padding: 3px 8px; }
.locked-lock::before { content: "\2726"; color: var(--brass); margin-right: 6px; }
.locked-tag { font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin: 0 0 10px; }
.locked-blur { margin: 0; color: var(--muted); filter: blur(5px); user-select: none; pointer-events: none; }

/* ---------- Paywall / snag / wait ---------- */

.paywall { text-align: center; }
.paywall .star-mark { width: 22px; height: 22px; margin-bottom: 20px; }
.section.wait { min-height: 66vh; display: flex; align-items: center; text-align: center; }
.wait #wait-line { min-height: 2.3em; }

/* ---------- Interactive chart wheel ---------- */

.vela-wheel { width: 100%; max-width: 340px; margin: 0 auto; }
.vela-wheel-svg { width: 100%; height: auto; display: block; }
.vw-glyph { font-family: "Segoe UI Symbol", "Apple Symbols", serif; font-size: 17px; fill: var(--brass); }
.vw-planet { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform 0.18s ease; }
.vw-planet:hover, .vw-planet:focus { transform: scale(1.32); outline: none; }
.vw-planet:hover .vw-dot, .vw-planet:focus .vw-dot, .vw-planet.on .vw-dot { fill: #201830; stroke: var(--brass-bright); }
.vw-planet:hover .vw-glyph, .vw-planet:focus .vw-glyph { fill: var(--paper-bright); }
.wheel-caption { min-height: 2.6em; max-width: 30rem; margin: 16px auto 0; font-size: 1.02rem; line-height: 1.5; color: var(--muted); font-style: italic; }
.wheel-numbers { display: flex; gap: 26px; justify-content: center; margin-top: 18px; }
.wheel-numbers span { font-family: var(--display); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.wheel-numbers b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--brass-bright); margin-top: 4px; }
/* No-birth-time: fuzzy planets are dimmed and their placement carries a * (see .wheel-note). */
.vw-fuzzy .vw-glyph { fill: var(--faint); }
.vw-fuzzy .vw-dot { stroke-opacity: 0.5; }
.wheel-note { max-width: 30rem; margin: 10px auto 0; font-size: 0.82rem; line-height: 1.45; color: var(--faint); }

/* ---------- Blueprint, the keepsake document ---------- */

.bp-cover { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.bp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.bp-reading { max-width: 640px; margin: 0 auto; }
.bp-section { padding: 42px 0; border-top: 1px solid var(--line); }
.bp-section:first-child { border-top: none; }
.bp-num { display: block; font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.22em; color: var(--brass); margin-bottom: 12px; }
.bp-section h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.1rem); color: var(--paper-bright); margin-bottom: 14px; }
.bp-section p { font-size: 1.17rem; line-height: 1.76; color: var(--paper); }
.bp-close { max-width: 640px; margin: 30px auto 0; padding-top: 34px; border-top: 1px solid var(--line); }
.bp-email { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 440px; margin: 22px auto 0; }
.bp-email input {
  flex: 1;
  min-width: 200px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
}
.bp-email input:focus { outline: none; border-color: var(--brass); }
.bp-email .btn { flex: none; }

/* Section jump-nav + search. On narrow screens the TOC stacks above the reading;
   on wide screens it becomes a sticky rail beside it. */
.bp-section { scroll-margin-top: 80px; }
.bp-toc ol { list-style: none; margin: 14px 0 0; padding: 0; }
.bp-toc li { margin: 0; }
.bp-toc a {
  display: block;
  padding: 6px 0;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.bp-toc a:hover { color: var(--brass-bright); }
#bp-search {
  width: 100%;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 12px;
}
#bp-search:focus { outline: none; border-color: var(--brass); }
.bp-noresult { color: var(--rose); font-style: italic; margin-top: 14px; }
.bp-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.08em; }
.bp-nav a { color: var(--brass); text-decoration: none; }
.bp-nav a:hover { color: var(--brass-bright); }

@media (min-width: 1000px) {
  .bp-layout {
    max-width: 1060px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
  .bp-toc { position: sticky; top: 80px; }
}

@media print {
  .no-print, .site-header, .site-footer, #vela-wheel, .wheel-caption, .wheel-note { display: none !important; }
  body { background: #fff; color: #1c1a17; font-size: 12pt; }
  body::before, body::after { display: none !important; }
  .section { padding: 0; }
  h1, .bp-section h2, .bp-close h2 { color: #1c1a17; }
  .bp-section p, .muted, .sub { color: #333; }
  .eyebrow, .bp-num, .wheel-numbers span { color: #9a7b2e; }
  .wheel-numbers b { color: #6f5a1e; }
  .bp-section, .bp-cover, .bp-close { border-color: #ddd; }
  .bp-section { page-break-inside: avoid; }
  a[href]::after { content: ""; }
}

/* ---------- Glossary: click a term in the reading for a plain explanation ---------- */

.gloss { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: help; border-bottom: 1px dotted var(--brass); }
.gloss:hover, .gloss:focus { color: var(--brass-bright); outline: none; }
.gloss-pop {
  position: absolute;
  z-index: 50;
  max-width: 300px;
  background: var(--panel);
  border: 1px solid var(--line-brass);
  border-radius: 5px;
  padding: 12px 15px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5);
}
.gloss-pop b { display: block; font-family: var(--display); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 7px; }
.gloss-pop span { font-family: var(--serif); font-size: 0.98rem; line-height: 1.5; color: var(--paper); }

/* ---------- Legal placeholder ---------- */

.placeholder { color: var(--rose); }

/* ---------- Desktop: break out of the reading column into a designed shell.
   Feature bands go multi-column and full shell width; reading text stays a
   comfortable measure so lines never run too long. ---------- */

@media (min-width: 900px) {
  .section { padding: 100px 0; }
  .hero { padding: 108px 0 96px; }
  .hero .wrap { grid-template-columns: 1.06fr 0.94fr; gap: 64px; }
  .hero h1 { font-size: clamp(2.9rem, 4.3vw, 4.1rem); margin-bottom: 24px; }
  .hero .sub { font-size: 1.3rem; }
  .hero-wheel { max-width: 400px; }

  /* Section intros keep a readable width even in a wide band. */
  .wide > .eyebrow, .wide > h2, .wide > .lead { max-width: 44rem; }
  .wide > h2 { font-size: clamp(2rem, 3vw, 2.7rem); }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { padding: 30px 30px 32px; }
  .editorial { grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 8px; }
  .method-list { grid-template-columns: repeat(3, 1fr); gap: 44px; align-items: start; }
  .method-item { grid-template-columns: 1fr; gap: 14px; }
  .method-item > div:first-child { display: flex; align-items: center; gap: 16px; }
  .method-motif { margin-top: 0; }
  .pricing { gap: 26px; max-width: 900px; }
  .plan { padding: 34px 32px; }
  /* Narrow reading content shares the shell's left edge, capped for legibility. */
  .excerpt { max-width: 44rem; }
  .faq-list { max-width: 47rem; }

  .form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 54px; align-items: start; max-width: 1000px; }
  .form-aside { margin-top: 6px; position: sticky; top: 88px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-wheel { order: -1; max-width: 210px; }
  .pricing, .method-item { grid-template-columns: 1fr; }
  .method-item { gap: 10px; }
  .section { padding: 60px 0; }
}

/* ---------- Motion. Everything below respects reduced-motion. ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero .wrap { animation: fadeup 0.7s ease both; }
  @keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

  .will-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .will-reveal.revealed { opacity: 1; transform: none; }

  .hero-wheel .spin { animation: wheelspin 150s linear infinite; transform-box: view-box; transform-origin: 110px 110px; }
  .vw-deco { animation: wheelspin 150s linear infinite; transform-box: view-box; transform-origin: 180px 180px; }
  @keyframes wheelspin { to { transform: rotate(360deg); } }

  .paywall .star-mark, .wait .star-mark { animation: pulse 2.6s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.84); } }

  .twinkle { animation: twinkle 4.5s ease-in-out infinite; }
  .twinkle.b { animation-delay: 1.8s; }
  .twinkle.c { animation-delay: 2.9s; }
  @keyframes twinkle { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.25; } }

  #wait-line { animation: writing 2.6s ease-in-out infinite; }
  @keyframes writing { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
}
