/* =====================================================================
   Pawlink landing — light, warm, editorial
   ===================================================================== */

:root {
  --bg: #FFF8F0;
  --bg-2: #FFF1E2;
  --paper: #FFFFFF;
  --ink: #1B1410;
  --ink-2: #4A3F38;
  --muted: #8A7B71;
  --line: rgba(27, 20, 16, 0.08);
  --coral: #FF5A3C;
  --coral-2: #FF7A5C;
  --coral-soft: #FFE6DF;
  --mint: #2FBF8A;
  --mint-soft: #DFF7EC;
  --sun: #FFC94D;
  --sun-soft: #FFF2CC;
  --sky: #5B8DEF;
  --sky-soft: #E3ECFD;
  --lilac: #EAE4FF;
  --peach-soft: #FFDEC2;
  --radius: 24px;
  --shadow: 0 24px 60px -24px rgba(27, 20, 16, 0.22), 0 2px 6px rgba(27, 20, 16, 0.04);
  --shadow-sm: 0 10px 30px -14px rgba(27, 20, 16, 0.2);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; }
h1 em, h2 em { font-style: italic; color: var(--coral); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--sun); color: var(--ink); }

/* ---------- ambient blobs ---------- */
.blob {
  position: fixed; z-index: -1; pointer-events: none;
  border-radius: 50%; filter: blur(80px); opacity: .7;
}
.blob-a { width: 60vw; height: 60vw; top: -25vw; right: -20vw; background: #FFD9CC; }
.blob-b { width: 45vw; height: 45vw; top: 55vh; left: -22vw; background: #FFF0B8; }
.blob-c { width: 40vw; height: 40vw; bottom: -20vw; right: 5vw; background: #D9F5E8; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 999px;
  font-weight: 600; letter-spacing: .01em;
  padding: 14px 24px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 8px 20px -10px rgba(27,20,16,.5);
}
.btn:hover { transform: translateY(-2px); background: #2A211B; box-shadow: 0 14px 28px -12px rgba(27,20,16,.5); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.btn-big { padding: 18px 30px; font-size: 1.08rem; }
.btn-cta {
  background: var(--coral); box-shadow: 0 16px 36px -14px rgba(255,90,60,.7);
}
.btn-cta:hover { background: #FF4A28; box-shadow: 0 22px 44px -14px rgba(255,90,60,.7); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .3em;
  padding: 18px 8px; font-weight: 600; color: var(--ink-2);
  border-bottom: 2px solid transparent; transition: color .18s, border-color .18s;
}
.btn-ghost:hover { color: var(--coral); border-color: var(--coral); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(255,248,240,.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.wordmark-text em { font-style: normal; color: var(--coral); }
.wordmark-badge {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--coral); color: #fff; font-size: 1.1rem;
  box-shadow: 0 6px 14px -6px rgba(255,90,60,.7);
}
.wordmark-badge.small { width: 30px; height: 30px; font-size: .9rem; border-radius: 9px; }
.nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--ink-2); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--coral); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-login { padding: 10px 12px; font-size: .95rem; border-bottom: 0; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 480px) { .nav-login { display: none; } }
@media (max-width: 480px) { .btn-small { padding: 9px 13px; font-size: .82rem; } }

/* ---------- shared section bits ---------- */
section { padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 64px); max-width: 1240px; margin: 0 auto; }
.kicker {
  font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px;
}
.section-title { font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 18ch; }
.section-sub { color: var(--ink-2); font-size: 1.15rem; max-width: 56ch; margin-top: 18px; }
.section-sub em { color: var(--ink); font-style: normal; font-weight: 600; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px);
  max-width: 1240px; margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6rem); margin-top: 26px; font-weight: 400; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); margin-top: 26px; max-width: 46ch; }
.lede strong {
  color: var(--ink); font-weight: 600;
  background: linear-gradient(transparent 62%, var(--sun) 62%);
  padding: 0 2px;
}
.lede-name { color: var(--coral); }
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero-proof {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; gap: 22px; flex-wrap: wrap;
  font-weight: 500; color: var(--ink-2); font-size: .95rem;
}

