/* Pet Pharmacy Plus: white, leaf green, mint, navy and amber. Outfit for headings, IBM Plex Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #ECFDF3;
  --ink: #0B2545;
  --muted: #4A5D74;
  --line: #E1E8EF;
  --line-strong: #C3D0DC;
  --brand: #15803D;
  --brand-hover: #116A32;
  --brand-ink: #FFFFFF;
  --brand-text: #15803D;
  --amber: #F59E0B;
  --eyebrow: #15803D;
  --badge-bg: #0B2545;
  --badge-ink: #FFFFFF;
  --out-bg: #0B2545;
  --out-ink: #FFFFFF;
  --out-accent: #7EE2A8;
  --out-btn: #22C55E;
  --out-btn-ink: #062314;
  --head: "Outfit", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --btn-radius: 8px;
  --wrap: 1220px;
  --gap: 20px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.btn { font-weight: 600; font-family: var(--head); }
.eyebrow { color: var(--eyebrow); font-weight: 600; }
.ic { color: var(--brand); }

/* header */
.header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(11, 37, 69, .03); }
.header > .wrap { min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 700 1.35rem var(--head); color: var(--ink); letter-spacing: -.02em; }
.logo b em { font-style: normal; color: var(--amber); }
.logo small { font-size: .76rem; color: var(--muted); }
.nav a { font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--brand); }

/* hero */
.hero { padding-block: clamp(28px, 5vw, 64px); background: linear-gradient(180deg, var(--soft), #fff 85%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #BBF7D0; font-weight: 600; font-size: .88rem; color: var(--brand); }
.pill .ic { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin: 16px 0 16px; }
.hero h1 span { color: var(--brand); }
.hero .t-actions { margin-top: 24px; }
.cat-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cat-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 500; font-size: .92rem; }
.cat-chips a:hover { border-color: var(--brand); color: var(--brand); }
.hero-panel { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgba(11, 37, 69, .35); overflow: hidden; }
.hero-panel svg { display: block; width: 100%; height: auto; background: #F4FBF6; }
.rx-card { display: flex; gap: 12px; padding: 18px; border-top: 1px solid var(--line); }
.rx-card .ic { width: 28px; height: 28px; color: var(--amber); }
.rx-card p { color: var(--muted); font-size: .92rem; }
.c-card { border-radius: var(--radius-lg); }
.c-badge { font-family: var(--head); }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.how-band { background: var(--ink); color: #fff; }
.how-band .eyebrow { color: #7EE2A8; }
.how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }
.how-band .mini-steps li { padding: 16px; border-radius: var(--radius); background: #12345C; }
.how-band .mini-steps li::before { background: #22C55E; color: #062314; }
.how-band .mini-steps p { color: #C5D3E3; }

/* inner pages */
.page-head { padding-block: clamp(32px, 5vw, 56px); background: var(--soft); border-bottom: 1px solid #BBF7D0; margin-bottom: clamp(24px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
.numbers-band { background: var(--soft); }

/* diet tool */
.rx { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; background: var(--amber); color: #3A2500; font-size: .74rem; font-weight: 700; vertical-align: middle; }
.inline-check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; }
.inline-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.rx-note { padding: 12px 14px; border-radius: var(--radius); background: rgba(245, 158, 11, .16); border: 1px solid rgba(245, 158, 11, .5); font-size: .9rem; }
.rx-note p { margin-top: 4px; opacity: .9; }
.tool-out .btn-primary[aria-disabled="true"] { pointer-events: auto; cursor: not-allowed; }
.out-note sup { font-size: .7em; }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
.cta-band p { margin-top: 6px; color: #D1FAE0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.footer { background: var(--ink); color: #C5D3E3; --footer-line: rgba(255,255,255,.12); }
.footer .logo b, .footer h2 { color: #fff; }
.footer .logo small { color: #C5D3E3; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #7EE2A8; }
