/* facEmote website — design tokens mirrored from the app (constants/colors.ts, typography.ts) */

:root {
  --primary: #305cde;
  --primary-deep: #1d4ed8;
  --light-blue: #59b5f7;
  --bg: #eff6ff;
  --text: #1c1c1e;
  --text-secondary: #64748b;
  --white: #ffffff;
  --dark: #0b1220;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --primary-tint-06: rgba(48, 92, 222, 0.06);
  --primary-tint-08: rgba(48, 92, 222, 0.08);
  --primary-tint-12: rgba(48, 92, 222, 0.12);
  --grad: linear-gradient(135deg, #59b5f7 0%, #305cde 100%);
  --radius-card: 24px;
  --radius-tile: 16px;
  --shadow-soft: 0 20px 60px rgba(15, 30, 80, 0.1);
  --shadow-tile: 0 8px 28px rgba(15, 30, 80, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
/* Doc pages (privacy/terms/support): one shared narrower container so headings and content share a left edge. */
.wrap.narrow { max-width: 908px; }

.serif { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; }

/* ---------- Nav ---------- */
.nav-shell { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(15, 30, 80, 0.08);
  border-radius: 999px; padding: 10px 12px 10px 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.nav-brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--dark); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(11, 18, 32, 0.3); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 148px 0 30px;
  background:
    radial-gradient(55% 45% at 85% 8%, rgba(89, 181, 247, 0.25) 0%, rgba(89, 181, 247, 0) 70%),
    radial-gradient(45% 40% at 8% 35%, rgba(48, 92, 222, 0.12) 0%, rgba(48, 92, 222, 0) 70%),
    var(--bg);
  /* Clip sideways only (chat bubbles hang past the edge) — the phone's soft shadow must be free to fall below the section. */
  overflow-x: clip;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); box-shadow: var(--shadow-tile);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 {
  font-size: clamp(42px, 5.8vw, 68px); line-height: 1.04; font-weight: 800;
  letter-spacing: -0.03em; margin: 24px 0 20px;
}
.hero h1 .serif { font-weight: 500; letter-spacing: -0.01em; }
.hero-sub { font-size: 17.5px; color: var(--text-secondary); max-width: 44ch; margin-bottom: 28px; }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--dark); color: #fff; padding: 13px 24px; border-radius: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.25);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(11, 18, 32, 0.35); }
.btn-store svg { width: 26px; height: 26px; }
.btn-store .lines { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn-store .small { font-size: 11px; font-weight: 500; opacity: 0.8; }
.btn-store .big { font-size: 17px; font-weight: 700; }
.soon-pill {
  font-size: 13px; font-weight: 700; color: var(--primary);
  background: var(--primary-tint-08); border: 1px solid var(--primary-tint-12);
  padding: 9px 16px; border-radius: 999px;
}

/* Emotion chips — the app's six starter emotions */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; max-width: 430px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: 999px;
  padding: 7px 14px 7px 9px; font-size: 13.5px; font-weight: 600; color: var(--text);
  box-shadow: 0 2px 10px rgba(15, 30, 80, 0.05);
}
.chip .em { font-size: 16px; }
.chip.locked { color: var(--text-secondary); background: transparent; box-shadow: none; border-style: dashed; }

/* Hero visual: phone + iMessage story */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 26px; }
.phone {
  width: min(310px, 74vw); border-radius: 46px; border: 9px solid var(--dark);
  box-shadow: 0 40px 90px rgba(15, 30, 80, 0.3); overflow: hidden; background: var(--dark);
  position: relative; z-index: 2;
}
.phone img { width: 100%; border-radius: 37px; }
.msg {
  position: absolute; z-index: 3; max-width: 240px;
  padding: 11px 15px; font-size: 14px; line-height: 1.45; font-weight: 500;
  border-radius: 20px; box-shadow: 0 16px 40px rgba(15, 30, 80, 0.18);
}
.msg-in {
  background: #fff; color: var(--text);
  border-bottom-left-radius: 6px; top: 9%; left: -3%;
}
.msg-out {
  background: linear-gradient(135deg, #3f8ef7, #305cde); color: #fff;
  border-bottom-right-radius: 6px; top: 36%; right: -4%;
}
.msg-sticker {
  position: absolute; z-index: 3; right: -7%; top: 46%; width: 150px;
  filter: drop-shadow(0 18px 30px rgba(15, 30, 80, 0.25));
  transform: rotate(4deg);
}
.msg-meta {
  position: absolute; z-index: 3; right: 2%; top: 76%;
  font-size: 11.5px; font-weight: 600; color: var(--text-secondary);
}
.msg-typing {
  position: absolute; z-index: 3; left: -1%; bottom: 7%;
  background: #fff; border-radius: 20px; border-bottom-left-radius: 6px;
  padding: 13px 16px; display: flex; gap: 5px; box-shadow: 0 16px 40px rgba(15, 30, 80, 0.16);
}
.msg-typing i {
  width: 8px; height: 8px; border-radius: 50%; background: #b6c2d4; display: block;
  animation: typing 1.3s ease-in-out infinite;
}
.msg-typing i:nth-child(2) { animation-delay: 0.18s; }
.msg-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.55; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- Sticker marquee ---------- */
.rail { padding: 40px 0 26px; overflow: hidden; position: relative; }
.rail::before, .rail::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.rail::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(239, 246, 255, 0)); }
.rail::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(239, 246, 255, 0)); }
.rail-track { display: flex; gap: 32px; width: max-content; animation: rail 34s linear infinite; }
.rail-track img { width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(15, 30, 80, 0.13)); }
@keyframes rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
section { padding: 78px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.sec-head .right { max-width: 38ch; padding-bottom: 6px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.eyebrow .no { opacity: 0.45; }
h2.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.section-sub { color: var(--text-secondary); font-size: 16.5px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile {
  border-radius: var(--radius-card); padding: 30px; position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-tile);
}
.tile h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.tile p { font-size: 14.5px; color: var(--text-secondary); max-width: 40ch; }
.tile-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-tint-08);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.t-pack { grid-column: span 7; }
.t-pack .pack-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 24px;
}
.t-pack .pack-grid > div { background: var(--bg); border-radius: 16px; padding: 10px; }
.t-capture { grid-column: span 5; background: linear-gradient(160deg, #f4f8ff 0%, #e8f0fe 100%); }
.t-capture .cap-flow { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.t-capture .cap-cam {
  flex: none; width: 84px; height: 84px; border-radius: 22px; background: var(--white);
  border: 1px solid var(--slate-200); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-tile);
}
.t-capture .cap-cam svg { width: 34px; height: 34px; stroke: var(--primary); }
.t-capture .cap-arrow { flex: none; color: var(--primary); font-size: 20px; font-weight: 800; opacity: 0.6; }
.t-capture .cap-sticker { width: 104px; flex: none; filter: drop-shadow(0 10px 20px rgba(15, 30, 80, 0.18)); }
.t-capture .cap-emojis { display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; margin-top: 24px; }
.t-capture .cap-emojis span {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: 999px;
  font-size: 15px; padding: 4px 9px;
}
.t-imsg { grid-column: span 5; background: var(--dark); color: #fff; border: none; }
.t-imsg h3 { color: #fff; }
.t-imsg p { color: rgba(255, 255, 255, 0.66); }
.t-imsg .tile-label { background: rgba(89, 181, 247, 0.16); color: var(--light-blue); }
.t-imsg .mini-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.t-imsg .mini-row img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px; padding: 10px;
}
.t-private { grid-column: span 7; display: flex; align-items: center; gap: 26px; }
.t-private .lock {
  flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--primary-tint-08);
  display: flex; align-items: center; justify-content: center;
}
.t-private .lock svg { width: 28px; height: 28px; stroke: var(--primary); }
.t-private p { max-width: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-top: 8px; }
.step { padding: 0 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px dashed var(--slate-200); }
.step .num {
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--primary);
  margin-bottom: 14px; display: block;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--text-secondary); }

