/* Snappet marketing site — tokens mirror app/src/constants/theme.ts */
:root {
  --primary: #2F5D50; --primary-light: #DCEBE3; --primary-dark: #24493F;
  --accent: #F5893B; --accent-light: #FDEBDD;
  --bg: #F6F6F1; --surface: #FFFFFF; --surface-variant: #EEF0EA;
  --text: #1E2A24; --text-2: #6B7570; --text-3: #9AA39E; --border: #E4E7E0;
  --success: #3E8E5A; --success-light: #E3F1E7;
  --food: #F5893B; --food-l: #FDEBDD; --water: #3D8BEA; --water-l: #E3EEFB;
  --toilet: #4F9A5E; --toilet-l: #E6F2E7; --walk: #8B5CF6; --walk-l: #EFE9FB;
  --dark: #1F3A32;
  --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-xxl: 28px;
  --shadow: 0 8px 24px rgba(31,58,50,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: "Nunito", system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0; }
.muted { color: var(--text-2); }
.wrap { width: 100%; max-width: 1160px; padding-inline: 20px; margin-inline: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: var(--r-md); font-weight: 800; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: var(--surface); border-color: var(--border); color: var(--primary); }
.btn-outline:hover { border-color: var(--primary); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--success-light); color: var(--success); }
.badge-accent { background: var(--accent-light); color: var(--accent); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246,246,241,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 24px; align-items: center; font-weight: 700; font-size: 15px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.lang { border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; color: var(--text-2) !important; }
.lang:hover { border-color: var(--primary); color: var(--primary) !important; }
@media (max-width: 760px) { .nav-links .hide-m { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 19px; color: var(--text-2); margin: 18px 0 28px; max-width: 520px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .hero .cta .btn { flex: 1 1 100%; justify-content: center; } }
.store-note { margin-top: 14px; font-size: 13px; color: var(--text-3); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Phone mockup (reproduces app/(tabs)/index.tsx) */
.phone { width: min(330px, 100%); margin-inline: auto; background: var(--dark); border-radius: 46px; padding: 12px; box-shadow: 0 30px 60px rgba(31,58,50,.25); }
.screen { background: var(--bg); border-radius: 36px; padding: 18px 14px 0; height: 640px; overflow: hidden; position: relative; }
.notch { width: 110px; height: 28px; background: var(--dark); border-radius: 0 0 18px 18px; margin: -18px auto 12px; }
.greet { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.pets { display: flex; gap: 10px; margin-bottom: 14px; }
.pet { width: 60px; text-align: center; font-size: 10px; font-weight: 700; color: var(--text-2); }
.pet .av { width: 48px; height: 48px; border-radius: 14px; margin: 0 auto 4px; display: grid; place-items: center; font-size: 24px; background: var(--food-l); }
.pet.sel .av { outline: 2.5px solid var(--primary); outline-offset: -2.5px; }
.pet.sel { color: var(--text); font-weight: 800; }
.pet .av.cat { background: var(--walk-l); } .pet .av.add { background: var(--surface); border: 1.5px dashed var(--border); color: var(--text-2); font-size: 20px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.tile { border-radius: var(--r-lg); min-height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 800; }
.tile .ic { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 17px; }
.t-food { background: var(--food-l); } .t-water { background: var(--water-l); } .t-toilet { background: var(--toilet-l); } .t-walk { background: var(--walk-l); }
.sec-h { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.sec-h span { color: var(--text-3); font-weight: 400; font-size: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 12px; }
.row:last-child { border-bottom: 0; }
.row .ib { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; flex: none; }
.row .tx { flex: 1; min-width: 0; } .row .tx b { font-weight: 800; } .row .tx small { display: block; color: var(--text-2); font-size: 11px; }
.row .tm { color: var(--text-3); font-weight: 700; font-size: 11px; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--border); display: flex; justify-content: space-around; padding: 10px 0 18px; font-size: 9px; font-weight: 700; color: var(--text-3); }
.tabbar div { text-align: center; } .tabbar .on { color: var(--primary); } .tabbar i { display: block; font-style: normal; font-size: 16px; margin-bottom: 2px; }

/* Sections */
section { padding: 72px 0; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-title p { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; background: var(--primary-light); }
.feature p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.steps { counter-reset: s; }
.step { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--border); }
.step:last-child { border-bottom: 1px solid var(--border); }
.step::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.step p { color: var(--text-2); margin-top: 4px; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.widget { width: min(300px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); }
.widget.dark { background: var(--dark); color: #fff; border-color: transparent; }
.widget .head { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.widget .head .av { width: 44px; height: 44px; border-radius: 50%; background: var(--food-l); display: grid; place-items: center; font-size: 24px; }
.widget .head small { display: block; color: var(--text-2); font-size: 12px; } .widget.dark .head small { color: #B8C7C0; }
.widget .head b { font-size: 16px; }
.widget .acts { display: flex; gap: 10px; }
.widget .acts div { text-align: center; font-size: 11px; font-weight: 700; color: var(--text-2); } .widget.dark .acts div { color: #B8C7C0; }
.widget .acts span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 4px; font-size: 20px; }
.widget.dark .acts span { background: #2A4A41; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: 26px; }
.plan.sel { border-color: var(--primary); background: var(--primary-light); }
.plan .price { font-size: 32px; font-weight: 800; margin: 10px 0 4px; }
.plan ul { padding-left: 18px; margin: 16px 0 0; color: var(--text-2); font-size: 15px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 10px; color: var(--text-2); }
footer { padding: 40px 0 48px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 0 80px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .meta { color: var(--text-3); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 20px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--surface-variant); font-weight: 800; }
.legal .toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 20px 16px 36px; margin-bottom: 24px; }
.legal .toc li { margin-bottom: 4px; }
.callout { background: var(--accent-light); border-radius: var(--r-md); padding: 14px 16px; font-size: 15px; color: var(--text); margin: 16px 0; }

/* Store badges */
.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stores a { display: inline-block; height: 56px; opacity: .95; transition: opacity .15s, transform .15s; }
.stores a:hover { opacity: 1; transform: translateY(-1px); text-decoration: none; }
.stores img, .stores svg { height: 56px; width: auto; }
.stores .soon { position: relative; }
.stores .soon::after { content: attr(data-soon); position: absolute; top: -10px; right: -6px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }

/* Hero decoration */
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 6% -8% 10% -8%; background: radial-gradient(60% 55% at 30% 30%, var(--primary-light) 0, transparent 70%), radial-gradient(45% 45% at 80% 75%, var(--accent-light) 0, transparent 70%); border-radius: 50%; z-index: 0; }
.hero-art .phone { position: relative; z-index: 1; }
.float { position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px 12px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.float small { display: block; font-weight: 400; color: var(--text-2); font-size: 11px; }
.float .ib { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; }
.float.f1 { left: -8%; top: 18%; animation: bob 5s ease-in-out infinite; }
.float.f2 { right: -10%; top: 46%; animation: bob 6s ease-in-out 1s infinite; }
.float.f3 { left: -4%; bottom: 14%; animation: bob 5.5s ease-in-out .5s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 860px) { .float { display: none; } }

/* Screens gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }
.shot { text-align: center; }
.shot .phone { width: min(280px, 100%); padding: 10px; border-radius: 38px; }
.shot .screen { height: 520px; border-radius: 30px; padding: 16px 12px 0; }
.shot .notch { width: 90px; height: 24px; margin: -16px auto 10px; }
.shot h3 { margin-top: 18px; } .shot p { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.scr-title { font-size: 18px; font-weight: 800; text-align: left; margin-bottom: 10px; }
.chips { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.chipx { font-size: 10px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.chipx.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.vrow { display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 11px; align-items: flex-start; }
.vrow:last-child { border-bottom: 0; }
.vrow .ib { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 15px; flex: none; }
.vrow .tx { flex: 1; min-width: 0; } .vrow .tx b { display: block; font-size: 12px; } .vrow .tx small { color: var(--text-2); }
.pill { font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--success-light); color: var(--success); flex: none; }
.pill.warn { background: #FDF0D8; color: #B7791F; }
.banner { height: 84px; border-radius: 14px 14px 0 0; background: var(--primary-light); display: grid; place-items: center; font-size: 38px; }
.hh { padding: 10px 12px; text-align: left; } .hh b { font-size: 14px; display: block; } .hh small { color: var(--text-2); font-size: 11px; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 12px; text-align: left; }
.mrow:last-child { border-bottom: 0; }
.mrow .av { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.mrow small { display: block; color: var(--text-2); font-size: 10px; }
.rrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 12px; text-align: left; }
.rrow:last-child { border-bottom: 0; }
.rrow .av { width: 28px; height: 28px; border-radius: 9px; background: var(--food-l); display: grid; place-items: center; font-size: 15px; }
.rrow .tx { flex: 1; } .rrow .tx small { display: block; color: var(--text-2); font-size: 10px; }
.rrow .tx em { font-style: normal; color: var(--primary); font-weight: 800; }
.cb { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; flex: none; }
.cb.on { background: var(--primary); border-color: var(--primary); position: relative; }
.cb.on::after { content: "✓"; color: #fff; font-size: 12px; position: absolute; inset: 0; display: grid; place-items: center; }
.stores img[src*="gp_"] { height: 62px; margin: -3px -4px; }
.float.f1 { left: -14%; top: 14%; }

/* Illustrations */
.ill { width: 100%; height: auto; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.steps-grid .ill { max-width: 460px; margin-inline: auto; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; text-align: center; }
.why-card .ill { height: 180px; width: auto; margin: 0 auto 16px; }
.why-card p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
footer .credit { width: 100%; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
footer .credit a { font-weight: 800; color: var(--primary); }

/* Blog */
.blog-index { padding-bottom: 72px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; color: var(--text); transition: transform .15s, box-shadow .15s; }
.post-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card img, .post-noimg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--primary-light); display: grid; place-items: center; font-size: 40px; }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.post-card time { font-size: 12px; color: var(--text-3); font-weight: 700; }
.post-card h3 { font-size: 18px; line-height: 1.3; }
.post-card p { color: var(--text-2); font-size: 14px; }
.post-card .more { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 14px; color: var(--primary); }
.post { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.post .crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.post h1 { font-size: clamp(28px, 4.2vw, 40px); margin-bottom: 10px; }
.post .meta { color: var(--text-3); font-size: 14px; margin-bottom: 24px; }
.post-cover { width: 100%; height: auto; border-radius: var(--r-xl); border: 1px solid var(--border); margin-bottom: 28px; }
.post-body { font-size: 17px; line-height: 1.7; color: var(--text); }
.post-body h2 { font-size: 24px; margin: 36px 0 12px; }
.post-body h3 { font-size: 19px; margin: 26px 0 8px; }
.post-body p { margin: 0 0 16px; }
.post-body ul, .post-body ol { padding-left: 24px; margin: 0 0 16px; }
.post-body li { margin-bottom: 6px; }
.post-body a { text-decoration: underline; }
.post-tags { margin: 24px 0 32px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--primary-light); border-radius: var(--r-xl); padding: 24px; margin-bottom: 40px; }
.cta-box p { color: var(--text-2); margin-top: 4px; }
@media (max-width: 640px) { .cta-box { flex-direction: column; align-items: stretch; text-align: center; } }
.related h2 { font-size: 22px; margin-bottom: 16px; }
