/* Holding page — moneymapped.in
   Tokens copied from src/styles/tokens.css (umbrella accent). */

@font-face { font-family:'Lora'; font-style:normal; font-weight:400; font-display:swap;
  src:url('./lora-400.woff2') format('woff2'); }
@font-face { font-family:'Lora'; font-style:normal; font-weight:700; font-display:swap;
  src:url('./lora-700.woff2') format('woff2'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:400; font-display:swap;
  src:url('./plex-sans-400.woff2') format('woff2'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:600; font-display:swap;
  src:url('./plex-sans-600.woff2') format('woff2'); }

:root {
  --bg:      #faf6f0;
  --text:    #1c1b18;
  --muted:   #5c5952;
  --border:  #e3ded5;
  --accent:  #7a6c3a;
  --serif:   'Lora', Georgia, serif;
  --sans:    'IBM Plex Sans', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:     #201e1a;
    --text:   #ece7dd;
    --muted:  #a39c8f;
    --border: #3b372f;
    --accent: #c3b171;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 62ch;
  margin: 0 auto;
  padding: 12vh 1.5rem 6rem;
}

/* ── Mark ─────────────────────────────────────────────── */

.mark {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 2.75rem;
}

.mark svg {
  width: 34px;
  height: auto;
  flex: none;
  color: var(--text);
  transform: translateY(4px);
}

.mark .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.mark .comma { color: var(--accent); }

/* ── Type ─────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0 0 1.75rem;
  max-width: 30ch;
}

h1.subhead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.4;
  margin: 0 0 1.5rem;
  max-width: 34ch;
}

p { margin: 0 0 1.15rem; }

.chain {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--text);
}

.chain .arrow { color: var(--accent); padding: 0 0.15em; }

.launch {
  color: var(--accent);
  font-weight: 600;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3rem 0 1.5rem;
}

footer {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) { footer a:hover { color: var(--accent); } }

footer .disclaimer { margin: 0.4rem 0 0; }

/* ── Mobile ───────────────────────────────────────────── */

@media (max-width: 480px) {
  .page { padding: 8vh 1.25rem 4rem; }
  .lead { font-size: 1.25rem; }
  h1.subhead { font-size: 1.15rem; }
  body { font-size: 1rem; }
}

/* ── 404 ──────────────────────────────────────────────── */

a.mark {
  text-decoration: none;
  color: inherit;
  width: fit-content;
}

.page > p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (hover: hover) { .page > p a:hover { text-decoration-thickness: 2px; } }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
