/* Brand tokens lifted from aiwithjay.com */
:root {
  --bg: #07080a;
  --surface: #0d1014;
  --ink: #f3efe5;
  --gold: #f5b942;
  --muted: #9ea4ad;
  --dim: #6a6f78;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --display: "Inter Tight", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
body.playing { overflow: hidden; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 26px; }

h1, h2, h3, .model-name { font-family: var(--display); font-weight: 900; letter-spacing: -0.035em; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px;
  background: rgba(7, 8, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(245, 185, 66, 0.35);
}
.brand-name { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; }
.brand-name b { color: var(--gold); font-weight: 900; }
.brand-name .dot { color: var(--gold); }

.cta {
  background: var(--gold); color: #07080a;
  border-radius: 999px; padding: 12px 20px;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: transform 0.14s, filter 0.14s;
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.07); }
.cta.small { padding: 10px 17px; font-size: 12.5px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 86px 0 58px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 700px; pointer-events: none;
  background:
    radial-gradient(720px 340px at 20% 30%, rgba(245,185,66,0.16), transparent 64%),
    radial-gradient(640px 320px at 80% 12%, rgba(245,185,66,0.07), transparent 62%);
}
.hero .wrap { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 20px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 1.76px; text-transform: uppercase; color: var(--muted);
}
.hero h1 {
  margin: 0; font-size: clamp(40px, 6.6vw, 88px); line-height: 0.94;
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: -0.01em; }
.lede {
  margin: 26px 0 0; max-width: 620px;
  font-size: 16.5px; line-height: 1.62; color: var(--muted);
}

/* the prompt specimen */
.prompt-card {
  margin: 38px 0 0; max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 20px 24px 18px;
  position: relative;
}
.prompt-card::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px;
  background: var(--gold); border-radius: 0 3px 3px 0;
}
.prompt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.prompt-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.prompt-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: var(--dim); }
.prompt-text {
  margin: 14px 0 12px; font-family: var(--display); font-weight: 800;
  font-size: clamp(22px, 3.2vw, 31px); letter-spacing: -0.03em; line-height: 1.15;
}
.prompt-foot { margin: 0; font-size: 13px; line-height: 1.6; color: var(--dim); }

.stat-strip {
  display: flex; flex-wrap: wrap; gap: 34px;
  margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--line);
}
.stat-big { display: flex; flex-direction: column; gap: 4px; }
.stat-big b { font-family: var(--display); font-weight: 900; font-size: 32px; letter-spacing: -0.04em; }
.stat-big b i { font-style: normal; color: var(--gold); margin: 0 3px; }
.stat-big span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); }

/* ---------- what to look for ---------- */
.read { padding: 12px 0 46px; }
.read-inner { border-top: 1px solid var(--line); padding-top: 40px; }
.read h2 { margin: 0 0 22px; font-size: 13px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); font-weight: 700; font-family: var(--mono); }
.read-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.read-grid b { display: block; font-family: var(--display); font-size: 17px; margin-bottom: 7px; letter-spacing: -0.02em; }
.read-grid p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- section head ---------- */
main { padding: 0 0 90px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 24px;
  padding-top: 34px; border-top: 1px solid var(--line);
}
.section-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); }