/* ---------- iMessage drawer band ---------- */
.imsg { background: var(--dark); color: #fff; }
.imsg .eyebrow { color: var(--light-blue); }
.imsg h2 { color: #fff; }
.imsg .section-sub { color: rgba(255, 255, 255, 0.64); }
.imsg-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.imsg-list { margin-top: 28px; display: flex; flex-direction: column; gap: 17px; }
.imsg-list .row { display: flex; gap: 14px; align-items: flex-start; }
.imsg-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(89, 181, 247, 0.16);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.imsg-list .tick svg { width: 14px; height: 14px; stroke: var(--light-blue); }
.imsg-list p { font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.imsg-list p strong { color: #fff; }

/* Drawer recreation — mirrors the real extension sheet */
.drawer {
  background: #131c30; border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px; padding: 18px 18px 22px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.drawer .handle { width: 42px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); margin: 0 auto 16px; }
.drawer .chips { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; overflow: hidden; }
.drawer .chips .search {
  flex: none; width: 36px; height: 36px; border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
}
.drawer .chips .search svg { width: 16px; height: 16px; stroke: rgba(255, 255, 255, 0.7); }
.drawer .chips span {
  font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 7px 15px; white-space: nowrap;
}
.drawer .chips span.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.drawer .dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.drawer .dgrid img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background: rgba(255, 255, 255, 0.05); border-radius: 14px; padding: 8px;
  transition: transform 0.3s var(--ease);
}
.drawer .dgrid img:hover { transform: scale(1.06); }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier {
  background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-card);
  padding: 30px 26px; box-shadow: var(--shadow-tile); display: flex; flex-direction: column;
  position: relative;
}
.tier.hot { border: 2px solid var(--primary); box-shadow: 0 24px 60px rgba(48, 92, 222, 0.16); }
.tier .flag {
  position: absolute; top: -13px; left: 26px;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { font-size: 15px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.tier .price { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.tier .per { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 20px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.tier li { font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.tier li svg { flex: none; width: 17px; height: 17px; stroke: var(--primary); margin-top: 3px; }
.tier .tier-cta {
  margin-top: auto; text-align: center; font-weight: 700; font-size: 15px;
  padding: 12px 0; border-radius: 13px; border: 1.5px solid var(--slate-200); color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.tier .tier-cta:hover { border-color: var(--primary); background: var(--primary-tint-06); }
.tier.hot .tier-cta { background: var(--dark); color: #fff; border: none; }
.pack-strip {
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--white); border: 1px dashed var(--slate-200); border-radius: 18px; padding: 18px 24px;
  flex-wrap: wrap;
}
.pack-strip p { font-size: 14.5px; color: var(--text-secondary); }
.pack-strip p strong { color: var(--text); }
.pricing-fineprint { margin: 22px auto 0; font-size: 13px; color: var(--text-secondary); max-width: 72ch; text-align: center; }
.pricing-fineprint a { color: var(--primary); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--border-subtle); border-radius: 16px;
  padding: 18px 22px;
}
.faq summary {
  font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; font-weight: 500; color: var(--primary); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; font-size: 14.5px; color: var(--text-secondary); }
.faq details a { color: var(--primary); font-weight: 600; }

/* ---------- Final CTA ---------- */
.final {
  background: var(--dark); border-radius: 32px; padding: 74px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 120%, rgba(48, 92, 222, 0.55) 0%, rgba(48, 92, 222, 0) 70%);
}
.final > * { position: relative; }
.final h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.025em; }
.final p { margin: 14px auto 30px; max-width: 46ch; color: rgba(255, 255, 255, 0.72); font-size: 16.5px; }
.final .btn-store { background: #fff; color: var(--dark); }
.final .cta-stickers { display: flex; justify-content: center; gap: 6px; margin-bottom: 26px; }
.final .cta-stickers img {
  width: 74px; height: 74px; object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}
.final .cta-stickers img:nth-child(odd) { transform: rotate(-5deg) translateY(4px); }
.final .cta-stickers img:nth-child(even) { transform: rotate(4deg); }

/* ---------- Footer ---------- */
footer { padding: 52px 0 40px; }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 10px; }
.foot-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--text-secondary); flex-wrap: wrap; }
.foot-links a:hover { color: var(--primary); }
.foot-bottom {
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-secondary);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Legal / doc pages ---------- */
.doc-hero { padding: 150px 0 30px; }
.doc-hero h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.02em; }
.doc-hero .meta { color: var(--text-secondary); font-size: 14px; margin-top: 12px; }
.doc {
  background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-card);
  box-shadow: var(--shadow-tile); padding: 48px; margin: 26px 0 80px;
}
.doc h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; letter-spacing: -0.01em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 15.5px; color: #3a4150; }
.doc p { margin-bottom: 12px; }
.doc ul { margin: 0 0 14px 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--primary); font-weight: 600; }
.doc .callout {
  background: var(--primary-tint-08); border: 1px solid var(--primary-tint-12);
  border-radius: 14px; padding: 16px 20px; margin: 18px 0;
}
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.doc th { font-weight: 700; color: var(--text); }
.doc td { color: #3a4150; }

/* Support cards */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 26px 0 40px; }
.support-card {
  background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-card);
  padding: 30px; box-shadow: var(--shadow-tile);
}
.support-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.support-card p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }
.support-card .btn-mini {
  display: inline-block; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 128px; }
  .hero-visual { padding: 26px 0 30px; }
  .msg-in { left: 0; }
  .msg-out { right: 0; }
  .msg-sticker { right: 0; width: 120px; }
  .msg-meta { right: 5%; }
  .msg-typing { left: 2%; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .bento { grid-template-columns: 1fr; }
  .t-pack, .t-capture, .t-imsg, .t-private { grid-column: span 1; }
  .t-pack .pack-grid { grid-template-columns: repeat(3, 1fr); }
  .t-pack .pack-grid .extra { display: none; }
  .t-private { flex-direction: column; align-items: flex-start; gap: 18px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding: 0; }
  .step + .step { padding: 26px 0 0; border-left: none; border-top: 1px dashed var(--slate-200); }
  .imsg-grid { grid-template-columns: 1fr; gap: 40px; }
  .tiers { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .doc { padding: 32px 22px; }
  .support-grid { grid-template-columns: 1fr; }
  .final { padding: 56px 24px; }
  .final .cta-stickers img { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .rail-track, .msg-typing i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
