/* Shared editorial design tokens — used by /train and / (landing).
   Editorial dark felt + gold accent + Fraunces serif headlines. */

:root {
  --bg: #0d1410;
  --bg-elev: #131c17;
  --bg-card: #19251e;
  --felt: #1f3a2c;
  --felt-edge: #0a1410;
  --ink: #e8e4d8;
  --ink-dim: #9aa39a;
  --accent: #d4a64a;
  --accent-soft: #d4a64a22;
  --red: #c4453a;
  --green: #6fa86b;
  --warn: #e0a23a;
  --line: #2a3a30;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse at top, #1a2a20 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, #2a1f15 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  z-index: 1;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #e8b85a; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-style: italic;
}
h1 em { font-style: normal; color: var(--accent); }

button.btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
  font-weight: 600;
}
button.btn:hover { background: var(--accent); color: var(--bg); }
button.btn.primary { background: var(--accent); color: var(--bg); }
button.btn.primary:hover { background: #e8b85a; border-color: #e8b85a; }
button.btn.ghost { border-color: var(--line); color: var(--ink-dim); }
button.btn.ghost:hover { background: var(--bg-elev); color: var(--ink); border-color: var(--ink-dim); }
button.btn:disabled { opacity: 0.4; cursor: not-allowed; }
