@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #0e0d12;
  --ink-2: #1b1a22;
  --ink-3: #2a2933;
  --cream: #f6f1e7;
  --lime: #c6ff3d;
  --red: #ff4b1f;
  --blue: #2b3dff;
  --mute: #b9b5c4;
  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--lime) var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem)/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--ink); }
input { caret-color: var(--lime); }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.p-lime :focus-visible, .p-lime.waitlist :focus-visible { outline-color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 0.5rem; background: var(--lime); color: var(--ink); padding: 0.6rem 1rem; z-index: 99; border-radius: 999px; }
.skip-link:focus { left: 0.5rem; }

/* ---------- type ---------- */
.display {
  font: 800 clamp(2.9rem, 1.2rem + 8vw, 6.5rem)/0.92 var(--display);
  font-stretch: 75%;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem var(--pad);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 0.6rem; background: var(--ink); padding: 0.3rem 0.9rem 0.3rem 0.3rem; border-radius: 999px; color: var(--cream); text-decoration: none; font: 800 1.4rem/1 var(--display); font-stretch: 75%; letter-spacing: 0.02em; }
.brand img { border-radius: 50%; display: block; width: 32px; height: 32px; }
.pill, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 1rem/1 var(--body); text-decoration: none; border: 0; cursor: pointer;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s;
}
.pill { background: var(--cream); color: var(--ink); padding: 0.8rem 1.25rem; }
.pill:hover { background: var(--lime); transform: rotate(-2deg) scale(1.04); }
.btn { padding: 1.2rem 2rem; font-size: 1.15rem; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { transform: translateY(-3px) rotate(-1.5deg) scale(1.03); background: var(--cream); }
.btn:active, .pill:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(6.5rem, 14vw, 10rem) var(--pad) clamp(5rem, 9vw, 8rem);
}
.sun {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at calc(100% + 4vw) 18%, var(--red) min(38vw, 22rem), transparent calc(min(38vw, 22rem) + 1px));
  animation: sun 1.4s var(--ease) both;
}
.hero-inner { position: relative; z-index: 1; max-width: 84rem; margin: 0 auto; }
.hero .display { font-size: clamp(3.1rem, 0.6rem + 11.5vw, 8.5rem); letter-spacing: -0.02em; }
.line { display: block; }
.w { display: inline-block; animation: rise 0.9s var(--ease) both; }
.line:nth-child(1) .w:nth-child(1) { animation-delay: 0.05s; }
.line:nth-child(1) .w:nth-child(2) { animation-delay: 0.12s; }
.line:nth-child(1) .w:nth-child(3) { animation-delay: 0.19s; }
.line:nth-child(2) .w:nth-child(1) { animation-delay: 0.26s; }
.line:nth-child(2) .w:nth-child(2) { animation-delay: 0.33s; }
.line:nth-child(2) .w:nth-child(3) { animation-delay: 0.4s; }
.line:nth-child(2) .w:nth-child(4) { animation-delay: 0.47s; }
.hot { color: var(--lime); }
.lede { max-width: 32ch; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem); line-height: 1.3; margin: 1.8rem 0 2rem; font-weight: 500; animation: fade 1s var(--ease) 0.6s both; }
.cta-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; animation: fade 1s var(--ease) 0.75s both; }
.note { color: var(--mute); font-weight: 500; }
.hero-frame { margin: clamp(3rem, 7vw, 5.5rem) 0 0; animation: fade 1.2s var(--ease) 0.9s both; }

@keyframes rise { from { transform: translateY(70%) rotate(3deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sun { from { opacity: 0; } to { opacity: 1; } }

/* ---------- video frame ---------- */
.frame {
  margin: 0; position: relative;
  border-radius: clamp(16px, 2.4vw, 32px); overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.55), 0 8px 20px -8px rgb(0 0 0 / 0.4);
  aspect-ratio: 16 / 9;
}
.frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink-2); }

/* ---------- ticker ---------- */
.ticker-wrap { overflow: hidden; position: relative; z-index: 3; }
.ticker {
  background: var(--lime); color: var(--ink);
  transform: rotate(-2deg) scale(1.04); margin: 1.6rem 0;
  position: relative; z-index: 3; overflow: hidden; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.5);
}
.ticker-track { display: inline-flex; align-items: center; gap: 1.6rem; padding: 0.9rem 0; animation: ticker 28s linear infinite; }
.ticker span { font: 800 clamp(1.8rem, 4vw, 3rem)/1 var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.01em; }
.ticker svg { width: 1.6rem; height: 1.6rem; color: var(--red); flex: none; }
@keyframes ticker { to { transform: translateX(-25%); } }

