:root {
  --pq-bg: #f7f3ea;
  --pq-milk: #fffdf8;
  --pq-ink: #18151d;
  --pq-accent: #7657ff;
  --pq-lime: #d9ff63;
  --pq-line: rgba(24, 21, 29, 0.1);
  --pq-muted: rgba(24, 21, 29, 0.55);
  --pq-faint: rgba(24, 21, 29, 0.06);
  --ease: cubic-bezier(0.22, 0.82, 0.2, 1);
  --reveal: 0.85s var(--ease);
}

* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--pq-milk);
  background-image:
    radial-gradient(ellipse 70% 45% at 88% 6%, rgba(118, 87, 255, 0.11), transparent 58%),
    radial-gradient(ellipse 55% 40% at 8% 75%, rgba(217, 255, 99, 0.1), transparent 52%),
    linear-gradient(rgba(24, 21, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 21, 29, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  color: var(--pq-ink);
  font: 400 16px/1.55 Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--pq-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--pq-lime); color: var(--pq-ink); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pq-ink);
  color: var(--pq-milk);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— peeker —— */
.peeker {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 40;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateX(6px);
  transition: transform 0.5s var(--ease);
}
.peeker:hover,
.peeker:focus-visible {
  transform: translateX(0);
  outline: none;
}
.peeker-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 48px;
  padding-left: 4px;
  border-radius: 14px 0 0 14px;
  background: var(--pq-accent);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 0;
  box-shadow: -10px 0 28px rgba(118, 87, 255, 0.35);
  animation: peekerBob 3.6s ease-in-out infinite;
}
.peeker-eye {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: var(--pq-lime);
  transform-origin: center;
  animation: blink 4.2s ease-in-out infinite;
}
.peeker-eye:first-child { background: var(--pq-milk); }
.peeker-eye:last-child { animation-delay: 0.12s; }

@keyframes peekerBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes blink {
  0%, 88%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.12); }
}

/* —— top —— */
.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 28px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.logo {
  font: 800 20px/1 "Bricolage Grotesque", system-ui;
  letter-spacing: -0.05em;
  color: var(--pq-ink);
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--pq-accent); }
.top-tag {
  font: 500 11px/1 Geist, system-ui;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pq-muted);
}

/* —— hero —— */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(40px, 10vh, 88px) 28px 28px;
  max-width: 960px;
  margin: 0 auto;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
}
.hero-float {
  position: absolute;
  inset: 8% 0 12%;
  pointer-events: none;
  z-index: 1;
}
.hf {
  position: absolute;
  width: auto;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(24, 21, 29, 0.16));
  will-change: transform;
  animation: floaty 6s ease-in-out infinite;
}
.hf-a {
  width: 118px;
  top: 6%;
  left: 4%;
  border-radius: 50%;
  animation-delay: 0s;
}
.hf-b {
  width: 92px;
  top: 12%;
  right: 6%;
  border-radius: 50%;
  animation-delay: 0.8s;
}
.hf-c {
  width: 52px;
  bottom: 18%;
  left: 10%;
  animation-delay: 1.4s;
}

.kicker {
  margin: 0 0 10px;
  font: 500 12px/1 Geist, system-ui;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pq-muted);
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.08s forwards;
}
h1 {
  margin: 0;
  font: 800 clamp(40px, 9vw, 72px)/1 "Bricolage Grotesque", system-ui;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.18s forwards;
}
.brand-line {
  margin: 18px 0 0;
  font: 600 clamp(22px, 3.4vw, 30px)/1.2 "Bricolage Grotesque", system-ui;
  letter-spacing: -0.03em;
  color: var(--pq-accent);
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.32s forwards;
}
.lede, .sec-lede {
  margin: 12px 0 0;
  font: 400 16px/1.5 Geist, system-ui;
  color: var(--pq-muted);
  max-width: 22em;
}
.lede {
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.44s forwards;
}
.btn-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--pq-lime);
  color: var(--pq-ink);
  font: 700 14px/1 Geist, system-ui;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(217, 255, 99, 0.35);
  transition: transform 0.15s ease, box-shadow 0.25s ease;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.56s forwards;
}
.btn-lime:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(217, 255, 99, 0.45);
}
.btn-lime:active { transform: scale(0.97); }
.fine {
  margin: 14px 0 0;
  font: 400 12px/1.4 Geist, system-ui;
  color: var(--pq-muted);
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.68s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -8deg)); }
  50% { transform: translateY(-10px) rotate(var(--rot, -8deg)); }
}
.hf-a { --rot: -10deg; }
.hf-b { --rot: 8deg; }
.hf-c { --rot: -14deg; }

/* —— discs (circular stickers on black canvas) —— */
.disc {
  display: block;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  background: #111;
  box-shadow: 0 12px 28px rgba(24, 21, 29, 0.14);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  display: block;
}
.d-sm { width: 84px; }
.d-md { width: 108px; }
.d-xl { width: min(280px, 68vw); }
.disc:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 36px rgba(24, 21, 29, 0.18);
}

