/* Product Shot homepage: shared primitives. Section styles live in
   hero.css, features.css and closing.css. Tokens come from ../tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
/* No visible page scrollbar; the page still scrolls normally. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body.ps {
  margin: 0; background: var(--plurel-canvas); color: var(--plurel-ink);
  font: 400 1.0625rem/1.5 var(--plurel-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.ps img, .ps svg { display: block; max-width: 100%; }
/* Clicking text must not leave a blinking caret; only form fields get one.
   Display type and decoration are not selectable; body copy still is. */
.ps { caret-color: transparent; }
.ps input, .ps textarea { caret-color: auto; }
.ps h1, .ps h2, .ps h3, .ps-label, .ps-btn, .ps-header, .ps-phone, .ps-doodle, .ps-done, .pf-art { -webkit-user-select: none; user-select: none; }
.ps a { color: inherit; }
:where(.ps) :where(h1, h2, h3, p) { margin: 0; }
/* Focus rings are ink and follow each control's own shape. */
.ps :focus-visible { outline: 2px solid var(--plurel-ink); outline-offset: 3px; }

:root {
  --ps-blue: #228ad6;      /* app header blue */
  --ps-yellow: #fff68f;    /* app yellow */
  --ps-orange: var(--plurel-orange);
  --ps-blush: var(--plurel-blush);
  --ps-gutter: clamp(20px, 5vw, 64px);
  --ps-max: 1200px;
  --ps-section: clamp(72px, 11vw, 144px);
  --ps-ease: cubic-bezier(.22, .68, .35, 1);
}

.ps-wrap { width: 100%; max-width: calc(var(--ps-max) + 2 * var(--ps-gutter)); margin-inline: auto; padding-inline: var(--ps-gutter); }
.ps-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ps-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plurel-ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.ps-skip:focus { top: 12px; }

/* Type. Titles use the app's heavy label face, as on its screens. */
.ps-label { font: 400 .6875rem/1.3 var(--plurel-label); letter-spacing: .1em; text-transform: uppercase; }
.ps-title { font: 400 clamp(2.25rem, 6.2vw, 5rem)/.98 var(--plurel-label); letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.ps-h2 { font: 400 clamp(1.75rem, 4.2vw, 3.25rem)/1 var(--plurel-label); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.ps-lede { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.45; text-wrap: pretty; }

/* The orange pill: ink outline, hard offset shadow. */
.ps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid var(--plurel-ink); border-radius: 999px;
  background: var(--ps-orange); color: var(--plurel-ink); box-shadow: var(--plurel-shadow-action);
  font: 700 .8125rem/1 var(--plurel-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .12s var(--ps-ease), box-shadow .12s var(--ps-ease);
}
.ps-btn--sm { min-height: 40px; padding: 0 16px; font-size: .6875rem; box-shadow: -3px 4px 0 var(--plurel-ink); }
.ps-btn--yellow { background: var(--ps-yellow); }
@media (hover: hover) { .ps-btn:hover { transform: translate(-2px, 2px); box-shadow: -2px 3px 0 var(--plurel-ink); } }
.ps-btn:active { transform: translate(-4px, 5px); box-shadow: 0 0 0 var(--plurel-ink); }
.ps-btn[disabled] { opacity: .6; cursor: default; }

/* Waitlist form */
.ps-signup { width: 100%; max-width: 480px; }
.ps-form { display: flex; gap: 12px; align-items: center; }
.ps-input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border: 1px solid var(--plurel-ink); border-radius: 999px;
  background: var(--plurel-paper); color: var(--plurel-ink); font: 400 1rem/1 var(--plurel-body);
}
.ps-input::placeholder { color: #6b6b6b; }
.ps-input { transition: box-shadow .12s var(--ps-ease); appearance: none; -webkit-appearance: none; }
@media (hover: hover) { .ps-input:hover { box-shadow: inset 0 0 0 1px var(--plurel-ink); } }
.ps-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--plurel-ink), 0 0 0 3px var(--plurel-canvas), 0 0 0 5px var(--plurel-ink); }
.ps-input:-webkit-autofill { -webkit-text-fill-color: var(--plurel-ink); box-shadow: inset 0 0 0 100px var(--plurel-paper); }
.ps-btn:focus-visible { outline-offset: 4px; }
.ps-note { margin-top: 14px; font: 700 .75rem/1.4 var(--plurel-body); letter-spacing: .08em; text-transform: uppercase; }
/* Working and done states (and the joining animation) live in signup.css. */
@media (max-width: 480px) { .ps-form { flex-direction: column; align-items: stretch; } }

/* "Coming soon" store badges: each store's logo, our wording, not links. */
.ps-stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin: 0; padding: 0; list-style: none; }
.ps-store {
  display: inline-flex; align-items: center; gap: 11px; min-height: 54px; padding: 7px 18px 7px 14px;
  border: 1px solid var(--plurel-ink); border-radius: 12px; background: var(--plurel-ink); color: #fff;
}
.ps-store svg, .ps-store img { flex: none; width: 26px; height: 26px; }
.ps-store span { display: grid; text-align: left; }
.ps-store small { font: 400 .6875rem/1.2 var(--plurel-body); letter-spacing: .02em; }
.ps-store b { font: 700 1.1875rem/1.1 var(--plurel-body); letter-spacing: -.01em; }

/* Phone: the iPhone 18 Pro bezel over a 393x852 app capture. Size it with
   width. The transparent opening in the 1350x2778 bezel is 1235x2681 at
   (57, 48); the screen fills that opening and uses the same corner radius. */
.ps-phone { position: relative; width: 280px; aspect-ratio: 1350 / 2778; flex: none; }
.ps-phone__screenwrap {
  position: absolute; left: 4.222%; top: 1.728%; width: 91.481%; height: 96.508%;
  container-type: inline-size; overflow: hidden; border-radius: 15.6% / 7.2%;
}
.ps-phone__screen {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top; background: var(--plurel-paper);
}
.ps-phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Circled i on the "Ready to spend" line. Closed until hover, focus, or tap. */
.ps-cardinfo { position: absolute; left: 59.54%; top: 14.91%; z-index: 2; }
.ps-cardinfo__btn {
  position: relative; display: grid; place-items: center;
  width: 5.6cqi; height: 5.6cqi;
  padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #5e5d58; cursor: pointer;
}
.ps-cardinfo__btn::after { content: ""; position: absolute; inset: -1.4cqi; }
.ps-cardinfo__btn svg { width: 100%; height: 100%; }
.ps-cardinfo__btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ps-cardinfo__pop {
  position: absolute; left: auto; right: -28cqi; top: calc(100% + 1.2cqi); z-index: 3;
  width: 68cqi; margin: 0; padding: 2cqi 2.6cqi;
  border-radius: 2cqi; background: #fff; color: #5e5d58;
  font: 400 3.15cqi/1.35 var(--plurel-body); text-align: left;
  box-shadow: 0 8px 22px rgb(0 0 0 / .14);
}
.ps-cardinfo.is-open .ps-cardinfo__pop { display: block; }

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