/* Petsuasion: all styling */
:root {
  --cream: #fbf6ee;
  --paper: #ffffff;
  --ink: #1d2a2c;
  --muted: #5a6a6c;
  --line: #e8dfd1;
  --teal: #0f6e66;
  --teal-dark: #0a524c;
  --teal-soft: #e3f1ee;
  --orange: #f08a3c;
  --orange-dark: #b85a17;
  --orange-soft: #fdeedf;
  --good: #2c7a49;
  --good-soft: #e6f4ea;
  --bad: #b83c30;
  --bad-soft: #fbe9e6;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(29, 42, 44, .06), 0 8px 24px rgba(29, 42, 44, .07);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 17px/1.6 var(--font);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding-top: 40px; padding-bottom: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.narrow-head { display: block; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 10px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--paper); padding: 8px 12px; border-radius: 8px; }

/* header */
.top { background: rgba(251, 246, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.35rem; font-weight: 650; }
.brand b { color: var(--orange-dark); font-weight: 800; }
.brand-sm { font-size: 1.15rem; margin-bottom: 8px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.nav-fb svg { width: 20px; height: 20px; }
@media (max-width: 520px) {
  .top .brand span { display: none; }
  .nav a { padding: 8px 7px; font-size: .9rem; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 999px; border: 2px solid var(--teal); }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-dark); }

/* hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, var(--orange-soft), transparent 60%), radial-gradient(900px 500px at -10% 120%, var(--teal-soft), transparent 60%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 36px; padding-top: 48px; padding-bottom: 52px; align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.25fr 1fr; padding-top: 72px; padding-bottom: 80px; } }
.hero-in > * { min-width: 0; }
.hero h1 em { font-style: normal; color: var(--teal); }
.pet-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; margin-top: 26px; max-width: 520px; }
.pet-tile { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.pet-tile:hover { transform: translateY(-2px); color: var(--ink); }
.pet-tile > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.pet-tile small { color: var(--muted); white-space: nowrap; }
.pet-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); }
.pet-cat .pet-icon { background: var(--orange-soft); color: var(--orange-dark); }
.pet-icon svg { width: 28px; height: 28px; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vs { background: var(--paper); border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; border-top: 6px solid; font-size: .95rem; }
.vs b { font-family: var(--display); font-size: 1.4rem; }
.vs span:not(.vs-mark) { padding: 6px 10px; border-radius: 10px; }
.vs-good { border-color: var(--good); } .vs-good span:not(.vs-mark) { background: var(--good-soft); }
.vs-bad { border-color: var(--bad); transform: translateY(22px); } .vs-bad span:not(.vs-mark) { background: var(--bad-soft); }
.vs-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; }
.vs-mark svg { width: 24px; height: 24px; stroke-width: 3; }
.vs-good .vs-mark { background: var(--good); } .vs-bad .vs-mark { background: var(--bad); }

/* cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.guide-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; border-top: 5px solid var(--teal); }
.guide-card.pet-cat { border-top-color: var(--orange); }
.guide-card:hover { transform: translateY(-3px); color: var(--ink); border-color: var(--teal); }
.guide-card.pet-cat:hover { border-color: var(--orange); }
.guide-card p { color: var(--muted); flex: 1; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); margin-bottom: 10px; }
.pet-cat .tag { color: var(--orange-dark); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); }
.pet-cat .more { color: var(--orange-dark); }
.pillar { background: var(--paper); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.pillar b { font-family: var(--display); font-size: 1.1rem; }
.pillar p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.judge { padding-bottom: 56px; }
.judge h2 { margin-bottom: 18px; }
.judge .center { margin-top: 24px; }

/* page heads */
.page-head { padding: 44px 0 26px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--teal-soft), transparent); margin-bottom: 26px; }
.pet-cat .page-head, .page-head.pet-cat { background: linear-gradient(180deg, var(--orange-soft), transparent); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.meta { font-size: .9rem; color: var(--muted); margin: 0; }

/* prose */
.prose { font-size: 1.06rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose h2 { margin-top: 1.4em; }

/* good vs bad */
.versus { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 820px) { .versus { grid-template-columns: 1fr 1fr; } }
.side { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border-top: 7px solid; }
.side h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 14px; }
.side h3 svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; color: #fff; stroke-width: 3.2; }
.side-good { border-color: var(--good); } .side-good h3 { color: var(--good); } .side-good h3 svg { background: var(--good); }
.side-bad { border-color: var(--bad); } .side-bad h3 { color: var(--bad); } .side-bad h3 svg { background: var(--bad); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.side li > svg { width: 22px; height: 22px; margin-top: 3px; stroke-width: 3; }
.side-good li > svg { color: var(--good); } .side-bad li > svg { color: var(--bad); }
.side li p { margin: 2px 0 0; color: var(--muted); font-size: .97rem; }

/* checks */
.checks ol { counter-reset: c; list-style: none; padding: 0; margin: 0; }
.checks li { counter-increment: c; position: relative; padding: 14px 16px 14px 60px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.checks li::before { content: counter(c); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 800; }
.checks li b { display: block; }

/* picks */
.pick { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pick h3 { font-size: 1.25rem; padding-right: 64px; }
.pick p { font-size: .97rem; }
.best-for span { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--teal-soft); color: var(--teal-dark); padding: 2px 8px; border-radius: 6px; margin-right: 6px; }
.watch { background: var(--orange-soft); border-radius: 10px; padding: 10px 12px; flex: 1; }
.pick .btn { align-self: flex-start; margin-top: 4px; }
.paid { position: absolute; top: 22px; right: 20px; font-size: .72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.disclosure-inline { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* faq */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.faq details p { color: var(--muted); }
.vet-note { font-size: .92rem; color: var(--muted); border-left: 4px solid var(--teal); padding: 6px 0 6px 14px; margin-top: 22px; }
.fb-cta { display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* footer */
.foot { margin-top: 48px; background: var(--ink); color: #d6dfdf; padding: 40px 0 26px; font-size: .95rem; }
.foot a { color: #fff; }
.foot .brand { color: #fff; }
.foot .brand b { color: var(--orange); }
.foot-in { display: grid; gap: 24px; }
@media (min-width: 800px) { .foot-in { grid-template-columns: 1.3fr 1fr; } }
.foot-in p { max-width: 46ch; color: #b9c6c6; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 26px; padding-top: 18px; font-size: .82rem; color: #9fb0b0; }
.foot-note p { margin-bottom: .4em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
