/* The website's front page (plan 05-08), built from the design file
   "Landing Page". Static: this stylesheet and landing.js are the whole page.
   Motion animates transform and opacity only (plus the orbs' fixed blur);
   prefers-reduced-motion switches all of it off and shows everything. */
@font-face { font-family: 'General Sans'; src: url('/landing/fonts/GeneralSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/landing/fonts/GeneralSans-Semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/landing/fonts/InstrumentSerif-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/landing/fonts/InstrumentSerif-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #F7F2EC; --ink: #14213D; --ink-deep: #0E1830;
  --accent: #C1502A; --accent-deep: #A8431F; --accent-glow: #E86E46;
  --muted: #685F53; --body: #5A6478; --line: rgba(20, 33, 61, 0.07);
  --warm: #F2E0D8; --warm-2: #E7C9BC; --warm-ink: #7E4B36; --warm-body: #7A5344;
  --ok-bg: #DCEDE4; --ok: #2F6B52;
  --on-dark: rgba(247, 242, 236, 0.72);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: 'Instrument Serif', Georgia, serif;
  --pad: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.4; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--ink); }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 6px; }
.pu-close :focus-visible { outline-color: var(--accent-glow); }
[id] { scroll-margin-top: 110px; }
main:focus { outline: none; }

.pu-skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.pu-skip:focus { top: 12px; color: var(--paper); }

.pu-page { position: relative; overflow-x: clip; }
main { position: relative; z-index: 1; display: block; }

/* ---------------------------------------------------------------- progress */
.pu-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); z-index: 60; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; will-change: transform; }

/* --------------------------------------------------------------------- nav */
.pu-nav { position: sticky; top: 0; z-index: 40; height: 66px; }
.pu-nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(247, 242, 236, 0.88); box-shadow: 0 1px 0 var(--line); opacity: 0; transform-origin: 50% 0; transition: opacity 280ms ease, transform 280ms var(--ease); }
.pu-nav.is-stuck::before { opacity: 1; transform: scaleY(0.818); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pu-nav__in { max-width: 1140px; margin: 0 auto; height: 66px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: transform 280ms var(--ease); }
.pu-nav.is-stuck .pu-nav__in { transform: translate3d(0, -6px, 0); }
.pu-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); min-height: 44px; }
.pu-brand:hover { color: var(--ink); }
.pu-brand__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.pu-brand__name { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.pu-nav__cta { display: inline-block; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 12px 22px; font-size: 15px; font-weight: 600; white-space: nowrap; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform 200ms var(--ease), background-color 200ms ease; }
.pu-nav__cta:active { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(0.97); }

/* -------------------------------------------------------------------- orbs */
.pu-orb { position: absolute; pointer-events: none; z-index: 0; will-change: transform; }
.pu-orb i { display: block; width: 100%; height: 100%; border-radius: 999px; animation: puDrift 26s ease-in-out infinite; }
.pu-orb--a { top: -120px; right: -140px; width: 520px; height: 520px; }
.pu-orb--a i { background: var(--warm); filter: blur(10px); opacity: 0.75; }
.pu-orb--b { top: 620px; left: -180px; width: 380px; height: 380px; }
.pu-orb--b i { background: var(--warm-2); filter: blur(20px); opacity: 0.45; animation-duration: 34s; animation-direction: reverse; }

/* -------------------------------------------------------------------- hero */
.pu-hero__in { position: relative; max-width: 1140px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.pu-hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pu-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); animation: puRise 700ms var(--ease) both; }
.pu-badge__dot { position: relative; display: flex; width: 8px; height: 8px; flex: none; }
.pu-badge__dot i, .pu-badge__dot b { position: absolute; inset: 0; border-radius: 999px; background: var(--accent); }
.pu-badge__dot i { animation: puPulse 2.4s ease-out infinite; }
.pu-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7.2vw, 80px); line-height: 0.94; letter-spacing: -0.025em; text-wrap: balance; }
.pu-w { display: inline-block; animation: puRise 760ms var(--ease) both; animation-delay: calc(80ms + var(--i, 0) * 80ms); }
.pu-w--em { font-style: italic; color: var(--accent-deep); }
.pu-stop { font-style: normal; color: var(--ink); }
.pu-lede { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 520px; text-wrap: pretty; animation: puRise 760ms var(--ease) 400ms both; }
.pu-getwrap { display: flex; flex-direction: column; gap: 12px; max-width: 480px; scroll-margin-top: 110px; animation: puRise 760ms var(--ease) 480ms both; }
.pu-hero__note { font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }

/* store area: the build puts either "coming soon" or the buttons here */
.pu-store { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pu-store__soon, .pu-store__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; margin: 0; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; border: 1.5px solid transparent; }
.pu-store__soon { border-style: dashed; border-color: rgba(20, 33, 61, 0.3); color: var(--ink); }
.pu-store__btn { background: transparent; border-color: var(--ink); color: var(--ink); white-space: nowrap; transition: transform 160ms var(--ease), background-color 200ms ease, color 200ms ease; }
.pu-store__btn--primary { background: var(--ink); color: var(--paper); }
.pu-store__btn:hover { color: var(--ink); }
.pu-store__btn--primary:hover { color: var(--paper); background: var(--ink-deep); }
.pu-store__btn:active { transform: scale(0.97); }
.pu-store__note { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--muted); }
.pu-store--dark { position: relative; justify-content: center; width: 100%; max-width: 480px; }
.pu-store--dark .pu-store__soon { border-color: rgba(247, 242, 236, 0.4); color: var(--paper); }
.pu-store--dark .pu-store__btn { border-color: rgba(247, 242, 236, 0.5); color: var(--paper); }
.pu-store--dark .pu-store__btn:hover { color: var(--paper); background: rgba(247, 242, 236, 0.1); }
.pu-store--dark .pu-store__btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 17px; }
.pu-store--dark .pu-store__btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.pu-store--dark .pu-store__note { color: var(--on-dark); }