/* —— reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--reveal), transform var(--reveal);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* —— preview —— */
.preview {
  padding: 8px 0 56px;
  max-width: 720px;
  margin: 0 auto;
}
.preview-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 28px;
}
.card {
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
}
.card .disc { width: min(140px, 100%); }
.card figcaption {
  font: 700 11px/1 Geist, system-ui;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pq-muted);
}

/* —— inside —— */
.inside {
  text-align: center;
  padding: 16px 28px 72px;
  max-width: 440px;
  margin: 0 auto;
}
.inside h2,
.pack h2,
.walls h2,
.secret h2,
.soft h2 {
  margin: 0 0 10px;
  font: 800 clamp(26px, 4vw, 36px)/1.1 "Bricolage Grotesque", system-ui;
  letter-spacing: -0.03em;
}
.inside .sec-lede { margin: 0 auto 28px; }
.loot {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.loot li {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 15px/1.3 Geist, system-ui;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--pq-line);
  backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}
.loot li:hover {
  transform: translateX(4px);
  border-color: rgba(118, 87, 255, 0.35);
}
.star { color: var(--pq-accent); flex: none; }

/* —— pack —— */
.pack {
  text-align: center;
  padding: 24px 0 80px;
  max-width: 880px;
  margin: 0 auto;
}
.pack .sec-lede,
.walls .sec-lede,
.secret .sec-lede {
  margin: 0 auto 28px;
}
.pack-row,
.react-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}
.pack-row { margin-bottom: 28px; }
.tiny {
  width: auto;
  height: 52px;
  filter: drop-shadow(0 8px 14px rgba(24, 21, 29, 0.12));
  animation: floaty 5.2s ease-in-out infinite;
}
.tiny:nth-of-type(1) { --rot: -12deg; animation-delay: 0.2s; }
.tiny:nth-of-type(2) { --rot: 6deg; height: 36px; animation-delay: 0.7s; }
.tiny:nth-of-type(3) { --rot: 10deg; height: 48px; animation-delay: 1.1s; }

/* —— wallpapers —— */
.walls {
  text-align: center;
  padding: 8px 20px 88px;
  max-width: 960px;
  margin: 0 auto;
}
.wall-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: var(--pq-faint);
  border: 1px solid var(--pq-line);
}
.wall-tab {
  border: 0;
  background: transparent;
  color: var(--pq-muted);
  font: 600 13px/1 Geist, system-ui;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.wall-tab.is-on {
  background: var(--pq-ink);
  color: var(--pq-milk);
}
.wall-pane[hidden] { display: none !important; }
.wall-devices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 22px 28px;
  margin-bottom: 32px;
}
.desk-row { align-items: center; gap: 28px; }
.device {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: inherit;
  transition: transform 0.3s var(--ease);
}
.device:hover { transform: translateY(-6px); }
.device:focus-visible {
  outline: 2px solid var(--pq-accent);
  outline-offset: 6px;
  border-radius: 16px;
}
.device-cap {
  font: 600 11px/1 Geist, system-ui;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pq-muted);
}

/* phone bezel */
.bezel {
  position: relative;
  display: block;
  width: 148px;
  aspect-ratio: 9 / 19.2;
  padding: 8px;
  border-radius: 26px;
  background: #1a1720;
  box-shadow:
    0 18px 40px rgba(24, 21, 29, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.bezel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: #111;
}
.notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 10px;
  border-radius: 999px;
  background: #1a1720;
  z-index: 1;
}

/* laptop */
.laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(320px, 78vw);
}
.lid {
  display: block;
  width: 100%;
  padding: 10px 10px 8px;
  border-radius: 12px 12px 4px 4px;
  background: #1a1720;
  box-shadow: 0 16px 36px rgba(24, 21, 29, 0.16);
}
.lid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  background: #111;
}
.base {
  width: 112%;
  height: 10px;
  margin-top: 2px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #2a2630, #1a1720);
  box-shadow: 0 8px 16px rgba(24, 21, 29, 0.12);
}
.base::after {
  content: "";
  display: block;
  width: 18%;
  height: 4px;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
  background: #3a3540;
}

.wall-dl {
  margin-top: 0;
  opacity: 1;
  animation: none;
}

/* —— viewer dialog —— */
.viewer {
  border: 0;
  padding: 0;
  max-width: min(920px, 94vw);
  width: 100%;
  background: transparent;
  color: var(--pq-ink);
}
.viewer::backdrop {
  background: rgba(24, 21, 29, 0.72);
  backdrop-filter: blur(8px);
}
.viewer-inner {
  position: relative;
  background: var(--pq-milk);
  border-radius: 24px;
  padding: 28px 24px 32px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}
