/* ─────────────────────────────────────────────────────────────
   PillowTalk marketing site
   Builds on assets/colors_and_type.css (design-system tokens).
   Marketing-scale type — design system is mobile-first so
   we extend with desktop-marketing sizes here.
   ───────────────────────────────────────────────────────────── */

/* ===========================================================
   Performance + a11y baseline
   - Smooth in-page navigation
   - Respect user's reduced-motion preference (kills animations)
   - content-visibility skips offscreen render work
   - Skip-link surfaces for keyboard users
   =========================================================== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: var(--pt-ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 16px; outline: 2px solid var(--pt-primary); outline-offset: 2px; }

/* Render-skip: lets the browser skip layout + paint cost for
   long-scrolled sections that are far offscreen. Each section keeps a
   reserved height so the scrollbar doesn't jump. */
main > section { content-visibility: auto; contain-intrinsic-size: 1px 800px; }
/* The hero must always render — content-visibility on it would clip
   the floating cards + shader and re-show with a flash. */
main > section.hero { content-visibility: visible; }

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--pt-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn-store:focus-visible { outline-offset: 3px; }

:root {
  --site-max: 1200px;
  --pad-x: clamp(20px, 4vw, 40px);
  --hand: "Caveat", "Architects Daughter", cursive;
  /* marketing display scale */
  --ms-eyebrow: 12px;
  --ms-h1: clamp(48px, 6.4vw, 88px);
  --ms-h2: clamp(36px, 4.8vw, 60px);
  --ms-h3: clamp(22px, 2.4vw, 28px);
  --ms-lead: clamp(17px, 1.4vw, 20px);
}

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap");

html, body { background: var(--pt-bg-warm); color: var(--pt-ink); }
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* container */
.container {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

/* ─── Type marketing ───────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--ms-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pt-primary);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--pt-primary);
  border-radius: 50%;
}

.m-h1 {
  font-family: var(--font-body);
  font-size: var(--ms-h1);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--pt-ink);
  margin: 0;
  text-wrap: balance;
}
.m-h2 {
  font-family: var(--font-body);
  font-size: var(--ms-h2);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--pt-ink);
  margin: 0;
  text-wrap: balance;
}
.m-h3 {
  font-family: var(--font-body);
  font-size: var(--ms-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--pt-ink);
  margin: 0;
}
.lead {
  font-family: var(--font-body);
  font-size: var(--ms-lead);
  line-height: 1.55;
  color: var(--pt-text);
  font-weight: 400;
  margin: 0;
  text-wrap: pretty;
}
.italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--pt-primary);
  letter-spacing: -0.01em;
}
.italic-ink {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--pt-ink);
}

/* highlight underline accent */
.under {
  background-image: linear-gradient(180deg, transparent 60%, rgba(255,51,102,0.18) 60%);
  padding: 0 2px;
}

/* ───────────────────────────────────────────────────────────────
   HEADER
   ─────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(250, 248, 245, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.scrolled {
  border-color: rgba(26,26,26,0.06);
  background: rgba(250, 248, 245, 0.9);
}
.header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--pt-ink);
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  border-radius: 8px;
}
footer .brand-logo { height: 48px; border-radius: 10px; }
@media (max-width: 720px) {
  .brand-logo { height: 32px; }
  footer .brand-logo { height: 40px; }
}
.brand-mark {
  width: 28px; height: 28px;
  background: var(--pt-primary);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,51,102,0.32);
  flex: none;
}
.brand-mark svg { width: 16px; height: 16px; }
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--pt-text);
  transition: color .15s ease;
}
.nav a:hover { color: var(--pt-ink); }
.nav .cta {
  background: var(--pt-ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--pt-r-pill);
  font-weight: 600;
  font-size: 14px;
}
.nav .cta:hover { background: #000; color: #fff; }

@media (max-width: 720px) {
  .nav a:not(.cta) { display: none; }
  .header { padding: 12px 0; }
  .container { padding: 0 18px; }
  .hero .lead { padding: 0 8px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
  .btn-store { justify-content: center; }
}

/* progress bar */
.scroll-prog {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  background: var(--pt-primary);
  width: 0%;
  z-index: 200;
  transition: width .08s linear;
}

/* ───────────────────────────────────────────────────────────────
   HERO  (Variant A — centered, phone behind, cards floating)
   ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255,51,102,0.06), transparent 70%),
    radial-gradient(40% 40% at 10% 60%, rgba(255,201,64,0.05), transparent 70%);
  pointer-events: none;
}
.hero .container { z-index: 2; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { margin: 0 auto; max-width: 12ch; }
.hero .lead {
  margin: 28px auto 0;
  max-width: 540px;
}
.hero .cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}
.hero .audience {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--pt-text);
}
.av-pile {
  display: inline-flex;
  align-items: center;
}
.av-pile img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--pt-bg-warm);
  background: #ddd;
  margin-left: -10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.av-pile img:first-child { margin-left: 0; }
.audience b { color: var(--pt-ink); font-weight: 700; }

/* ── App-store buttons ── */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--pt-r-pill);
  background: var(--pt-ink);
  color: #fff;
  font-weight: 500;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.btn-store .ic {
  width: 22px; height: 22px;
  display: grid; place-items: center;
}
.btn-store .ic svg { width: 100%; height: 100%; }
.btn-store .small { display: block; font-size: 10px; opacity: 0.7; line-height: 1; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 3px; }
.btn-store .big   { display: block; font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.btn-store.primary {
  background: var(--pt-primary);
  box-shadow: var(--pt-shadow-cta);
}
.btn-store.primary:hover { background: var(--pt-primary-hover); }

/* ─── Hero shader backdrop ──────────────────────────── */
.hero-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
  overflow: hidden;
  border-radius: 0;
  mask-image: radial-gradient(120% 90% at 50% 20%, #000 25%, transparent 90%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 20%, #000 25%, transparent 90%);
}
.hero-shader > * { position: absolute; inset: 0; }
body[data-mood="midnight"] .hero-shader { opacity: 0.85; }
body[data-mood="sunset"] .hero-shader { opacity: 0.7; }

/* ── Hero stage ── */
.hero-stage {
  position: relative;
  margin-top: 70px;
  display: grid;
  place-items: center;
  width: 100%;
  perspective: 1400px;
}

/* ── Hero chat: simple show/hide for one-shot auto-playback ── */
.bub.shown, .typing.shown, .prompt-card.shown {
  opacity: 1;
}

/* Floating prompt cards */
.f-card {
  position: absolute;
  background: var(--pt-bg);
  border-radius: var(--pt-r-lg);
  padding: 14px 18px;
  box-shadow: 0 18px 38px rgba(20,20,20,0.10), 0 2px 6px rgba(20,20,20,0.06);
  width: 220px;
  text-align: left;
  z-index: 3;
}
.f-card .tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pt-primary);
  margin-bottom: 6px;
}
.f-card .q {
  font-size: 15px;
  font-weight: 500;
  color: var(--pt-ink);
  line-height: 1.3;
}
.f-card.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pt-ink);
  width: auto;
  border-radius: var(--pt-r-pill);
}
.f-card.pill svg { width: 16px; height: 16px; color: var(--pt-primary); }
.f-card.pink-fill {
  background: var(--pt-primary);
  color: #fff;
}
.f-card.pink-fill .tag { color: rgba(255,255,255,0.7); }
.f-card.pink-fill .q { color: #fff; }
.f-card.cream-fill { background: #FFF6DD; }
.f-card.cream-fill .tag { color: #B07300; }

.f-card.fc1 { left: 4%;   top: 60px;  transform: rotate(-7deg); animation: floatA 7s ease-in-out infinite; }
.f-card.fc2 { right: 4%;  top: 24px;  transform: rotate(5deg);  animation: floatB 8s ease-in-out infinite; }
.f-card.fc3 { left: 12%;  bottom: 60px; transform: rotate(4deg); animation: floatC 6.5s ease-in-out infinite; }
.f-card.fc4 { right: 10%; bottom: 110px; transform: rotate(-5deg); animation: floatD 7.5s ease-in-out infinite; }

@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-7deg);} 50% { transform: translateY(-10px) rotate(-5deg);} }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(5deg);}  50% { transform: translateY(-12px) rotate(7deg);} }
@keyframes floatC { 0%,100% { transform: translateY(0) rotate(4deg);}  50% { transform: translateY(-8px) rotate(2deg);} }
@keyframes floatD { 0%,100% { transform: translateY(0) rotate(-5deg);} 50% { transform: translateY(-10px) rotate(-3deg);} }