/* ------------------------------------------------------------ phone mock */
.pu-hero__phone { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: puRise 900ms var(--ease) 260ms both; }
.pu-tilt { width: 100%; max-width: 372px; transition: transform 400ms var(--ease); }
.pu-float { animation: puFloat 9s ease-in-out infinite; }
.pu-phone { background: var(--ink); border-radius: 30px; padding: 22px; box-shadow: 0 30px 70px rgba(20, 33, 61, 0.22); display: flex; flex-direction: column; gap: 16px; color: var(--paper); }
.pu-phone__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pu-phone__when { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); font-weight: 600; }
.pu-avatars { display: flex; }
.pu-av { width: 26px; height: 26px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; border: 2px solid var(--ink); }
.pu-av--a { background: var(--warm-2); color: var(--warm-ink); }
.pu-av--s { background: var(--paper); color: var(--ink); margin-left: -8px; }
.pu-stage { position: relative; height: 392px; }
.pu-beat { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 11px; opacity: 0; will-change: transform, opacity; }
.pu-beat--1 { animation: puBeat1 14s var(--ease) infinite; }
.pu-beat--2 { gap: 14px; align-items: center; justify-content: center; text-align: center; animation: puBeat2 14s var(--ease) infinite; }
.pu-beat--3 { gap: 12px; animation: puBeat3 14s var(--ease) infinite; }
.pu-q { font-family: var(--serif); font-size: 30px; line-height: 1.04; color: var(--paper); text-wrap: balance; }
.pu-opt { border: 1px solid rgba(247, 242, 236, 0.22); border-radius: 20px; padding: 17px; font-size: 16px; line-height: 1.35; }
.pu-opt--on { background: var(--paper); color: var(--ink); font-weight: 600; border-color: var(--paper); }
.pu-bars { display: flex; gap: 5px; margin-top: auto; }
.pu-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(247, 242, 236, 0.24); }
.pu-bars i.on { background: var(--paper); }
.pu-lock { position: relative; width: 78px; height: 78px; display: flex; align-items: center; justify-content: center; }
.pu-lock__ring { position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(247, 242, 236, 0.22); animation: puPulse 2.8s ease-out infinite; }
.pu-lock__t { font-size: 15px; line-height: 1.5; color: var(--on-dark); max-width: 250px; }
.pu-chip { background: var(--ok-bg); color: var(--ok); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; }
.pu-plan { flex: 1; min-height: 0; background: var(--warm); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.pu-plan__pic { position: relative; flex: 1; min-height: 0; border-radius: 14px; background: var(--warm-2); display: flex; align-items: flex-end; padding: 16px; overflow: hidden; isolation: isolate; }
/* the photo fills the box at any ratio; a dark wash at the foot keeps the name readable */
.pu-plan__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: 0; }
.pu-plan__pic::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(14, 24, 48, 0.88) 0%, rgba(14, 24, 48, 0.62) 32%, rgba(14, 24, 48, 0) 74%); }
.pu-plan__name { position: relative; z-index: 2; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--paper); text-shadow: 0 1px 14px rgba(14, 24, 48, 0.4); }
.pu-stamp { z-index: 2; position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; animation: puStamp 14s var(--ease) infinite; }
.pu-plan__meta { display: flex; flex-direction: column; gap: 3px; }
.pu-plan__tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.pu-plan__d { font-size: 14px; line-height: 1.45; color: var(--warm-body); }
.pu-plan__c { font-size: 13px; color: var(--warm-body); font-variant-numeric: tabular-nums; }
.pu-go { background: var(--accent); color: #fff; border-radius: 999px; padding: 15px; text-align: center; font-size: 16px; font-weight: 600; }
.pu-dots { display: flex; align-items: center; justify-content: center; gap: 7px; }
.pu-dots i { width: 22px; height: 4px; border-radius: 2px; background: rgba(247, 242, 236, 0.28); }
.pu-dots i:nth-child(1) { animation: puDot1 14s linear infinite; }
.pu-dots i:nth-child(2) { animation: puDot2 14s linear infinite; }
.pu-dots i:nth-child(3) { animation: puDot3 14s linear infinite; }

/* ----------------------------------------------------------------- marquee */
.pu-marquee { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.pu-marquee__track { display: flex; width: max-content; animation: puMarquee 46s linear infinite; }
.pu-marquee__row { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.pu-marquee__row i { font-style: normal; color: var(--accent); }

/* --------------------------------------------------------------- sections */
.pu-sec { padding: var(--pad) 24px 0; }
.pu-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pu-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 52px); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.pu-h2--s { font-size: clamp(30px, 3.8vw, 44px); line-height: 1; }
.pu-sub { font-size: 16px; line-height: 1.55; color: var(--body); max-width: 420px; text-wrap: pretty; }
.pu-sub--s { font-size: 15px; }

/* how it works */
.pu-how__in { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pu-how__head { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 700px) { .pu-how__head { position: sticky; top: 110px; } }
.pu-steps { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pu-step { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; gap: 20px; align-items: flex-start; --sh: 0 14px 34px rgba(20, 33, 61, 0.08); }
.pu-step--dark { background: var(--ink); border-color: var(--ink); color: var(--paper); --sh: 0 14px 34px rgba(20, 33, 61, 0.18); }
.pu-step__n { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--accent-deep); flex: none; font-variant-numeric: tabular-nums; transform-origin: 0 60%; }
.pu-step--dark .pu-step__n { color: var(--accent-glow); }
.pu-step__t { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pu-step h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.pu-step p { font-size: 15px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.pu-step--dark p { color: var(--on-dark); }
.pu-step::after { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; border: 1.5px solid var(--accent); opacity: 0; transition: opacity 500ms ease; pointer-events: none; }
.pu-step--dark::after { border-color: var(--accent-glow); }
:where(.js) .pu-step__n { opacity: 0.72; transform: scale(0.94); transition: opacity 500ms ease, transform 500ms var(--ease); }
:where(.js) .pu-step.is-on .pu-step__n { opacity: 1; transform: none; }
.pu-step.is-on::after { opacity: 1; }

/* what's inside */
.pu-inside__in { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.pu-inside__head { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }
.pu-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.pu-feat { background: var(--warm); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 11px; --sh: 0 18px 40px rgba(122, 83, 68, 0.18); }
.pu-feat__tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; transition: transform 280ms var(--ease); }
.pu-feat h3 { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--warm-ink); }
.pu-feat__b { font-size: 15px; line-height: 1.5; color: var(--warm-body); text-wrap: pretty; }

/* objections */
.pu-obj__card { max-width: 1140px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(28px, 4vw, 44px); align-items: start; }
.pu-obj__head { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.pu-points { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pu-points li { display: flex; gap: 14px; align-items: flex-start; }
.pu-tick { width: 34px; height: 34px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; flex: none; }
.pu-points h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.pu-points p { font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* questions */
.pu-faqs__in { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.pu-faqgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 12px; }
.pu-faq { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; --sh: 0 10px 26px rgba(20, 33, 61, 0.07); }
.pu-faq h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.pu-faq p { font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* closing band */
.pu-close__band { position: relative; max-width: 1140px; margin: 0 auto; background: var(--ink); border-radius: 32px; padding: clamp(36px, 6vw, 80px) clamp(26px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.pu-close__o { position: absolute; border-radius: 999px; filter: blur(30px); pointer-events: none; z-index: -1; animation: puDrift 22s ease-in-out infinite; }
.pu-close__o--a { top: -90px; right: -60px; width: 320px; height: 320px; background: rgba(232, 110, 70, 0.18); }
.pu-close__o--b { bottom: -110px; left: -70px; width: 300px; height: 300px; background: rgba(247, 242, 236, 0.08); animation-duration: 30s; animation-direction: reverse; }
.pu-close__h { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 68px); line-height: 0.96; letter-spacing: -0.025em; color: var(--paper); max-width: 780px; text-wrap: balance; }
.pu-close__em { position: relative; display: inline-block; font-style: italic; color: var(--accent-glow); }
.pu-close__em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.055em; border-radius: 2px; background: var(--accent-glow); transform-origin: 0 50%; opacity: 0.85; }
:where(.js) .pu-close__band:not(.is-in) .pu-close__em::after { transform: scaleX(0); }
.pu-close__band.is-in .pu-close__em::after { transition: transform 900ms var(--ease) 700ms; }
.pu-close__p { font-size: 17px; line-height: 1.55; color: var(--on-dark); max-width: 520px; text-wrap: pretty; }

/* an evening, for example: the film */
.pu-evening__in { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.pu-evening__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px clamp(28px, 5vw, 64px); }
.pu-evening__t { display: flex; flex-direction: column; gap: 12px; flex: 1 1 440px; max-width: 640px; min-width: 0; }
.pu-evening__line { flex: 0 1 360px; max-width: 360px; }
.pu-film { margin: 0; display: flex; flex-direction: column; gap: 16px; }
/* a paper-white mat (the ring) around the dark film; outer radius = inner radius + mat */
.pu-film__frame { position: relative; margin: 9px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; isolation: isolate; background: var(--warm-2); box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line), 0 30px 64px rgba(122, 83, 68, 0.24), 0 6px 16px rgba(20, 33, 61, 0.08); }
.pu-film__still, .pu-film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pu-film__video { opacity: 0; transition: opacity 400ms ease; }
.pu-film__frame.is-playing .pu-film__video { opacity: 1; }
.pu-film__toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: rgba(14, 24, 48, 0.66); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 160ms var(--ease), background-color 200ms ease; }
.pu-film__toggle[hidden], .pu-motion[hidden] { display: none; }
.pu-film__toggle .pu-ic { position: absolute; transition: opacity 200ms ease, transform 200ms var(--ease); }
.pu-film__toggle .pu-ic--play { transform: translateX(1px) scale(0.6); opacity: 0; }
.pu-film__toggle[data-held="true"] .pu-ic--pause { transform: scale(0.6); opacity: 0; }
.pu-film__toggle[data-held="true"] .pu-ic--play { transform: translateX(1px); opacity: 1; }
.pu-film__toggle:active { transform: scale(0.94); }
.pu-film__toggle:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(14, 24, 48, 0.9); }
.pu-film__cap { font-size: 14px; line-height: 1.45; color: var(--muted); text-align: center; text-wrap: pretty; }

/* pause motion: one quiet control under the phone */
.pu-motion { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: color 200ms ease, background-color 200ms ease, transform 160ms var(--ease); }
.pu-motion:active { transform: scale(0.97); }
.pu-motion .pu-ic--play, .pu-motion[data-held="true"] .pu-ic--pause { display: none; }
.pu-motion[data-held="true"] .pu-ic--play { display: block; }
.pu-motion .pu-ic { flex: none; }

/* footer */
.pu-footer__in { max-width: 1140px; margin: clamp(48px, 7vw, 80px) auto 0; padding: 32px 24px 56px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); }
.pu-footer__brand { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.pu-footer nav { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.pu-footer nav a { padding: 12px 8px; }

.pu-lift { position: relative; isolation: isolate; transition: transform 260ms var(--ease); }
.pu-lift::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: var(--sh); opacity: 0; transition: opacity 280ms ease; pointer-events: none; }

/* ----------------------------------------------- reveal-on-scroll (needs JS) */
:where(.js) [data-pu-reveal] { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 760ms var(--ease) var(--d, 0ms), transform 760ms var(--ease) var(--d, 0ms); }
:where(.js) [data-pu-reveal].is-in { opacity: 1; transform: none; }
:where(.js) [data-pu-reveal].is-done { transition: transform 260ms var(--ease), opacity 260ms ease; }

/* ---------------------------------------------------------- hover (mouse) */
@media (hover: hover) {
  .pu-lift:hover { transform: translate3d(0, -4px, 0); }
  .pu-feat:hover { transform: translate3d(0, -6px, 0); }
  .pu-faq:hover { transform: translate3d(0, -3px, 0); }
  .pu-lift:hover::before { opacity: 1; }
  .pu-feat:hover .pu-feat__tag { transform: translate3d(4px, 0, 0); }
  .pu-motion:hover { color: var(--ink); background: rgba(20, 33, 61, 0.05); }
  .pu-film__toggle:hover { background: rgba(14, 24, 48, 0.82); }
  .pu-nav__cta:hover { background: var(--ink-deep); color: var(--paper); transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 2px), 0); }
  .pu-marquee:hover .pu-marquee__track { animation-play-state: paused; }
}

/* ------------------------------------------------ pause when out of sight */
.pu-off, .pu-off *, .pu-off *::before, .pu-off *::after,
.pu-hidden *, .pu-hidden *::before, .pu-hidden *::after { animation-play-state: paused !important; }

/* "Pause motion" (WCAG 2.2.2): the endless animations only, never the entrances */
.pu-still .pu-orb i, .pu-still .pu-badge__dot i, .pu-still .pu-float,
.pu-still .pu-lock__ring, .pu-still .pu-marquee__track, .pu-still .pu-close__o { animation-play-state: paused !important; }
/* Paused, the phone rests on the plan (never caught between two screens) */
.pu-still .pu-beat, .pu-still .pu-dots i, .pu-still .pu-stamp { animation: none !important; }
.pu-still .pu-beat { opacity: 0; }
.pu-still .pu-beat--3 { opacity: 1; transform: none; }
.pu-still .pu-dots i:nth-child(3) { background: var(--accent); }
.pu-still .pu-stamp { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- keyframes */
@keyframes puRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes puFloat { 0% { transform: translateY(0); } 50% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
@keyframes puDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.06); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes puMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes puBeat1 { 0%, 2% { opacity: 0; transform: translateY(14px) scale(0.99); } 7%, 28% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-14px) scale(0.99); } }
@keyframes puBeat2 { 0%, 31% { opacity: 0; transform: translateY(14px) scale(0.99); } 37%, 60% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateY(-14px) scale(0.99); } }
@keyframes puBeat3 { 0%, 63% { opacity: 0; transform: translateY(14px) scale(0.99); } 69%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-14px) scale(0.99); } }
@keyframes puDot1 { 0%, 6% { background: #C1502A; } 30%, 100% { background: rgba(247, 242, 236, 0.28); } }
@keyframes puDot2 { 0%, 34% { background: rgba(247, 242, 236, 0.28); } 38%, 62% { background: #C1502A; } 66%, 100% { background: rgba(247, 242, 236, 0.28); } }
@keyframes puDot3 { 0%, 66% { background: rgba(247, 242, 236, 0.28); } 70%, 100% { background: #C1502A; } }
@keyframes puPulse { 0% { transform: scale(0.9); opacity: 0.55; } 70% { transform: scale(1.9); opacity: 0; } 100% { transform: scale(1.9); opacity: 0; } }
/* the stamp lands on the plan once the plan beat is up, and leaves with it */
@keyframes puStamp { 0%, 70% { transform: scale(1.18); opacity: 0; } 75%, 95% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* -------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-pu-reveal] { opacity: 1 !important; transform: none !important; }
  .pu-beat--1, .pu-beat--2 { display: none; }
  .pu-beat--3 { opacity: 1; transform: none; }
  .pu-dots i:nth-child(3) { background: var(--accent); }
  .pu-badge__dot i { display: none; }
  .pu-step__n { opacity: 1 !important; transform: none !important; }
  .pu-step::after { opacity: 0 !important; }
  .pu-close__em::after { transform: none !important; }
  .pu-marquee { -webkit-mask-image: none; mask-image: none; padding: 18px 24px; }
  .pu-marquee__track { width: auto; justify-content: center; }
  .pu-marquee__row { flex-wrap: wrap; justify-content: center; gap: 10px 24px; padding-right: 0; white-space: normal; }
  .pu-marquee__row[aria-hidden] { display: none; }
  .pu-motion, .pu-film__toggle, .pu-film__video { display: none !important; }
}