/* hero stage */
.hero-stage { position: relative; min-height: 560px; }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 6s ease-in-out infinite 1.2s; }
.float-c { animation: float 5s ease-in-out infinite .5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.browser {
  position: absolute; left: 0; top: 0; width: min(380px, 85%);
  background: var(--paper); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.browser-dots { display: inline-flex; gap: 5px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #E3D6CB; }
.browser-url {
  flex: 1; display: inline-flex; align-items: center;
  background: var(--paper); border-radius: 8px; padding: 6px 12px;
  font-size: .8rem; color: var(--muted); font-weight: 500;
}
.browser-url b { color: var(--coral); font-weight: 700; }
.caret { width: 2px; height: 1em; background: var(--coral); margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.browser-body { padding: 16px; }

.page-hero { display: flex; align-items: center; gap: 12px; }
.page-hero strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.page-hero small { color: var(--muted); font-size: .78rem; }
.avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--coral-soft); font-size: 1.3rem; flex-shrink: 0;
}
.service-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.pill {
  font-size: .72rem; font-weight: 600; padding: 6px 10px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid transparent;
}
.pill.on { background: var(--ink); color: #fff; }

.mini-card { background: var(--bg); border-radius: 16px; padding: 12px; border: 1px solid var(--line); }
.mini-cal-head { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--ink-2); padding: 0 4px 8px; }
.mini-weekdays, .mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mini-weekdays i { font-style: normal; font-size: .62rem; text-align: center; color: var(--muted); font-weight: 600; }
.mini-grid b, .mini-grid button {
  display: grid; place-items: center; aspect-ratio: 1;
  font-size: .7rem; font-weight: 500; border-radius: 8px;
  background: var(--paper); color: var(--ink); border: 0; padding: 0;
}
.mini-grid .off { background: transparent; }
.mini-grid .busy { background: transparent; color: #C9B8AA; text-decoration: line-through; }
.mini-grid .sel { background: var(--coral-soft); color: var(--ink); border-radius: 0; }
.mini-grid .sel-start { border-radius: 8px 0 0 8px; background: var(--coral); color: #fff; }
.mini-grid .sel-end { border-radius: 0 8px 8px 0; background: var(--coral); color: #fff; }
.mini-grid .sel-start.sel-end { border-radius: 8px; }
.mini-grid-live button:not(:disabled):hover { background: var(--sun-soft); }
.mini-range { text-align: center; font-size: .74rem; font-weight: 600; color: var(--ink-2); padding-top: 10px; }
.mini-btn {
  display: block; width: 100%; margin-top: 12px; text-align: center;
  background: var(--ink); color: #fff; border: 0; border-radius: 12px;
  padding: 12px; font-size: .85rem; font-weight: 600;
}
.mini-btn:disabled { opacity: .35; cursor: not-allowed; }
.shake { animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }

.tg-card {
  position: absolute; right: 0; bottom: 20px; width: min(320px, 78%);
  background: var(--paper); border-radius: 20px; padding: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.tg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tg-head strong { display: block; font-size: .9rem; }
.tg-head small { color: var(--sky); font-size: .72rem; font-weight: 600; }
.tg-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky-soft); }
.tg-bubble { background: var(--sky-soft); border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: .8rem; line-height: 1.5; color: var(--ink-2); }
.tg-bubble p + p { margin-top: 6px; }
.tg-bubble strong { color: var(--ink); }
.tg-stamp { font-weight: 700; margin-top: 8px !important; }
.tg-actions { display: flex; gap: 8px; margin-top: 10px; }
.tg-btn {
  flex: 1; text-align: center; font-size: .78rem; font-weight: 600;
  padding: 9px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  transition: background .15s;
}
button.tg-btn:hover { background: var(--sun-soft); }
.tg-followup { margin-top: 10px; }
.tg-followup pre {
  white-space: pre-wrap; font: inherit; margin: 6px 0 0;
  background: var(--paper); border-radius: 10px; padding: 8px 10px; cursor: pointer;
  border: 1px dashed var(--line);
}
.tg-demo.approved .tg-actions { opacity: .4; pointer-events: none; }
.demo-reset { margin-top: 10px; background: transparent; border: 0; color: var(--muted); font-size: .8rem; font-weight: 600; }
.demo-reset:hover { color: var(--coral); }

.sticker {
  position: absolute; left: 52%; top: -10px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sun); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  transform: rotate(-6deg); box-shadow: var(--shadow-sm);
}
.sticker b { font-weight: 800; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { min-height: 620px; margin-top: 20px; }
  .browser { width: min(360px, 88%); }
  .sticker { left: auto; right: 0; top: 0; }
}
@media (max-width: 520px) {
  .hero-stage { min-height: 720px; }
  .tg-card { width: 88%; bottom: 0; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--ink-2); white-space: nowrap; }
.marquee span::before { content: '🐾'; font-style: normal; margin-right: 14px; font-size: .9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: 44px; }
.service {
  position: relative; padding: 30px 26px 26px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
  overflow: hidden;
}
.service::after {
  content: ''; position: absolute; inset: auto -30% -40% auto; width: 60%; aspect-ratio: 1;
  border-radius: 50%; opacity: .9; z-index: 0;
}
.s-sit::after { background: var(--coral-soft); }
.s-board::after { background: var(--peach-soft); }
.s-walk::after { background: var(--sun-soft); }
.s-group::after { background: var(--mint-soft); }
.s-hike::after { background: var(--sky-soft); }
.s-daycare::after { background: var(--lilac); }
.service > * { position: relative; z-index: 1; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--bg); font-size: 1.7rem; }
.service h3 { font-size: 1.45rem; margin-top: 22px; }
.service p { color: var(--ink-2); margin-top: 12px; }
.service-tag {
  display: inline-block; margin-top: 20px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2);
}
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- fees ---------- */
.fees { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.fees .section-title { max-width: none; }
.fees-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; color: var(--ink-2); }
.fees-list li { padding-left: 32px; position: relative; }
.fees-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint-soft); color: var(--mint); font-weight: 800; font-size: .8rem;
}
.fees-list b { color: var(--ink); }

