/* Shared holding page (root WP-038). Layout follows the fortean.ai holding page;
   each [data-theme] block below carries one brand's tokens. Sources are named per block.
   Fonts are self-hosted (SIL OFL), so no visitor IP goes to Google. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/manrope-variable.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2"); }

:root {
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --danger: #b42318;
  --ok: #1d7a46;
  --radius: 10px;
}

/* plain: neutral, for domains without a brand palette */
[data-theme="plain"] {
  --primary: #1f2328; --primary-ink: #ffffff; --accent: #1f2328;
  --bg: #f7f7f5; --surface: #ffffff; --text: #1f2328; --muted: #5e6268; --line: #e2e2de;
  --font: var(--sans); --display: var(--sans);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  [data-theme="plain"] {
    --primary: #f1f1ee; --primary-ink: #141619; --accent: #f1f1ee;
    --bg: #121416; --surface: #1a1d20; --text: #ececea; --muted: #a2a6ab; --line: #2c3035;
    --danger: #ff8a7a; --ok: #6fd39a;
    color-scheme: dark;
  }
}

/* fortified: Fortified Solutions design system
   (00_Platforms/Fortified_Solutions/fortified-solutions-site/src/styles/ds/tokens) */
[data-theme="fortified"] {
  --primary: #b60100; --primary-ink: #ffffff; --accent: #b60100;
  --bg: #fcf8f8; --surface: #ffffff; --text: #1c1b1b; --muted: #5f5e5e; --line: #e5e2e1;
  --font: "Manrope", var(--sans); --display: "Manrope", var(--sans);
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  [data-theme="fortified"] {
    --primary: #e50000; --primary-ink: #ffffff; --accent: #ffb4a8;
    --bg: #0a0a0a; --surface: #111111; --text: #ffffff; --muted: #a3a3a3; --line: #262626;
    --danger: #ff8a7a; --ok: #6fd39a;
    color-scheme: dark;
  }
}

/* fortean: Fortean design system (_config/brands/fortean-ai.md, Claude Design 2026-09-06) */
[data-theme="fortean"] {
  --primary: #3438d8; --primary-ink: #ffffff; --accent: #3438d8;
  --bg: #f7fafc; --surface: #ffffff; --text: #181c1e; --muted: #5c5f62; --line: #dde3e8;
  --font: "Hanken Grotesk", var(--sans); --display: "Hanken Grotesk", var(--sans);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  [data-theme="fortean"] {
    --primary: #7d80ff; --primary-ink: #0d0f1a; --accent: #7d80ff;
    --bg: #0f1214; --surface: #171b1e; --text: #e8ecef; --muted: #9aa1a7; --line: #2a3035;
    --danger: #ff8a7a; --ok: #6fd39a;
    color-scheme: dark;
  }
}

/* events: Fortified Events (_config/brands/fortified-events.md, live-site CSS 2026-09-17) */
[data-theme="events"] {
  --primary: #08d308; --primary-ink: #000b00; --accent: #192319;
  --bg: #f2f2f2; --surface: #ffffff; --text: #000b00; --muted: #3d4a3d; --line: #d9ddd9;
  --font: var(--sans); --display: var(--sans);
  color-scheme: light;
}

/* marketplace: ch.shopping design system (00_Platforms/Marketplace/ch.shopping Design System/ds-brand.css) */
[data-theme="marketplace"] {
  --primary: #1b4332; --primary-ink: #ffffff; --accent: #bc3809;
  --bg: #faf7f0; --surface: #ffffff; --text: #231f1c; --muted: #6b6153; --line: #f3ede2;
  --font: var(--sans); --display: var(--sans);
  color-scheme: light;
}

/* pxl: PXL·R XYZ interim tokens (_config/brands/pxl-r.md; pxl-fusion-site tokens.css) */
[data-theme="pxl"] {
  --primary: #00ffcc; --primary-ink: #060709; --accent: #00ffcc;
  --bg: #060709; --surface: #0e1013; --text: #f4f7fb; --muted: #9aa3ad; --line: #1f242b;
  --danger: #ff8a7a; --ok: #38ef7d;
  --font: var(--sans); --display: var(--sans);
  color-scheme: dark;
}

/* beauty: Beauty Authority palette (beauty-authority.clinic live CSS, read 2026-10-28) */
[data-theme="beauty"] {
  --primary: #7a6a45; --primary-ink: #ffffff; --accent: #7a6a45;
  --bg: #faf7f0; --surface: #ffffff; --text: #3a3428; --muted: #6b6050; --line: #d5c9a8;
  --font: var(--sans); --display: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

header.top { padding: 28px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 20px/1.2 var(--display); letter-spacing: -0.02em; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: var(--radius); background: var(--primary); color: var(--primary-ink); font: 700 16px/1 var(--display); letter-spacing: 0; }

.hero { padding: 72px 24px 64px; }
@media (max-width: 560px) { .hero { padding: 40px 16px 48px; } }
.eyebrow { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin: 0 0 20px; overflow-wrap: anywhere; }
h1 { font: 700 clamp(36px, 6vw, 64px)/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 24px; max-width: 16ch; overflow-wrap: anywhere; }
.lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--text); max-width: 46ch; margin: 0 0 12px; }
.soon { color: var(--muted); max-width: 52ch; margin: 0 0 36px; }
.cta { display: inline-block; background: var(--primary); color: var(--primary-ink); text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: var(--radius); }
.cta:hover { filter: brightness(1.08); }

.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding-bottom: 96px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; gap: 28px; } }
.contact h2 { font: 700 32px/1.15 var(--display); letter-spacing: -0.025em; margin: 0 0 12px; }
.contact p { color: var(--muted); margin: 0 0 12px; }

form.card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 28px; display: grid; gap: 18px; min-width: 0; }
@media (max-width: 560px) { form.card { padding: 20px; } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; min-width: 0; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus, .cta:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button.submit { font: inherit; font-weight: 600; background: var(--primary); color: var(--primary-ink); border: 0; border-radius: var(--radius); padding: 14px 22px; cursor: pointer; justify-self: start; }
button.submit[disabled] { opacity: 0.6; cursor: progress; }
.err { color: var(--danger); font-size: 14px; font-weight: 500; }
.status { font-size: 15px; margin: 0; }
.status.ok { color: var(--ok); font-weight: 600; }
.status.bad { color: var(--danger); }

footer.bottom { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.bottom a { color: var(--muted); }

.prose { max-width: 70ch; padding-top: 24px; padding-bottom: 96px; }
.prose h1 { font-size: 40px; max-width: none; }
.prose h2 { font: 700 22px/1.3 var(--display); margin: 32px 0 8px; }
