/* Peekablur — site styles. Dark tool theme; the brand system is the app's two
   states: hidden = frost (cool, translucent), shown = ember (one warm ring).
   Chrome recedes; footage is the only saturated thing. Tokens first. */
:root {
  --dusk: #171D2B;
  --slate: #232B3D;
  --slate2: #2C3550;
  --text: #E9ECF5;
  --mist: #A8B0C6;
  --frost: #9FB3D8;
  --ember: #FFB38A;
  --iris: #8B93FF;
  --line: #303A52;
  --radius: 18px;
  --d: "Sora", ui-rounded, system-ui, sans-serif;
  --b: "Inter", -apple-system, system-ui, sans-serif;
  --m: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--dusk); color: var(--text);
  font-family: var(--b); font-size: 16.5px; line-height: 1.65;
}
a { color: var(--iris); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--iris); outline-offset: 3px; border-radius: 8px;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-head { padding: 18px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.brand {
  font-family: var(--d); font-weight: 700; font-size: 20px; color: var(--text);
  text-decoration: none; display: inline-flex; align-items: center; letter-spacing: -0.02em;
}
.brand .blur { color: var(--iris); }
.brand .mark { width: 32px; height: 32px; border-radius: 8px; display: block; margin-right: 10px; }
.site-head nav { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.site-head nav a { text-decoration: none; color: var(--mist); padding: 4px 0; }
.site-head nav a:hover { color: var(--text); }
@media (max-width: 640px) {
  .site-head { padding: 12px 0; }
  .site-head .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-head nav { gap: 6px 16px; font-size: 14.5px; }
}

/* hero */
.hero { padding: 44px 0 76px; background:
  radial-gradient(900px 460px at 50% -12%, rgba(139, 147, 255, 0.13), transparent 65%); }
@media (max-width: 640px) { .hero { padding: 18px 0 52px; } }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 840px) { .hero .wrap { grid-template-columns: 1fr; gap: 34px; } }
h1 {
  font-family: var(--d); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(36px, 5.2vw, 56px); line-height: 1.08; margin: 0 0 18px;
  text-wrap: balance;
}
h1 .keep { color: var(--iris); }
.hero .lede { font-size: 19px; color: var(--mist); max-width: 44ch; margin: 0 0 26px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
/* primary button: iris gradient capsule — depth, never flat */
.store-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #939BFF 0%, #6169F4 55%, #545CE8 100%);
  color: #fff; text-decoration: none; border: 0; border-radius: 999px; padding: 14px 30px;
  font-family: var(--d); font-weight: 600; font-size: 17px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(97, 105, 244, 0.4), inset 0 1.5px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(20, 24, 60, 0.25);
  text-shadow: 0 1px 2px rgba(20, 24, 60, 0.25);
}
.store-btn:hover { transform: translateY(-1px); }
.store-btn:disabled { opacity: 0.6; transform: none; cursor: default; }
.proof-line { font-family: var(--m); font-size: 12.5px; color: var(--frost); margin: 0; letter-spacing: 0.02em; }
@media (max-width: 480px) {
  .store-btn { width: 100%; }
  .cta-row { gap: 10px; }
}

/* phone frame */
.phone {
  width: min(300px, 78vw); margin: 0 auto; border-radius: 36px; padding: 10px;
  background: #0C0F17; box-shadow: 0 22px 56px rgba(0, 0, 0, 0.55);
}
.phone video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 27px; background: #000; }
.phone video.native { aspect-ratio: auto; object-fit: contain; }
.media-caption { text-align: center; font-size: 14px; color: var(--mist); margin: 12px 0 0; }

/* asset slots (placeholders — should never ship) */
.slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--iris); border-radius: 16px; background: var(--slate);
  color: var(--mist); font-size: 14px; padding: 20px; line-height: 1.5;
}
.slot p { margin: 0; }
.slot b { color: var(--text); }
.slot .slot-ref { font-size: 12.5px; opacity: 0.75; }
.slot-tall { aspect-ratio: 9 / 16; border-radius: 27px; }
.slot-wide { aspect-ratio: 16 / 9; max-width: 760px; margin: 0 auto; }