.calc {
  background: var(--ink); color: #fff; border-radius: 28px; padding: 32px;
  box-shadow: 0 40px 80px -40px rgba(27,20,16,.6);
}
.calc-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.calc-slider { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: end; margin-top: 24px; font-size: .9rem; color: rgba(255,255,255,.7); }
.calc-slider output { font-family: var(--serif); font-size: 1.8rem; color: var(--sun); font-weight: 600; }
.calc-slider input { grid-column: 1 / -1; width: 100%; accent-color: var(--sun); margin-top: 6px; }
.calc-rows { display: grid; gap: 10px; margin-top: 24px; }
.calc-row {
  display: flex; align-items: baseline; gap: 6px;
  padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06);
  font-size: .95rem;
}
.calc-row span { flex: 1; color: rgba(255,255,255,.75); }
.calc-row b { font-family: var(--serif); font-size: 1.5rem; }
.calc-row small { color: rgba(255,255,255,.5); }
.calc-row.rover b, .calc-row.wag b { color: #FF8A73; }
.calc-row.fb { background: rgba(47,191,138,.18); }
.calc-row.fb b { color: #7CE8B9; }
.calc-result { margin-top: 22px; font-size: 1.05rem; line-height: 1.5; }
.calc-result strong { color: var(--sun); font-family: var(--serif); font-size: 1.35rem; }
.calc-fine { margin-top: 14px; font-size: .74rem; color: rgba(255,255,255,.45); }
@media (max-width: 960px) { .fees { grid-template-columns: 1fr; } }

/* ---------- how ---------- */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.step-no {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--coral); color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.steps h3 { font-size: 1.45rem; margin-top: 20px; }
.steps p { color: var(--ink-2); margin-top: 10px; }
.steps b { color: var(--coral); font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- demo ---------- */
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 48px; }
.phone {
  width: min(380px, 100%); margin: 0 auto; background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow);
}
.phone-screen { background: var(--paper); border-radius: 34px; padding: 22px 16px 16px; min-height: 440px; }
.page-hero.compact { margin-bottom: 14px; }
.demo-row .tg-card { position: static; width: min(380px, 100%); margin: 0 auto; }
.mini-status { text-align: center; padding: 30px 8px; }
.mini-status-emoji { font-size: 3rem; }
.mini-status strong { display: block; font-family: var(--serif); font-size: 1.5rem; margin-top: 8px; }
.mini-status p { color: var(--ink-2); font-size: .9rem; margin-top: 8px; }
.mini-status-summary { margin-top: 14px; font-size: .8rem; font-weight: 600; background: var(--bg); border-radius: 10px; padding: 8px; }
.mini-link { background: transparent; border: 0; color: var(--coral); font-weight: 600; font-size: .85rem; margin-top: 14px; }
.demo-live { margin-top: 36px; color: var(--muted); text-align: center; }
.demo-live a { color: var(--coral); font-weight: 600; }
@media (max-width: 860px) { .demo-row { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature-ico { font-size: 1.6rem; }
.feature h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-top: 14px; letter-spacing: 0; }
.feature p { color: var(--ink-2); font-size: .95rem; margin-top: 8px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #FFE3D6 0%, #FFF3CF 55%, #DFF7EC 100%);
  border-radius: 36px; padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
}
.cta-card::before, .cta-card::after {
  content: '🐾'; position: absolute; font-size: 6rem; opacity: .12; pointer-events: none;
}
.cta-card::before { left: 4%; top: 10%; transform: rotate(-20deg); }
.cta-card::after { right: 4%; bottom: 6%; transform: rotate(15deg); }
.cta-url {
  display: inline-block; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink-2);
  background: rgba(255,255,255,.7); padding: 8px 18px; border-radius: 999px;
}
.cta-url b { color: var(--coral); font-style: normal; }
.cta-card h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-top: 22px; }
.cta-card > p:not(.cta-url):not(.fine-print) { font-size: 1.15rem; color: var(--ink-2); max-width: 52ch; margin: 18px auto 0; }
.cta-card .btn { margin-top: 34px; }
.fine-print { margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 48px 20px 64px; color: var(--muted); font-size: .9rem; display: grid; gap: 10px; justify-items: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 600; color: var(--ink-2); }
.footer-links a:hover { color: var(--coral); }
.footer-fine { font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c, .marquee-track, .caret { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- share / link previews ---------- */
.share { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.share-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--ink-2); font-weight: 500; }
.share-stage { position: relative; min-height: 640px; }

.chat {
  position: absolute; left: 0; top: 0; width: min(330px, 58%);
  background: var(--paper); border-radius: 30px; padding: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-size: .9rem; }
.chat-head small { color: var(--muted); font-size: .72rem; }
.chat-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--coral-soft); }
.chat-body { display: grid; gap: 8px; padding-top: 14px; }
.msg { max-width: 86%; padding: 9px 13px; border-radius: 18px; font-size: .84rem; line-height: 1.4; }
.msg.them { background: var(--bg-2); color: var(--ink); border-bottom-left-radius: 6px; justify-self: start; }
.msg.me { background: var(--sky); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.msg.link { padding: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); max-width: 92%; }
.msg-status { justify-self: end; font-size: .68rem; color: var(--muted); padding-right: 6px; }