.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--muted); border-radius: 999px; padding: 8px 15px;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--body);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter:hover { background: rgba(255,255,255,0.08); color: var(--ink); }
.filter.on { background: var(--gold); border-color: var(--gold); color: #07080a; }

/* ---------- cards ---------- */
.grid { display: flex; flex-direction: column; gap: 20px; }

.card {
  position: relative; display: grid; grid-template-columns: 380px 1fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,185,66,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.card-rail { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--era); z-index: 3; }

/* Locked to the capture ratio and centred in the row, so a tall card body
   never crops the screenshot down to an unreadable slice of the menu. */
.thumb {
  position: relative; background: #05070c; overflow: hidden;
  aspect-ratio: 16 / 10; align-self: center; width: 100%;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 50%, rgba(13,16,20,0.94) 100%);
}
.play-btn {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(7,8,10,0.8); border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px); color: var(--ink);
  border-radius: 999px; padding: 9px 20px;
  font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--body);
  transition: transform 0.14s, background 0.14s, color 0.14s;
}
.play-btn:hover { transform: scale(1.05); background: var(--gold); color: #07080a; border-color: transparent; }

.card-body { padding: 24px 26px; }

/* the model, front and centre */
.model-head { margin-bottom: 14px; }
.model-line { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.seq { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 1px; }
.model-date { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.model-name {
  margin: 0; font-size: clamp(34px, 4.6vw, 52px); line-height: 0.94;
  letter-spacing: -0.045em; color: var(--ink);
}
.model-name.muted { color: var(--dim); }
.model-sub { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.game-name { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: -0.015em; }
.game-tech { font-family: var(--mono); font-size: 11px; color: var(--dim); }

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.8px; padding: 5px 9px; border-radius: 5px; cursor: help;
}
.badge.builder { background: rgba(245,185,66,0.14); color: var(--gold); border: 1px solid rgba(245,185,66,0.3); }
.badge.builder.unknown { background: rgba(255,255,255,0.05); color: var(--dim); border-color: var(--line); }
.badge.tick { background: rgba(70,200,130,0.14); color: #6fe0a0; border: 1px solid rgba(70,200,130,0.32); }
.badge.soft { background: rgba(255,255,255,0.04); color: var(--dim); border: 1px solid var(--line); }
.badge.now { background: var(--gold); color: #07080a; font-weight: 600; }

.blurb { margin: 13px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footnote {
  margin: 9px 0 0; padding-left: 11px; border-left: 2px solid rgba(245,185,66,0.35);
  font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--dim);
}

.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.chip { font-size: 11px; padding: 4px 9px; border-radius: 5px; font-family: var(--body); }
.chip.yes { background: rgba(255,255,255,0.06); color: rgba(243,239,229,0.8); }
.chip.no { background: rgba(255,90,90,0.08); color: rgba(255,150,150,0.7); }

.stats { display: flex; gap: 26px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.stat { display: flex; align-items: baseline; gap: 6px; }
.stat b { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.stat span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); }

/* ---------- notes + footer ---------- */
.notes { margin-top: 44px; padding: 24px 26px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); border-radius: 14px; }
.notes h3 { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.notes p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.65; color: var(--muted); max-width: 880px; }
.notes b { color: var(--ink); }
.fineprint { font-size: 12px !important; color: var(--dim) !important; }

/* ---------- email capture ---------- */
.signup {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 400px at 18% 0%, rgba(245,185,66,0.13), transparent 66%),
    var(--surface);
  padding: 62px 0;
}
.signup-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: center; }
.signup-eyebrow {
  margin: 0 0 14px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 1.7px; text-transform: uppercase; color: var(--gold);
}
.signup-title { margin: 0; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.04; }
.signup-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.signup-lede { margin: 16px 0 0; font-size: 15px; line-height: 1.62; color: var(--muted); max-width: 520px; }
.signup-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.signup-list li {
  position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); line-height: 1.5;
}
.signup-list li::before {
  content: "→"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700;
}

.signup-action { min-width: 0; }
.signup-form { display: flex; gap: 9px; flex-wrap: wrap; }
.signup-input {
  flex: 1 1 220px; min-width: 0;
  background: rgba(7,8,10,0.72); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 11px;
  padding: 16px 17px; font-size: 15px; font-family: var(--body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.signup-input::placeholder { color: var(--dim); }
.signup-input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,185,66,0.18);
}
.signup-btn {
  flex: 0 0 auto;
  background: var(--gold); color: #07080a; border: none;
  border-radius: 11px; padding: 16px 26px;
  font-size: 15px; font-weight: 800; letter-spacing: -0.01em;
  cursor: pointer; font-family: var(--body); text-decoration: none;
  display: inline-flex; align-items: center;
  transition: transform 0.14s, filter 0.14s;
  box-shadow: 0 10px 30px rgba(245,185,66,0.22);
}
.signup-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); }
.signup-btn:disabled { opacity: 0.6; cursor: default; }
.signup-status { margin: 10px 0 0; font-size: 13px; min-height: 18px; color: var(--muted); }
.signup-status.err { color: #ff9a9a; }
.signup-done { margin: 0; font-size: 16px; font-weight: 700; color: var(--gold); }
.signup-trust { margin: 12px 0 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.6px; color: var(--dim); }

@media (max-width: 900px) {
  .signup-inner { grid-template-columns: 1fr; gap: 30px; }
  .signup { padding: 46px 0; }
}

.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot p { margin: 0; font-size: 13px; color: var(--dim); }
.foot a { color: var(--gold); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .cta { color: #07080a; text-decoration: none; }

/* ---------- play stage ---------- */
.stage { position: fixed; inset: 0; z-index: 60; background: #05070c; display: none; flex-direction: column; }
.stage.open { display: flex; }
.stage-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 18px; background: rgba(7,8,10,0.97); border-bottom: 1px solid var(--line);
}
.stage-id { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.stage-id strong { font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: -0.03em; }
.stage-id span { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.8px; }
.stage-actions { display: flex; align-items: center; gap: 9px; }
.stage-link { color: var(--muted); font-size: 12.5px; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 13px; }
.stage-link:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.stage-close { background: var(--gold); color: #07080a; border: none; border-radius: 8px; padding: 8px 16px; font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: var(--body); }
.stage iframe { flex: 1; width: 100%; border: 0; background: #000; display: block; }
.stage-hint { margin: 0; padding: 7px 18px; font-family: var(--mono); font-size: 10.5px; color: var(--dim); background: rgba(7,8,10,0.97); border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .read-grid { grid-template-columns: repeat(2, 1fr); }
  .card { grid-template-columns: 1fr; }
  .thumb { min-height: 210px; }
  .hero { padding-top: 52px; }
  .stat-strip { gap: 22px; }
}
@media (max-width: 560px) {
  .read-grid { grid-template-columns: 1fr; }
  .topbar .cta { display: none; }
}
