/* getyapcut.com home — the look of the App Store set: SF Pro Display Black headlines with a pill,
   a New York sub line, cream / Yapper blue / midnight panels, and the Yappers' meadow.
   (privacy/ and support/ still use site.css.) */

:root {
  --cream: #F5F3F0;
  --ink: #111114;
  --blue: #0A7AFF;
  --blue-grad: linear-gradient(160deg, #2AA4FF 0%, #0A72FF 55%, #0458E6 100%);
  --navy: #0A1430;
  --sky-top: #0045BE;
  --gold: #FDC436;
  --display: -apple-system, "SF Pro Display", system-ui, "Inter Tight", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Charter, Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --pad: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--display); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 2 * var(--pad)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--pad)); }

/* ── type ── */
h1, h2 { font-weight: 900; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
h2 { font-size: clamp(44px, 7.2vw, 96px); }
.pill {
  display: inline-block; background: var(--blue); color: #fff;
  border-radius: .28em; padding: 0 .2em .04em; margin: 0 -.04em; white-space: nowrap;
}
.blue .pill, .navy .pill, .hero .pill, .trial-card .pill, .page-hero .pill { background: #fff; color: #0A72FF; }
.sub {
  font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.9vw, 38px);
  line-height: 1.16; letter-spacing: -.01em; margin-top: .55em; opacity: .82; text-wrap: balance;
}
.sub em { font-style: normal; font-weight: 700; color: var(--blue); }

/* ── nav ── */
.nav {
  position: fixed; z-index: 50; top: max(10px, env(safe-area-inset-top)); left: 50%; translate: -50% 0;
  width: min(1120px, 100% - 24px); height: 56px; padding: 0 8px 0 12px;
  display: flex; align-items: center; gap: 20px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-radius: 999px; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 30px rgba(10, 30, 80, .14);
  transition: translate .5s var(--ease);
}
.nav.hide { translate: -50% -90px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand small { display: none; }
/* Phones: the bar reads like the App Store's own banner (icon, name, what it is, Get) and stays put. */
@media (max-width: 700px) {
  .nav .brand span { display: grid; line-height: 1.1; }
  .nav .brand small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: .62; }
  .nav .nav-cta span { display: none; }
  .nav .nav-cta { padding: 0 22px; font-size: 16px; }
}
.nav-links { display: none; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .72; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  margin-left: auto; height: 40px; padding: 0 18px; display: inline-flex; align-items: center;
  background: var(--blue); color: #fff; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .25s var(--spring);
}
.nav-cta:hover { transform: scale(1.05); }
@media (min-width: 860px) { .nav-links { display: flex; } .nav-links + .nav-cta { margin-left: 0; } }

/* ── phone ── */
.phone {
  --pw: 300px; width: var(--pw); flex: none; position: relative;
  border-radius: calc(var(--pw) * .168); padding: calc(var(--pw) * .022); background: #0c0c0e;
  box-shadow: 0 0 0 calc(var(--pw) * .003 + 1px) #3a3a3f, 0 calc(var(--pw) * .06) calc(var(--pw) * .12) rgba(20, 20, 40, .28), 0 calc(var(--pw) * .018) calc(var(--pw) * .04) rgba(20, 20, 40, .18);
}
.scr { position: relative; border-radius: calc(var(--pw) * .146); overflow: hidden; aspect-ratio: 660 / 1435; background: #000; }
.scr img, .scr video { display: block; width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; left: 50%; top: 1.3%; width: 30%; aspect-ratio: 287 / 87; translate: -50% 0; border-radius: 999px; background: #000; }

/* ── App Store badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  background: #000; color: #fff; border-radius: 14px; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 10px 30px rgba(0, 20, 80, .3);
  transition: transform .3s var(--spring);
}
.badge:hover { transform: scale(1.05) rotate(-1deg); }
.badge svg { width: 24px; height: 30px; margin-top: -3px; }
.badge span { display: grid; line-height: 1; text-align: left; }
.badge small { font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.badge b { font-size: 23px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-note { font-size: 15px; font-weight: 500; }
.cta-note strong { font-weight: 800; }

/* ───────── hero ───────── */
.hero {
  /* The scene never zooms past 2600px wide (mirrored copies fill anything beyond), and its horizon stays the same
     distance above the hero's bottom edge, so wide monitors get the same picture as a laptop. */
  --mw: clamp(1300px, 100vw, 2600px); --hero-pw: clamp(250px, 68vw, 350px);
  --horizon: calc(150px + var(--hero-pw) * 1.4); --drop: min(0px, calc(var(--horizon) - var(--mw) * .4214));
  --sy: 0; --px: 0; --py: 0;
  position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  background: linear-gradient(#003AAE 0, var(--sky-top) 260px);
  padding: clamp(96px, 12vh, 130px) var(--pad) 0;
}
.sky { position: absolute; inset: 0; z-index: -2; }
/* The picture's own sky fades into the page's blue, so there is no line where they meet. */
.meadow, .sky::before, .sky::after {
  position: absolute; bottom: var(--drop); width: var(--mw); max-width: none; aspect-ratio: 2400 / 1738;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%); mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
}
.meadow { left: 50%; height: auto; translate: -50% 0; }
.sky::before, .sky::after { content: ""; background: url(/assets/scene/meadow-2400.webp) center / 100% 100% no-repeat; scale: -1 1; }
.sky::before { right: calc(50% + var(--mw) / 2 - 1px); }
.sky::after { left: calc(50% + var(--mw) / 2 - 1px); }
.grass {
  position: absolute; left: 50%; bottom: var(--drop); z-index: 3; width: var(--mw); aspect-ratio: 2400 / 1738; translate: -50% 0; pointer-events: none;
  background: url(/assets/scene/meadow-1400.webp) center bottom / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 0, #000 calc(44px - var(--drop)), transparent calc(130px - var(--drop)));
  mask-image: linear-gradient(to top, #000 0, #000 calc(44px - var(--drop)), transparent calc(130px - var(--drop)));
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(50px, 10.2vw, 124px); text-shadow: 0 2px 30px rgba(0, 40, 140, .25); }
.hero h1 .line { display: inline-block; }
/* The tagline as the headline ("The fastest way to make UGC"): longer lines than "The UGC teleprompter", so a step smaller. */
.hero h1.tag { font-size: clamp(34px, 8.3vw, 108px); }
.hero h1.tag .line { display: block; } /* always two lines, on a wide monitor too */
.hero-sub { text-wrap: balance; font-family: var(--serif); font-weight: 600; font-size: clamp(27px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -.01em; margin-top: .42em; }
.mess { position: relative; display: inline-block; white-space: nowrap; }
.mess i { display: inline-block; font-style: normal; }
.mess i:nth-child(1) { transform: translateY(.056em) rotate(-7deg); }
.mess i:nth-child(2) { transform: translateY(-.079em) rotate(6deg); }
.mess i:nth-child(3) { transform: translateY(.045em) rotate(-4deg); }
.mess i:nth-child(4) { transform: translateY(-.034em) rotate(9deg); }
.mess i:nth-child(5) { transform: translateY(.067em) rotate(-8deg); }
.mess i:nth-child(6) { transform: translateY(-.056em) rotate(5deg); }
.mess svg { position: absolute; left: -2%; bottom: -.19em; width: 104%; height: .25em; overflow: visible; }
.mess path { fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 460; stroke-dashoffset: 0; }
.hero-lede { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; opacity: .9; margin-top: 1.1em; }
.hero .cta-row { margin-top: 26px; }

.hero-stage { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: clamp(34px, 6vh, 64px); padding-bottom: clamp(70px, 11vw, 150px); }
.hero-phone { --pw: var(--hero-pw); translate: 0 calc(var(--sy) * -.05px); }

/* floaters: the 3D Yappers from the Welcome scene */
.floaters { position: absolute; top: 0; bottom: 0; left: 50%; width: min(100%, 2400px); translate: -50% 0; z-index: 0; pointer-events: none; }
.fl {
  position: absolute; display: block; will-change: transform;
  translate: calc(var(--px) * var(--d) * 16px) calc(var(--py) * var(--d) * 12px + var(--sy) * var(--d) * -.14px);
}
.fl img { width: 100%; animation: bob 6s ease-in-out infinite alternate; filter: drop-shadow(0 18px 24px rgba(0, 30, 110, .28)); }
@keyframes bob { from { transform: translateY(-9px) rotate(-3deg); } to { transform: translateY(9px) rotate(3deg); } }
.fl-lav { width: clamp(46px, 6vw, 150px); left: 7%; top: 30%; } .fl-lav img { animation-duration: 5.2s; }
.fl-black { width: clamp(64px, 9vw, 225px); right: 5%; top: 13%; } .fl-black img { animation-duration: 7.4s; animation-delay: -2s; }
.fl-yellow { width: clamp(58px, 8vw, 200px); right: 15%; top: 36%; } .fl-yellow img { animation-duration: 5.8s; animation-delay: -1s; }
.fl-red { width: clamp(50px, 7vw, 170px); left: 15%; top: 52%; scale: -1 1; } .fl-red img { animation-duration: 6.6s; animation-delay: -3s; }
.fl-orange { width: clamp(96px, 16vw, 400px); right: 3%; top: 56%; } .fl-orange img { animation-duration: 8s; animation-delay: -4s; }
.fl-blue { --bx: clamp(190px, 44vw, 560px); width: clamp(150px, 26vw, 400px); left: calc(50% - var(--bx)); bottom: clamp(8px, 3vw, 50px); z-index: 2; }
.fl-blue img { animation-duration: 7s; filter: drop-shadow(0 26px 30px rgba(0, 50, 20, .35)); }

/* From tablet up, the blue Yapper is sized and placed from the phone, so the pair look the same at every width. */
@media (min-width: 701px) {
  .fl-blue { width: calc(var(--hero-pw) * 1.12); left: calc(50% - var(--hero-pw) * 1.56); bottom: clamp(56px, 6vw, 110px); }
}
@media (min-width: 1500px) {
  .hero { --hero-pw: clamp(350px, min(22vw, 38svh), 500px); }
}

@media (max-width: 700px) {
  /* Phones: "3 days free" sits under the App Store button in its own pill; the footer is centred. */
  .cta-row { flex-direction: column; gap: 12px; }
  .cta-note .for { display: none; }
  .cta-note strong {
    display: inline-block; padding: 7px 16px 8px; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: .01em;
    background: rgba(255, 255, 255, .2); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5) inset;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-shadow: none;
  }
  .foot .wrap { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .foot-links { margin-left: 0; justify-content: center; }
  .hero { padding-top: 96px; }
  .hero h1 { font-size: clamp(40px, 13.4vw, 50px); }
  .hero h1.tag { font-size: 11.6vw; margin-top: .3em; }
  .hero-sub { font-size: 6.9vw; } /* under the big headline, a step down: the three rows narrow like a triangle (Aaron) */
  .panel h2 { font-size: clamp(38px, 10.2vw, 42px); }
  .hero h1 .line { position: relative; z-index: 1; }
  /* off the headline's corner (it took the headline's width): on the left across from the yellow one, facing the phone */
  .fl-black { left: 3%; top: 39%; width: 50px; } .fl-black img { scale: -1 1; }
  .fl-lav { left: 3%; top: 53%; width: 44px; }
  .fl-yellow { right: 4%; top: 41%; width: 56px; }
  .fl-red { left: 2%; top: 68%; width: 50px; }
  .fl-orange { right: -5%; top: 60%; width: 104px; }
  .fl-blue { --bx: 53vw; width: 40vw; bottom: 34px; }
}

/* entrance */
.js .hero h1 .line, .js .hero-sub, .js .hero-lede, .js .hero .cta-row { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) { animation-delay: .08s; }
.js .hero-sub { animation-delay: .22s; }
.js .hero-lede { animation-delay: .32s; }
.js .hero .cta-row { animation-delay: .4s; }
.js .hero-phone { animation: phone-up 1.2s var(--ease) .15s backwards; }
.js .fl { animation: fly-in 1.3s var(--spring) backwards; animation-delay: calc(.35s + var(--d) * .25s); }
.js .mess path { animation: draw 1s var(--ease) .9s backwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes phone-up { from { opacity: 0; transform: translateY(120px) rotate(4deg); } }
@keyframes fly-in { from { opacity: 0; scale: .2; } }
@keyframes draw { from { stroke-dashoffset: 460; } }

/* ───────── flow panels ───────── */
.flow { position: relative; z-index: 4; margin-top: -40px; }
.panel {
  --cover: 0;
  position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden;
  border-radius: 40px 40px 0 0; box-shadow: 0 -18px 50px rgba(10, 20, 60, .18);
}
.panel.cream { background: var(--cream); }
.panel.blue { background: var(--blue-grad); color: #fff; }
.panel.navy { background: radial-gradient(120% 90% at 80% 0%, #17306B 0%, var(--navy) 60%); color: #fff; }
.panel-in {
  height: 100%; width: min(1120px, 100% - 2 * var(--pad)); margin-inline: auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-top: clamp(84px, 11vh, 120px);
  transform-origin: 50% 0; transform: scale(calc(1 - var(--cover) * .06)); opacity: calc(1 - var(--cover) * .5);
}
.panel-copy { max-width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: .01em; margin-bottom: 16px; opacity: .9; }
.eyebrow b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.blue .eyebrow b, .navy .eyebrow b { background: #fff; color: #0A72FF; }
.more { display: none; font-size: 18px; line-height: 1.5; max-width: 30em; margin-top: 22px; opacity: .78; }
.panel .sub .mark { white-space: nowrap; }
/* The platforms' marks as the App Store slide draws them: Instagram in its gradient, TikTok's note over its cyan and red
   copies, YouTube red with a white play triangle. */
.ico { position: relative; display: inline-block; width: .8em; height: .8em; vertical-align: -.1em; margin-right: .2em; }
.ico svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.ico .ig { fill: url(#ig-grad); }
.ico .tt { fill: #fff; }
.ico .tt-c { fill: #25F4EE; left: -.037em; top: -.037em; }
.ico .tt-r { fill: #FE2C55; left: .037em; top: .037em; }
.ico .yt-r { fill: #FF0000; }
.ico.yt::before { content: ""; position: absolute; left: 37%; top: 33%; width: 30%; height: 34%; background: #fff; }
.panel-art { position: relative; align-self: center; flex: 1; min-height: 0; display: flex; justify-content: center; }
.panel:nth-child(1) { --yap-space: 4px; --yap-top: 8%; --yap-turn: -12deg; }
.panel:nth-child(2) { --yap-space: 6px; --yap-top: 30%; --yap-turn: 10deg; }
.panel:nth-child(3) { --yap-space: 4px; --yap-top: 16%; --yap-turn: -10deg; }
.panel:nth-child(4) { --yap-space: 6px; --yap-top: 42%; --yap-turn: -8deg; }
.panel:nth-child(5) { --yap-space: -2px; --yap-top: 26%; --yap-turn: 6deg; }
/* Desktop reserves room beside the phone for the Yapper (see the 900px block). */
.panel-art:not(.mac-art) {
  --yap-size: clamp(50px, 15vw, 80px); --yap-gap: calc(4px + var(--yap-space, 0px));
}
.panel-art .phone { --pw: min(74vw, 330px); align-self: flex-start; }
/* Phones: the phone stays centred and the Yapper hangs off its right edge, in the margin. */
.panel-art .yap { position: absolute; width: var(--yap-size); right: calc(18px - var(--yap-size)); top: var(--yap-top, 1%); z-index: 2; rotate: var(--yap-turn, -8deg); filter: drop-shadow(0 12px 18px rgba(10, 30, 80, .22)); }
/* Every other card (Film, Edit) has its Yapper on the left, mirrored so it still faces the phone. */
.flip .panel-art .yap { right: auto; left: calc(18px - var(--yap-size)); rotate: calc(-1 * var(--yap-turn, -8deg)); scale: -1 1; }

.panel-art::before { content: ""; position: absolute; left: 50%; top: 46%; width: 190%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(10, 120, 255, .2), transparent); }
.blue .panel-art::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .26), transparent); }
.navy .panel-art::before { background: radial-gradient(closest-side, rgba(60, 130, 255, .4), transparent); }
.mac-art::before { display: none; }

/* Mac */
.mac-art { width: 100%; align-items: flex-start; }
.laptop { width: min(140%, 900px); margin-left: 6%; flex: none; }
.lid { border-radius: 2.6% 2.6% .6% .6% / 4% 4% 1% 1%; background: #0b0b0d; padding: 1.3% 1.3% 1.8%; box-shadow: 0 0 0 3px #4a4c53, 0 30px 90px rgba(10, 80, 200, .28), 0 10px 30px rgba(20, 20, 40, .18); }
.lid img { border-radius: 1.4% 1.4% .3% .3% / 2.2% 2.2% .5% .5%; width: 100%; }
.base { position: relative; height: 0; padding-top: 2.5%; margin: 0 -3.2%; border-radius: 6px 6px 22px 22px / 6px 6px 100% 100%; background: linear-gradient(#e3e5e9 0, #c2c4ca 35%, #8b8e95 100%); box-shadow: 0 14px 30px rgba(20, 30, 60, .22); }
.base::after { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 40%; translate: -50% 0; border-radius: 0 0 12px 12px; background: linear-gradient(#55585f, #8a8d94); }
.tripod { position: absolute; left: 2%; top: 46%; width: min(34%, 250px); filter: drop-shadow(0 22px 36px rgba(10, 30, 80, .32)); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .panel-art[data-reveal] { transform: translateY(90px) rotate(3deg); transition-delay: .08s; }
.js .flip .panel-art[data-reveal] { transform: translateY(90px) rotate(-3deg); }
.js [data-reveal].in, .js .panel-art[data-reveal].in, .js .flip .panel-art[data-reveal].in { opacity: 1; transform: none; }
.js .panel-art .yap { transition: transform .8s var(--spring) .45s; transform: scale(0); }
.js .panel-art.in .yap { transform: none; }

@media (min-width: 900px) {
  .panel-in { flex-direction: row; align-items: center; justify-content: center; gap: clamp(48px, 9%, 130px); padding-top: 56px; }
  .panel-in.flip { flex-direction: row-reverse; }
  .panel-copy { flex: 0 1 560px; }
  .more { display: block; }
  .sub.marks { white-space: nowrap; font-size: clamp(22px, 2.5vw, 34px); }
  .panel-art { flex: none; align-self: center; }
  .panel-art .phone { --pw: min(360px, 38svh); }
  .panel-art:not(.mac-art) { --yap-size: clamp(90px, 11vw, 150px); --yap-gap: calc(6px + var(--yap-space, 0px)); padding-right: calc(var(--yap-size) + var(--yap-gap)); }
  .panel-art .yap { right: 0; }
  .flip .panel-art:not(.mac-art) { padding-right: 0; padding-left: calc(var(--yap-size) + var(--yap-gap)); }
  .flip .panel-art .yap { right: auto; left: 0; rotate: calc(-1 * var(--yap-turn, -8deg)); scale: -1 1; }
  .mac .panel-in { gap: 5%; justify-content: space-between; }
  .mac .panel-copy { flex: 0 0 37%; }
  .mac .panel-copy h2 { font-size: clamp(44px, 5.6vw, 82px); }
  .mac-art { flex: 1; align-self: center; justify-content: flex-start; padding: 0 0 7% 5%; }
  .laptop { width: 122%; margin-left: 0; }
  .tripod { left: -3%; top: 36%; width: 30%; }
}
@media (min-width: 1700px) and (min-height: 1000px) {
  .panel-in { width: min(1500px, 100% - 2 * var(--pad)); }
  .panel-copy { flex-basis: 720px; }
  .panel h2 { font-size: clamp(96px, 5.6vw, 128px); }
  .mac .panel-copy h2 { font-size: clamp(80px, 4.6vw, 104px); }
  .panel .sub { font-size: clamp(38px, 2.2vw, 50px); }
  .more { font-size: 22px; }
  .eyebrow { font-size: 18px; }
  .panel-art .phone { --pw: min(470px, 36svh); }
  .panel-art:not(.mac-art) { --yap-size: clamp(150px, 9vw, 200px); }
}
/* Phones and tablets: a card is as tall as its content, so the whole phone shows. It scrolls until its bottom reaches
   the bottom of the screen, then holds there while the next card slides over it (home.js sets --stick per card;
   without it the cards simply follow one another). */
@media (max-width: 899px) {
  .panel { position: relative; height: auto; min-height: 100svh; }
  .stack .panel { position: sticky; top: var(--stick, 0px); }
  .panel-in { height: auto; padding-bottom: 72px; }
  .panel-art { flex: none; }
  .mac-art { padding-bottom: 34%; }
}
@media (max-height: 560px) { .panel { position: relative; height: auto; } .panel-in { padding-bottom: 60px; } }

/* ───────── the rest ───────── */
.rest, .trial-sec, .faq-sec { position: relative; z-index: 5; background: var(--cream); }
.rest { padding: clamp(90px, 14vw, 170px) 0 clamp(50px, 8vw, 90px); border-radius: 40px 40px 0 0; margin-top: -40px; box-shadow: 0 -18px 50px rgba(10, 20, 60, .18); }
.rest h2 { max-width: 12em; }
.rest-list { margin-top: clamp(40px, 6vw, 72px); display: grid; }
.rest-list li { display: grid; gap: 4px 40px; padding: 26px 0; border-top: 1.5px solid rgba(17, 17, 20, .12); }
.rest-list b { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.rest-list span { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); opacity: .74; line-height: 1.3; }
@media (min-width: 800px) { .rest-list li { grid-template-columns: 1fr 1fr; align-items: baseline; } }

.trial-sec { padding: clamp(30px, 5vw, 70px) 0 clamp(50px, 7vw, 100px); }
.trial-card { position: relative; background: var(--blue-grad); color: #fff; text-align: center; border-radius: 44px; padding: clamp(54px, 8vw, 96px) clamp(22px, 5vw, 64px); box-shadow: 0 30px 80px rgba(10, 100, 255, .3); }
.trial-card h2 { font-size: clamp(42px, 6.4vw, 84px); }
.trial-card .cta-row { margin-top: 30px; }
.trial-note { margin: 22px auto 0; max-width: 30em; font-size: 14px; opacity: .78; }
.trial-yap { position: absolute; right: clamp(-10px, 3vw, 60px); top: clamp(-52px, -5vw, -40px); width: clamp(88px, 12vw, 150px); rotate: 10deg; filter: drop-shadow(0 12px 18px rgba(10, 30, 80, .25)); }

.faq-sec { padding: clamp(40px, 7vw, 90px) 0 clamp(110px, 14vw, 180px); }
.faq-sec h2 { font-size: clamp(40px, 6vw, 72px); }
.faq { margin-top: 30px; }
.faq details { border-top: 1.5px solid rgba(17, 17, 20, .12); }
.faq details:last-child { border-bottom: 1.5px solid rgba(17, 17, 20, .12); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: clamp(18px, 2vw, 22px); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 3.5v9M3.5 8h9'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--spring), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue); }
.answer { padding: 0 54px 24px 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; opacity: .82; }
.answer a { color: var(--blue); }

/* ───────── Yappers welcome ───────── */
.welcome { position: relative; z-index: 6; margin-top: -40px; border-radius: 40px 40px 0 0; overflow: hidden; background: #0A72FF; }
.welcome-img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 2200 / 2020; object-fit: cover; object-position: 30% 0; }
.welcome-cta { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(28px, 6vw, 70px); display: grid; justify-items: center; gap: 12px; color: #fff; text-shadow: 0 1px 14px rgba(0, 60, 10, .6); }
/* On very wide screens the scene stops growing and sits on the page as one big rounded picture. */
@media (min-width: 1760px) {
  .welcome { width: 1680px; margin: 0 auto 90px; border-radius: 48px; box-shadow: 0 40px 100px rgba(10, 30, 80, .22); }
}
@media (min-width: 701px) { .welcome-cta { bottom: 4.5%; } }
@media (max-width: 700px) { .welcome-img { height: auto; min-height: 0; aspect-ratio: 1000 / 2173; object-position: 50% 0; } }

/* ───────── footer ───────── */
.foot { position: relative; z-index: 6; background: #0B0C0F; color: #fff; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; font-size: 15px; font-weight: 500; }
.foot-links a { text-decoration: none; opacity: .7; } .foot-links a:hover { opacity: 1; }
.foot-small { width: 100%; font-size: 13px; opacity: .45; }

/* ───────── text pages (privacy, support, 404) ───────── */
.text-page main { min-height: 70svh; }
.page-hero { background: linear-gradient(#003AAE, #0A72FF); color: #fff; padding: clamp(120px, 16vw, 170px) 0 clamp(60px, 8vw, 90px); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 7vw, 76px); max-width: 9em; }
.page-hero p { font-family: var(--serif); font-size: 19px; margin-top: 14px; opacity: .85; }
.page-yap { position: absolute; right: 0; bottom: clamp(-118px, -11vw, -84px); width: clamp(84px, 13vw, 130px); rotate: -8deg; filter: drop-shadow(0 12px 18px rgba(10, 30, 80, .25)); z-index: 2; }
.prose { position: relative; isolation: isolate; margin-top: -32px; padding: 64px 0 90px; font-family: var(--serif); font-size: 18.5px; line-height: 1.6; }
.prose::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; bottom: 0; width: 100vw; translate: -50% 0; background: var(--cream); border-radius: 36px 36px 0 0; }
.prose h2 { font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--display); font-size: 19px; font-weight: 700; margin: 1.5em 0 .4em; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: .8em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--blue); }
.prose .muted { font-size: 15px; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .panel-art .yap, .js .hero h1 .line, .js .hero-sub, .js .hero-lede, .js .hero .cta-row { opacity: 1; transform: none; }
  .fl, .hero-phone { translate: none; }
  .meadow { translate: -50% 0; }
  .panel-in { transform: none; opacity: 1; }
}
@media (max-width: 360px) { .fl-black { display: none; } }
