/* Palette sampled from the LongJump logo and reveal animation */
:root {
  --ink: #07060a;          /* reveal video background */
  --night: #120d0b;
  --night-2: #1b1310;
  --red: #ca1c15;          /* icon field */
  --red-bright: #e31b12;   /* LONG JUMP lettering */
  --red-deep: #8e120d;
  --gold: #e9b949;
  --gold-hi: #fceb9e;
  --gold-deep: #a9781f;
  --cream: #fbf1cf;        /* oval field */
  --cream-2: #f6e3a6;
  --navy: #20264a;         /* GAME DEV KIT lettering */
  --navy-soft: #4a4f6e;
  --gold-grad: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  --radius: 18px;
  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --heavy: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--navy);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .88em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(7, 6, 10, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233, 185, 73, .14);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; }
.brand span {
  font: 400 24px/1 var(--display); letter-spacing: .5px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: #e8dcc0; text-decoration: none; font-weight: 500; font-size: 15px; opacity: .8; }
.nav-links a:hover { opacity: 1; color: var(--gold-hi); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font: 800 16px/1 var(--heavy); letter-spacing: .2px; text-decoration: none;
  cursor: pointer; border: 0; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red {
  color: #fff8e1;
  background: linear-gradient(180deg, var(--red-bright), var(--red) 55%, var(--red-deep));
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(169, 120, 31, .55), 0 10px 28px rgba(202, 28, 21, .4);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}
.btn-red:hover { filter: brightness(1.08); box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 4px rgba(169, 120, 31, .6), 0 14px 34px rgba(227, 27, 18, .5); }
.btn-ghost { color: var(--gold-hi); background: transparent; box-shadow: inset 0 0 0 2px rgba(233, 185, 73, .55); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--gold-hi); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 17px; font-size: 17px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse 70% 55% at 50% 30%, #1d1409 0%, var(--ink) 70%);
  color: #f4ead2;
  padding: 24px 0 150px;
}
.dust {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, var(--gold-hi), transparent 60%),
    radial-gradient(1px 1px at 82% 14%, var(--gold), transparent 60%),
    radial-gradient(2px 2px at 70% 62%, var(--gold-hi), transparent 60%),
    radial-gradient(1px 1px at 30% 70%, var(--gold), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 48%, var(--gold-hi), transparent 60%),
    radial-gradient(1px 1px at 6% 56%, var(--gold), transparent 60%),
    radial-gradient(1.5px 1.5px at 45% 12%, var(--gold), transparent 60%),
    radial-gradient(1px 1px at 58% 84%, var(--gold-hi), transparent 60%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translateY(-18px); opacity: .85; } }
