/* Draftory site. Same palette as the app ("Capital Exchange"): charcoal ground, one gold accent. */
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url('/fonts/BarlowCondensed_800ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/Inter_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/Inter_600SemiBold.ttf') format('truetype'); }

:root {
  --bg: #0b0c0e;
  --panel: #14161a;
  --line: #24272d;
  --text: #f2f3f5;
  --dim: #9aa0aa;
  --gold: #f5b83d;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: var(--gold); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font: 800 28px/1 'Barlow Condensed', 'Arial Narrow', sans-serif; letter-spacing: 2px; color: var(--text); text-decoration: none; }
.wordmark span { color: var(--gold); }
nav a { color: var(--dim); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover, nav a[aria-current='page'] { color: var(--text); }

h1, h2, .display { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; letter-spacing: 0.5px; line-height: 1.05; }
h1 { font-size: clamp(44px, 9vw, 76px); margin: 64px 0 16px; }
h1 em { font-style: normal; color: var(--gold); }
h2 { font-size: 30px; margin: 48px 0 8px; }
h3 { font-size: 18px; margin: 28px 0 4px; }
.lede { font-size: 20px; color: var(--dim); max-width: 600px; }
.kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 600; color: var(--dim); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 40px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }

.button {
  display: inline-block; background: var(--gold); color: #111; font-weight: 600; text-decoration: none;
  padding: 14px 22px; border-radius: 12px; border: 0; font-size: 17px; min-height: 48px;
}
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.pill { display: inline-block; border: 1px dashed var(--gold); color: var(--gold); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }

.code { font: 800 clamp(56px, 16vw, 96px)/1 'Barlow Condensed', 'Arial Narrow', sans-serif; letter-spacing: 8px; color: var(--gold); margin: 16px 0; user-select: all; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }

.doc p, .doc li { color: #d5d8de; }
.doc ul { padding-left: 22px; }
.muted { color: var(--dim); font-size: 15px; }

footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 0 48px; color: var(--dim); font-size: 14px; }
footer a { color: var(--dim); margin-right: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform 0.12s ease; }
  .button:active { transform: scale(0.97); }
}

.invite-kicker { margin-top: 64px; }
.invite-title { margin-top: 8px; }
.centered { margin-left: auto; margin-right: auto; }
[hidden] { display: none !important; }
