/* page-v2 — the page's own layer on top of css/glossi.css (merged sections) and hero/hero.css (the film).
   Every new class is prefixed pv-. Contrast figures are WCAG relative luminance, computed before writing:
   - nav text #5f5257 on the glass (white .9 over the darkest thing it can sit on, #111): 6.00:1; over blush 7.26:1
   - nav active: #fff on #111 18.88:1 · CTA white on #d10a8f 5.06:1
   - review body #111 on #fff 18.88:1, review meta #5f5257 on #fff 7.42:1
   - DM captions #111 / #5f5257 on #fdf3f9: 17.41:1 / 6.84:1 */

:root {
  /* THE display-font switch. Both the hero (--bc-display) and the sections (--gl-display) read this one variable.
     To change the face: edit this line and the Google Fonts <link> in index.html. */
  --font-display: "Instrument Serif", "Times New Roman", serif;

  --pv-glass: rgba(255, 255, 255, .9);
  --pv-nav-h: 52px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* every section the nav can jump to lands with its headline clear of the sticky bar */
#s2-simple, #s3-notify, #s4-cards, #s5-proof { scroll-margin-top: 0; }
#love { scroll-margin-top: 88px; }

/* =========================================================================================
   Section nav — one list of six short benefits, three looks (?nav=1|2|3 sets html[data-nav]).
   ========================================================================================= */
.pv-after { position: relative; }
.pv-nav { font: 500 14px/1 var(--gl-sans); z-index: 50; }
.pv-nav ol { list-style: none; margin: 0; padding: 0; display: flex; }
.pv-nav ol a { color: var(--gl-ink-2); text-decoration: none; white-space: nowrap; }
.pv-nav ol a[aria-current="true"] { color: #fff; }
.pv-nav__cta { display: none; text-decoration: none; }
.pv-nav__toggle { display: none; }
.pv-nav__label { display: none; }
[data-nav="3"] .pv-nav__label { display: inline; }

/* ---- 1 · sticky pill bar: rides under where the top nav was, a floating glass pill ---- */
[data-nav="1"] .pv-nav { position: sticky; top: 14px; height: 0; display: flex; justify-content: center; padding: 0 var(--gl-gutter); }
[data-nav="1"] .pv-nav__in { display: flex; align-items: center; gap: 6px; max-width: 100%; height: var(--pv-nav-h); padding: 6px;
  border-radius: 999px; background: var(--pv-glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(80, 20, 55, .07), 0 10px 30px -10px rgba(120, 20, 80, .28); }
[data-nav="1"] .pv-nav ol { overflow-x: auto; scrollbar-width: none; gap: 2px; scroll-behavior: smooth; }
[data-nav="1"] .pv-nav ol::-webkit-scrollbar { display: none; }
[data-nav="1"] .pv-nav ol a { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px;
  transition: background-color .25s var(--gl-ease-out), color .25s var(--gl-ease-out); }
[data-nav="1"] .pv-nav ol a:hover { color: var(--gl-ink); background: rgba(17, 17, 17, .05); }
[data-nav="1"] .pv-nav ol a[aria-current="true"] { background: var(--gl-ink); color: #fff; }
[data-nav="1"] .pv-nav__cta { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; flex: none;
  background: var(--gl-pink); color: #fff !important; font-weight: 600; margin-left: 4px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
/* the bar arrives only once the hero's own nav has scrolled away */
[data-nav="1"] .pv-nav__in { transition: opacity .35s var(--gl-ease-out), transform .35s var(--gl-ease-out); }
[data-nav="1"] .pv-nav.is-hidden .pv-nav__in { opacity: 0; transform: translateY(-10px); pointer-events: none; }
[data-nav="1"] .pv-nav:focus-within .pv-nav__in { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 760px) {
  [data-nav="1"] .pv-nav { top: 10px; padding: 0 12px; }
  [data-nav="1"] .pv-nav__in { height: 48px; padding: 5px; width: 100%; }
  [data-nav="1"] .pv-nav ol a { height: 38px; padding: 0 14px; }
  [data-nav="1"] .pv-nav__cta { display: none; }
  /* soft fade at the scroll edges so cut-off labels read as "more this way" */
  [data-nav="1"] .pv-nav ol { -webkit-mask: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent); mask: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent); padding: 0 8px; }
}

/* ---- 2 · floating bottom dock: thumb-height on a phone, a small centred dock on desktop ---- */
[data-nav="2"] .pv-nav { position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; justify-content: center;
  padding: 0 12px; pointer-events: none; transition: transform .45s var(--gl-ease-out), opacity .3s; }
[data-nav="2"] .pv-nav.is-hidden { transform: translateY(140%); opacity: 0; }
[data-nav="2"] .pv-nav:focus-within { transform: none; opacity: 1; }
[data-nav="2"] .pv-nav__in { pointer-events: auto; display: flex; align-items: center; gap: 4px; max-width: 100%; padding: 6px; border-radius: 26px;
  background: rgba(17, 17, 17, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -12px rgba(60, 10, 40, .45), inset 0 1px 0 rgba(255,255,255,.08); }
[data-nav="2"] .pv-nav ol { gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
[data-nav="2"] .pv-nav ol::-webkit-scrollbar { display: none; }
[data-nav="2"] .pv-nav ol a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 64px; height: 52px; padding: 0 12px;
  border-radius: 20px; color: #c9bcc3; font-size: 13px; transition: background-color .25s, color .25s; }   /* #c9bcc3 on #111: 10.31:1 */
[data-nav="2"] .pv-nav ol a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 1; transform: scale(.7); transition: transform .25s, background-color .25s; }
[data-nav="2"] .pv-nav ol a:hover { color: #fff; }
[data-nav="2"] .pv-nav ol a[aria-current="true"] { background: rgba(255,255,255,.12); color: #fff; }   /* #fff on #2f2f2f-ish: >12:1 */
[data-nav="2"] .pv-nav ol a[aria-current="true"]::before { background: var(--gl-pink-soft); transform: scale(1); }
[data-nav="2"] .pv-nav__cta { display: flex; align-items: center; height: 52px; padding: 0 18px; border-radius: 20px; flex: none;
  background: var(--gl-pink); color: #fff !important; font-weight: 600; font-size: 14px; }
[data-nav="2"] body { padding-bottom: 0; }
[data-nav="2"] .pv-endpad { height: 96px; }
@media (max-width: 760px) {
  [data-nav="2"] .pv-nav__in { width: 100%; border-radius: 24px; }
  [data-nav="2"] .pv-nav__cta { display: none; }
  [data-nav="2"] .pv-nav ol a { min-width: 0; padding: 0 12px; font-size: 12.5px; }
  [data-nav="2"] .pv-nav ol { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 26px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 26px), transparent); padding-right: 18px; }
}

/* ---- 3 · slim left rail on wide screens; a one-line "where am I" bar on narrow ones ---- */
[data-nav="3"] .pv-nav { position: fixed; transition: opacity .35s var(--gl-ease-out), transform .35s var(--gl-ease-out); }
[data-nav="3"] .pv-nav.is-hidden { opacity: 0; pointer-events: none; }
[data-nav="3"] .pv-nav:focus-within { opacity: 1; pointer-events: auto; }
@media (min-width: 1181px) {
  [data-nav="3"] .pv-nav { left: 30px; top: 50%; transform: translateY(-50%); }
  [data-nav="3"] .pv-nav.is-hidden { transform: translate(-12px, -50%); }
  [data-nav="3"] .pv-nav__cta { display: none; }
  [data-nav="3"] .pv-nav ol { flex-direction: column; gap: 0; position: relative; }
  [data-nav="3"] .pv-nav ol::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1.5px; background: #e2ccd8; }
  /* each link is a 44px target; its text is the tooltip */
  [data-nav="3"] .pv-nav ol a { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; font-size: 13px; color: var(--gl-ink); }
  [data-nav="3"] .pv-nav ol a::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: var(--gl-bg); box-shadow: inset 0 0 0 1.5px #8f7a86;   /* 3.66:1 on blush, a UI-component edge (needs 3:1) */ transition: transform .25s var(--gl-ease-out), background-color .25s, box-shadow .25s; }
  [data-nav="3"] .pv-nav ol a[aria-current="true"]::before { background: var(--gl-pink); box-shadow: 0 0 0 5px rgba(209, 10, 143, .16); transform: scale(1.2); }
  [data-nav="3"] .pv-nav ol a span { position: absolute; left: 46px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; padding: 8px 12px; border-radius: 10px;
    background: var(--gl-ink); color: #fff; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--gl-ease-out); }   /* #fff on #111 18.88:1 */
  [data-nav="3"] .pv-nav ol a:hover span, [data-nav="3"] .pv-nav ol a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
  [data-nav="3"] .pv-nav ol a:hover::before { transform: scale(1.25); }
}
@media (max-width: 1180px) {
  [data-nav="3"] .pv-nav { left: 0; right: 0; top: 0; }
  [data-nav="3"] .pv-nav.is-hidden { transform: translateY(-100%); }
  [data-nav="3"] .pv-nav__in { position: relative; background: var(--pv-glass); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(80, 20, 55, .08); }
  [data-nav="3"] .pv-nav__toggle { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 16px; border: 0; background: none;
    font: 600 15px/1 var(--gl-sans); color: var(--gl-ink); cursor: pointer; text-align: left; }
  [data-nav="3"] .pv-nav__toggle small { font: 500 13px/1 var(--gl-sans); color: var(--gl-ink-2); }
  [data-nav="3"] .pv-nav__toggle svg { margin-left: auto; width: 14px; height: 14px; transition: transform .25s; }
  [data-nav="3"] .pv-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  [data-nav="3"] .pv-nav__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--pv-p, 0) * 100%); background: var(--gl-pink); transition: width .3s var(--gl-ease-out); }
  [data-nav="3"] .pv-nav ol { display: none; flex-direction: column; padding: 4px 8px 12px; }
  [data-nav="3"] .pv-nav.is-open ol { display: flex; }
  [data-nav="3"] .pv-nav ol a { display: flex; align-items: center; height: 44px; padding: 0 10px; border-radius: 10px; font-size: 16px; }
  [data-nav="3"] .pv-nav ol a[aria-current="true"] { color: var(--gl-ink); background: rgba(17,17,17,.05); font-weight: 600; }
}

/* =========================================================================================
   Testimonials (#love): real Instagram DMs paired with each shop's real card, then the App Store reviews.
   ========================================================================================= */
.pv-love { margin-top: var(--gl-10); padding-top: var(--gl-8); border-top: 1px solid var(--gl-line); }
.pv-love__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--gl-6); }
.pv-love__head .gl-d2 { max-width: 760px; }
.pv-rate { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 16px; text-decoration: none; color: var(--gl-ink);
  padding: 16px 22px 16px 18px; border-radius: 20px; background: #fff; box-shadow: var(--gl-sh-1); }
.pv-rate__n { grid-row: span 2; font: 400 64px/.9 var(--font-display); letter-spacing: -.02em; }
.pv-stars { display: flex; gap: 2px; color: var(--gl-pink-text); }
.pv-stars svg { width: 18px; height: 18px; }
.pv-rate small { font-size: var(--gl-small); color: var(--gl-ink-2); line-height: 1.35; }
.pv-rate small b { color: var(--gl-ink); font-weight: 600; }
.pv-rate:hover small b { text-decoration: underline; text-underline-offset: 3px; }

/* the DM strip: starts on the content edge, bleeds off the right of the page */
.pv-dms { --pv-edge: max(var(--gl-gutter), calc((100vw - var(--gl-max)) / 2));
  margin: var(--gl-8) calc(50% - 50vw) 0; position: relative; }
.pv-dms__track { list-style: none; margin: 0; display: flex; gap: 40px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 18px var(--pv-edge) 40px; scroll-padding-inline: var(--pv-edge); scroll-snap-type: x mandatory; scrollbar-width: none; }
.pv-dms__track::-webkit-scrollbar { display: none; }
/* drag to scroll (js/page.js): mouse gets a hand; snap is lifted only while the hand holds it or a glide runs */
.pv-dms__track img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
@media (hover: hover) and (pointer: fine) { .pv-dms__track { cursor: grab; } }
.pv-dms__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.pv-dms__track.is-gliding { scroll-snap-type: none; }
.pv-dms__track:focus-visible { outline-offset: -6px; border-radius: 28px; }
.pv-dm { flex: none; width: 320px; scroll-snap-align: start; margin: 0; }
.pv-dm__fig { position: relative; margin: 0; }
/* the conversation: Instagram's own header band pinned over a crop centred on the merchant's message.
   Both are crops of the same untouched screenshot (560 x 1212, h/w 216.4%), --p = the measured focal point. */
.pv-conv { position: relative; border-radius: 26px; overflow: hidden; background: #101010;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 2px 6px rgba(60,10,40,.10), 0 30px 60px -24px rgba(60,10,40,.45); }
.pv-conv__hdr, .pv-conv__body { position: relative; overflow: hidden; }
.pv-conv__hdr { height: calc(320px * .146); --p: .080; }
.pv-conv__hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.09); }
.pv-conv__body { height: 360px; }
.pv-conv img { position: absolute; top: 50%; left: 0; width: 100%; height: auto; max-width: none; margin-top: calc(var(--p, .4) * -216.4%); }
.pv-conv__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, rgba(16,16,16,0), rgba(16,16,16,.92)); }
/* the shop's real Wallet card, tucked over the bottom of its own DM */
.pv-dm__card { position: relative; z-index: 2; display: block; width: 264px; height: auto; margin: -64px -14px 0 auto;
  border-radius: 13px; transform: rotate(2.5deg); box-shadow: 0 2px 4px rgba(60,10,40,.12), 0 22px 40px -14px rgba(90,10,60,.45); }