/* ---------- panels ---------- */
.panel { padding: clamp(6rem, 11vw, 10rem) var(--pad); position: relative; }
.p-lime { background: var(--lime); color: var(--ink); }
.p-blue { background: var(--blue); color: var(--cream); }
.p-red { background: var(--red); color: var(--ink); }
.p-cream { background: var(--cream); color: var(--ink); }
.panel-grid {
  max-width: 76rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.flip .copy { order: 2; }
.flip { --dir: -1; }
.flip .panel-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.flip .frame { order: 1; }
.copy p { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.3; font-weight: 500; max-width: 24ch; margin: 1.4rem 0 0; }
.sticker { width: 4.6rem; height: 4.6rem; margin-bottom: 1.6rem; display: block; animation: wobble 6s ease-in-out infinite alternate; }
.sticker circle:first-child { fill: var(--ink); }
.sticker g { stroke: var(--lime); }
.p-lime .sticker g { stroke: var(--lime); }
.p-blue .sticker circle:first-child { fill: var(--lime); }
.p-blue .sticker g { stroke: var(--blue); }
.p-cream .sticker g { stroke: var(--red); }
@keyframes wobble { from { transform: rotate(-8deg); } to { transform: rotate(8deg) scale(1.06); } }

.p-cream .frame, .p-lime .frame { box-shadow: 0 30px 60px -22px rgb(14 13 18 / 0.5); }

/* scroll reveal — content is always visible; JS only adds a settle-in motion */
.js .copy.reveal { transform: translateY(24px); }
.js .frame.reveal { transform: translateY(40px) rotate(calc(var(--dir, 1) * 2.5deg)) scale(0.95); }
.js .reveal { transition: transform 1.1s var(--ease); }
.js .reveal.in { transform: none; }

/* ---------- waitlist ---------- */
.waitlist .panel-grid { align-items: start; }
.waitlist .copy p { max-width: 22ch; }
.form-card {
  background: var(--ink); color: var(--cream);
  border-radius: clamp(20px, 3vw, 36px);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  box-shadow: 0 30px 60px -22px rgb(14 13 18 / 0.6);
}
form { display: grid; gap: 1.6rem; }
.field { display: grid; gap: 0.5rem; }
.field-label, legend { font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: 0.7rem; }
.field-label { margin: 0; }
.optional { color: var(--mute); font-weight: 500; font-size: 0.9rem; margin-left: 0.4rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
input[type='email'] {
  width: 100%; font: 500 1.15rem var(--body); color: var(--cream);
  background: var(--ink-2); border: 2px solid var(--ink-3); border-radius: 16px;
  padding: 1.05rem 1.2rem; transition: border-color 0.2s, background-color 0.2s;
}
input[type='email']::placeholder { color: #8f8b9c; }
input[type='email']:focus { outline: none; border-color: var(--lime); background: var(--ink-3); }
.choice-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 0.7rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--ink-3); font-weight: 600; font-size: 1rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.3s var(--ease);
}
.choice:hover span { border-color: var(--mute); }
.choice input:checked + span { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: scale(1.04); }
.choice input:focus-visible + span { outline: 3px solid var(--cream); outline-offset: 3px; }
.turnstile { min-height: 65px; }
form .btn { width: 100%; }
.status { margin: 0; min-height: 1.4em; font-weight: 600; }
.status[data-kind='error'] { color: #ff8a6b; }
.fine-print { margin: 0; color: var(--mute); font-size: 0.95rem; }
.success h3 { font: 800 clamp(2.4rem, 6vw, 3.6rem)/0.95 var(--display); font-stretch: 75%; text-transform: uppercase; color: var(--lime); margin: 0 0 1rem; }
.success p { margin: 0; font-size: 1.2rem; }
.success:focus { outline: none; }
.success strong { overflow-wrap: anywhere; }

/* ---------- faq ---------- */
.faq-band { padding: clamp(6rem, 11vw, 9rem) var(--pad) clamp(3rem, 6vw, 5rem); }
.narrow { max-width: 56rem; margin: 0 auto; }
.faq { margin-top: 2.5rem; border-top: 2px solid var(--ink-3); }
.faq details { border-bottom: 2px solid var(--ink-3); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font: 700 clamp(1.4rem, 1rem + 1.6vw, 2.1rem)/1.15 var(--display); font-stretch: 85%;
  padding: 1.5rem 0; transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 1.6rem; height: 1.6rem;
  background: linear-gradient(var(--lime), var(--lime)) center / 100% 3px no-repeat, linear-gradient(var(--lime), var(--lime)) center / 3px 100% no-repeat;
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--lime); }
.faq details p { margin: 0 0 1.6rem; max-width: 46ch; color: var(--mute); font-size: 1.15rem; }

/* ---------- privacy ---------- */
.privacy { padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(4rem, 8vw, 6rem); color: var(--mute); }
.privacy h2 { font: 700 1.3rem/1.2 var(--body); color: var(--cream); margin: 0 0 1.2rem; }
.privacy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; font-size: 1rem; max-width: 62ch; }
.privacy strong { color: var(--cream); }
.privacy a { color: var(--lime); }

/* ---------- footer ---------- */
.site-footer { overflow: hidden; padding-top: 1.5rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0 var(--pad); color: var(--mute); font-size: 0.95rem; }
.giant {
  font: 800 27vw/0.78 var(--display); font-stretch: 75%; letter-spacing: -0.03em;
  color: var(--ink-2); text-align: center; margin-top: 2rem; padding-bottom: 0.02em;
  user-select: none;
}

/* ---------- 404 ---------- */
.result-body { min-height: 100svh; display: grid; place-items: center; background: var(--ink); }
.result { padding: var(--pad); text-align: left; display: grid; gap: 1.4rem; justify-items: start; }
.result .display { font-size: clamp(5rem, 22vw, 12rem); color: var(--lime); }
.result p { margin: 0; }
.wordmark { font: 800 1.6rem var(--display); font-stretch: 75%; text-decoration: none; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .panel-grid, .flip .panel-grid { grid-template-columns: minmax(0, 1fr); }
  .flip .copy, .flip .frame { order: 0; }
  .copy p { max-width: 30ch; }
  .sun { background: radial-gradient(circle at calc(100% + 10vw) 8%, var(--red) 40vw, transparent calc(40vw + 1px)); }
  .ticker { margin: 1rem 0; }
}
@media (max-width: 480px) {
  .choice span { padding: 0.65rem 0.95rem; }
  .brand span { font-size: 1.2rem; }
  .pill { padding: 0.7rem 1rem; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { transform: none; }
}