.hero-inner { position: relative; }
.reveal-frame {
  max-width: 820px; margin: 0 auto -40px;
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 58%, transparent 100%);
}
.reveal { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; mix-blend-mode: screen; } /* black video ground drops out */
.hero .eyebrow, .hero h1, .hero .lede, .hero .cta-row { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  padding: 7px 16px; border-radius: 999px;
  font: 700 13px/1 var(--heavy); letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-hi);
  background: rgba(233, 185, 73, .08); box-shadow: inset 0 0 0 1px rgba(233, 185, 73, .35);
}
.pip { width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 {
  margin: 0 auto 18px; max-width: 900px;
  font: 400 clamp(42px, 7vw, 82px)/1.02 var(--display); letter-spacing: .5px; color: #fff3d6;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35)); }
.lede { max-width: 640px; margin: 0 auto 34px; font-size: clamp(17px, 2vw, 20px); color: #d9ccb0; }
.cta-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.arc { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }

/* Shared section type */
section { padding: 96px 0; }
.kicker { margin: 0 0 10px; font: 800 13px/1 var(--heavy); letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
.kicker-gold { color: var(--gold); }
h2 { margin: 0 0 16px; font: 400 clamp(34px, 4.6vw, 54px)/1.05 var(--display); letter-spacing: .4px; color: var(--red); }
h3 { margin: 0 0 8px; font: 800 19px/1.25 var(--heavy); color: var(--navy); }
.section-lede { max-width: 680px; margin: 0 0 48px; font-size: 19px; color: var(--navy-soft); }
.on-dark { color: #fff3d6; }
.on-dark-soft { color: #c9bb9c; }

/* Cream sections */
.cream {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #fff8dc 0%, transparent 70%),
    var(--cream);
}
#features { padding-top: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 28px 26px 26px; border-radius: var(--radius);
  background: #fffaf0;
  box-shadow: 0 0 0 1px rgba(169, 120, 31, .25), 0 1px 0 #fff inset, 0 12px 30px -16px rgba(110, 70, 10, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright), var(--red-deep));
}
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(169, 120, 31, .45), 0 18px 36px -16px rgba(110, 70, 10, .55); }
.card p { margin: 0; font-size: 15.5px; color: var(--navy-soft); }
.glyph {
  width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-grad); box-shadow: inset 0 -2px 0 rgba(120, 80, 10, .35), 0 3px 8px rgba(169, 120, 31, .35);
}
.glyph svg { width: 24px; height: 24px; fill: var(--red-deep); }

/* Red band */
.red-band {
  position: relative; color: #fff1d8;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .12), transparent 30%),
    radial-gradient(ellipse 70% 90% at 20% 50%, var(--red) 0%, var(--red-deep) 100%);
  border-top: 5px solid var(--gold); border-bottom: 5px solid var(--gold);
  box-shadow: inset 0 5px 0 var(--gold-deep), inset 0 -5px 0 var(--gold-deep);
}
.red-band h2 { color: #fff3d6; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.how { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps strong { color: var(--gold-hi); font-family: var(--heavy); font-weight: 800; }
.steps code { color: var(--gold-hi); }
.num {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font: 400 20px/1 var(--display); color: var(--red-deep); background: var(--gold-grad);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .25);
}
.fine { margin: 0; font-size: 14.5px; color: #f1c9b9; }
.code {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  background: #0e0a0a; box-shadow: 0 0 0 2px var(--gold-deep), 0 24px 50px rgba(0, 0, 0, .4);
}
.code-bar { display: flex; gap: 7px; align-items: center; padding: 12px 16px; background: #1a1210; border-bottom: 1px solid rgba(233, 185, 73, .15); }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a2a24; }
.code-bar span:first-child { background: var(--red-bright); }
.code-bar span:nth-child(2) { background: var(--gold); }
.code-bar em { margin-left: auto; font: 500 12px var(--mono); font-style: normal; color: #8f7f6a; }
.code pre { margin: 0; padding: 22px 22px 24px; overflow-x: auto; font: 400 13.5px/1.7 var(--mono); color: #eadfca; }
.code .c { color: #8f7f6a; }
.code .k { color: var(--red-bright); font-weight: 500; }
.code .v { color: var(--gold); }
.code .s { color: var(--gold-hi); }
.code .n { color: #ffb38a; }

/* Night sections */
.night { background: radial-gradient(ellipse 80% 70% at 50% 0%, var(--night-2) 0%, var(--ink) 75%); color: #e8dcc0; }
.runway { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.leg {
  padding: 22px 20px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(233, 185, 73, .07), rgba(233, 185, 73, .02));
  box-shadow: inset 0 0 0 1px rgba(233, 185, 73, .2);
}
.leg h3 { color: var(--gold-hi); font-size: 17px; }
.leg p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #bcae90; }

/* Alpha */
.alpha-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.alpha-copy p:not(.kicker) { font-size: 18px; color: var(--navy-soft); }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--gold-grad) ; box-shadow: inset 0 -2px 0 rgba(120, 80, 10, .35);
}
.ticks li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 11px;
  border: solid var(--red-deep); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.alpha-logo { display: block; width: 320px; filter: drop-shadow(0 18px 24px rgba(110, 70, 10, .3)); }

.ticket {
  position: relative; padding: 0 28px 28px; border-radius: 22px;
  background: #fffaf0;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 6px var(--gold-deep), 0 30px 60px -20px rgba(110, 70, 10, .55);
}
.ticket-head {
  margin: 0 -28px 24px; padding: 18px 28px; border-radius: 19px 19px 0 0;
  font: 400 26px/1 var(--display); letter-spacing: .4px; color: #fff3d6; text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
  background: linear-gradient(180deg, var(--red-bright), var(--red) 55%, var(--red-deep));
  border-bottom: 3px solid var(--gold);
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.span-2 { grid-column: 1 / -1; }
.ticket label { display: grid; gap: 6px; font: 700 13px/1.2 var(--heavy); color: var(--navy); }
.ticket input, .ticket select, .ticket textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  font: 400 16px/1.3 var(--body); color: var(--navy);
  background: #fff; border: 1.5px solid #e6d29a; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.ticket textarea { resize: vertical; }
.ticket input:focus, .ticket select:focus, .ticket textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(202, 28, 21, .15); }
.ticket input[aria-invalid="true"] { border-color: var(--red-bright); }
fieldset { margin: 18px 0; padding: 0; border: 0; }
legend { margin-bottom: 8px; font: 700 13px/1.2 var(--heavy); color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--body); color: var(--navy-soft);
  background: var(--cream); box-shadow: inset 0 0 0 1.5px #e6d29a; transition: all .15s;
}
.chips input:checked + span { color: #fff6df; background: var(--red); box-shadow: inset 0 0 0 1.5px var(--gold); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.ticket > label { margin-bottom: 20px; }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 14px 0 0; min-height: 1.4em; text-align: center; font-weight: 600; }
.form-status.err { color: var(--red); }
.ticket.done .grid, .ticket.done fieldset, .ticket.done > label, .ticket.done button { display: none; }
.ticket.done .form-status { padding: 30px 6px 10px; font: 400 26px/1.25 var(--display); color: var(--red); }
.ticket.done .form-status small { display: block; margin-top: 10px; font: 500 16px/1.5 var(--body); color: var(--navy-soft); }

/* FAQ */
.faq h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid rgba(233, 185, 73, .2); }
summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 800 18px/1.35 var(--heavy); color: #fff3d6;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font: 400 30px/1 var(--display); color: var(--gold); transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 22px; color: #c9bb9c; }
details a { color: var(--gold-hi); }

/* Footer */
.footer { background: var(--ink); border-top: 1px solid rgba(233, 185, 73, .15); color: #8f7f6a; padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0px)); }
.foot-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-inner p { margin: 0; font-size: 14px; }
.foot-inner nav { margin-left: auto; display: flex; gap: 20px; }
.foot-inner nav a { font-size: 14px; text-decoration: none; color: #c9bb9c; }
.foot-inner nav a:hover { color: var(--gold-hi); }

/* Responsive */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .runway { grid-template-columns: repeat(2, 1fr); }
  .how, .alpha-inner { grid-template-columns: 1fr; gap: 40px; }
  .alpha-logo { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  section { padding: 72px 0; }
  .hero { padding-bottom: 120px; }
  .reveal-frame { margin-bottom: -16px; }
  .cards, .runway, .grid { grid-template-columns: 1fr; }
  .ticket { padding: 0 18px 22px; }
  .ticket-head { margin: 0 -18px 20px; padding: 16px 18px; }
  .foot-inner nav { margin-left: 0; }
  .eyebrow { font-size: 11px; letter-spacing: 1px; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