.unfurl-img {
  position: relative; height: 110px;
  background: linear-gradient(135deg, #FFD9CC, #FFF0B8 60%, #D9F5E8);
  display: grid; place-items: center;
}
.unfurl-emoji { font-size: 3rem; filter: drop-shadow(0 6px 10px rgba(27,20,16,.15)); }
.unfurl-chip {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  font-size: .66rem; font-weight: 600; padding: 4px 8px; border-radius: 999px; color: var(--ink-2);
}
.unfurl-meta { display: grid; gap: 3px; padding: 10px 12px 12px; }
.unfurl-meta strong { font-size: .86rem; color: var(--ink); }
.unfurl-meta span { font-size: .76rem; color: var(--ink-2); }
.unfurl-meta small { font-size: .7rem; color: var(--muted); margin-top: 3px; }

.ig {
  position: absolute; right: 0; bottom: 0; width: min(260px, 40%);
  background: var(--paper); border-radius: 24px; padding: 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.ig-head { display: flex; align-items: center; gap: 16px; }
.ig-ring { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; padding: 3px;
  background: linear-gradient(45deg, #F9CE34, #EE2A7B, #6228D7); }
.ig-avatar { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--paper); font-size: 1.7rem; border: 2px solid #fff; }
.ig-stats { display: grid; grid-template-columns: auto auto; gap: 0 16px; text-align: center; }
.ig-stats b { font-size: 1rem; }
.ig-stats small { grid-row: 2; font-size: .68rem; color: var(--muted); }
.ig-bio { display: grid; gap: 3px; margin-top: 14px; font-size: .8rem; }
.ig-bio strong { font-size: .86rem; }
.ig-bio span { color: var(--ink-2); }
.ig-link { color: var(--sky); font-weight: 600; }
.ig-btn { margin-top: 14px; background: var(--sky); color: #fff; text-align: center; font-weight: 600; font-size: .82rem; padding: 9px; border-radius: 10px; }

.share-sticker { left: auto; right: 4%; top: 6%; background: var(--mint-soft); color: var(--mint); transform: rotate(5deg); }

@media (max-width: 960px) {
  .share { grid-template-columns: 1fr; }
  .share-stage { min-height: 700px; }
  .ig { bottom: 0; }
}
/* Phones: the two cards stop overlapping side by side. The Instagram card is
   an avatar plus a two-column stats grid — about 210px of content that will
   not fit in 40% of a phone-wide stage, so it spilled past the screen edge.
   In flow they each get a real width, and a negative margin keeps the collage
   look by letting the profile card sit on the chat's bottom corner. */
@media (max-width: 640px) {
  .share-stage { min-height: 0; display: grid; justify-items: center; }
  .chat { position: static; width: min(330px, 100%); }
  .ig { position: static; width: min(260px, 84%); justify-self: end; margin-top: -12px; }
  .share-sticker { top: -14px; right: 0; }
}
