/* Botrayal – landing page */

@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #16181B;
  --bg-deep: #0F1113;
  --surface: #1E2125;
  --field: #22252A;
  --line: #2C2F34;
  --line-strong: #3A3D43;
  --text: #E8E6E1;
  --text-2: #C9C7C0;
  --text-3: #B5B3AC;
  --text-4: #8F8D86;
  --signal: #FF6A1A;
  --signal-hover: #FF8C4A;
  --think-bg: #22180F;
  --think-text: #FFB27A;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  --max: 1160px;
  --gutter: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--signal); }
a:hover { color: var(--signal-hover); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--signal); color: var(--bg); padding: 10px 16px; border-radius: 6px; z-index: 10; font-family: var(--font-mono); }
.skip-link:focus { top: 16px; color: var(--bg); }

.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); font-size: 14px; letter-spacing: 4px; color: var(--signal); text-transform: uppercase; }
.display { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: 1; }
.accent { color: var(--signal); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border: 0; border-radius: 6px; cursor: pointer; text-decoration: none;
  font-family: var(--font-mono); font-weight: 500; font-size: 15px; letter-spacing: 1px; text-transform: uppercase;
  transition: background-color .15s ease, color .15s ease;
}
.btn-signal { background: var(--signal); color: var(--bg); }
.btn-signal:hover { background: var(--signal-hover); color: var(--bg); }
.btn-dark { background: var(--bg); color: var(--text); padding: 16px 24px; }
.btn-dark:hover { background: #000; color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header .container { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand span { font-family: var(--font-display); font-weight: 900; font-size: 30px; letter-spacing: 2px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.site-nav a:not(.btn) { color: var(--text-3); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--text); }
.site-nav .btn { font-size: 14px; min-height: 44px; padding: 10px 18px; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(52px, 9vw, 88px); line-height: .92; letter-spacing: 1px; }
.hero .lead { max-width: 560px; font-size: 20px; color: var(--text-2); }
.hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero-art .frame { width: 100%; max-width: 560px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; position: relative; }
.scene-toggle { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(22, 24, 27, .85); color: var(--text); cursor: pointer; }
.scene-toggle:hover { border-color: var(--signal); color: var(--signal); }
.scene-toggle .icon-play { display: none; }
.scene-toggle.is-paused .icon-play { display: block; }
.scene-toggle.is-paused .icon-pause { display: none; }

/* Waitlist form */
.waitlist { display: flex; flex-wrap: wrap; gap: 12px; max-width: 560px; }
.waitlist input[type="email"] {
  flex: 1 1 260px; min-width: 0; min-height: 48px;
  background: var(--field); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 6px; padding: 12px 16px; font-size: 17px; font-family: var(--font-body);
}
.waitlist input[type="email"]::placeholder { color: var(--text-4); }
.waitlist input[type="email"]:focus { border-color: var(--signal); outline: none; }
.waitlist .btn { flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: var(--text-4); min-height: 1.6em; }
.form-note[data-state="ok"] { color: #7FD69A; }
.form-note[data-state="error"] { color: var(--think-text); }

/* Hazard stripe */
.stripe { height: 14px; background: repeating-linear-gradient(135deg, var(--signal) 0 18px, var(--bg) 18px 36px); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.section + .section { padding-top: 0; }
.section h2 { font-size: clamp(40px, 6vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card.filled { background: var(--surface); }
.card .num { font-family: var(--font-mono); font-size: 14px; color: var(--signal); }
.card h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.card p { color: var(--text-3); }

/* Replay */
.replay-row { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.replay-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.replay-copy p { color: var(--text-2); }
.terminal { margin: 0; flex: 999 1 520px; min-width: 0; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 12px; padding: 24px; font-family: var(--font-mono); font-size: 15px; line-height: 1.7; display: flex; flex-direction: column; gap: 16px; }
.terminal .label { color: var(--text-4); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.terminal .who { color: var(--text); }
.terminal .say { color: var(--text-2); }
.terminal .think { background: var(--think-bg); border-radius: 6px; padding: 10px 14px; color: var(--think-text); }

/* CTA band */
.cta { background: var(--signal); color: var(--bg); border-radius: 16px; padding: 48px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.cta > div { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-size: clamp(36px, 5vw, 48px); }
.cta p { font-size: 18px; }
@media (max-width: 520px) { .cta { padding: 36px 24px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-4); }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--text-3); }
.site-footer a:hover { color: var(--text); }

/* Legal pages */
.legal { padding-top: 48px; padding-bottom: 96px; max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.legal h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 12px; }
.legal h2 { font-size: 22px; font-weight: 600; margin-top: 16px; scroll-margin-top: 24px; }
.legal p, .legal li { color: var(--text-2); }
