/* 4PetsGo — website, palette v6 of the app (forest, mint gradients, cream, gold spark). */
:root {
  --forest: #24573a;
  --forest-deep: #1a4029;
  --forest-ink: #12301f;
  --leaf: #3e7a50;
  --mint-1: #e4f3de;
  --mint-2: #cfe7c6;
  --mint-3: #a9d2a1;
  --mint-4: #8cbe86;
  --mint-soft: #eaf4e6;
  --cream: #fef7ea;
  --gold: #efa43a;
  --gold-soft: #fff1da;
  --ink: #14231a;
  --muted: #5e6b62;
  --line: #e3e8e1;
  --bg: #f8faf6;
  --card: #ffffff;
  --mist: #e9e7e1;
  --blue: #2f80ed;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(18, 48, 31, 0.14);
  --shadow-soft: 0 8px 22px rgba(18, 48, 31, 0.08);
  --gutter: clamp(16px, 4vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0.02em; color: var(--forest); background: rgba(255, 255, 255, 0.7); padding: 6px 12px; border-radius: 999px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow-x: clip; }
html, body { overflow-x: clip; }
.section h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 650; font-size: 16px; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s; cursor: pointer; border: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 0.85; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #3a7a52, var(--forest) 55%, var(--forest-deep)); box-shadow: 0 10px 24px rgba(26, 64, 41, 0.3); }
.btn-ghost { color: var(--forest-deep); background: rgba(255, 255, 255, 0.75); box-shadow: var(--shadow-soft); }
/* Google sign-in button (Google's own look: white, multicolour G). */
.btn-google { color: #1f1f1f; background: #fff; border: 1px solid #dadce0; box-shadow: 0 6px 16px rgba(18, 48, 31, 0.12); }
.btn-google .g { width: 20px; height: 20px; }
.hero-auth { margin-top: 12px; }
.nav-mobile { display: none; white-space: nowrap; font-weight: 650; text-decoration: none; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 14px; background: #0c0c0c; color: #fff; text-decoration: none; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; opacity: 0.8; line-height: 1.1; }
.store strong { display: block; font-size: 17px; line-height: 1.15; }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s; }
.nav.scrolled { background: rgba(248, 250, 246, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; color: var(--forest-deep); }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-soft); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); opacity: 0.82; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
/* Language: a globe button with a small menu (founder's request, 02/12/2026), instead of the FR / PT switch. */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 999px; cursor: pointer; color: var(--forest-deep); background: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-soft); font-weight: 700; font-size: 13px; user-select: none; transition: background 0.2s; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: #fff; }
.lang-menu summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.lang-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 176px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(18, 48, 31, 0.18), 0 0 0 1px var(--line); animation: langIn 0.18s ease-out; }
.lang-panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.lang-panel a:hover { background: #f2f6f1; }
.lang-panel a[aria-current="true"] { color: var(--forest-deep); }
.lang-panel a[aria-current="true"] i { width: 8px; height: 14px; margin-right: 4px; border: solid var(--forest); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px); }
@keyframes langIn { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lang-panel { animation: none; } }
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  /* Phone: the header becomes a floating frosted capsule, never a band over the hero (founder's request, 02/12/2026). */
  .nav, .nav.scrolled { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: max(10px, env(safe-area-inset-top)) 12px 0; }
  .nav .container { height: 56px; padding: 0 8px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.84); backdrop-filter: saturate(170%) blur(20px); -webkit-backdrop-filter: saturate(170%) blur(18px); box-shadow: 0 10px 30px rgba(18, 48, 31, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.7) inset; gap: 8px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: none; }
  .nav-right { gap: 6px; }
  .lang-menu summary { height: 40px; width: 40px; padding: 0; justify-content: center; background: transparent; box-shadow: none; }
  .lang-menu summary:hover, .lang-menu[open] summary { background: rgba(36, 87, 58, 0.08); }
  .lang-code { display: none; }
  .nav-mobile { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--forest), var(--forest-deep)); box-shadow: 0 6px 14px rgba(36, 87, 58, 0.28); font-size: 14px; }
}
@media (max-width: 360px) { .brand span, .nav-mobile svg { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 120px 0 0; background: linear-gradient(180deg, var(--mint-1) 0%, var(--mint-2) 45%, var(--mint-3) 100%); overflow-x: clip; overflow-y: visible; position: relative; }
.hero .container > div:first-child { position: relative; z-index: 2; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-logo-wrap { position: relative; width: clamp(150px, 20vw, 220px); margin-bottom: 18px; }
.hero-logo { width: 100%; animation: hop 7s ease-in-out 2.4s infinite; transform-origin: 50% 100%; }
.hero h1 { font-size: clamp(38px, 5.8vw, 68px); line-height: 1.02; color: var(--forest-ink); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--forest) 0%, var(--leaf) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 18px 0 28px; color: #2a4534; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 14px; font-weight: 600; color: #2a4534; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-visual { position: relative; display: flex; justify-content: center; padding-bottom: 0; }
/* The big soft circle is never cut: it carries on into the next section, where it becomes the cloud the plane flies into. */
.hero-arc { position: absolute; left: 50%; bottom: -60%; width: 170%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 76%, rgba(255, 255, 255, 0.32) 92%, rgba(255, 255, 255, 0) 100%); }
@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-logo-wrap { margin: 0 auto 14px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
}

/* Paw prints walking diagonally above the logo, on its left (as on the app's entry screen) */
.paw-trail { position: absolute; left: -38%; top: -26%; width: 90%; height: 90%; pointer-events: none; }
.paw-trail i { position: absolute; width: 18%; aspect-ratio: 1; opacity: 0; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FEF7EA'%3E%3Cellipse cx='6' cy='9' rx='2.2' ry='2.8'/%3E%3Cellipse cx='10' cy='5.5' rx='2.2' ry='2.8'/%3E%3Cellipse cx='14' cy='5.5' rx='2.2' ry='2.8'/%3E%3Cellipse cx='18' cy='9' rx='2.2' ry='2.8'/%3E%3Cpath d='M12 11c-3.5 0-6.5 4-6.5 6.6C5.5 19.6 7 21 9 21c1.2 0 2-.6 3-.6s1.8.6 3 .6c2 0 3.5-1.4 3.5-3.4C18.5 15 15.5 11 12 11z'/%3E%3C/svg%3E"); transform: rotate(45deg); animation: paw 7s linear infinite; }
.paw-trail i:nth-child(1) { left: 6%; top: 78%; animation-delay: 0s; }
.paw-trail i:nth-child(2) { left: 22%; top: 70%; animation-delay: 0.45s; }
.paw-trail i:nth-child(3) { left: 24%; top: 50%; animation-delay: 0.9s; }
.paw-trail i:nth-child(4) { left: 40%; top: 42%; animation-delay: 1.35s; }
.paw-trail i:nth-child(5) { left: 42%; top: 22%; animation-delay: 1.8s; }
.paw-trail i:nth-child(6) { left: 58%; top: 14%; animation-delay: 2.25s; }
@keyframes paw { 0% { opacity: 0; transform: rotate(45deg) scale(0.6); } 3% { opacity: 0.95; transform: rotate(45deg) scale(1); } 22% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hop { 0%, 78%, 100% { transform: translateY(0) scale(1, 1); } 81% { transform: translateY(0) scale(1.05, 0.93); } 85% { transform: translateY(-14px) scale(0.98, 1.03); } 89% { transform: translateY(0) scale(1.06, 0.93); } 92% { transform: rotate(-2deg); } 95% { transform: rotate(2deg); } }

/* ---------- Phone frame: iPhone 18 Pro (founder's request, 02/12/2026) ----------
   6.3" screen of 402 × 874 pt with 55 pt corners, thin black border, metal band with its buttons (Action, volume,
   side button, Camera Control) and the smaller Dynamic Island of the 18 Pro (about 15 mm wide instead of 20 mm on
   the 17 Pro). Every size is a share of the phone width, so the frame keeps its proportions at any size. */
.phone { --w: min(300px, 72vw); --band: calc(var(--w) * 0.011); --bezel: calc(var(--w) * 0.026); position: relative; width: var(--w); padding: var(--band); border-radius: calc(var(--w) * 0.168); background: linear-gradient(135deg, #e3e6e3 0%, #858b87 16%, #d2d6d2 32%, #646966 50%, #c3c7c3 68%, #737874 84%, #e6e8e6 100%); box-shadow: 0 40px 80px rgba(18, 48, 31, 0.3), 0 8px 18px rgba(18, 48, 31, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.4); z-index: 2; }
/* Buttons: Action, volume up and down on the left; side button and Camera Control on the right. */
.phone::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--band) * -1.5); right: calc(var(--band) * -1.5); z-index: -1; pointer-events: none;
  --metal: linear-gradient(90deg, #6d726e, #d7dbd7 45%, #8a8f8b);
  background:
    var(--metal) left 0 top 17.5% / calc(var(--band) * 2) 5% no-repeat,
    var(--metal) left 0 top 25.5% / calc(var(--band) * 2) 9% no-repeat,
    var(--metal) left 0 top 36.5% / calc(var(--band) * 2) 9% no-repeat,
    var(--metal) right 0 top 27% / calc(var(--band) * 2) 14% no-repeat,
    linear-gradient(90deg, #5a5f5b, #a9aea9 50%, #5a5f5b) right 0 top 63% / calc(var(--band) * 2) 7.5% no-repeat; }
/* The screen keeps the 18 Pro proportions; the app screenshots (390 × 844) fill it without visible cropping. */
.phone .screen { box-sizing: border-box; width: 100%; aspect-ratio: 402 / 874; border: var(--bezel) solid #050606; border-radius: calc(var(--w) * 0.157); overflow: hidden; background: #fff; position: relative; }
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; }
/* Dynamic Island of the iPhone 18 Pro: about 23 % of the screen width, 37 pt high, 11 pt from the top. */
.phone .screen::after { content: ""; position: absolute; top: 2.75cqw; left: 50%; transform: translateX(-50%); width: 23.5cqw; height: 9.2cqw; border-radius: 999px; background: #030404; box-shadow: inset 0 0 0 0.4cqw #0b0d0c; z-index: 3; }
/* Home indicator at the bottom of the screen. */
.phone .screen::before { content: ""; position: absolute; bottom: 2.1cqw; left: 50%; transform: translateX(-50%); width: 34cqw; height: 1.25cqw; border-radius: 999px; background: rgba(17, 17, 17, 0.88); z-index: 5; pointer-events: none; }
.phone.tilt-left, .phone.tilt-right { transform: none; }

/* Happy pets bubbles around the hero phone */
.bubble { position: absolute; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow); z-index: 3; animation: sway 5s ease-in-out infinite; }
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.bubble.b1 { width: clamp(78px, 9vw, 110px); left: 2%; top: 22%; animation-delay: 0.3s; }
.bubble.b2 { width: clamp(92px, 11vw, 132px); right: 0; top: 8%; animation-delay: 1s; }
.bubble.b3 { width: clamp(78px, 9vw, 110px); right: 4%; bottom: 18%; animation-delay: 1.7s; }
.say { position: absolute; right: 3%; top: 3%; z-index: 4; background: #fff; border-radius: 14px; padding: 6px 12px; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-soft); animation: sway 5s ease-in-out 1s infinite; }
.float-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.float-chip .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--forest); }
.float-chip img { width: 24px; height: 24px; }
.chip-a { left: -2%; bottom: 30%; }
.chip-b { left: 8%; bottom: 8%; animation-delay: 1.5s; }
@keyframes sway { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .chip-a { left: 0; } .bubble.b1 { left: 0; } }

/* ---------- Pain ---------- */
.pain { background: linear-gradient(180deg, var(--mint-3) 0%, #d3ddcf 14%, var(--mist) 100%); }
.pain .container { text-align: center; position: relative; z-index: 2; }
.pain h2 { color: var(--forest-ink); }
.pain .lead { margin: 14px auto 0; }
.pain-stage { position: relative; margin: 52px auto 0; max-width: 900px; min-height: 420px; }
/* The plane: light and translucent so the text it passes behind stays readable; landing.js moves it along a curve
   (GPU transform only, tangent heading, eased speed) and it fades into the hero circle. */
.flight { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 0; }
.plane { position: absolute; left: 0; top: 0; width: clamp(68px, 7.2vw, 112px); height: auto; color: #fffdf6; opacity: 0;
  filter: drop-shadow(0 14px 18px rgba(18, 48, 31, 0.16)) drop-shadow(0 2px 3px rgba(18, 48, 31, 0.12)); will-change: transform, opacity; }
.pain-dog { position: relative; width: 170px; height: 170px; margin: 0 auto; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow); overflow: visible; }
.pain-dog img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pain-dog .q { position: absolute; left: -8px; top: -6px; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 800; font-size: 22px; display: grid; place-items: center; animation: wobble 2.4s ease-in-out infinite; }
.pain-dog .bag { position: absolute; right: -6px; bottom: 8px; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-soft); }
@keyframes wobble { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg) scale(1.06); } }
.worries { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 40px; text-align: left; }
.worry { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-soft); font-weight: 650; opacity: 0; transform: translateX(-30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.worry:nth-child(even) { transform: translateX(30px); }
.worry .ic { flex: none; width: 38px; height: 38px; border-radius: 12px; background: #fdecec; color: #c8102e; display: grid; place-items: center; }
.in .worry { opacity: 1; transform: none; }
.in .worry:nth-child(2) { transition-delay: 0.35s; }
.in .worry:nth-child(3) { transition-delay: 0.7s; }
.in .worry:nth-child(4) { transition-delay: 1.05s; }
.pain-answer { margin-top: 48px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 750; color: var(--forest); }
@media (max-width: 700px) { .worries { grid-template-columns: 1fr; } }

/* ---------- Feature rows ---------- */
.feature { overflow: hidden; }
.feature.sage { background: linear-gradient(180deg, var(--mist) 0%, #dfeadb 30%, var(--mint-2) 100%); }
.feature.cream { background: linear-gradient(180deg, var(--mint-2) 0%, #f3f6ea 40%, var(--cream) 100%); }
.feature.mint { background: linear-gradient(180deg, var(--cream) 0%, var(--mint-soft) 60%, #ddeed6 100%); }
.feature .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.reverse .copy { order: 2; }
.feature .copy h2 { color: var(--forest-ink); margin: 14px 0 16px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--forest) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
@media (max-width: 900px) {
  .feature .container { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .copy { order: 0; }
  .visual { min-height: 440px; }
}

/* Scene: map with pins (trust) */
.mapcard { position: absolute; left: -2%; bottom: 6%; width: min(300px, 64vw); aspect-ratio: 1.1; border-radius: 24px; background: #eef1e8; box-shadow: var(--shadow); overflow: hidden; z-index: 3; }
.mapcard .road { position: absolute; background: #fff; }
.mapcard .r1 { left: 0; right: 0; top: 38%; height: 9px; }
.mapcard .r2 { top: 0; bottom: 0; left: 56%; width: 9px; }
.mapcard .r3 { left: 0; right: 0; top: 74%; height: 7px; }
.mapcard .park { position: absolute; left: 8%; top: 50%; width: 30%; height: 18%; border-radius: 12px; background: #d3e8cb; }
.me { position: absolute; left: 47%; top: 52%; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(47, 128, 237, 0.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(47, 128, 237, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 128, 237, 0); } }
.pin { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow-soft); overflow: hidden; opacity: 0; transform: translateY(-40px); }
.pin img { width: 100%; height: 100%; object-fit: cover; }
.pin.p1 { left: 14%; top: 12%; }
.pin.p2 { left: 64%; top: 8%; }
.pin.p3 { left: 70%; top: 56%; }
.in .pin { animation: drop 0.7s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; }
.in .pin.p2 { animation-delay: 0.25s; }
.in .pin.p3 { animation-delay: 0.5s; }
@keyframes drop { to { opacity: 1; transform: none; } }
.verified { position: absolute; right: -4%; top: 16%; z-index: 4; }

/* Scene: negotiation (price) */
.offers { position: absolute; left: -4%; bottom: 10%; z-index: 3; display: grid; gap: 12px; width: min(280px, 66vw); }
.offer { background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 650; }
.offer small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.offer strong { font-size: 24px; letter-spacing: -0.02em; }
.offer.o1 { transform: translateX(-30px); opacity: 0; }
.offer.o2 { transform: translateX(30px); opacity: 0; justify-self: end; }
.deal { justify-self: center; display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 12px 20px; border-radius: 999px; background: linear-gradient(135deg, #3a7a52, var(--forest-deep)); box-shadow: 0 12px 26px rgba(26, 64, 41, 0.35); font-weight: 750; opacity: 0; transform: scale(0.6); }
.in .o1 { animation: slideIn 0.7s ease 0.1s forwards; }
.in .o2 { animation: slideIn 0.7s ease 0.6s forwards; }
.in .deal { animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 1.3s forwards; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
.coins { position: absolute; left: 30%; bottom: 8%; z-index: 4; pointer-events: none; }
.coins img { position: absolute; width: 30px; opacity: 0; }
.in .coins img { animation: coin 2.6s ease-out 1.8s infinite; }
.in .coins img:nth-child(2) { animation-delay: 2.1s; left: 26px; }
.in .coins img:nth-child(3) { animation-delay: 2.4s; left: -22px; }
@keyframes coin { 0% { opacity: 0; transform: translateY(0) scale(0.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-120px) scale(1); } }

/* Scene: chat (news) */
.chat-screen { background: #eeebe2; height: 100%; display: flex; flex-direction: column; font-size: 12.5px; }
.chat-head { background: #fff; padding: 13% 14px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chat-head b { display: block; font-size: 14px; }
.chat-head small { color: var(--muted); }
.chat-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.msg { max-width: 82%; padding: 8px 10px; border-radius: 14px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); opacity: 0; transform: translateY(10px); }
.msg.own { align-self: flex-end; background: #d9f0cf; }
.msg.sys { align-self: center; background: rgba(255, 255, 255, 0.75); color: var(--muted); font-size: 11.5px; border-radius: 999px; }
.msg.photo { padding: 4px; }
.msg.photo img { border-radius: 10px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fnu { align-self: stretch; background: #fff; border: 2px solid var(--leaf); border-radius: 16px; padding: 10px 12px; position: relative; opacity: 0; transform: translateY(10px); }
.fnu b { display: block; font-size: 13.5px; }
.fnu .reward { position: absolute; right: 10px; top: 8px; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--forest); }
.fnu .reward img { width: 18px; }
.fnu p { margin-top: 6px; color: var(--ink); }
.in .msg, .in .fnu { animation: slideIn 0.5s ease forwards; }
.in .chat-body > *:nth-child(2) { animation-delay: 0.5s; }
.in .chat-body > *:nth-child(3) { animation-delay: 1s; }
.in .chat-body > *:nth-child(4) { animation-delay: 1.5s; }
.in .chat-body > *:nth-child(5) { animation-delay: 2s; }
.chat-bar { background: #fff; padding: 8px 10px 18px; display: flex; gap: 8px; align-items: center; }
.chat-bar span { flex: 1; background: #f1f4ef; border-radius: 999px; padding: 8px 12px; color: #8e978f; }
.chat-bar i { width: 32px; height: 32px; border-radius: 50%; background: var(--forest); }
.hearts { position: absolute; right: 8%; top: 30%; z-index: 4; pointer-events: none; }
.hearts span { position: absolute; color: var(--gold); font-size: 24px; opacity: 0; }
.in .hearts span { animation: heart 3s ease-out infinite; }
.in .hearts span:nth-child(2) { animation-delay: 1s; left: 20px; }
.in .hearts span:nth-child(3) { animation-delay: 2s; left: -16px; }
@keyframes heart { 0% { opacity: 0; transform: translateY(0) scale(0.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-110px) scale(1.2); } }
.points-chip { position: absolute; left: -2%; top: 18%; z-index: 4; }

/* ---------- How it works ---------- */
.how { background: #fff; }
.how .head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.how .head .lead { margin: 14px auto 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-soft); position: relative; }
.step .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3a7a52, var(--forest-deep)); margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.services { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.service { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--mint-soft); color: var(--forest-deep); font-weight: 700; }
.service svg { width: 20px; height: 20px; }

/* ---------- Sitters ---------- */
.sitters { background: radial-gradient(120% 80% at 80% 0%, #2f6b45 0%, var(--forest-deep) 45%, var(--forest-ink) 100%); color: #f1f6ef; overflow: hidden; }
.sitters .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sitters h2 { color: #fff; margin: 14px 0 16px; }
.sitters .lead { color: #c8dcc9; }
.sitters .eyebrow { background: rgba(255, 255, 255, 0.12); color: #cfe7c6; }
.sitters .ticks li::before { background-color: var(--gold); }
.sitter-photo { position: relative; justify-self: center; width: min(420px, 86vw); }
.sitter-photo > img { border-radius: 28px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.levels { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); display: flex; gap: 10px; background: #fff; border-radius: 20px; padding: 12px 14px; box-shadow: var(--shadow); color: var(--ink); }
.levels figure { margin: 0; text-align: center; width: 62px; }
.levels img { width: 40px; margin: 0 auto 4px; }
.levels figcaption { font-size: 11px; font-weight: 700; }
.levels small { display: block; color: var(--forest); font-weight: 800; font-size: 11px; }
.coin-row { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
.coin-row img { width: 40px; }
@media (max-width: 900px) { .sitters .container { grid-template-columns: 1fr; } .sitter-photo { margin-bottom: 40px; } }
@media (max-width: 420px) { .levels { gap: 4px; padding: 10px 8px; } .levels figure { width: 52px; } .levels img { width: 32px; } }

/* ---------- Safety ---------- */
.safety { background: var(--bg); }
.safety .head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.safety .head .lead { margin: 14px auto 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-soft); }
.tile .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--mint-soft); color: var(--forest); display: grid; place-items: center; margin-bottom: 14px; }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { font-size: 18px; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq .container { max-width: 820px; }
.faq h2 { text-align: center; margin-bottom: 36px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; margin-bottom: 12px; background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--forest); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ---------- Final CTA ---------- */
.final { background: linear-gradient(180deg, var(--mint-1) 0%, var(--mint-2) 50%, var(--mint-3) 100%); text-align: center; overflow: hidden; }
.final img.logo { width: 150px; margin: 0 auto 20px; }
.final h2 { color: var(--forest-ink); }
.final .lead { margin: 14px auto 28px; }
.final .hero-cta { justify-content: center; }
.final .pets { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.final .pets img { width: clamp(70px, 10vw, 104px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: var(--shadow); animation: sway 5s ease-in-out infinite; }
.final .pets img:nth-child(2) { animation-delay: 0.8s; transform: translateY(-12px); }
.final .pets img:nth-child(3) { animation-delay: 1.6s; }

/* ---------- Footer ---------- */
footer.site { background: var(--forest-ink); color: #b9c9bc; padding: 48px 0 40px; font-size: 14px; }
footer.site .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
footer.site .brand { color: #fff; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.site a { color: #dbe8dd; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .legal { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px; line-height: 1.7; }

/* ---------- Reveal on scroll ---------- */
/* Premium motion: long, decelerating ease-out (expo) with a whisper of blur and scale, like iOS. */
.reveal { opacity: 0; transform: translate3d(0, 32px, 0) scale(0.985); filter: blur(6px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .worry, .pin, .offer, .deal, .msg, .fnu { opacity: 1 !important; transform: none !important; filter: none !important; }
  .paw-trail i, .coins img, .hearts span, .flight { display: none; }
}

/* Clock of the phone mock-ups: Inter SemiBold, the closest open font to the iPhone's SF Pro, cut to digits and ":"
   (2 KB, SIL Open Font License, see img/CREDITS.md), the same on every computer. */
@font-face { font-family: "Inter Clock"; src: url("/fonts/inter-clock.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* Status bar of the phone mock-ups: the visitor's own time, live (founder's request, 02/12/2026). The screenshots
   keep their signal, Wi-Fi and battery icons; their baked "9:41" was removed. */
.phone .screen { container-type: inline-size; }
.sb-time { position: absolute; z-index: 4; left: 8.9cqw; top: 6.3cqw; transform: translateY(-50%); font: 600 4.55cqw/1 "Inter Clock", -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: -0.03em; color: #111; pointer-events: none; }
/* iPhone's clock (SF Pro): the colon sits centred on the digits, close to them. */
.sb-time .colon { position: relative; top: -0.085em; margin: 0 -0.01em; }
.phone .screen > img.sb-icons { position: absolute; z-index: 4; right: 6.4cqw; top: 6.4cqw; transform: translateY(-50%); width: 23.7cqw; height: auto; object-fit: contain; pointer-events: none; }
