:root {
  --void: #050505;
  --surface: #0e0e0e;
  --text: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.55);
  --faint: rgba(245, 245, 245, 0.28);
  --accent: #e10600;
  --accent-dim: rgba(225, 6, 0, 0.18);
  --pink: #ff69b4;
  --border: rgba(245, 245, 245, 0.14);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(225, 6, 0, 0.16), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(255, 105, 180, 0.08), transparent 50%),
    var(--void);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.5;
  text-transform: lowercase;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; text-transform: lowercase; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.scanlines,
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}
.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 3px
  );
  opacity: 0.35;
  mix-blend-mode: multiply;
}
.noise {
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.heart { color: var(--accent); }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  padding-top: max(14px, env(safe-area-inset-top));
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.wordmark {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 15px;
}
.top-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1.5px solid var(--accent);
  background: var(--accent-dim);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.top-cta:active { transform: scale(0.97); }

main {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 36px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.brand-line {
  display: inline-block;
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(225, 6, 0, 0.35);
}

.tagline {
  margin: 18px 0 14px;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: pretty;
}

.lede {
  margin: 0 0 28px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.waitlist {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 460px;
}
.waitlist input {
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid var(--border);
  background: rgba(14, 14, 14, 0.9);
  color: var(--text);
  outline: none;
}
.waitlist input:focus {
  border-color: rgba(245, 245, 245, 0.4);
}
.waitlist button {
  min-height: 52px;
  min-width: 150px;
  padding: 0 18px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.waitlist button:hover { filter: brightness(1.08); }
.waitlist button:active { transform: scale(0.97); }
.waitlist button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.form-note.ok { color: #33cc66; }
.form-note.err { color: #ff6b6b; }

.share-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.ghost:hover { color: var(--text); border-color: rgba(245,245,245,0.35); }

.hero-stage { display: grid; place-items: center; }
.phone {
  width: min(320px, 86vw);
  transform: rotate(-2.5deg);
  animation: float 5.5s var(--ease) infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(-10px); }
}
.phone-bezel {
  padding: 12px;
  border: 2px solid rgba(245, 245, 245, 0.22);
  background: #000;
  box-shadow:
    8px 8px 0 rgba(225, 6, 0, 0.25),
    0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone-screen {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.deck {
  position: absolute;
  inset: 18px 14px 56px;
}
.card {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #111;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.card-b { transform: scale(0.96) translateY(10px); opacity: 0.7; }
.card-c { transform: scale(0.92) translateY(20px); opacity: 0.4; }
.card-a {
  z-index: 3;
  animation: swipeLoop 4.8s var(--ease) infinite;
}
@keyframes swipeLoop {
  0%, 12% { transform: translateX(0) rotate(0deg); }
  28% { transform: translateX(42%) rotate(8deg); }
  34% { transform: translateX(42%) rotate(8deg); opacity: 1; }
  42% { transform: translateX(120%) rotate(14deg); opacity: 0; }
  43% { transform: translateX(-120%) rotate(-12deg); opacity: 0; }
  55% { transform: translateX(-36%) rotate(-7deg); opacity: 1; }
  68% { transform: translateX(-36%) rotate(-7deg); }
  80%, 100% { transform: translateX(0) rotate(0deg); opacity: 1; }
}
.photo {
  height: 78%;
  background-size: cover;
  background-position: center;
}
.p1 {
  background-image:
    linear-gradient(160deg, rgba(225,6,0,0.35), transparent 45%),
    linear-gradient(30deg, #1a1a1a, #3a2030 40%, #102030);
}
.p2 {
  background-image:
    linear-gradient(200deg, rgba(255,105,180,0.25), transparent 50%),
    linear-gradient(120deg, #102018, #203040 55%, #181018);
}
.p3 {
  background-image:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.45)),
    linear-gradient(90deg, #221810, #303018 50%, #101820);
}
.meta {
  margin: 0;
  padding: 14px 14px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.note-chip {
  margin: 8px 14px 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
}
.stamp {
  position: absolute;
  top: 18px;
  z-index: 4;
  padding: 6px 10px;
  border: 2px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
}
.stamp-keep {
  left: 14px;
  color: #33cc66;
  transform: rotate(-12deg);
  animation: stampKeep 4.8s var(--ease) infinite;
}
.stamp-release {
  right: 14px;
  color: #ff4d4d;
  transform: rotate(12deg);
  animation: stampRelease 4.8s var(--ease) infinite;
}
@keyframes stampKeep {
  0%, 12%, 80%, 100% { opacity: 0; }
  28%, 34% { opacity: 1; }
  42% { opacity: 0; }
}
@keyframes stampRelease {
  0%, 42%, 80%, 100% { opacity: 0; }
  55%, 68% { opacity: 1; }
}
.chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 18px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.12em;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.stage-caption {
  margin: 18px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.moves, .split, .steal, .beta {
  padding: 72px 0 24px;
  border-top: 1px solid var(--border);
}
.moves h2,
.split h2,
.steal h2,
.beta h2 {
  margin: 0 0 28px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-lede {
  margin: -12px 0 28px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.move-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.move-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.glyph {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
}
.move-list h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.move-list p,
.split p,
.steal p,
.beta p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
  text-wrap: pretty;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.proof li {
  padding: 16px 18px;
  border: 2px solid var(--border);
  background: rgba(14, 14, 14, 0.75);
  color: var(--muted);
}
.proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lockbox-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 24px;
  border-top: 1px solid var(--border);
}
.lockbox-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lockbox-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.lockbox-points li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
}
.lockbox-points span {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.lockbox-card {
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 16px;
  border: 2px solid rgba(245, 245, 245, 0.2);
  background: #080808;
  box-shadow:
    8px 8px 0 rgba(225, 6, 0, 0.22),
    0 24px 60px rgba(0, 0, 0, 0.45);
}
.lockbox-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 18px;
}
.handle {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.handle-sub {
  margin: 2px 0 0;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.nine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  aspect-ratio: 1;
}
.nine-grid .cell {
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
  min-height: 0;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.2s ease;
}
.nine-grid .cell:hover {
  border-color: rgba(255, 255, 255, 0.35);
}
.nine-grid .cell.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.35);
  transform: scale(0.96);
}
.nine-grid .cell.swap {
  animation: cellPulse 0.45s var(--ease);
}
@keyframes cellPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.nine-grid .cell::after {
  content: attr(data-n);
  position: absolute;
  left: 6px;
  top: 4px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.c1 { background-image: linear-gradient(140deg, #3a2030, #102030 55%, #1a1a1a); }
.c2 { background-image: linear-gradient(200deg, #203040, #181018 60%, #102018); }
.c3 { background-image: linear-gradient(160deg, #221810, #303018 50%, #101820); }
.c4 { background-image: linear-gradient(30deg, #1a1020, #402028 45%, #101818); }
.c5 { background-image: linear-gradient(180deg, #102820, #201028 55%, #181810); }
.c6 { background-image: linear-gradient(120deg, #281820, #103038 50%, #201010); }
.c7 { background-image: linear-gradient(210deg, #181828, #302010 55%, #101820); }
.c8 { background-image: linear-gradient(90deg, #201818, #183028 50%, #281018); }
.c9 { background-image: linear-gradient(150deg, #101820, #281828 50%, #182010); }
.grid-hint {
  margin: 12px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.steal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steal-grid figure {
  margin: 0;
  padding: 20px 18px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.08), transparent 70%);
}
.steal-grid figcaption {
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.beta-panel {
  padding: clamp(28px, 5vw, 48px);
  border: 2px solid rgba(225, 6, 0, 0.55);
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.14), transparent 55%),
    var(--surface);
  box-shadow: 8px 8px 0 rgba(225, 6, 0, 0.22);
}
.waitlist-secondary { max-width: 520px; margin-top: 24px; }

footer {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}
footer .mini { font-weight: 700; margin-right: 6px; }
footer a:hover { color: var(--text); }
.fine { margin: 8px 0 0; color: var(--faint); }

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 28px;
  }
  .hero-stage { order: -1; }
  .phone { width: min(260px, 70vw); }
  .split,
  .lockbox-demo,
  .steal-grid {
    grid-template-columns: 1fr;
  }
  .waitlist {
    grid-template-columns: 1fr;
  }
  .waitlist button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .phone,
  .card-a,
  .stamp-keep,
  .stamp-release {
    animation: none !important;
  }
}
