/* Petzuno: warm, playful, readable. Brand orange #ff7500; text-safe orange #c2410c on light backgrounds. */
:root {
  --orange: #ff7500;
  --orange-btn: #e85d04;
  --orange-ink: #c2410c;
  --orange-soft: #fff3e8;
  --cream: #fff8f1;
  --ink: #1f2937;
  --ink-2: #4b5563;
  --muted: #6b7280;
  --line: #f1e4d6;
  --white: #ffffff;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --dark: #1c1917;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(124, 45, 18, .25);
  --shadow-sm: 0 4px 14px -6px rgba(124, 45, 18, .2);
  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: #9a3412; }
h1, h2, h3, .h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { margin: 0 0 .4em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--orange-btn); color: #fff;
  font: 800 1.02rem/1 var(--font-body); padding: .95em 1.4em; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  box-shadow: 0 6px 16px -6px rgba(232, 93, 4, .7); transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn:hover { color: #fff; background: #d24f00; transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(232, 93, 4, .8); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .7em 1.1em; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--orange-ink); box-shadow: inset 0 0 0 2px var(--orange-ink); }
.btn-ghost:hover { background: var(--orange-soft); color: #9a3412; }
.link-arrow { font-weight: 800; color: var(--orange-ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 241, .86); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -14px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.6rem/1 var(--font-head); letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.brand span { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; padding: .55em .8em; border-radius: 999px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--orange-soft); color: var(--orange-ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; margin: 0 auto; transition: transform .2s, opacity .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .8em 1em; }
  .site-nav .btn { margin-top: 6px; }
}

/* Generic sections */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-tint { background: var(--orange-soft); }
.section-dark { background: var(--dark); color: #f5f5f4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center, .center .section-head { margin-left: auto; margin-right: auto; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--orange-ink); margin-bottom: .6em; }
.section-dark .kicker { color: #fdba74; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.section-dark .lead, .section-dark p { color: #d6d3d1; }
.pill { display: inline-block; background: var(--white); color: var(--orange-ink); font-weight: 800; font-size: .9rem; padding: .4em .9em;
  border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 1.1em; }
.note { background: var(--white); border-left: 4px solid var(--orange); padding: .8em 1em; border-radius: 10px; font-size: .95rem; }
.page-hero { padding: 56px 0 36px; background: radial-gradient(circle at 85% 0%, #ffe3c7 0, transparent 45%), var(--cream); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1em; }
.crumbs a { color: var(--muted); }
.big-emoji { font-size: 3.5rem; margin: 0; }

/* Hero */
.hero { position: relative; padding: 48px 0 64px; background: radial-gradient(circle at 10% 10%, #ffe7d1 0, transparent 40%),
  radial-gradient(circle at 90% 30%, #ffd9b8 0, transparent 35%), var(--cream); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } .hero { padding: 72px 0 96px; } }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); }
.hl { color: var(--orange); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: #ffd3ad; z-index: -1; border-radius: 4px; }
.hero-form { margin-top: 26px; max-width: 560px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.blob { position: absolute; width: 420px; height: 420px; max-width: 90vw; max-height: 90vw; border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%;
  background: linear-gradient(135deg, #ff9a3d, var(--orange)); opacity: .9; animation: blob 14s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; transform: rotate(8deg) scale(1.03); } }
.float-chip { position: absolute; background: var(--white); border-radius: 999px; padding: .55em 1em; font-weight: 800; font-size: .9rem;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; white-space: nowrap; }
.chip-1 { top: 8%; left: 0; } .chip-2 { bottom: 10%; right: 0; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .hero-visual { min-height: 470px; } .chip-1 { left: -4px; top: 2%; } .chip-2 { right: -4px; bottom: 4%; } }

/* Phone mockup */
.phone { position: relative; width: 280px; height: 560px; border-radius: 44px; background: #111827; padding: 12px;
  box-shadow: 0 40px 60px -25px rgba(0, 0, 0, .45), inset 0 0 0 2px #374151; }
.phone-tilt { transform: rotate(-4deg); transition: transform .5s ease; }
.hero-visual:hover .phone-tilt { transform: rotate(0); }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #111827; border-radius: 0 0 16px 16px; z-index: 2; }
.screen { position: relative; height: 100%; border-radius: 34px; background: #f9fafb; overflow: hidden; padding: 40px 14px 14px; font-size: 13px; line-height: 1.35; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.app-logo { font: 700 1.25rem var(--font-head); color: var(--orange); }
.walk-widget { display: flex; justify-content: space-between; align-items: center; background: #9ca3af; color: #fff; border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; transition: background .4s; }
.walk-widget.safe { background: var(--green); } .walk-widget.caution { background: #eab308; } .walk-widget.danger { background: #ef4444; }
.walk-status { font-weight: 800; margin: 0; font-size: 14px; }
.walk-sub { margin: 0; font-size: 11.5px; opacity: .95; }
.walk-temp { font: 700 2rem/1 var(--font-head); margin: 0; }
.app-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 9px; box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .15); }
.app-card b { display: block; font-size: 13px; } .app-card small { color: var(--muted); font-size: 11.5px; }
.app-card > div { flex: 1; min-width: 0; }
.alert-card { border: 1.5px solid #fecaca; }
.badge-red { background: var(--red); color: #fff; font-weight: 800; font-size: 10px; padding: 4px 7px; border-radius: 8px; letter-spacing: .05em; }
.emoji-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; font-size: 18px; flex: none; }
.emoji-avatar.big { width: 64px; height: 64px; font-size: 34px; margin: 0 auto 6px; }
.app-tabs { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-around; background: #fff; border-radius: 18px; padding: 10px 6px; box-shadow: 0 -2px 10px -6px rgba(0, 0, 0, .2); font-size: 18px; }

/* Strip */
.strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; padding: 18px 16px; }
@media (min-width: 860px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-grid div { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.strip-grid span { font-size: 1.6rem; }
.strip-grid p { margin: 0; font-size: .95rem; line-height: 1.3; }

/* Feature explorer */
.explorer { display: grid; gap: 28px; background: var(--white); border-radius: 28px; padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 960px) { .explorer { grid-template-columns: 260px 1fr 300px; align-items: center; padding: 36px; gap: 36px; } }
.explorer-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; padding: 2px 6px 6px; }
.explorer-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .explorer-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; } }
.explorer-tabs button { flex: none; text-align: left; border: 0; background: var(--cream); color: var(--ink); font: 700 1rem var(--font-body);
  padding: .8em 1.1em; border-radius: 14px; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.explorer-tabs button:hover { background: var(--orange-soft); }
.explorer-tabs button[aria-selected="true"] { background: var(--orange); color: #fff; transform: translateX(4px); }
.explorer-panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.explorer-panel { animation: fadeUp .35s ease; }
.explorer-phone { display: grid; place-items: center; }
.explorer-phone .phone { width: 260px; height: 520px; }
@media (max-width: 959px) { .explorer-phone .phone { transform: scale(.92); margin: -20px 0; } }
.mock { animation: fadeUp .35s ease; }
.mock-title { font: 700 1.1rem var(--font-head); margin: 0 0 12px; }
.mock-map { position: relative; height: 170px; border-radius: 16px; margin-bottom: 10px; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px) 0 0/28px 28px, linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px) 0 0/28px 28px, #d9f99d; }
.mock-map .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); font-size: 30px; z-index: 2; }
.mock-map .ring { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid var(--red); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(4); opacity: 0; } }
.map-places .p { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); font-size: 17px; animation: float 4s ease-in-out infinite; }
.p1 { left: 15%; top: 20%; } .p2 { left: 60%; top: 15%; animation-delay: -1s !important; } .p3 { left: 30%; top: 60%; animation-delay: -2s !important; } .p4 { left: 72%; top: 62%; animation-delay: -3s !important; }
.mock-btn { width: 100%; border: 0; background: var(--orange-btn); color: #fff; font-weight: 800; padding: 11px; border-radius: 12px; }
.mini-wa { background: #25d366; color: #fff; font-weight: 800; font-size: 10px; padding: 5px 8px; border-radius: 8px; }
.walk-big { border-radius: 18px; color: #fff; padding: 18px; margin-bottom: 12px; display: grid; gap: 2px; }
.walk-big b { font-size: 13px; letter-spacing: .08em; } .walk-big span { font: 700 2.6rem/1 var(--font-head); } .walk-big small { font-size: 12px; }
.walk-big.danger { background: #ef4444; } .walk-big.safe { background: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chips span { background: var(--orange-soft); color: var(--orange-ink); font-weight: 700; font-size: 11px; padding: 5px 9px; border-radius: 999px; }
.profile-card { background: #fff; border-radius: 16px; padding: 16px; text-align: center; margin-bottom: 10px; box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .15); }
.profile-card b { display: block; } .profile-card small { color: var(--muted); display: block; margin-bottom: 8px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.8em; margin-bottom: .5em; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink); font-weight: 900; font-size: .9em; display: grid; place-items: center; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Cards */
.tool-grid, .area-grid, .post-grid, .place-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .tool-grid, .post-grid { grid-template-columns: repeat(3, 1fr); } .area-grid, .place-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .area-grid { grid-template-columns: repeat(3, 1fr); } .place-grid { grid-template-columns: repeat(3, 1fr); } }
.tool-card, .area-card, .post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; border: 1px solid var(--line); }
.tool-card:hover, .area-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.tool-card p, .area-card p { color: var(--ink-2); flex: 1; }
.tool-emoji { font-size: 2.2rem; margin-bottom: .3em; }
.post-card { padding: 0; overflow: hidden; }
.post-card img, .post-card-ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--orange-soft); }
.post-card-ph { display: grid; place-items: center; font-size: 3rem; }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card-body p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.post-card h3 { font-size: 1.15rem; }
.tag { display: inline-block; align-self: flex-start; background: var(--orange-soft); color: var(--orange-ink); font-weight: 800; font-size: .76rem; padding: .3em .7em; border-radius: 999px; margin-bottom: .7em; }
.feature-link { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
  text-decoration: none; color: var(--ink); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.feature-link > span:first-child { font-size: 1.8rem; } .feature-link div { flex: 1; } .feature-link p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Places */
.place { background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.place[hidden] { display: none; }
.place h3 { margin-bottom: .3em; }
.place p { margin-bottom: .5em; font-size: .97rem; }
.place-top { display: flex; gap: 6px; flex-wrap: wrap; }
.place-top .tag { margin-bottom: .6em; }
.tag-park { background: #dcfce7; color: #166534; } .tag-beach { background: #e0f2fe; color: #075985; } .tag-walk { background: #f3e8ff; color: #6b21a8; }
.tag-indoor { background: #e0e7ff; color: #3730a3; }
.place-where { color: var(--ink-2); }
.place-links { margin-top: auto !important; padding-top: .5em; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .9rem !important; }
.place-links a { font-weight: 700; }
.src a { font-weight: 400; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.chip-btn { border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 700 .95rem var(--font-body); padding: .55em 1em; border-radius: 999px; cursor: pointer; text-decoration: none; transition: all .15s; }
.chip-btn:hover { border-color: var(--orange); color: var(--orange-ink); }
.chip-btn[aria-pressed="true"], .chip-btn[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a { display: inline-block; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: .45em .95em; font-weight: 700; text-decoration: none; }
.sources { font-size: .9rem; color: var(--muted); padding-left: 1.2em; }
.sources a { color: var(--muted); }

/* FAQ */
.faq details { background: var(--white); border-radius: 14px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--orange-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* Signup form */
.signup { width: 100%; }
.signup-row { display: flex; gap: 8px; background: var(--white); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); border: 1.5px solid var(--line); }
.signup-row:focus-within { border-color: var(--orange); }
.signup-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 1.05rem var(--font-body); padding: 0 14px; color: var(--ink); outline: none; }
.signup-extra { display: flex; gap: 8px; margin-top: 10px; }
.signup-extra select, .stack-form input, .stack-form select, .stack-form textarea { flex: 1; min-width: 0; font: 600 .97rem var(--font-body); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .7em .8em; }
.signup-extra select:focus, .stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { border-color: var(--orange); outline: none; }
@media (max-width: 480px) {
  .signup-row { flex-direction: column; border-radius: 20px; padding: 8px; }
  .signup-row input { padding: 12px; }
  .signup-row .btn { width: 100%; }
  .signup-extra { flex-direction: column; }
}
.pet-other { margin-top: 10px; display: grid; gap: 6px; animation: fadeUp .3s ease; }
.pet-other[hidden] { display: none; }
.pet-other label { font-weight: 800; font-size: .92rem; }
.pet-other label .muted { font-weight: 600; }
.section-dark .pet-other label { color: #fff; } .section-dark .pet-other .muted { color: #a8a29e; }
.pet-other input { font: 600 .97rem var(--font-body); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: .7em .8em; }
.pet-other input:focus { border-color: var(--orange); outline: none; }
.fine { font-size: .86rem; color: var(--muted); margin: 10px 4px 0; }
.section-dark .fine, .section-dark .fine a { color: #a8a29e; }
.error { color: var(--red); font-weight: 700; font-size: .92rem; margin: 8px 6px 0; }
.invited { background: #ecfccb; color: #3f6212; font-weight: 800; padding: .6em 1em; border-radius: 12px; margin-bottom: 10px; }
.card-form { background: var(--white); padding: 22px; border-radius: 24px; box-shadow: var(--shadow); margin-top: 24px; text-align: left; }
.card-form .signup-row { box-shadow: none; }

/* Perks */
.perks { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .perks { grid-template-columns: 1fr 1fr; gap: 56px; } }
.perk-list { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: perk; }
.perk-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #44403c; }
.perk-list b { color: #fdba74; } .perk-list span { color: #e7e5e4; }
.perks-form { background: #292524; border-radius: 24px; padding: 24px; }
.perks-form .signup-row { border-color: #44403c; }

/* Tiers / status */
.tier-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.tier-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.tier-list p { margin: 0; color: var(--ink-2); }
.tier-need { flex: none; min-width: 74px; text-align: center; background: var(--orange-soft); color: var(--orange-ink); font-weight: 900; border-radius: 12px; padding: .45em .6em; }
.tier-progress li.done { border-color: #86efac; background: #f0fdf4; }
.tier-progress li.done .tier-need { background: var(--green); color: #fff; }
.share-box { background: var(--white); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.copy-row { display: flex; gap: 8px; margin: 10px 0 14px; }
.copy-row input { flex: 1; min-width: 0; font: 700 1rem var(--font-body); border: 1.5px solid var(--line); border-radius: 12px; padding: .7em .9em; background: var(--cream); color: var(--ink); }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share { flex: 1 1 120px; text-align: center; font-weight: 800; text-decoration: none; color: #fff; padding: .75em 1em; border-radius: 12px; border: 0; cursor: pointer; font-family: var(--font-body); font-size: .97rem; }
.share:hover { color: #fff; filter: brightness(1.08); }
.share.wa { background: #1fae53; } .share.fb { background: #1877f2; } .share.x { background: #111; } .share.mail, .share.native { background: var(--ink-2); }
.confetti { position: fixed; top: -12px; width: 10px; height: 14px; z-index: 200; pointer-events: none; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); } }

/* Waitlist card */
.waitlist-card { background: linear-gradient(135deg, #fff, var(--orange-soft)); border: 1.5px solid #fed7aa; border-radius: 26px; padding: 26px; margin: 8px 0 36px; display: grid; gap: 18px; }
.waitlist-card h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.waitlist-card p { color: var(--ink-2); }
.waitlist-card .kicker { margin-bottom: .3em; }

/* Safe to walk tool */
.walk-tool { background: var(--white); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); }
.emirate-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.emirate-pick button { border: 1.5px solid var(--line); background: var(--cream); font: 700 .92rem var(--font-body); padding: .5em .85em; border-radius: 999px; cursor: pointer; color: var(--ink); }
.emirate-pick button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.walk-result { display: flex; gap: 20px; align-items: center; border-radius: 20px; padding: 20px; background: #f3f4f6; transition: background .4s; }
.walk-result.safe { background: #dcfce7; } .walk-result.caution { background: #fef3c7; } .walk-result.danger { background: #fee2e2; }
.walk-dial { flex: none; width: 112px; height: 112px; border-radius: 50%; background: var(--white); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-sm); }
.walk-dial span { font: 700 2.6rem/1 var(--font-head); } .walk-dial small { color: var(--muted); font-weight: 700; }
.walk-verdict { font: 700 1.5rem/1.2 var(--font-head); margin-bottom: .2em; }
.walk-result p { margin-bottom: .3em; }
@media (max-width: 480px) { .walk-result { flex-direction: column; text-align: center; } }
.walk-hours { display: flex; gap: 4px; overflow-x: auto; padding: 16px 0 8px; scrollbar-width: thin; }
.walk-hours .h { flex: none; width: 46px; text-align: center; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.walk-hours .bar { height: 46px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem; margin-bottom: 4px; }
.walk-hours .bar.safe { background: var(--green); } .walk-hours .bar.caution { background: #eab308; } .walk-hours .bar.danger { background: #ef4444; }
.legend { display: grid; gap: 10px; margin-bottom: 28px; }
@media (min-width: 700px) { .legend { grid-template-columns: repeat(3, 1fr); } }
.legend-item { background: var(--white); border-radius: 16px; padding: 16px; border-top: 5px solid; }
.legend-item.safe { border-color: var(--green); } .legend-item.caution { border-color: #eab308; } .legend-item.danger { border-color: #ef4444; }
.legend-item span { display: block; font-weight: 800; color: var(--ink-2); } .legend-item p { margin: .3em 0 0; font-size: .95rem; }

/* Posts */
.post-head { padding: 48px 0 20px; }
.post-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.post-image { border-radius: 22px; margin: 6px 0 20px; width: 100%; max-height: 440px; object-fit: cover; }
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.4em 0; padding: 1em 1.2em; background: var(--white); border-left: 4px solid var(--orange); border-radius: 12px; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .97rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--orange-soft); }

/* Contact */
.stack-form .field { margin-bottom: 16px; display: grid; gap: 6px; }
.stack-form label { font-weight: 800; }
.stack-form textarea { resize: vertical; }
.success-box { background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 18px; padding: 20px; }

/* Footer */
.site-footer { background: var(--dark); color: #d6d3d1; padding: 56px 0 24px; }
.site-footer a { color: #f5f5f4; text-decoration: none; } .site-footer a:hover { color: #fdba74; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.brand-footer { color: #fff; margin-bottom: 12px; }
.footer-h { font: 800 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: #a8a29e; }
.footer-bottom { border-top: 1px solid #44403c; margin-top: 36px; padding-top: 18px; font-size: .9rem; color: #a8a29e; }

/* Scroll reveal (only when JS runs; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Grid children may hold horizontally scrolling rows (feature tabs, hourly bars): don't let them widen the page. */
.hero-grid > *, .explorer > *, .perks > *, .footer-grid > *, .walk-tool, .walk-result > div { min-width: 0; }

/* ---- Home: motion and interactive sections ---- */
.paws { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.paw { position: absolute; font-size: 1.6rem; opacity: 0; animation: pawstep 9s ease-in-out infinite; filter: saturate(.6); }
.paw.p1 { left: 3%; top: 93%; animation-delay: 0s; } .paw.p2 { left: 11%; top: 89%; animation-delay: .6s; }
.paw.p3 { left: 19%; top: 94%; animation-delay: 1.2s; } .paw.p4 { left: 27%; top: 90%; animation-delay: 1.8s; }
.paw.p5 { left: 35%; top: 95%; animation-delay: 2.4s; } .paw.p6 { left: 43%; top: 91%; animation-delay: 3s; }
@keyframes pawstep { 0%, 100% { opacity: 0; transform: scale(.6) rotate(80deg); } 12%, 40% { opacity: .22; transform: scale(1) rotate(80deg); } 60% { opacity: 0; } }
.hero .wrap { position: relative; }
.rotator { font: 600 clamp(1.25rem, 2.6vw, 1.6rem)/1.3 var(--font-head); color: var(--ink-2); margin: -.2em 0 .7em; }
.rotator-word { display: inline-block; color: var(--orange-ink); transition: opacity .3s ease, transform .3s ease; min-width: 7.5ch; }
.rotator-word.out { opacity: 0; transform: translateY(-.4em); }
.phone-tilt { transition: transform .25s ease-out; will-change: transform; }
.pop { animation: pop .6s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.found-card { border: 1.5px solid #bbf7d0; }
.heart { animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }

/* Pets ribbon */
.ribbon { background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; }
.ribbon-track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon span { display: inline-flex; align-items: center; gap: 10px; font: 600 1.1rem var(--font-head); white-space: nowrap; }
.ribbon b { font-size: 1.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Explorer: progress bar under the active tab while it auto-advances */
.explorer-tabs button { position: relative; overflow: hidden; }
.tab-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .85); }
.explorer.auto .explorer-tabs button[aria-selected="true"] .tab-progress { animation: progress 5s linear forwards; }
@keyframes progress { to { width: 100%; } }

/* Live heat grid */
.heat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media (min-width: 640px) { .heat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .heat-grid { grid-template-columns: repeat(7, 1fr); } }
.heat-tile { position: relative; overflow: hidden; background: var(--white); border-radius: 18px; padding: 16px 14px 14px; display: grid; gap: 2px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); isolation: isolate; }
.heat-tile::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: -1; opacity: .2; transition: height 1s cubic-bezier(.2, .8, .2, 1); transition-delay: inherit; }
.heat-tile.safe::before { background: var(--green); height: var(--fill); } .heat-tile.caution::before { background: #eab308; height: var(--fill); }
.heat-tile.danger::before { background: #ef4444; height: var(--fill); }
.heat-name { font-weight: 800; font-size: .9rem; color: var(--ink-2); }
.heat-temp { font: 700 2.1rem/1.1 var(--font-head); }
.heat-call { font-weight: 800; font-size: .85rem; }
.heat-tile.safe .heat-call { color: #15803d; } .heat-tile.caution .heat-call { color: #a16207; } .heat-tile.danger .heat-call { color: #b91c1c; }

/* Play: age calculator + quiz */
.play-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .play-grid { grid-template-columns: 1fr 1fr; } }
.play-card { background: var(--white); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.play-card h3 { font-size: 1.35rem; }
.age-calc { display: grid; gap: 14px; }
.age-species { display: flex; gap: 8px; }
.age-species button, .quiz-answers button { flex: 1; border: 1.5px solid var(--line); background: var(--cream); font: 800 1rem var(--font-body); color: var(--ink);
  padding: .75em 1em; border-radius: 14px; cursor: pointer; transition: all .15s; }
.age-species button[aria-checked="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.age-field { display: grid; gap: 6px; }
.age-field[hidden] { display: none; }
.age-field label { font-weight: 800; }
.age-field select { font: 600 .97rem var(--font-body); border: 1.5px solid var(--line); border-radius: 12px; padding: .65em .8em; background: var(--white); color: var(--ink); }
.age-field input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--orange) var(--pct, 15%), #fde7d3 var(--pct, 15%)); }
.age-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); box-shadow: var(--shadow-sm); }
.age-field input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); }
.age-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--orange-soft); border-radius: 18px; padding: 14px 18px; }
.age-big { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.age-big span { font: 700 3rem/1 var(--font-head); color: var(--orange-ink); min-width: 2ch; }
.age-big small { font-weight: 800; color: var(--ink-2); }
.age-stage { margin: 0; font-weight: 800; background: #fff; padding: .35em .8em; border-radius: 999px; font-size: .9rem; }
.quiz-body.swap { animation: fadeUp .35s ease; }
.quiz-step { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
.quiz-q { font: 600 1.3rem/1.3 var(--font-head); margin: .3em 0 .8em; }
.quiz-answers { display: grid; gap: 8px; }
.quiz-answers button { text-align: left; }
.quiz-answers button:hover { border-color: var(--orange); background: var(--orange-soft); transform: translateX(4px); }
.quiz-result { animation: fadeUp .4s ease; }
.quiz-result[hidden], .quiz-body[hidden] { display: none; }
.quiz-area { font: 700 2rem/1.1 var(--font-head); color: var(--orange-ink); margin: .1em 0 .3em; }

/* Counters */
.counters { background: var(--orange); color: #fff; padding: 40px 0; }
.counter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: center; }
@media (min-width: 800px) { .counter-grid { grid-template-columns: repeat(4, 1fr); } }
.counter-grid b { display: block; font: 700 clamp(2.4rem, 5vw, 3.4rem)/1 var(--font-head); }
.counter-grid span { font-weight: 700; opacity: .95; }

/* Age tool page */
.table-scroll { overflow-x: auto; margin: 0 0 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
.age-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.age-table th, .age-table td { padding: .55em .8em; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.age-table th { background: var(--orange-soft); font-size: .85rem; }
.age-table td:first-child { text-align: left; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ribbon-track span[aria-hidden="true"] { display: none; }
  .paws { display: none; }
}

/* Illustrated headers for guides without a photo, one colour per topic */
.post-card-ph { position: relative; overflow: hidden; font-size: 3.4rem; }
.post-card-ph::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -12%; bottom: -30%; background: rgba(255, 255, 255, .35); }
.ph-places { background: linear-gradient(135deg, #bae6fd, #7dd3fc); } .ph-rules { background: linear-gradient(135deg, #fde68a, #fdba74); }
.ph-adoption { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); } .ph-safety { background: linear-gradient(135deg, #fecaca, #fca5a5); }
.ph-relocation { background: linear-gradient(135deg, #c7d2fe, #a5b4fc); } .ph-petzuno { background: linear-gradient(135deg, #fed7aa, #ff9a3d); }
.post-card:hover .post-card-ph span { transform: scale(1.12) rotate(-6deg); }
.post-card-ph span { transition: transform .3s ease; position: relative; z-index: 1; }

/* Explorer phone: abstract illustrations, not app screens */
.screen-art { display: grid; place-items: center; padding: 40px 18px 18px; background: linear-gradient(180deg, #fff7ed, #fff); }
.art { width: 100%; display: grid; justify-items: center; gap: 10px; animation: fadeUp .4s ease; }
.art[hidden] { display: none; }
.art-hero { position: relative; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, #ffedd5, #fed7aa); display: grid; place-items: center; margin-bottom: 8px; }
.art-emoji { font-size: 4.6rem; position: relative; z-index: 1; }
.art .ring { position: absolute; inset: 20px; border-radius: 50%; border: 3px solid var(--orange); opacity: 0; animation: ripple 2.6s ease-out infinite; }
.art .ring.r2 { animation-delay: 1.3s; }
@keyframes ripple { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.beat { animation: beat 1.4s ease-in-out infinite; }
.spin { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-map { border-radius: 30px; background: linear-gradient(90deg, rgba(255, 255, 255, .55) 1px, transparent 1px) 0 0/26px 26px, linear-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px) 0 0/26px 26px, #d9f99d; }
.art-map .p { position: absolute; font-size: 2rem; animation: float 3.5s ease-in-out infinite; }
.art-map .p1 { left: 22%; top: 18%; } .art-map .p2 { left: 58%; top: 34%; animation-delay: -1.2s; } .art-map .p3 { left: 32%; top: 58%; animation-delay: -2.4s; }
.art-pack { background: radial-gradient(circle, #fce7f3, #fbcfe8); }
.art-pack span { position: absolute; font-size: 2.3rem; animation: float 4s ease-in-out infinite; }
.art-pack span:nth-child(1) { left: 38%; top: 36%; font-size: 3rem; } .art-pack span:nth-child(2) { left: 12%; top: 22%; animation-delay: -.8s; }
.art-pack span:nth-child(3) { left: 66%; top: 16%; animation-delay: -1.6s; } .art-pack span:nth-child(4) { left: 14%; top: 62%; animation-delay: -2.4s; }
.art-pack span:nth-child(5) { left: 66%; top: 62%; animation-delay: -3.2s; }
.art-list { background: radial-gradient(circle, #dcfce7, #bbf7d0); gap: 10px; align-content: center; }
.art-list span { width: 110px; height: 30px; border-radius: 10px; background: #fff; color: var(--green); font-weight: 900; display: flex; align-items: center; padding-left: 10px;
  box-shadow: var(--shadow-sm); animation: tickin 3s ease-in-out infinite; }
.art-list span:nth-child(2) { animation-delay: .4s; } .art-list span:nth-child(3) { animation-delay: .8s; }
@keyframes tickin { 0%, 15% { opacity: .3; transform: translateX(-6px); } 30%, 100% { opacity: 1; transform: none; } }
.art-title { font: 700 1.25rem var(--font-head); margin: 0; }
.sk { display: block; width: 80%; height: 12px; border-radius: 999px; background: #f3e8dc; }
.sk.short { width: 55%; }

/* Paw Match */
.game-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .game-layout { grid-template-columns: 1fr 320px; } }
.game { background: var(--white); border-radius: 26px; padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.game-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; font-weight: 700; }
.game-hud b { font: 700 1.2rem var(--font-head); }
.game-hud .btn { margin-left: auto; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; margin: 0 auto 10px; }
.card { aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; perspective: 700px; border-radius: 16px; }
.card-inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.card.flipped .card-inner, .card.matched .card-inner { transform: rotateY(180deg); }
.card-back, .card-face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card-back { background: linear-gradient(135deg, #ff9a3d, var(--orange)); color: #fff; font-size: clamp(1.4rem, 5vw, 2.2rem); box-shadow: var(--shadow-sm); }
.card:hover .card-back { filter: brightness(1.06); }
.card-face { background: var(--white); border: 2px solid var(--line); transform: rotateY(180deg); font-size: clamp(2rem, 8vw, 3.2rem); }
.card.matched .card-face { border-color: #86efac; background: #f0fdf4; animation: matched .5s ease; }
.card.nope .card-face { border-color: #fca5a5; animation: shake .4s ease; }
@keyframes matched { 50% { transform: rotateY(180deg) scale(1.08); } }
@keyframes shake { 25% { transform: rotateY(180deg) translateX(-4px); } 75% { transform: rotateY(180deg) translateX(4px); } }
.leaderboard { background: var(--white); border-radius: 26px; padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.leaders { list-style: none; counter-reset: lb; padding: 0; margin: 0 0 10px; }
.leaders li { counter-increment: lb; display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.leaders li::before { content: counter(lb); width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink); font-weight: 900; display: grid; place-items: center; font-size: .85rem; }
.leaders li:nth-child(1)::before { content: "🥇"; background: none; font-size: 1.3rem; }
.leaders li:nth-child(2)::before { content: "🥈"; background: none; font-size: 1.3rem; }
.leaders li:nth-child(3)::before { content: "🥉"; background: none; font-size: 1.3rem; }
.leaders li.lb-empty::before { display: none; }
.lb-name { font-weight: 800; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-score { color: var(--ink-2); font-size: .9rem; white-space: nowrap; }
.win { position: fixed; inset: 0; z-index: 150; background: rgba(28, 25, 23, .55); display: grid; place-items: center; padding: 16px; animation: fadeUp .25s ease; }
.win[hidden] { display: none; }
.win-card { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--cream); border-radius: 26px; padding: 26px 22px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.win-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--muted); line-height: 1; }
.win-form { display: grid; gap: 8px; text-align: left; }
.win-form label { font-weight: 800; font-size: .92rem; }
.win-form input:not([type=hidden]), .win-form select { font: 600 1rem var(--font-body); border: 1.5px solid var(--line); border-radius: 12px; padding: .7em .8em; background: var(--white); color: var(--ink); width: 100%; min-width: 0; }
.win-form input:focus, .win-form select:focus { border-color: var(--orange); outline: none; }
.win-form .btn { margin-top: 6px; }
.win-form .signup-extra { margin: 0; }

/* Home: game teaser */
.game-teaser { display: grid; gap: 22px; align-items: center; background: linear-gradient(135deg, #1c1917, #44403c); color: #fff; border-radius: 28px; padding: 28px; overflow: hidden; }
@media (min-width: 860px) { .game-teaser { grid-template-columns: 1.1fr .9fr; padding: 40px; } }
.game-teaser h2 { color: #fff; } .game-teaser p { color: #e7e5e4; }
.mini-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 320px; justify-self: center; width: 100%; }
.mini-board span { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 1.7rem; background: linear-gradient(135deg, #ff9a3d, var(--orange)); animation: peek 6s ease-in-out infinite; }
.mini-board span:nth-child(3n) { animation-delay: 1s; } .mini-board span:nth-child(4n+1) { animation-delay: 2.2s; } .mini-board span:nth-child(5n+2) { animation-delay: 3.4s; }
@keyframes peek { 0%, 70%, 100% { background: linear-gradient(135deg, #ff9a3d, var(--orange)); color: transparent; } 78%, 92% { background: #fff; color: inherit; } }

/* Guides without a photo: a big illustrated header on the post too */
.post-art { display: grid; place-items: center; height: 200px; border-radius: 22px; margin: 6px 0 20px; font-size: 5rem; position: relative; overflow: hidden; }
.post-art::after { content: ""; position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%; right: -10%; bottom: -40%; background: rgba(255, 255, 255, .35); }
.ph-care { background: linear-gradient(135deg, #bbf7d0, #86efac); }

/* Share cards */
.share-preview { background: var(--orange-soft); border-radius: 18px; aspect-ratio: 1; margin: 6px 0 14px; overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.share-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.share-actions [hidden] { display: none; }
.share-wa { background: #1fae53; } .share-wa:hover { background: #178f43; }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--orange-ink); text-decoration: underline; cursor: pointer; }
.age-share { align-self: center; margin-top: 4px; }
.age-result { display: flex; flex-direction: column; }

/* Which pet should I get? */
.pq { background: var(--white); border-radius: 26px; padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); scroll-margin-top: 90px; }
.pq-progress { height: 8px; background: var(--orange-soft); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.pq-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #ffa54d); border-radius: 999px; transition: width .4s ease; }
.pq-body.swap { animation: fadeUp .35s ease; }
.pq-q { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: .3em 0 .8em; }
.pq-answers button { font-size: 1.05rem; padding: .9em 1.1em; }
.pq-back { border: 0; background: none; color: var(--muted); font: 700 .95rem var(--font-body); margin-top: 12px; cursor: pointer; padding: .3em 0; }
.pq-back:hover { color: var(--orange-ink); }
.pq-result { text-align: center; animation: fadeUp .45s ease; }
.pq-result[hidden], .pq-body[hidden] { display: none; }
.pq-emoji { font-size: 5.5rem; line-height: 1; margin: 0 0 6px; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.3) rotate(-15deg); opacity: 0; } to { transform: none; opacity: 1; } }
.pq-title { font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--orange-ink); }
.pq-tips { text-align: left; max-width: 560px; margin: 0 auto 16px; padding-left: 1.2em; color: var(--ink-2); }
.pq-tips li { margin-bottom: .4em; }
.pq-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pq-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.pq-all { display: grid; gap: 16px; }
@media (min-width: 700px) { .pq-all { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pq-all { grid-template-columns: repeat(4, 1fr); } }
.pq-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.pq-card-emoji { font-size: 2.6rem; margin: 0 0 4px; line-height: 1; }
.pq-card h3 { font-size: 1.2rem; } .pq-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* 24-hour vets */
.vet-group { margin-bottom: 26px; }
.vet-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .vet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vet-grid { grid-template-columns: repeat(3, 1fr); } }
.vet { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vet h3 { font-size: 1.2rem; margin: 0; }
.vet p { margin: 0; }
.vet-area { font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.vet-cover { color: var(--ink-2); font-size: .95rem; flex: 1; }
.vet-phones { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.vet-call { display: inline-flex; flex-direction: column; background: #dc2626; color: #fff; text-decoration: none; border-radius: 14px; padding: .55em .9em; line-height: 1.2; transition: transform .15s, background .15s; }
.vet-call:hover { background: #b91c1c; color: #fff; transform: translateY(-2px); }
.vet-call span { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.vet-call small { font-size: .78rem; opacity: .9; font-weight: 700; }
.triage fieldset { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.triage legend { font: 600 1.15rem var(--font-head); margin-bottom: 8px; padding: 0; }
.tri { display: flex; align-items: flex-start; gap: 10px; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: .7em .9em; cursor: pointer; transition: border-color .15s, background .15s; }
.tri input { width: 20px; height: 20px; margin: .15em 0 0; flex: none; accent-color: var(--ink); }
.tri.red.on { border-color: #dc2626; background: #fef2f2; }
.tri.amber.on { border-color: var(--amber); background: #fffbeb; }
.triage-out { position: sticky; bottom: 12px; border-radius: 18px; padding: 16px 18px; color: #fff; box-shadow: var(--shadow); animation: fadeUp .3s ease; }
.triage-out[hidden] { display: none; }
.triage-out.red { background: #b91c1c; } .triage-out.amber { background: #92400e; }
.triage-out p { margin: 0 0 6px; } .triage-verdict { font: 700 1.3rem var(--font-head); }
.triage-out .btn { background: #fff; color: #b91c1c; margin-top: 4px; }
.aid-grid { display: grid; gap: 16px; margin-bottom: 18px; }
@media (min-width: 800px) { .aid-grid { grid-template-columns: repeat(2, 1fr); } }
.aid { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); min-width: 0; }
.aid ol { padding-left: 1.2em; color: var(--ink-2); margin: 0 0 10px; }
.aid li { margin-bottom: .45em; }
.more-tools { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 800px) { .more-tools { grid-template-columns: 1fr 1fr; } }
.more-tools .feature-link { margin: 0; }

/* 24-hour vets: good to know in each emirate */
.local { display: grid; gap: 16px; margin-top: 16px; background: var(--orange-soft); border-radius: 22px; padding: 18px; }
@media (min-width: 800px) { .local { grid-template-columns: 220px 1fr; align-items: start; padding: 22px; } }
.local-heat { background: var(--white); border-radius: 18px; padding: 18px; text-align: center; border: 2px solid var(--line); transition: border-color .3s, background .3s; }
.local-heat p { margin: 0; }
.local-heat.safe { border-color: var(--green); background: #f0fdf4; }
.local-heat.caution { border-color: var(--amber); background: #fffbeb; }
.local-heat.danger { border-color: var(--red); background: #fef2f2; }
.local-temp { font: 700 2.8rem/1.1 var(--font-head); }
.local-call { font-weight: 800; margin-bottom: 8px !important; }
.local-heat.safe .local-call { color: #15803d; } .local-heat.caution .local-call { color: #b45309; } .local-heat.danger .local-call { color: #b91c1c; }
.local-body { min-width: 0; }
.local-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.local-list li { display: flex; gap: 12px; align-items: flex-start; }
.local-icon { font-size: 1.5rem; line-height: 1.3; flex: none; }
.local-list p { margin: .15em 0 0; color: var(--ink-2); }
.local-list .src { font-size: .85rem; }
.local-tel { font-weight: 800; color: #b91c1c; }
.local-list li > div { min-width: 0; overflow-wrap: anywhere; }