/* Hero card reveal */
.f-card { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-stage.in .f-card { opacity: 1; }
.hero-stage.in .f-card.fc1 { transition-delay: .2s; }
.hero-stage.in .f-card.fc2 { transition-delay: .35s; }
.hero-stage.in .f-card.fc3 { transition-delay: .5s; }
.hero-stage.in .f-card.fc4 { transition-delay: .65s; }

/* ───────────────────────────────────────────────────────────────
   PHONE MOCKUP (reusable)
   ─────────────────────────────────────────────────────────────── */
.phone {
  --pw: 320px;
  --ph: 640px;
  width: var(--pw);
  height: var(--ph);
  background: #1A1A1A;
  border-radius: 44px;
  padding: 7px;
  box-shadow:
    0 32px 60px rgba(20,20,20,0.18),
    0 8px 16px rgba(20,20,20,0.08),
    inset 0 0 0 1.5px rgba(255,255,255,0.06);
  position: relative;
  flex: none;
}
.phone .screen {
  width: 100%;
  height: 100%;
  background: var(--pt-bg);
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}
.phone .notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #1A1A1A;
  border-radius: 999px;
  z-index: 5;
}
.phone .status {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 44px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--pt-ink);
}
.phone .status .right {
  display: flex; align-items: center; gap: 5px;
}
.phone .small  { --pw: 260px; --ph: 540px; }
.phone .small .notch { width: 90px; height: 22px; }
.phone.phone-sm { --pw: 260px; --ph: 540px; border-radius: 36px; }
.phone.phone-sm .notch { width: 90px; height: 22px; }

/* hero phone position */
.hero-phone {
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 1s cubic-bezier(.2,.7,.2,1) .1s, opacity .9s ease .1s;
}
.hero-stage.in .hero-phone { transform: translateY(0); opacity: 1; }

/* ===========================================================
   APP-ACCURATE CHAT (hero phone) — real app screenshots,
   crossfaded on a timer + tap/dot navigation.
   =========================================================== */
.chat.app-chat {
  height: 100%;
  width: 100%;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.screens {
  position: absolute;
  inset: 0;
  background: #fff;
}
.screens-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
  background: #fff;
}
.screens-img.on { opacity: 1; }

/* Tap zones — invisible left/right halves for swipe-free navigation */
.screens-nav {
  position: absolute;
  top: 0;
  bottom: 60px;
  width: 45%;
  z-index: 5;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.screens-nav.prev { left: 0; }
.screens-nav.next { right: 0; }
.screens-nav:hover ~ .screens-arrow,
.screens-nav:focus-visible ~ .screens-arrow { opacity: 1; }
.screens-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: grid;
  place-items: center;
  color: var(--pt-ink);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 4;
}
.screens-arrow svg { width: 18px; height: 18px; }
.screens-arrow.prev { left: 10px; }
.screens-arrow.next { right: 10px; }
.chat.app-chat:hover .screens-arrow,
.chat.app-chat:focus-within .screens-arrow { opacity: 1; }
@media (hover: none) {
  .chat.app-chat .screens-arrow { display: none; }
}

