/* Homepage layout (index.html only), loaded after style.css and
   early-access.css. Everything here is scoped to the page's own classes; the
   shared pieces it reuses (the Android list's .lx-ea panels, the cookie bar,
   the fullscreen demo) keep their rules in style.css / early-access.css.

   The rest of the site renders at html { zoom: 90% }. This page is drawn at
   full size instead (html.lx-home), which also keeps the scroll maths in
   js/home.js in plain CSS px. */

:root {
  --paper: #faf7f2;
  --card: #fff;
  --ink: #1a1714;
  --ink-2: #5a5349;
  --ink-3: #6b645d;
  --line: rgba(26, 23, 20, .12);
  --clay: #b5794f;
  --clay-deep: #8f5f37;
  --gold: #e7c9a8;
  --on-brown: #fff;
  --on-brown-2: rgba(255, 255, 255, .84);
  --brown: radial-gradient(120% 140% at 15% -10%, #7a5136 0%, transparent 55%), linear-gradient(165deg, #2b241f 0%, #4a3527 55%, #6b4b34 100%);
  --shadow: 0 4px 18px rgba(26, 23, 20, .06);
  --lift: 0 30px 60px -30px rgba(43, 36, 31, .5);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html.lx-home {
  zoom: 1;
  scroll-behavior: smooth;
}

html.lx-home body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* The fullscreen demo counter-zooms the site-wide 90%; there is none here. */
html.lx-home .demo-immersive {
  zoom: 1;
}

/* Paints the notch strip on phones, where the sticky header leaves it bare. */
html.lx-home body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: env(safe-area-inset-top, 0px);
  background: var(--paper);
}

/* Resets against style.css's element rules (h2 64px, p margins, li padding,
   blockquote/figcaption type). :where() keeps them at element weight, so they
   win those ties by coming later and lose to every class rule below. */
:where(.pg) :is(h1, h2, h3, h4) { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
:where(.pg) :is(h1, h2, h3) em { font-style: italic; color: var(--clay-deep); }
:where(.pg) :is(p, ol, ul, figure, blockquote, figcaption) { margin: 0; font: inherit; line-height: inherit; color: inherit; text-align: inherit; }
:where(.pg) li { padding: 0; font: inherit; line-height: inherit; color: inherit; }
:where(.pg) a { color: inherit; font-family: inherit; }
.pg { overflow-x: clip; }
/* Links and buttons only: the Android list's field draws its own focus. */
.pg :is(a, button, summary):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.ctaB :is(a, button):focus-visible { outline-color: #fff; }
.pg [id] { scroll-margin-top: 96px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; font: 600 14px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.tlink { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 1px solid rgba(26, 23, 20, .35); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.tlink svg { width: 14px; height: 14px; }
.badge { display: inline-block; line-height: 0; }
.badge img { display: block; width: auto; height: 48px; }
.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }

/* ---------- header: the app's floating tab-bar pill ---------- */
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-top: 14px; }
.hd__in { position: relative; }
.hd__bar { display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 8px 0 26px; border-radius: 999px; background: var(--card); box-shadow: 0 2px 10px rgba(0, 0, 0, .04), 0 14px 34px -16px rgba(43, 36, 31, .25); }
.hd__logo { display: block; line-height: 0; }
.hd__logo img { width: auto; height: 20px; }
.hd__nav { display: flex; gap: 4px; margin: 0 auto; }
.hd__nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.hd__nav a:hover { background: #f5f0eb; color: var(--ink); }
.hd__end { display: flex; align-items: center; gap: 10px; }
.hd__end .btn { min-height: 48px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: #f0ece8; }
.lang button { min-width: 38px; height: 34px; border: 0; border-radius: 999px; background: none; font: 600 11px/1 var(--sans); letter-spacing: .08em; color: var(--ink-2); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.hd__menu { display: none; width: 48px; height: 48px; border: 0; border-radius: 999px; background: #f0ece8; color: var(--ink); place-items: center; }
.hd__menu svg { width: 20px; height: 20px; }
.hd__menu .hd__i-close,
.hd__menu[aria-expanded="true"] .hd__i-open { display: none; }
.hd__menu[aria-expanded="true"] .hd__i-close { display: block; }
.hd__panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 8px; border-radius: 28px; background: var(--card); box-shadow: 0 2px 10px rgba(0, 0, 0, .04), 0 18px 40px -16px rgba(43, 36, 31, .3); }
.hd__panel[hidden] { display: none; }
.hd__panel nav { display: grid; }
.hd__panel nav a { display: flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 20px; font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; }
.hd__panel nav a:hover { background: #f5f0eb; }
.hd__panel-end { display: none; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 10px 0; padding: 12px 0 6px; border-top: 1px solid var(--line); }

/* ---------- hero: the headline waits behind the phone ----------
   The runway is the phone's own height plus room to read the revealed hero.
   --hsw is the hero phone's screen width; the headline is sized so it peeks
   out either side of the phone (a tease) until the phone scrolls away. */
.hero { --hsw: 314; position: relative; height: calc(var(--hsw) * 844 / 390 * 1px + 960px); }
.hero__pin { position: sticky; top: 96px; z-index: 1; padding-top: 40px; text-align: center; }
.hero h1 { margin-top: 20px; font-size: 112px; line-height: .94; letter-spacing: -.025em; }
.hero h1 em { padding-right: .06em; color: #c65cfc; background: linear-gradient(90deg, #c65cfc, #ea6cee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__more > * { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hero.is-revealed .hero__more > * { opacity: 1; transform: none; }
.hero.is-revealed .hero__more > :nth-child(2) { transition-delay: .08s; }
.hero.is-revealed .hero__more > :nth-child(3) { transition-delay: .16s; }
.hero.is-revealed .hero__more > :nth-child(4) { transition-delay: .24s; }
.hero__lede { max-width: 540px; margin: 24px auto 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; margin-top: 28px; }
.hero__android { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.hero__android a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(26, 23, 20, .35); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 10px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.facts svg { width: 15px; height: 15px; color: var(--clay-deep); }
.hero__dev { position: absolute; z-index: 2; left: 0; right: 0; top: 18px; display: flex; justify-content: center; pointer-events: none; }

/* ---------- the phone ----------
   images/phone-frame.svg (1302 x 2649) on top, the screen under its
   transparent glass (x 67-1235, y 57-2589 in the artwork: the iPhone's
   390 x 844). --sw is the screen width in px; the screen box overshoots the
   glass by a pixel, which the bezel hides. */
.ph { --sw: 278; position: relative; flex: none; width: calc(var(--sw) * 1302 / 1168 * 1px); aspect-ratio: 1302 / 2649; }
.ph--hero { --sw: var(--hsw); }
.ph::before { content: ""; position: absolute; inset: 0 .8%; z-index: -1; border-radius: calc(var(--sw) * .23px); box-shadow: 0 44px 80px -34px rgba(43, 36, 31, .5), 0 18px 36px -20px rgba(43, 36, 31, .3); }
.ph__scr { position: absolute; left: calc(66 / 1302 * 100%); top: calc(56 / 2649 * 100%); width: calc(1170 / 1302 * 100%); height: calc(2534 / 2649 * 100%); overflow: hidden; border-radius: calc(var(--sw) * .19px); background: #faf8f6; isolation: isolate; }
.ph__frame { position: absolute; inset: 0; z-index: 7; display: block; width: 100%; height: 100%; pointer-events: none; }
.ph__shot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* demo-results.avif was taken mid-list, so its last row is cut off in the
   image itself; fading it reads as "more below" instead of a hard edge. */
.ph__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 11%; background: linear-gradient(to bottom, rgba(250, 247, 242, 0), var(--paper) 78%); pointer-events: none; }

/* the how-it-works phone: one screenshot per step, then the live demo */
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.shot.is-on { opacity: 1; }
.ph.is-live .shot { opacity: 0; }
/* The iframe's wrapper keeps the markup it had before (.lx-phone__shot
   .feature-scroll-iframe); these undo style.css's sizing and zoom for it. */
.ph .feature-scroll-iframe { position: absolute; inset: 0; z-index: 3; width: auto; height: auto; overflow: hidden; zoom: 1; opacity: 0; background: #faf8f6; pointer-events: none; transition: opacity .4s ease; }
.ph.is-live .feature-scroll-iframe { opacity: 1; pointer-events: auto; }
/* The app lays out at a 390 x 844 viewport and is scaled to the screen. */
.ph .feature-scroll-iframe-inner { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; transform: scale(calc(var(--sw) / 390)); background: #faf8f6; }
.ph .feature-demo-tap { display: none; }

.mascot { position: relative; display: grid; place-items: center; border-radius: 50%; background: #f5f0eb; color: #1a1a1a; }
.mascot svg { width: 68%; height: auto; overflow: visible; }

/* ---------- brand strip ---------- */
.brands { padding: 64px 0 56px; text-align: center; }
.marquee { position: relative; margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: lx-marquee 46s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__group span { font-family: var(--sans); font-size: 26px; line-height: 1; color: var(--ink-2); white-space: nowrap; }
.marquee__group i { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); opacity: .7; }
@keyframes lx-marquee { to { transform: translateX(-50%); } }
.brands__note { margin-top: 22px; font-size: 13px; color: var(--ink-3); }

/* ---------- how it works: sticky phone + steps ---------- */
.how { position: relative; padding-top: 110px; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
.how__device { position: relative; }
.how__sticky { position: sticky; top: max(104px, calc(50vh - 340px)); display: flex; justify-content: center; width: max-content; margin-inline: auto; will-change: transform; }
.how__steps h2 { margin-top: 18px; font-size: 52px; line-height: 1.05; }
.steps { position: relative; margin-top: 40px; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 17px; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 22px; min-height: 58vh; padding-bottom: 40px; }
.step:last-child { min-height: 0; }
.step__n { position: relative; width: 36px; height: 36px; border: 2px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); font: 700 14px/32px var(--sans); text-align: center; transition: background .3s, color .3s, border-color .3s; }
.step.is-active .step__n { border-color: #fff; background: var(--ink); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.step h3 { font-size: 34px; line-height: 1.12; }
.step p { max-width: 440px; margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.say { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 16px; }
.say .mascot { flex: none; width: 44px; height: 44px; }
.say__b { padding: 10px 16px; border-radius: 18px 18px 18px 6px; background: var(--card); box-shadow: var(--shadow); font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.3; }
.say__b em { font-style: italic; color: var(--clay-deep); }
.say__b small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--ink-2); }
/* Long enough that the phone is still held where the Demo link lands on short
   screens: the glide (32 + 260 + 48px) + sticky top + phone height. */
.how__runway { height: max(130vh, 1140px); }
.cap { position: fixed; left: 0; top: 0; z-index: 20; width: 340px; text-align: right; opacity: 0; transform: translateY(-50%); transition: opacity .35s ease; pointer-events: none; }
.cap.is-on { opacity: 1; }
.cap .kicker { justify-content: flex-end; }
.cap h2 { margin-top: 14px; font-size: 58px; line-height: 1.02; }
.cap p { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.cap svg { display: block; width: 96px; height: 52px; margin: 18px 0 0 auto; color: var(--clay); }

/* ---------- download invite ---------- */
.invite { padding: 110px 0; }
.invite__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px; padding: 72px 64px 56px; border-radius: 32px; background: var(--card); box-shadow: 0 1px 0 rgba(26, 23, 20, .04), 0 24px 60px -30px rgba(43, 36, 31, .25); }
.invite__card .invite__m { position: absolute; left: 52px; top: -40px; width: 80px; height: 80px; border: 6px solid var(--paper); }
.invite__card h2 { margin-top: 16px; font-size: 48px; line-height: 1.05; }
.invite__card p { max-width: 460px; margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.invite__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.qr { display: flex; align-items: center; gap: 20px; padding: 18px 22px 18px 18px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.qr__code { width: 132px; height: 132px; padding: 10px; border-radius: 14px; background: #fff; }
.qr__code img { display: block; width: 100%; height: 100%; }
.qr b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.qr span { display: block; max-width: 150px; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* ---------- testimonials (real tester quotes, see index.html) ---------- */
.testi { padding: 0 0 110px; }
.testi__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.testi__head h2 { margin-top: 16px; font-size: 56px; line-height: 1.02; }
.testi__head p { max-width: 380px; font-size: 16px; color: var(--ink-2); }
/* Words first: one wide card and two short ones, first names only, no
   portraits. The wide card has the tester's own find taped over its corner
   like a print. */
.tq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.tq-lead, .tq-card { position: relative; padding: 32px 36px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.tq-lead { grid-column: 1 / -1; padding: 48px 280px 48px 64px; border-radius: 32px; }
.tq-mark { display: block; height: 44px; margin-bottom: 8px; font: 600 88px/1 var(--serif); color: var(--clay); }
.tq-grid blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.42; color: var(--ink); }
.tq-lead blockquote { max-width: 34ch; font-size: 31px; line-height: 1.3; }
.tq-grid mark { background: linear-gradient(transparent 62%, #f1e3d4 62%); color: inherit; }
.tq-name { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; font-weight: 600; text-align: left; color: var(--ink); }
.tq-name::before { content: ""; width: 18px; height: 1px; background: var(--clay-deep); }
.tq-name small { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.tq-name small::before { content: "· "; }
.tq-print { position: absolute; top: -24px; right: 56px; width: 176px; padding: 8px 8px 12px; border-radius: 3px; background: #fff; transform: rotate(5deg); box-shadow: 0 14px 28px -14px rgba(43, 36, 31, .45), 0 0 0 1px rgba(26, 23, 20, .06); }
.tq-print::before { content: ""; position: absolute; top: -11px; left: 50%; width: 64px; height: 22px; background: rgba(231, 201, 168, .72); transform: translateX(-50%) rotate(3deg); }
.tq-print img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #efe8df; }
.tq-print b { display: block; margin-top: 7px; font: 600 23px/1 Caveat, "Segoe Print", "Bradley Hand", cursive; color: var(--ink); }
.tq-print span { display: block; margin-top: 3px; font-size: 11px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 110px; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; gap: 72px; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro .mascot { width: 72px; height: 72px; margin-bottom: 20px; }
.faq__intro h2 { margin-top: 16px; font-size: 52px; line-height: 1.05; }
.faq__intro p { margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.faq__intro a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq__list { padding: 6px 0; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.qa { border-bottom: 1px solid rgba(26, 26, 26, .06); }
.qa:last-child { border-bottom: 0; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; padding: 16px 28px; font: 600 16px/1.35 var(--sans); color: var(--ink); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 18px; height: 18px; color: #8a8279; transition: transform .2s; }
.qa[open] summary svg { transform: rotate(45deg); }
.qa__a { padding: 0 28px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.qa__a a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- closing card ---------- */
.cta { padding: 60px 0 110px; }
.ctaB { position: relative; max-width: 860px; margin: 0 auto; padding: 84px 64px 56px; border-radius: 36px; background: var(--brown); box-shadow: var(--lift); color: #fff; text-align: center; }
.ctaB__m { position: absolute; left: 50%; top: -60px; width: 120px; height: 120px; margin-left: -60px; border: 6px solid var(--paper); }
.ctaB h2 { font-size: 72px; line-height: 1; color: var(--on-brown); }
.ctaB h2 em { color: var(--gold); }
.cta__lede { margin-top: 16px; font-size: 18px; color: var(--on-brown-2); }
.ctaB .badge { margin-top: 30px; }
.cta__rule { max-width: 520px; height: 1px; margin: 44px auto 28px; background: rgba(255, 255, 255, .18); }
.cta__and { font-size: 15px; color: var(--on-brown-2); }
.cta__and b { color: var(--on-brown); }
.ctaB .lx-ea { max-width: 520px; margin: 18px auto 0; }

/* ---------- footer ---------- */
.ft { padding: 72px 0 120px; border-top: 1px solid var(--line); }
.ft__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ft__brand img { display: block; width: auto; height: 22px; }
.ft__brand p { max-width: 280px; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.ft__socs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ft__soc { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); color: var(--ink); transition: background-color .2s, color .2s; }
.ft__soc:hover,
.ft__soc:focus-visible { background: var(--brown); color: var(--on-brown); }
.ft__soc svg { width: 18px; height: 18px; }
.ft h4 { margin: 0 0 18px; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.ft ul { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.ft li a,
.ft li span { font-size: 15px; color: var(--ink); text-decoration: none; }
.ft__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ft__badges img { display: block; width: auto; height: 40px; }
.soon { display: flex; flex-direction: column; gap: 6px; }
.soon img { opacity: .45; }
.soon small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ft__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.ft__bottom em { font-family: var(--serif); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html.lx-home { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .hero__more > *, .shot, .ph .feature-scroll-iframe, .cap { transition: none; }
}

@media (max-width: 1100px) {
  .hero { --hsw: 287; }
  .hero h1 { font-size: 96px; }
}

@media (max-width: 900px) {
  .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
  .hd__nav { display: none; }
  .hd__menu { display: grid; }
  .hd__bar { justify-content: space-between; }
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq__intro { position: static; }
  .testi__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* The print leaves the corner and floats beside the quote, still taped. */
  .tq-lead { padding: 40px 36px; }
  .tq-print { position: relative; top: auto; right: auto; float: right; width: 150px; margin: -64px -14px 14px 22px; }
  .tq-lead .tq-name { clear: both; }
  .tq-lead blockquote { font-size: 26px; }
  .invite__card { grid-template-columns: minmax(0, 1fr); padding: 72px 32px 40px; }
  .qr { display: none; }
  .ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .how__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how__device { order: 2; }
  .how__sticky { position: static; transform: none !important; }
  .how__runway { display: none; }
  .step { min-height: 0; padding-bottom: 32px; }
  .how { padding-bottom: 80px; }
  .cap { display: none; }
  /* The phone is the live demo here, but not touchable in the scroll path:
     a tap opens it full screen instead (main's button and dialog). */
  .ph.is-live .feature-scroll-iframe { pointer-events: none; }
  .ph .feature-demo-tap { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 7%; border: 0; border-radius: 0; background: linear-gradient(to bottom, rgba(251, 248, 244, 0) 66%, rgba(251, 248, 244, .6) 86%, rgba(251, 248, 244, .85)); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .ph .feature-demo-tap__label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .55rem 1.15rem; border-radius: 999px; background: var(--ink); color: #fbf8f4; font: 600 14px/1.2 var(--sans); letter-spacing: .01em; }
}

@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hd { padding-top: 10px; }
  .hd__bar { height: 60px; padding: 0 6px 0 20px; }
  .hd__end .lang,
  .hd__end .btn { display: none; }
  .hd__panel-end { display: flex; }
  .hero { --hsw: 210; height: calc(var(--hsw) * 844 / 390 * 1px + 900px); }
  .hero__pin { top: 80px; padding-top: 26px; }
  .hero__dev { top: 12px; }
  .hero h1 { font-size: 72px; }
  .hero__lede { margin-top: 18px; font-size: 16px; }
  .hero__cta { flex-direction: column; gap: 14px; margin-top: 22px; }
  /* Stacked one per line they read as a list, not a glance; the FAQ and
     the lede already say the same things on a phone. */
  .facts { display: none; }
  .ph { --sw: 242; }
  .ph--hero { --sw: var(--hsw); }
  .brands { padding: 48px 0 44px; }
  .marquee__group span { font-size: 21px; }
  .how { padding-top: 72px; }
  .how__steps h2,
  .testi__head h2,
  .faq__intro h2 { font-size: 38px; }
  .step h3 { font-size: 26px; }
  .invite { padding: 80px 0; }
  .invite__card { padding: 60px 22px 32px; border-radius: 26px; }
  .invite__card .invite__m { left: 22px; }
  .invite__card h2 { font-size: 34px; }
  .testi { padding-bottom: 80px; }
  .tq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tq-lead, .tq-card { padding: 28px 22px; border-radius: 26px; }
  .tq-lead { margin-top: 18px; }
  .tq-grid blockquote { font-size: 18px; }
  .tq-lead blockquote { font-size: 22px; }
  .tq-print { width: 118px; margin: -52px -8px 10px 14px; padding: 6px 6px 9px; }
  .tq-print b { font-size: 19px; }
  .tq-print span { font-size: 10px; }
  .faq { padding-bottom: 80px; }
  .qa summary { padding: 16px 18px; }
  .qa__a { padding: 0 18px 20px; }
  .cta { padding-bottom: 72px; }
  .ctaB { padding: 76px 22px 40px; border-radius: 30px; }
  .ctaB h2 { font-size: 50px; }
  .ft__grid { grid-template-columns: minmax(0, 1fr); }
  .ft__bottom { flex-direction: column; }
}
