/* allthebots.com — the pre-launch page ("Trailer", docs/PRELAUNCH.md). Black, one red, heavy condensed caps, stills. */
@font-face { font-family: "Anton"; src: url(/fonts/Anton-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/fonts/InstrumentSans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/fonts/IBMPlexMono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #000000;
  --panel: #0e0e10;
  --line: #1c1c1f;
  --text: #ffffff;
  --text-soft: #e6e6ea;
  --text-mute: #a7a7ad;
  --text-dim: #8e8e96;
  --red: #ff2a2a;
  --gutter: 40px;
}
@media (max-width: 760px) { :root { --gutter: 20px; } }

* { box-sizing: border-box; }
html { background: var(--ink); color: var(--text); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 12px; z-index: 10; background: var(--text); color: var(--ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.big { font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif; font-weight: 400; text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; margin: 0; }
.cap { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #c9c9cf; margin: 0; }
.cap-red { color: var(--red); }
.red { color: var(--red); }
.muted { color: var(--text-mute); }
.body { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; margin: 40px 0 0; max-width: 620px; }
.narrow { max-width: 460px; margin-top: 24px; font-size: 20px; }
.lede { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; margin: 0; max-width: 560px; color: var(--text-soft); }
.fine { font-size: 14px; line-height: 1.55; color: var(--text-mute); margin: 18px 0 0; }
.fine a { color: var(--text); }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wrap { max-width: 1360px; margin: 0 auto; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }

/* Buttons: real links or buttons, 44 px minimum, square corners. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-white { background: var(--text); color: var(--ink); }
.btn-white:hover { background: var(--red); color: var(--text); }
.btn-lg { font-size: 17px; padding: 18px 30px; }
.btn[disabled] { opacity: .6; cursor: default; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 17px; text-decoration: none; }

/* Header */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); }
.wordmark { font-family: "Anton", Impact, sans-serif; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.top-right { display: flex; align-items: center; gap: 28px; }
@media (max-width: 560px) { .top-right .cap { display: none; } }

/* Full-bleed stills: the image fills the frame, text sits at the bottom over a shade. */
.frame { position: relative; height: clamp(420px, 48vw, 640px); overflow: hidden; background: #000; display: flex; align-items: flex-end; }
.frame-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-img.dim { filter: brightness(.6); }
.pos-terrace { object-position: center 30%; }
.pos-pad { object-position: center 40%; }
.pos-question { object-position: center 55%; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.9) 100%); }
.frame-body { position: relative; width: 100%; padding: 0 var(--gutter) 44px; }
.frame-body .cap { margin-bottom: 14px; }
.frame-body.centered { text-align: center; padding-bottom: 0; }
.frame-body.centered .lede { margin: 28px auto 0; max-width: 620px; }
.bars { border-top: 40px solid #000; border-bottom: 40px solid #000; }
@media (max-width: 760px) { .bars { border-top-width: 16px; border-bottom-width: 16px; } }

.hero { height: auto; min-height: clamp(620px, 92svh, 860px); }
.hero .frame-body { padding-bottom: 56px; }
.hero .cap { margin-bottom: 20px; }
.hero-title { font-size: clamp(64px, 13vw, 200px); }
.hero-copy .lede + .lede { margin-top: 16px; }
.hero-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 48px; align-items: end; margin-top: 32px; max-width: 1200px; }

.question { height: clamp(560px, 60vw, 760px); align-items: center; }

/* Title cards */
.card { padding: 120px var(--gutter); border-bottom: 1px solid var(--line); }
.card .cap { margin-bottom: 28px; }
.title-xl { font-size: clamp(44px, 8.4vw, 128px); }
.title-xl.red { margin-top: 24px; }
.title-lg { font-size: clamp(44px, 7vw, 104px); }
.title-xxl { font-size: clamp(52px, 10vw, 150px); }
.title-life { font-size: clamp(44px, 9vw, 140px); }
.title-life-sm { font-size: clamp(40px, 7.4vw, 112px); }
.title-brand { font-size: clamp(56px, 14vw, 220px); line-height: .9; }
.doorway { padding: 96px var(--gutter); }
.doorway-img { width: 100%; height: clamp(300px, 36vw, 440px); object-fit: cover; object-position: 55% 20%; display: block; }
.rules { padding: 140px var(--gutter); text-align: center; }
@media (max-width: 760px) { .card { padding: 80px var(--gutter); } .rules { padding: 96px var(--gutter); } }

/* Signup */
.signup { text-align: center; padding: 140px var(--gutter) 120px; border-bottom: 0; }
.signup .cap-red { margin: 28px 0 56px; }
.signup-form { max-width: 640px; margin: 0 auto; text-align: left; }
.signup-form label.cap { display: block; margin-bottom: 12px; }
.row-form { gap: 12px; }
.row-form input { flex: 1 1 280px; min-width: 0; min-height: 56px; font: inherit; font-size: 18px; color: var(--text); background: var(--panel); border: 1px solid #3a3a40; padding: 14px 20px; }
.row-form input:focus { border-color: var(--text); outline: none; }
.row-form input[aria-invalid="true"] { border-color: var(--red); }
.row-form .btn { min-height: 56px; }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; margin: 16px 0 0; font-size: 16px; color: var(--text-soft); }
.status.error { color: #ff8a8a; }
.status.ok { color: #9ef0a8; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px var(--gutter) 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; align-items: flex-start; }
.foot .fine { margin: 0; max-width: 620px; color: var(--text-dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--text-dim); }
.foot-links a { color: #d6d6dc; text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }

/* Inner pages (privacy, contact, 404) */
.page { max-width: 760px; margin: 0 auto; padding: 80px var(--gutter) 120px; }
.page h1 { font-size: clamp(44px, 8vw, 96px); margin-bottom: 32px; }
.page h2 { font-size: 22px; margin: 40px 0 8px; }
.page p, .page li { color: var(--text-soft); font-size: 17px; line-height: 1.6; }
.page .cap { margin-bottom: 20px; }