/* Dot indicators — clickable */
.screens-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  z-index: 6;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.screens-dots .d {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(26,26,26,0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .3s ease, width .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.screens-dots .d:hover { background: rgba(26,26,26,0.5); }
.screens-dots .d.on {
  width: 18px;
  background: var(--pt-primary);
  border-radius: 999px;
}
.chat.app-chat .chat-head {
  padding: 48px 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-bottom: none;
  flex: none;
  z-index: 2;
}
.chat.app-chat .ch-back,
.chat.app-chat .ch-menu {
  width: 26px; height: 26px;
  background: transparent;
  border: none;
  display: grid; place-items: center;
  color: #1A1A1A;
  padding: 0;
  cursor: pointer;
  flex: none;
}
.chat.app-chat .ch-back svg,
.chat.app-chat .ch-menu svg { width: 20px; height: 20px; }
.chat.app-chat .av {
  width: 34px; height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFD1DC;
  position: relative;
  flex: none;
}
.chat.app-chat .av img { width: 100%; height: 100%; object-fit: cover; }
.chat.app-chat .av::after { display: none; }
.chat.app-chat .who { flex: 1; min-width: 0; }
.chat.app-chat .who .name {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.chat.app-chat .who .sub {
  font-size: 11px;
  color: #6B6B6B;
  font-weight: 400;
  margin-top: 1px;
}

/* chat canvas — scrolls if it overflows (scrollbar hidden) */
.chat.app-chat .chat-body {
  flex: 1;
  padding: 10px 12px 70px;
  background: #EDEDED;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}
.chat.app-chat .chat-body::-webkit-scrollbar { display: none; }
.chat.app-chat .chat-body { scrollbar-width: none; }

/* "Today" pill */
.chat.app-chat .day-pill {
  align-self: center;
  background: #B5B5B5;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 11px;
  border-radius: 999px;
  margin: 2px 0 4px;
  flex: none;
}

/* bubbles */
.chat.app-chat .bub {
  max-width: 72%;
  padding: 8px 12px 16px;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 12px;
  color: #1A1A1A;
  position: relative;
  word-wrap: break-word;
  opacity: 0;
  transform: translateY(6px);
  animation: bubIn .35s cubic-bezier(.2,.7,.2,1) forwards;
  white-space: pre-line;
  font-weight: 400;
  flex: none;
}
.chat.app-chat .bub.self {
  background: #FAEBC8;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat.app-chat .bub.other {
  background: #C7E9C7;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat.app-chat .bub .meta {
  position: absolute;
  bottom: 3px;
  right: 8px;
  font-size: 9px;
  color: #6B6B6B;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 400;
}
.chat.app-chat .bub .meta .tick {
  width: 12px; height: 7px;
  color: #2EB85B;
}
.chat.app-chat .bub.other .meta { color: #5C7B5C; }

/* emoji reaction pill */
.chat.app-chat .emo-react {
  align-self: flex-end;
  background: #fff;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin: -3px 8px 0 0;
  flex: none;
  opacity: 0;
  transform: scale(.6);
  animation: emoIn .35s cubic-bezier(.5,1.5,.5,1) forwards;
}
@keyframes emoIn { to { opacity: 1; transform: scale(1); } }

/* Category invite card */
.chat.app-chat .invite-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px 10px 8px;
  align-self: stretch;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(8px);
  animation: bubIn .45s cubic-bezier(.2,.7,.2,1) forwards;
  position: relative;
  flex: none;
}
.chat.app-chat .invite-card .ic-top {
  display: flex;
  gap: 10px;
  align-items: center;
}
.chat.app-chat .invite-card .ic-img {
  width: 52px; height: 52px;
  border-radius: 8px;
  flex: none;
  overflow: hidden;
  position: relative;
}
.chat.app-chat .invite-card .ic-img.travel {
  background:
    linear-gradient(180deg, #CFEFDC 0%, #A5DCC0 55%, #F5C6CD 55%, #F5C6CD 100%);
}
.chat.app-chat .invite-card .ic-img.travel::after {
  /* tiny car silhouette */
  content: "";
  position: absolute;
  bottom: 6px; left: 8px;
  width: 26px; height: 11px;
  background: #FF3366;
  border-radius: 6px 6px 3px 3px;
  box-shadow:
    -3px 0 0 -1px #FF3366,
    inset 0 -3px 0 0 #1A1A1A;
}
.chat.app-chat .invite-card .ic-img.deep {
  background:
    radial-gradient(circle at 78% 30%, #FFC940 0 7px, transparent 8px),
    linear-gradient(180deg, #FFD8B5 0%, #FFB088 55%, #3FA85F 55%, #3FA85F 100%);
}
.chat.app-chat .invite-card .ic-img.deep::after {
  /* tiny tree */
  content: "";
  position: absolute;
  bottom: 4px; left: 10px;
  width: 8px; height: 14px;
  background: #1A1A1A;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.chat.app-chat .invite-card .ic-text { flex: 1; min-width: 0; }
.chat.app-chat .invite-card .ic-title {
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.2;
  margin-bottom: 2px;
}
.chat.app-chat .invite-card .ic-sub {
  font-size: 10px;
  color: #8A8A8A;
  line-height: 1.3;
}
.chat.app-chat .invite-card .ic-btn {
  margin-top: 10px;
  width: 100%;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}
.chat.app-chat .invite-card .ic-btn.accepted {
  background: #1A1A1A;
  color: #fff;
}
.chat.app-chat .invite-card .ic-btn.declined {
  background: #fff;
  color: #1A1A1A;
  border: 1px solid #E0E0E0;
}
.chat.app-chat .invite-card .ic-btn svg { width: 12px; height: 12px; }
.chat.app-chat .invite-card .ic-time {
  font-size: 9px;
  color: #8A8A8A;
  text-align: right;
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.chat.app-chat .invite-card .ic-time .tick { color: #2EB85B; width: 12px; height: 7px; }

/* Topic hint */
.chat.app-chat .topic-hint {
  align-self: center;
  font-size: 10px;
  color: #6B6B6B;
  font-weight: 400;
  margin: 6px 0 2px;
  flex: none;
  opacity: 0;
  animation: bubIn .35s ease forwards;
}

/* Hot pink prompt card */
.chat.app-chat .prompt-card {
  background: linear-gradient(160deg, #FF1F66 0%, #FF3366 70%);
  border-radius: 18px;
  padding: 16px 14px 14px;
  align-self: stretch;
  color: #fff;
  margin: 2px 0 4px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 18px rgba(255,51,102,0.28);
  opacity: 0;
  transform: translateY(10px) scale(.97);
  animation: cardIn .55s cubic-bezier(.2,.7,.2,1) forwards;
  font-family: var(--font-body);
  flex: none;
  isolation: isolate;
}
/* decorative dots — individual absolutely-positioned spans for clean look */
.chat.app-chat .prompt-card .pc-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.chat.app-chat .prompt-card .pc-dot.d1 { width: 9px; height: 9px; top: 14px; left: 14px; background: #FFB3C7; }
.chat.app-chat .prompt-card .pc-dot.d2 { width: 6px; height: 6px; top: 10px; right: 90px; background: #fff; }
.chat.app-chat .prompt-card .pc-dot.d3 { width: 10px; height: 10px; top: 26px; right: 56px; background: #FFC940; }
.chat.app-chat .prompt-card .pc-dot.d4 { width: 20px; height: 20px; top: 40px; right: -6px; background: #2CB67D; }
.chat.app-chat .prompt-card .pc-dot.d5 { width: 28px; height: 28px; bottom: -8px; left: -6px; border: 5px solid #FFB3C7; background: transparent; box-shadow: inset 0 0 0 4px #FF3366; }
.chat.app-chat .prompt-card > * { position: relative; z-index: 1; }

.chat.app-chat .prompt-card .pc-counter {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}
.chat.app-chat .prompt-card .pc-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
  margin: 0 0 8px;
  text-transform: none;
  display: block;
}
.chat.app-chat .prompt-card .pc-tag::before { display: none; }
.chat.app-chat .prompt-card .pc-q {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 8px 12px;
  color: #fff;
  text-wrap: balance;
}
.chat.app-chat .prompt-card .pc-actions {
  display: inline-flex;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 3px 6px;
  align-items: center;
}
.chat.app-chat .prompt-card .pc-actions .a {
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 5px;
  display: grid; place-items: center;
  color: #FF3366;
  font-size: 11px;
  font-weight: 700;
}
.chat.app-chat .prompt-card .pc-actions .a.shuf { background: transparent; color: #fff; }
.chat.app-chat .prompt-card .pc-actions .a.av {
  background: #FFC940;
  overflow: hidden;
  padding: 0;
  border-radius: 50%;
}
.chat.app-chat .prompt-card .pc-actions .a.av img { width: 100%; height: 100%; object-fit: cover; }
.chat.app-chat .prompt-card .pc-actions .a svg { width: 11px; height: 11px; }

/* Floating deck FAB */
.chat.app-chat .deck-fab {
  position: absolute;
  right: 14px;
  bottom: 60px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: grid; place-items: center;
  z-index: 4;
  cursor: pointer;
}
.chat.app-chat .deck-fab svg { width: 22px; height: 22px; }

/* Chat input — pill */
.chat.app-chat .chat-input {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px 5px 10px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 999px;
  z-index: 3;
}
.chat.app-chat .chat-input .ci-ic {
  width: 22px; height: 22px;
  border: none;
  background: transparent;
  color: #8A8A8A;
  display: grid; place-items: center;
  cursor: pointer;
  flex: none;
}
.chat.app-chat .chat-input .ci-ic svg { width: 18px; height: 18px; }
.chat.app-chat .chat-input .field {
  flex: 1;
  font-size: 12px;
  color: #8A8A8A;
  font-weight: 400;
  padding: 2px 0;
  height: auto;
  background: transparent;
  border-radius: 0;
}
.chat-head {
  padding: 56px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FAF8F5;
  border-bottom: 1px solid var(--pt-line);
}
.chat-head .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--pt-primary-soft);
  position: relative;
  flex: none;
  overflow: hidden;
}
.chat-head .av img { width: 100%; height: 100%; object-fit: cover; }
.chat-head .av::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 10px; height: 10px;
  background: var(--pt-success);
  border: 2px solid var(--pt-bg);
  border-radius: 50%;
}
.chat-head .name { font-size: 15px; font-weight: 600; color: var(--pt-ink); line-height: 1.1;}
.chat-head .sub  { font-size: 11px; color: var(--pt-muted); line-height: 1.3;}
.chat-head .actions { margin-left: auto; display: flex; gap: 12px; color: var(--pt-muted); }
.chat-head .actions svg { width: 18px; height: 18px; }

.chat-body {
  flex: 1;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  background: var(--pt-bg-warm);
}
.chat-body::-webkit-scrollbar { display: none; }
.day-pill {
  align-self: center;
  background: rgba(0,0,0,0.06);
  color: var(--pt-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 4px 0 8px;
}
.bub {
  max-width: 78%;
  padding: 9px 13px;
  font-size: 13.5px;
  line-height: 1.42;
  border-radius: 18px;
  color: var(--pt-ink);
  word-wrap: break-word;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  animation: bubIn .35s cubic-bezier(.2,.7,.2,1) forwards;
}
.bub.other { background: var(--pt-bubble-other); align-self: flex-start; border-bottom-left-radius: 6px; }
.bub.self  { background: var(--pt-bubble-self);  align-self: flex-end;   border-bottom-right-radius: 6px; }
.bub .time { font-size: 9px; color: var(--pt-muted); margin-top: 2px; display: block; }
@keyframes bubIn { to { opacity: 1; transform: translateY(0); } }

/* prompt card inside chat */
.prompt-card {
  background: linear-gradient(160deg, #FF3366 0%, #FF6B8A 100%);
  border-radius: 18px;
  padding: 18px 18px 16px;
  color: #fff;
  align-self: stretch;
  margin: 6px 0;
  box-shadow: 0 12px 28px rgba(255,51,102,0.32);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(.97);
  animation: cardIn .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.prompt-card::before {
  content: "";
  position: absolute;
  top: -20px; right: -10px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.prompt-card .pc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.prompt-card .pc-tag::before {
  content: ""; width: 14px; height: 1px; background: rgba(255,255,255,0.8);
}
.prompt-card .pc-q {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  font-family: var(--font-display);
  font-style: italic;
}
.prompt-card .pc-foot {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255,255,255,0.78);
}
.prompt-card .pc-foot svg { width: 12px; height: 12px; }
@keyframes cardIn { to { opacity: 1; transform: translateY(0) scale(1); } }

/* typing dots */
.typing {
  align-self: flex-start;
  background: var(--pt-bubble-other);
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  padding: 10px 14px;
  display: inline-flex;
  gap: 4px;
  opacity: 0;
  animation: bubIn .35s ease forwards;
}
.typing span {
  width: 6px; height: 6px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 14px;
  background: var(--pt-bg);
  border-top: 1px solid var(--pt-line);
}
.chat-input .deck-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--pt-primary-soft);
  display: grid; place-items: center;
  color: var(--pt-primary);
  flex: none;
}
.chat-input .deck-btn svg { width: 18px; height: 18px; }
.chat-input .field {
  flex: 1;
  height: 36px;
  border-radius: 999px;
  background: var(--pt-line-soft);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  color: var(--pt-muted-2);
}
.chat-input .send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--pt-primary);
  display: grid; place-items: center;
  color: #fff;
  flex: none;
}
.chat-input .send svg { width: 16px; height: 16px; }

/* ───────────────────────────────────────────────────────────────
   STATS STRIP
   ─────────────────────────────────────────────────────────────── */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--pt-line);
  border-bottom: 1px solid var(--pt-line);
  background: var(--pt-bg);
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 600;
  line-height: 1;
  color: var(--pt-primary);
  letter-spacing: -0.02em;
  font-style: italic;
  margin-bottom: 14px;
}
.stat .lbl {
  font-size: 16px;
  font-weight: 500;
  color: var(--pt-ink);
  line-height: 1.45;
  max-width: 28ch;
  margin-bottom: 10px;
}
.stat .src {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pt-muted);
  font-weight: 600;
}
@media (max-width: 800px) { .stats .grid { grid-template-columns: 1fr; gap: 40px; } }

/* ───────────────────────────────────────────────────────────────
   MARQUEE
   ─────────────────────────────────────────────────────────────── */
.marquee {
  padding: 28px 0;
  background: var(--pt-ink);
  color: var(--pt-bg-warm);
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--pt-ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--pt-ink), transparent); }
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 38s linear infinite;
  align-items: center;
  white-space: nowrap;
}
.marquee-track .item {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
  font-style: italic;
}
.marquee-track .heart {
  width: 18px; height: 18px;
  color: var(--pt-primary);
  flex: none;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───────────────────────────────────────────────────────────────
   HOW IT WORKS
   ─────────────────────────────────────────────────────────────── */
.how {
  padding: 120px 0;
  position: relative;
}
.how .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.how .head .right .lead { max-width: 400px; }
@media (max-width: 800px) { .how .head { grid-template-columns: 1fr; gap: 30px; } }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: linear-gradient(to right, rgba(26,26,26,0.18) 0 6px, transparent 6px 14px);
  background-size: 14px 2px;
  z-index: 0;
}
.step { position: relative; z-index: 1;}
.step .n {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--pt-bg);
  border: 1.5px solid var(--pt-line);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 600;
  color: var(--pt-ink);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  transition: background .4s ease, color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.step.active .n {
  background: var(--pt-primary);
  color: #fff;
  border-color: var(--pt-primary);
  box-shadow: var(--pt-shadow-cta);
  transform: scale(1.06);
}
.step h3 { margin-bottom: 12px; }
.step .body { color: var(--pt-text); line-height: 1.55; max-width: 32ch; font-size: 15px;}
.step .visual {
  margin-top: 24px;
  height: 200px;
  border-radius: var(--pt-r-lg);
  background: var(--pt-bg);
  box-shadow: var(--pt-shadow-card);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* step 1: app icons */
.step1-vis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.step1-vis .app {
  width: 70px; height: 70px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}
.step1-vis .app img { width: 100%; height: 100%; border-radius: 18px;}
.step1-vis .down {
  font-size: 11px;
  font-weight: 600;
  color: var(--pt-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: flex-end;
  margin-bottom: 12px;
}

/* step 2: invite link card */
.step2-vis {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0;
  background: linear-gradient(180deg, var(--pt-bg) 0%, var(--pt-primary-50) 100%);
}
.link-card {
  width: 88%;
  background: var(--pt-bg);
  border: 1.5px solid var(--pt-line);
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}
.link-card .link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pt-bg-warm);
  border-radius: 10px;
  padding: 8px 8px 8px 10px;
  margin-bottom: 10px;
}
.link-card .link-ic {
  width: 20px; height: 20px; color: var(--pt-primary); flex: none;
}
.link-card .link-ic svg { width: 100%; height: 100%; }
.link-card .link-url {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: var(--pt-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-card .link-url span { color: var(--pt-primary); font-weight: 700; }
.link-card .link-copy {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pt-primary);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--pt-primary-soft);
  flex: none;
}
.link-card .link-foot {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.link-card .chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--pt-text);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--pt-line-soft);
}
.link-card .chip svg { width: 11px; height: 11px; color: var(--pt-muted); }
.link-card .chip.more { letter-spacing: 0.1em; color: var(--pt-muted); }

/* ───────────────────────────────────────────────────────────────
   INTIMATE — spicy cards, desires, after-dark
   ─────────────────────────────────────────────────────────────── */
.intimate {
  padding: 120px 0;
  background:
    radial-gradient(60% 50% at 80% 0%, color-mix(in oklch, var(--pt-primary) 14%, transparent), transparent 70%),
    radial-gradient(50% 40% at 5% 100%, color-mix(in oklch, var(--pt-primary) 8%, transparent), transparent 70%),
    var(--pt-bg-warm);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--pt-line);
}
.intimate::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}
.intimate .container { position: relative; z-index: 1; }
.int-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.int-head .lead { margin-top: 22px; max-width: 540px; margin-left: auto; margin-right: auto;}
.int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.int-card {
  --bg: var(--pt-bg);
  --ink: var(--pt-ink);
  --tag-c: var(--pt-primary);
  position: relative;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--pt-r-xl);
  padding: 28px 26px 22px;
  box-shadow: 0 16px 36px rgba(20,20,20,0.08), 0 2px 6px rgba(20,20,20,0.04);
  display: flex;
  flex-direction: column;
  min-height: 230px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
  overflow: hidden;
  border: 1px solid transparent;
}
.int-card::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--tag-c) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.int-card:hover {
  transform: translateY(-4px) rotate(-.4deg);
  box-shadow: 0 24px 48px rgba(20,20,20,0.12), 0 4px 8px rgba(20,20,20,0.05);
}
.int-card .int-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tag-c);
  margin-bottom: 18px;
  position: relative;
}
.int-card .int-tag::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--tag-c);
  margin-top: 8px;
  opacity: 0.5;
}
.int-card .int-q {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 auto 0;
  text-wrap: balance;
}
.int-card .int-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pt-muted);
}
.int-card .int-foot .int-count {
  background: var(--pt-line-soft);
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--pt-text);
  letter-spacing: 0.04em;
  text-transform: none;
}
/* card variants — color carries the heat without going kitsch */
.int-card.cA { --bg: linear-gradient(160deg, #FF3366 0%, #FF6B8A 100%); --ink: #fff; --tag-c: rgba(255,255,255,0.85); }
.int-card.cA .int-tag::after { background: rgba(255,255,255,0.6); }
.int-card.cA .int-foot { color: rgba(255,255,255,0.78); }
.int-card.cA .int-foot .int-count { background: rgba(255,255,255,0.18); color: #fff; }
.int-card.cB { --bg: #FFF6DD; --tag-c: #B07300; }
.int-card.cC { --bg: #1A1A1A; --ink: #fff; --tag-c: #FF6B8A; }
.int-card.cC .int-foot { color: rgba(255,255,255,0.55); }
.int-card.cC .int-foot .int-count { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.78); }
.int-card.cD { --bg: var(--pt-bg); }
.int-card.cE { --bg: linear-gradient(160deg, #2A1A2A 0%, #4A2738 100%); --ink: #FFE0E8; --tag-c: #FFC940; }
.int-card.cE .int-foot { color: rgba(255,224,232,0.55); }
.int-card.cE .int-foot .int-count { background: rgba(255,201,64,0.16); color: #FFE0E8; }
.int-card.cF { --bg: #F2E8DF; --tag-c: #C4452E; }

.int-note {
  margin: 48px auto 0;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--pt-bg);
  border: 1px solid var(--pt-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--pt-muted);
}
.int-note svg { width: 16px; height: 16px; color: var(--pt-primary); flex: none; }

@media (max-width: 900px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .int-grid { grid-template-columns: 1fr; } }

/* ───────────────────────────────────────────────────────────────
   Mobile pass — Both download buttons must fit on first screen
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  :root {
    --ms-h1: clamp(32px, 9vw, 44px);
    --ms-h2: clamp(28px, 7.5vw, 38px);
    --ms-lead: 15px;
  }

  /* HERO — tightened to put both CTAs above the fold */
  .hero { padding: 78px 0 30px; }
  .hero .eyebrow { margin-bottom: 12px; font-size: 10px; }
  .hero h1.m-h1 { margin-top: 14px !important; max-width: 100%; line-height: 1.05; }
  .hero .lead {
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.45;
    padding: 0;
    max-width: 360px;
  }

  /* Side-by-side compact CTAs */
  .hero .cta-row {
    width: 100%;
    max-width: 340px;
    margin: 18px auto 0;
    gap: 8px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .btn-store {
    padding: 9px 12px;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
  }
  .btn-store .ic { width: 18px; height: 18px; flex: none; }
  .btn-store .big { font-size: 13px; line-height: 1; }
  .btn-store .small { font-size: 9px; margin-bottom: 2px; line-height: 1; }

  /* Audience strip — small + moves to below the phone visually */
  .hero .audience {
    margin-top: 14px;
    flex-direction: row;
    gap: 10px;
    text-align: center;
    font-size: 12px;
    justify-content: center;
    display: none; /* hide on phones to free vertical space for CTAs */
  }
  .av-pile img { width: 24px; height: 24px; }
  .hero .audience b { font-size: 13px; }

  /* Hero stage — pulled in tighter, smaller phone, fewer floating cards */
  .hero-stage {
    margin-top: 26px;
    height: auto !important;
    min-height: 480px;
  }
  .phone { --pw: 240px; --ph: 480px; border-radius: 34px; }
  .phone .notch { width: 80px; height: 20px; }
  .phone .screen { border-radius: 28px; }
  .phone .status { padding: 12px 18px 0; font-size: 11px; }

  /* Floating cards: smaller and stay clear of CTAs */
  .f-card { width: 140px; padding: 9px 11px; }
  .f-card .q { font-size: 11px; line-height: 1.22; }
  .f-card .tag { font-size: 9px; margin-bottom: 4px; }
  .f-card.fc1 { left: 0; top: 40px; }
  .f-card.fc2 { right: 0; top: 10px; }
  .f-card.fc3 { display: none; }
  .f-card.fc4 { right: 0; bottom: 40px; top: auto; }
  .f-card.pill { padding: 8px 12px; font-size: 11px; }

  /* shader subtler on mobile */
  .hero-shader { opacity: 0.5; }

  /* Section paddings */
  .stats { padding: 50px 0; }
  .stats .grid { gap: 26px; }
  .stat .num { margin-bottom: 8px; }
  .stat .lbl { font-size: 14px; }

  .intimate { padding: 56px 0; }
  .int-head { margin-bottom: 28px; }
  .int-grid { gap: 12px; }
  .int-card { padding: 18px 18px 16px; min-height: 180px; border-radius: 16px; }
  .int-card .int-tag { margin-bottom: 12px; font-size: 9px; }
  .int-card .int-q { font-size: 18px; line-height: 1.2; }
  .int-card .int-foot { margin-top: 16px; font-size: 10px; }
  .int-note { margin-top: 28px; padding: 10px 14px; font-size: 11px; }
  .int-note span { line-height: 1.4; }

  .how { padding: 56px 0; }
  .how .head { margin-bottom: 32px; }
  .steps { gap: 36px; }
  .step .n { width: 60px; height: 60px; font-size: 26px; margin-bottom: 20px; }
  .step h3 { margin-bottom: 8px; }
  .step .body { font-size: 14px; }
  .step .visual { height: 150px; padding: 14px; margin-top: 18px; }

  .features { padding: 56px 0; }
  .features .head { margin-bottom: 28px; }
  .feat { padding: 22px 20px; border-radius: 16px; }
  .feat .ic { width: 44px; height: 44px; margin-bottom: 14px; }
  .feat .ic svg { width: 22px; height: 22px; }
  .feat h3 { font-size: 17px; }
  .feat p { font-size: 13.5px; }

  .proof { padding: 64px 0; }
  .proof .head { margin-bottom: 36px; }
  .proof-stat { grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 28px; }
  .proof-stat .item .n { font-size: 34px; margin-bottom: 4px; }
  .proof-stat .item .l { font-size: 9px; letter-spacing: 0.06em; }

  .final { padding: 64px 0 50px; }
  .final .lead { margin: 18px auto 24px; font-size: 15px; }
  .final .cta-row {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    gap: 8px;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .marquee { padding: 18px 0; margin: 40px 0; }
  .marquee-track { gap: 32px; }
  .marquee-track .item { font-size: 18px; }
  .marquee-track .heart { width: 14px; height: 14px; }

  footer { padding: 50px 0 24px; }
  footer .blurb { font-size: 13px; margin-top: 12px; }
  footer h5 { margin-bottom: 14px; }
  footer li { margin-bottom: 8px; }
  footer li a { font-size: 13px; }
  footer .legal { font-size: 11px; }
}

@media (max-width: 420px) {
  .proof-stat { grid-template-columns: 1fr; gap: 20px; }
  .nav .cta { padding: 8px 12px; font-size: 12px; }
  .header { padding: 10px 0; }
  .brand { font-size: 16px; }
  .brand-logo { height: 28px; }
  .hero { padding-top: 70px; }
  .hero h1.m-h1 { font-size: 32px; line-height: 1.08; }
  .btn-store { padding: 8px 10px; gap: 6px; }
  .btn-store .big { font-size: 12px; }
  .btn-store .small { font-size: 8px; }
  .btn-store .ic { width: 16px; height: 16px; }
  .phone { --pw: 220px; --ph: 440px; }
  .f-card.fc1, .f-card.fc2, .f-card.fc4 { width: 124px; padding: 8px 10px; }
  .f-card .q { font-size: 10px; }
  .int-card .int-q { font-size: 16px; }
}

/* Very-short landscape phones: shrink hero phone hard so CTAs stay above fold */
@media (max-width: 720px) and (max-height: 720px) {
  .hero-stage { min-height: 380px; }
  .phone { --pw: 210px; --ph: 420px; }
}

/* step 3: card peek */
.step3-vis {
  position: relative;
  height: 100%;
}
.step3-vis .mini-card {
  position: absolute;
  width: 75%;
  background: linear-gradient(160deg, #FF3366 0%, #FF6B8A 100%);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 12px 28px rgba(255,51,102,0.28);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
}
.step3-vis .mini-card .pc-tag { font-size: 9px;  font-weight: 700; letter-spacing: 0.16em; color: rgba(255,255,255,0.8); text-transform: uppercase; margin-bottom: 6px;}
.step3-vis .mini-card .pc-q { font-size: 14px; font-weight: 600; line-height: 1.3; font-family: var(--font-display); font-style: italic;}
.step3-vis .mini-card.behind1 { transform: translate(-50%, -50%) rotate(-10deg) translateX(-12px); background: var(--pt-bubble-other); color: var(--pt-ink); box-shadow: 0 8px 18px rgba(0,0,0,0.08); z-index: 0;}
.step3-vis .mini-card.behind1 .pc-tag { color: var(--pt-muted);}
.step3-vis .mini-card.behind2 { transform: translate(-50%, -50%) rotate(8deg) translateX(8px); background: var(--pt-bubble-self); color: var(--pt-ink); box-shadow: 0 8px 18px rgba(0,0,0,0.08); z-index: 1;}
.step3-vis .mini-card.behind2 .pc-tag { color: var(--pt-muted);}
.step3-vis .mini-card.front { z-index: 2; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 50px; }
  .steps::before { display: none; }
}

/* ───────────────────────────────────────────────────────────────
   INSIDE THE APP — phone parade
   ─────────────────────────────────────────────────────────────── */
.inside {
  padding: 120px 0;
  background: var(--pt-bg-cream);
  border-top: 1px solid rgba(26,26,26,0.06);
  border-bottom: 1px solid rgba(26,26,26,0.06);
  overflow: hidden;
}
.inside .head {
  text-align: center;
  margin-bottom: 80px;
}
.inside .head .lead { margin: 22px auto 0; max-width: 540px; }

.phone-parade {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.parade-item {
  text-align: center;
  flex: none;
}
.parade-item .phone { transform: translateY(40px); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s ease; }
.phone-parade.in .parade-item:nth-child(1) .phone { transform: translateY(0) rotate(-3deg); opacity: 1; transition-delay: .05s; }
.phone-parade.in .parade-item:nth-child(2) .phone { transform: translateY(0) rotate(2deg);  opacity: 1; transition-delay: .15s; }
.phone-parade.in .parade-item:nth-child(3) .phone { transform: translateY(0) rotate(-2deg); opacity: 1; transition-delay: .25s; }
.phone-parade.in .parade-item:nth-child(4) .phone { transform: translateY(0) rotate(3deg);  opacity: 1; transition-delay: .35s; }
.parade-item .cap {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--pt-ink);
  font-weight: 500;
}
.parade-item .cap-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--pt-muted);
}

/* Library screen */
.library-screen {
  height: 100%;
  background: var(--pt-bg-warm);
  padding-top: 56px;
  display: flex;
  flex-direction: column;
}
.library-screen .lh {
  padding: 12px 18px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.library-screen .lh .title { font-size: 22px; font-weight: 700; color: var(--pt-ink); letter-spacing: -0.02em; }
.library-screen .lh .av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--pt-line-soft); }
.library-screen .lh .av img { width: 100%; height: 100%; object-fit: cover; }
.library-screen .greet { padding: 0 18px 14px; font-size: 13px; color: var(--pt-muted);}
.library-screen .greet b { color: var(--pt-ink); }
.library-screen .grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 18px 18px;
  overflow: hidden;
}
.pack-cell {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1.2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  background: var(--pt-line-soft);
  color: #fff;
}
.pack-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%);
  pointer-events: none;
}
.pack-cell .pc-name { position: relative; z-index: 2; font-size: 13px; font-weight: 700; line-height: 1.1; }
.pack-cell .pc-meta { position: relative; z-index: 2; font-size: 10px; opacity: 0.85; margin-top: 2px;}
.pack-cell.p1 { background: linear-gradient(160deg, #FF3366, #FF809E); }
.pack-cell.p2 { background: linear-gradient(160deg, #2C7A4B, #5BB07E); }
.pack-cell.p3 { background: linear-gradient(160deg, #F5C875, #E5A23C); }
.pack-cell.p4 { background: linear-gradient(160deg, #1A1A1A, #4A4A4A); }
.pack-cell.p5 { background: linear-gradient(160deg, #FFC940, #FF9D2F); }
.pack-cell.p6 { background: linear-gradient(160deg, #6B5BFF, #8B7BFF); }
.pack-cell .lock {
  position: absolute;
  top: 8px; left: 8px;
  width: 22px; height: 22px;
  z-index: 3;
}

/* card draw screen */
.draw-screen {
  height: 100%;
  background: linear-gradient(180deg, #FFE7EE 0%, #FAF8F5 60%);
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.draw-screen .h {
  font-size: 13px;
  color: var(--pt-muted);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.draw-screen .h b { color: var(--pt-ink); }
.draw-screen .deck {
  position: relative;
  width: 200px;
  height: 280px;
  margin-bottom: 24px;
}
.draw-screen .deck .dc {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(160deg, #FF3366 0%, #FF6B8A 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-shadow: 0 16px 32px rgba(255,51,102,0.32);
}
.draw-screen .deck .dc.b1 { transform: rotate(-8deg) translate(-12px, 10px); background: linear-gradient(160deg, #2A2A2A, #555); box-shadow: 0 14px 24px rgba(0,0,0,0.18);}
.draw-screen .deck .dc.b2 { transform: rotate(6deg) translate(8px, 4px);   background: linear-gradient(160deg, #FFC940, #FF9D2F); box-shadow: 0 14px 24px rgba(255,201,64,0.32);}
.draw-screen .deck .dc.front { z-index: 3; }
.draw-screen .deck .dc .pc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  gap: 6px;
}
.draw-screen .deck .dc .pc-tag::before {
  content: ""; width: 14px; height: 1px; background: rgba(255,255,255,0.7);
}
.draw-screen .deck .dc .pc-q {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--font-display);
  font-style: italic;
}
.draw-screen .deck .dc .deck-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255,255,255,0.85);
}

.draw-screen .ctas {
  display: flex;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 26px;
  padding: 0 14px;
  width: 100%;
  justify-content: center;
}
.draw-screen .ctas .btn-skip,
.draw-screen .ctas .btn-shuffle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pt-bg);
  border: 1.5px solid var(--pt-line);
  display: grid; place-items: center;
  color: var(--pt-ink);
  flex: none;
}
.draw-screen .ctas .btn-shuffle svg, .draw-screen .ctas .btn-skip svg { width: 18px; height: 18px; }
.draw-screen .ctas .btn-send {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  background: var(--pt-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: grid; place-items: center;
  box-shadow: var(--pt-shadow-cta);
}

/* invite screen */
.invite-screen {
  height: 100%;
  background: linear-gradient(180deg, #1A1A1A 0%, #2A2A2A 100%);
  padding: 60px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.invite-screen::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,51,102,0.32), transparent 70%);
  filter: blur(20px);
}
.invite-screen .h {
  font-size: 20px;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  text-align: center;
  position: relative;
}
.invite-screen .sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}
.invite-screen .code-block {
  position: relative;
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}
.invite-screen .code-block .d {
  width: 32px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  display: grid; place-items: center;
}
.invite-screen .code-block .d.hot { background: var(--pt-primary); border-color: var(--pt-primary); box-shadow: 0 6px 14px rgba(255,51,102,0.4);}
.invite-screen .copy-cta {
  position: relative;
  width: 100%;
  height: 44px;
  border-radius: 999px;
  background: var(--pt-primary);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
  box-shadow: var(--pt-shadow-cta);
}
.invite-screen .or {
  font-size: 11px;
  color: rgba(255,255,255,0.42);
  margin: 14px 0;
  position: relative;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.invite-screen .share-row {
  display: flex;
  gap: 10px;
  position: relative;
}
.invite-screen .share-row .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .phone-parade { gap: 28px; }
}

/* ───────────────────────────────────────────────────────────────
   FEATURES GRID
   ─────────────────────────────────────────────────────────────── */
.features {
  padding: 120px 0;
}
.features .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.features .head .lead { max-width: 420px; }
@media (max-width: 800px) { .features .head { grid-template-columns: 1fr; gap: 30px; } }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat {
  background: var(--pt-bg);
  border-radius: var(--pt-r-xl);
  padding: 32px 28px;
  box-shadow: var(--pt-shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(20,20,20,0.10), 0 4px 8px rgba(20,20,20,0.04);
}
.feat .ic {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--pt-primary-soft);
  display: grid; place-items: center;
  color: var(--pt-primary);
  margin-bottom: 22px;
}
.feat .ic svg { width: 26px; height: 26px; }
.feat:nth-child(2) .ic { background: #FFF6DD; color: #B07300; }
.feat:nth-child(3) .ic { background: #E8F5EC; color: #2CB67D; }
.feat:nth-child(4) .ic { background: #EEEAFF; color: #6B5BFF; }
.feat:nth-child(5) .ic { background: #FFE7EE; color: var(--pt-primary); }
.feat:nth-child(6) .ic { background: #F0EAE0; color: var(--pt-ink); }
.feat:nth-child(7) .ic { background: #E5F0FA; color: #2A6FDB; }
.feat:nth-child(8) .ic { background: #FFF0E5; color: #F2994A; }
.feat:nth-child(9) .ic { background: var(--pt-primary); color: #fff; }
.feat h3 { margin-bottom: 10px; font-size: 19px; }
.feat p {
  font-size: 14.5px;
  color: var(--pt-text);
  line-height: 1.55;
  margin: 0;
}
.feat:nth-child(9) {
  background: var(--pt-ink);
  color: #fff;
}
.feat:nth-child(9) h3 { color: #fff; }
.feat:nth-child(9) p  { color: rgba(255,255,255,0.72); }

@media (max-width: 900px)  { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .feat-grid { grid-template-columns: 1fr; } }

/* ───────────────────────────────────────────────────────────────
   TESTIMONIAL / SOCIAL PROOF
   ─────────────────────────────────────────────────────────────── */
.proof {
  padding: 120px 0;
  background: var(--pt-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.proof::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(255,51,102,0.18), transparent 60%),
    radial-gradient(40% 40% at 10% 80%, rgba(255,201,64,0.10), transparent 60%);
  pointer-events: none;
}
.proof .container { position: relative; z-index: 2; }
.proof .head { text-align: center; margin-bottom: 60px; }
.proof .head .eyebrow { color: #FF6B8A; }
.proof .head .m-h2 { color: #fff; max-width: 18ch; margin: 22px auto 0;}
.proof .head .m-h2 .italic { color: var(--pt-primary); }

.testi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.testi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--pt-r-xl);
  padding: 30px 28px;
  backdrop-filter: blur(8px);
}
.testi .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 26px;
}
.testi .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi .who .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  flex: none;
}
.testi .who .av img { width: 100%; height: 100%; object-fit: cover;}
.testi .who .name { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.2;}
.testi .who .meta { font-size: 12px; color: rgba(255,255,255,0.52); line-height: 1.3;}
.testi .stars { display: inline-flex; gap: 2px; margin-bottom: 16px; color: #F5C84B;}
.testi .stars svg { width: 14px; height: 14px; }

.proof-stat {
  text-align: center;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.proof-stat .item .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  font-weight: 600;
  color: var(--pt-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.proof-stat .item .l {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 800px) {
  .testi-row { grid-template-columns: 1fr; }
  .proof-stat { grid-template-columns: 1fr; gap: 32px; }
}

/* ───────────────────────────────────────────────────────────────
   FINAL CTA + FOOTER
   ─────────────────────────────────────────────────────────────── */
.final {
  padding: 140px 0 100px;
  text-align: center;
}
.final .m-h1 { max-width: 18ch; margin: 0 auto;}
.final .lead { margin: 24px auto 36px; max-width: 460px;}
.final .cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

footer {
  background: var(--pt-ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
footer .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
footer .brand { color: #fff; font-size: 26px; }
footer .brand-mark { width: 36px; height: 36px;}
footer .brand-mark svg { width: 20px; height: 20px;}
footer .blurb {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
  color: rgba(255,255,255,0.5);
}
footer h5 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin: 0 0 18px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px;}
footer li a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color .15s ease;
}
footer li a:hover { color: var(--pt-primary); }
footer .legal {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
footer .legal a { margin-left: 18px; }
@media (max-width: 800px) {
  footer .grid { grid-template-columns: 1fr 1fr; gap: 40px;}
}
@media (max-width: 500px) {
  footer .grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────────────────────
   Reveal animations
   ─────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .47s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: .54s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: .61s; }

/* ───────────────────────────────────────────────────────────────
   Misc
   ─────────────────────────────────────────────────────────────── */
.section-spacer { height: 80px; }

::selection { background: var(--pt-primary-soft); color: var(--pt-primary); }