.viewer-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--pq-faint);
  font: 500 22px/1 Geist, system-ui;
  color: var(--pq-ink);
  cursor: pointer;
}
.viewer-x:hover { background: var(--pq-line); }
.viewer-label {
  margin: 0 0 18px;
  font: 600 12px/1 Geist, system-ui;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pq-muted);
}
.viewer-frame {
  margin: 0 auto 22px;
  display: flex;
  justify-content: center;
}
.viewer-frame[data-kind="phone"] img {
  width: min(240px, 56vw);
  aspect-ratio: 9 / 19.2;
  object-fit: cover;
  border-radius: 22px;
  border: 8px solid #1a1720;
  box-shadow: 0 20px 48px rgba(24, 21, 29, 0.22);
}
.viewer-frame[data-kind="desk"] img {
  width: min(720px, 86vw);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--pq-line);
  box-shadow: 0 20px 48px rgba(24, 21, 29, 0.18);
}
.viewer .btn-lime {
  margin-top: 0;
  opacity: 1;
  animation: none;
}

/* —— secret —— */
.secret {
  text-align: center;
  padding: 24px 28px 96px;
  max-width: 520px;
  margin: 0 auto;
}
.secret-stage {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  perspective: 800px;
}
.secret-wrap {
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.secret-disc {
  animation: secretPulse 4.8s ease-in-out infinite;
}
@keyframes secretPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 16px 40px rgba(118, 87, 255, 0.18); }
  50% { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 52px rgba(118, 87, 255, 0.28); }
}

/* —— waitlist —— */
.soft {
  text-align: center;
  padding: 24px 28px 96px;
  max-width: 420px;
  margin: 0 auto;
}
.soft-lede {
  margin: 0 0 28px;
  font: 400 16px/1.5 Geist, system-ui;
  color: var(--pq-muted);
}
.wait {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.wait input[type="email"] {
  width: 100%;
  border: 1px solid var(--pq-line);
  border-radius: 12px;
  padding: 14px 16px;
  font: 400 15px Geist, system-ui;
  background: var(--pq-milk);
  color: var(--pq-ink);
  outline: none;
}
.wait input[type="email"]:focus {
  border-color: var(--pq-accent);
  box-shadow: 0 0 0 3px rgba(118, 87, 255, 0.15);
}
.btn-ink {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px 18px;
  background: var(--pq-ink);
  color: var(--pq-milk);
  font: 700 13px/1 Geist, system-ui;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.2s ease;
}
.btn-ink:hover { opacity: 0.92; }
.btn-ink:active { transform: scale(0.98); }
.btn-ink:disabled { opacity: 0.55; cursor: wait; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font: 400 12.5px/1.4 Geist, system-ui;
  color: var(--pq-muted);
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--pq-accent); }
.err {
  margin: 0;
  font: 500 13px Geist, system-ui;
  color: #9b2c4a;
}
.ok {
  margin: 0;
  font: 600 14px Geist, system-ui;
  color: var(--pq-accent);
  text-align: center;
}
.soft-foot {
  margin: 28px 0 0;
  font: 500 14px "Bricolage Grotesque", system-ui;
  color: var(--pq-muted);
  font-style: italic;
}

.foot {
  text-align: center;
  padding: 48px 24px 64px;
  border-top: 1px solid var(--pq-line);
}
.foot-logo {
  display: inline-block;
  font-size: 28px;
  margin-bottom: 8px;
}
.foot p {
  margin: 0;
  font: 400 14px "Bricolage Grotesque", system-ui;
  font-style: italic;
  color: var(--pq-muted);
}

/* —— mobile: keep it airy —— */
@media (max-width: 720px) {
  .top { padding: 16px 20px; }
  .hero {
    min-height: auto;
    padding: 28px 20px 20px;
  }
  .hero-float { display: none; }
  .preview { padding-bottom: 40px; }
  .preview-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 20px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .preview-track::-webkit-scrollbar { display: none; }
  .card {
    flex: none;
    width: 132px;
    scroll-snap-align: center;
  }
  .card .disc { width: 112px; }
  .inside { padding: 8px 20px 56px; }
  .pack { padding-bottom: 64px; }
  .pack-row .tiny { display: none; }
  .pack-row .d-sm:nth-child(n+5) { display: none; }
  .react-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .react-row::-webkit-scrollbar { display: none; }
  .react-row .disc {
    flex: none;
    scroll-snap-align: center;
  }
  .d-md { width: 96px; }
  .bezel { width: 118px; }
  .wall-devices {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    padding: 4px 8px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .wall-devices::-webkit-scrollbar { display: none; }
  .device {
    flex: none;
    scroll-snap-align: center;
  }
  .device:hover { transform: none; }
  .laptop { width: 260px; }
  .walls { padding-bottom: 64px; }
  .viewer-inner { padding: 24px 16px 28px; border-radius: 20px; }
  .secret { padding: 8px 20px 72px; }
  .soft { padding: 8px 20px 80px; }
  .peeker-tab { width: 24px; height: 42px; }
  .loot li:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .kicker, h1, .brand-line, .lede, .btn-lime, .fine,
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