/* sections */
section { padding: 64px 0; }
@media (max-width: 640px) { section { padding: 44px 0; } }
section.tint { background: #131826; }
h2 {
  font-family: var(--d); font-weight: 600; font-size: clamp(25px, 3.2vw, 32px);
  margin: 0 0 10px; letter-spacing: -0.02em; text-wrap: balance;
}
.sec-lede { color: var(--mist); max-width: 60ch; margin: 0 0 30px; }

/* interactive photo demo */
.photo-demo { max-width: 560px; margin: 0 auto; }
.photo-stage { position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); }
.photo-stage .photo { display: block; width: 100%; height: auto; }
.photo-stage .pix {
  position: absolute; inset: 0; width: 100%; height: auto;
  opacity: 1; transition: opacity 0.22s; pointer-events: none;
}
.photo-stage .pix.off { opacity: 0; }
.photo-stage .spot-sticker {
  position: absolute; transform: translate(-50%, -50%) rotate(-6deg); height: auto;
  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1), opacity 0.2s;
  pointer-events: none;
}
.photo-stage .spot-sticker.off { opacity: 0; transform: translate(-50%, -50%) scale(0.5) rotate(-12deg); }
.hotspot {
  position: absolute; transform: translate(-50%, -50%); aspect-ratio: 1;
  border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.face-badge {
  position: absolute; transform: translate(-50%, -50%); pointer-events: none;
  background: #0C0F17; color: var(--text); border-radius: 999px; padding: 3px 10px;
  font-family: var(--m); font-size: 10.5px; font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); opacity: 0;
}
.face-badge.pop { animation: badge 1.1s ease forwards; }
@keyframes badge {
  0% { opacity: 0; transform: translate(-50%, -30%); }
  12%, 75% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -60%); }
}
/* chips — frost hides, ember shows */
.chips { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.chip {
  border: 2px solid var(--line); background: var(--slate); border-radius: 16px;
  padding: 5px; cursor: pointer; display: flex; flex-direction: column; align-items: center;
  gap: 3px; transition: border-color 0.2s; -webkit-tap-highlight-color: transparent;
}
.chip img { width: 56px; height: 56px; border-radius: 12px; display: block; object-fit: cover; }
.chip .chip-state { font-family: var(--m); font-size: 9.5px; color: var(--frost); }
.chip.shown { border-color: var(--ember); }
.chip.shown .chip-state { color: var(--ember); }
.all-btn {
  border: 0; background: none; cursor: pointer; font: inherit; font-size: 14px;
  font-weight: 600; color: var(--iris); padding: 8px 10px; margin-left: 4px;
}

/* how it works */
.how-grid { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 860px; }
@media (max-width: 760px) { .how-grid { grid-template-columns: 1fr; gap: 28px; } }
.how-steps { margin: 0; padding-left: 22px; display: grid; gap: 16px; max-width: 46ch; }
.how-steps li { padding-left: 6px; color: var(--mist); }
.how-steps li::marker { font-family: var(--d); font-weight: 600; color: var(--iris); }

/* cover packs */
#covers .wrap { text-align: center; }
#covers .sec-lede { margin-inline: auto; }
.bunch { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.bunch img { width: clamp(84px, 11vw, 124px); height: auto; rotate: var(--tilt, 0deg);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4)); }
.bunch img.wiggle { animation: wigr 0.42s ease; }
@keyframes wigr {
  0%, 100% { rotate: var(--tilt, 0deg); }
  30% { rotate: calc(var(--tilt, 0deg) - 7deg); }
  65% { rotate: calc(var(--tilt, 0deg) + 3deg); }
}
.bunch-note { margin: 24px 0 0; color: var(--mist); font-size: 14.5px; }

/* privacy — flat list, mono facts */
.priv-list { margin: 0; padding: 0; list-style: none; max-width: 62ch; display: grid; gap: 14px; }
.priv-list li { padding-left: 26px; position: relative; color: var(--mist); }
.priv-list li::before { content: "●"; position: absolute; left: 4px; color: var(--frost); font-size: 11px; top: 6px; }
.priv-list b { display: block; color: var(--text); }
.origin { margin: 36px 0 0; max-width: 52ch; color: var(--mist); font-style: italic; }

/* faq */
.faq details { border-bottom: 1.5px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--d); font-size: 22px; color: var(--mist); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--mist); max-width: 68ch; }

/* closer */
.closer { text-align: center; }
.closer .mark-lg { width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 22px; display: block;
  box-shadow: 0 16px 40px rgba(139, 147, 255, 0.25); }
.closer h2 { margin-bottom: 20px; }

/* footer */
.site-foot { border-top: 1.5px solid var(--line); padding: 28px 0 40px; margin-top: 30px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--mist); }
.site-foot a { color: var(--mist); }

/* legal pages */
.legal { padding: 24px 0 64px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-family: var(--d); font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.02em; }
.legal .updated { color: var(--mist); font-size: 14.5px; margin-bottom: 28px; }
.legal p { max-width: 68ch; color: var(--mist); }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal strong { color: var(--text); }

/* waitlist modal */
#wlModal {
  border: 0; border-radius: 22px; padding: 0; background: var(--slate); color: var(--text);
  width: min(92vw, 400px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
#wlModal::backdrop { background: rgba(9, 12, 20, 0.65); }
#wlModal .waitlist { position: relative; display: grid; gap: 12px; padding: 26px; margin: 0; }
#wlModal h3 { font-family: var(--d); font-weight: 600; font-size: 21px; margin: 0 0 2px; }
#wlModal .wl-input {
  font: inherit; font-size: 16.5px; padding: 13px 16px; width: 100%;
  border: 2px solid var(--line); border-radius: 14px; background: var(--dusk); color: var(--text);
}
#wlModal .wl-input:focus { outline: none; border-color: var(--iris); }
@media (max-height: 720px) { #wlModal { margin-top: 6vh; } }
#wlModal .store-btn { width: 100%; }
.wl-close {
  position: absolute; top: 10px; right: 14px; border: 0; background: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--mist); padding: 6px;
}
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-note { font-size: 13.5px; color: var(--mist); margin: 0; }
.wl-done { font-size: 16px; font-weight: 600; color: var(--text); background: var(--slate2);
  border-radius: 14px; padding: 14px 18px; margin: 0; }
