/* Peekablur — site styles. CROSSING GUARD (08-08) → POUCH (08-15): white
   paper, ink type, pouch-coral highlighter accent (#EA5C4E, the roo-pouch
   coral of the icon); the app's two states stay semantic — hidden = frost
   (cool), kept = gold. Footage is the only other saturated thing. Tokens
   first. The marigold token set is commit a62a375. The token is still
   NAMED --marigold so no selector churn; its VALUE is pouch. */
:root {
  --paper: #FFFFFF;
  --card: #F6F3EE;
  --card2: #EFEAE2;
  --ink: #221E1A;
  --ink2: #5D564E;
  --frost: #8FA6BA;
  --ember: #FFB020;   /* kept/shown = gold */
  --marigold: #EA5C4E; /* POUCH coral (name kept, value swapped) */
  --deep: #B33F35;
  --line: #E8E2D8;
  --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(--paper); color: var(--ink);
  font-family: var(--b); font-size: 16.5px; line-height: 1.65;
}
a { color: var(--deep); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 8px;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* the brand device: three overlapping MARKER passes behind a word — never a
   clean rounded rect (owner 08-08). Multiply darkens the overlaps like real
   highlighter; slight rotations give the ragged hand-swiped edge. */
.hilite { position: relative; z-index: 0; }
.swipes {
  position: absolute; z-index: -1; left: -6%; top: 6%; width: 112%; height: 96%;
  mix-blend-mode: multiply; overflow: visible; pointer-events: none;
}
.swipes rect { fill: var(--marigold); opacity: 0.85; transform-box: fill-box; }
.swipes .s1 { transform: rotate(-2.2deg); transform-origin: left center; }
.swipes .s2 { transform: rotate(1.6deg); transform-origin: right center; }
.swipes .s3 { transform: rotate(-1.2deg); transform-origin: left center; }

/* 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: 21px; color: var(--ink);
  text-decoration: none; display: inline-flex; align-items: center; letter-spacing: -0.02em;
}
.brand .blur { color: var(--ink); padding: 0 0.08em; }
.site-head nav { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.site-head nav a { text-decoration: none; color: var(--ink2); padding: 4px 0; }
.site-head nav a:hover { color: var(--ink); }
@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(255, 176, 32, 0.14), 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.14; margin: 0 0 18px;
  text-wrap: balance;
}
h1 .keep { padding: 0 0.1em; white-space: nowrap; }
.hero .lede { font-size: 19px; color: var(--ink2); max-width: 44ch; margin: 0 0 26px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
/* primary button: flat ink block with a hard marigold offset — die-cut poster
   energy, not the default glossy capsule (owner 08-08: squarer, less template) */
.store-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink);
  color: #fff; text-decoration: none; border: 0; border-radius: 12px; padding: 14px 28px;
  font-family: var(--d); font-weight: 600; font-size: 17px; cursor: pointer;
  box-shadow: 5px 6px 0 var(--marigold);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.store-btn:hover { transform: translate(-1px, -1px); box-shadow: 7px 8px 0 var(--marigold); }
.store-btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--marigold); }
.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 (a phone is dark — the one dark object on the page) */
.phone {
  width: min(300px, 78vw); margin: 0 auto; border-radius: 36px; padding: 10px;
  background: #16130F; box-shadow: 0 22px 56px rgba(34, 30, 26, 0.35);
}
.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(--ink2); 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(--deep); border-radius: 16px; background: var(--card);
  color: var(--ink2); font-size: 14px; padding: 20px; line-height: 1.5;
}
.slot p { margin: 0; }
.slot b { color: var(--ink); }
.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: var(--card); }
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(--ink2); 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(34, 30, 26, 0.22); }
.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: var(--ink); color: var(--paper); border-radius: 999px; padding: 3px 10px;
  font-family: var(--m); font-size: 10.5px; font-weight: 500;
  box-shadow: 0 3px 10px rgba(34, 30, 26, 0.35); 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 rgba(143, 166, 186, 0.45); background: var(--paper); border-radius: 12px;
  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: 8px; 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(--deep); 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(--ink2); }
.how-steps li::marker { font-family: var(--d); font-weight: 600; color: var(--deep); }

/* 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(34, 30, 26, 0.20)); }
.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(--ink2); 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(--ink2); }
.priv-list li::before { content: "●"; position: absolute; left: 4px; color: var(--frost); font-size: 11px; top: 6px; }
.priv-list b { display: block; color: var(--ink); }
.origin { margin: 36px 0 0; max-width: 52ch; color: var(--ink2); font-style: italic; }

/* screenshot strip — gray placeholders until the real captures land */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 700px; margin-top: 34px; }
.shots figure { margin: 0; }
.shot-ph { aspect-ratio: 9 / 19.5; background: #E9E4DC; border-radius: 18px; }
.shots img { width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid var(--line); }
.shots figcaption { font-family: var(--m); font-size: 12px; color: var(--ink2);
  margin-top: 8px; text-align: center; }
@media (max-width: 640px) { .shots { gap: 10px; } .shot-ph { border-radius: 12px; } }

/* 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(--ink);
  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(--deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink2); max-width: 68ch; }

/* closer — the wordmark, big, highlighter and all */
.closer { text-align: center; }
.closer .brand-lg {
  font-family: var(--d); font-weight: 700; font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.02em; color: var(--ink); display: inline-block; margin: 0 0 18px;
}
.closer .brand-lg .blur { padding: 0 0.08em; }
.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(--ink2); }
.site-foot a { color: var(--ink2); }

/* 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(--ink2); font-size: 14.5px; margin-bottom: 28px; }
.legal p { max-width: 68ch; color: var(--ink2); }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal strong { color: var(--ink); }

/* waitlist modal */
#wlModal {
  border: 0; border-radius: 22px; padding: 0; background: var(--paper); color: var(--ink);
  width: min(92vw, 400px); box-shadow: 0 30px 80px rgba(34, 30, 26, 0.35);
}
#wlModal::backdrop { background: rgba(34, 30, 26, 0.45); }
#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: 12px; background: var(--paper); color: var(--ink);
}
#wlModal .wl-input:focus { outline: none; border-color: var(--marigold); }
@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(--ink2); padding: 6px;
}
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-note { font-size: 13.5px; color: var(--ink2); margin: 0; }
.wl-done { font-size: 16px; font-weight: 600; color: var(--ink); background: var(--card);
  border-radius: 14px; padding: 14px 18px; margin: 0; }