.pv-dm:nth-child(even) .pv-dm__card { transform: rotate(-2.5deg); margin: -64px auto 0 -14px; }
.pv-dms__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--gl-max); margin: 0 auto; }
.pv-dms__ctl { display: flex; gap: 10px; flex: none; }
.pv-dms__ctl button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--gl-ink); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--gl-sh-1); transition: transform .2s var(--gl-ease-out); }
.pv-dms__ctl button:hover { transform: translateY(-1px); }
.pv-dms__ctl button:disabled { color: #b9a9b2; cursor: default; transform: none; }   /* decorative state; the label still says what it does */
.pv-dms__ctl svg { width: 18px; height: 18px; }
.pv-dms__note { margin: 0; font-size: var(--gl-small); color: var(--gl-ink-2); max-width: 520px; }
.pv-dms__foot { padding: 0 var(--gl-gutter); }
@media (min-width: 1384px) { .pv-dms__foot { padding: 0; } }

/* App Store reviews: real, verbatim, a calm masonry under the loud strip */
.pv-revs__h { margin: var(--gl-9) 0 var(--gl-5); font: 600 19px/1.3 var(--gl-sans); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pv-revs__h span { font: 400 var(--gl-small)/1.3 var(--gl-sans); color: var(--gl-ink-2); }
.pv-revs { list-style: none; margin: 0; padding: 0; columns: 4 250px; column-gap: 24px; }
.pv-rev { break-inside: avoid; margin: 0 0 24px; padding: 22px 22px 20px; border-radius: 20px; background: #fff; box-shadow: var(--gl-sh-1); }
.pv-rev .pv-stars svg { width: 15px; height: 15px; }
.pv-rev h4 { margin: 12px 0 6px; font: 600 16px/1.35 var(--gl-sans); }
.pv-rev blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--gl-ink); text-wrap: pretty; }
.pv-rev p { margin: 14px 0 0; font-size: 13.5px; line-height: 1.3; color: var(--gl-ink-2); }
.pv-rev p b { color: var(--gl-ink); font-weight: 600; }
.pv-revs__more { display: none; }

@media (max-width: 1100px) {
  .pv-love__head { grid-template-columns: minmax(0, 1fr); }
  .pv-rate { justify-self: start; }
}
@media (max-width: 760px) {
  .pv-love { margin-top: var(--gl-9); padding-top: var(--gl-7); }
  .pv-rate { padding: 12px 18px 12px 14px; gap: 2px 12px; }
  .pv-rate__n { font-size: 52px; }
  .pv-dms { margin-top: var(--gl-6); }
  .pv-dms__track { gap: 22px; padding-bottom: 28px; }
  .pv-dm { width: 262px; }
  .pv-conv__hdr { height: calc(262px * .146); }
  .pv-conv__body { height: 300px; }
  .pv-dm__card { width: 226px; margin-right: -8px; }
  .pv-dm:nth-child(even) .pv-dm__card { margin-left: -8px; }
  .pv-dms__ctl { display: none; }
  .pv-revs__h { margin-top: var(--gl-8); }
  .pv-revs { columns: 1; }
  .pv-revs:not(.is-all) .pv-rev:nth-child(n + 5) { display: none; }
  .pv-revs__more { display: inline-flex; margin-top: 4px; }
}
