/* whatcatbreed.com. The design system of whatbreedismydog.com (same type,
   shapes and layout), retuned for cats: a deep plum where the dog site uses
   pine, with the same marigold for actions. Plain CSS, no build step. */

/* Bricolage Grotesque (SIL Open Font License 1.1), latin subset, one variable
   file for weights 400 to 800. Self-hosted; "swap" shows the fallback first. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.c47ac31e5437.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cb-plum: #33264f;
  --cb-plum-deep: #221933;
  --cb-plum-mid: #4a3870;
  --cb-plum-soft: #ece7f4;
  --cb-marigold: #f3b33c;
  --cb-marigold-hover: #f6c05c;
  --cb-marigold-soft: #fbe8c3;
  --cb-bg: #faf8fc;
  --cb-surface: #ffffff;
  --cb-ink: #1d1729;
  --cb-ink-soft: #4d4560;
  --cb-muted: #6b6380;
  --cb-line: #e0d9ea;
  --cb-radius: 16px;
  --cb-radius-lg: 26px;
  --cb-font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cb-shadow: 0 1px 2px rgba(34, 25, 51, 0.06), 0 12px 32px -12px rgba(34, 25, 51, 0.2);
  --cb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--cb-font);
  font-size: 17px;
  line-height: 1.6;
  background: var(--cb-bg);
  color: var(--cb-ink);
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--cb-font);
  color: var(--cb-ink);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--cb-plum-mid); }

:focus-visible { outline: 3px solid var(--cb-marigold); outline-offset: 2px; border-radius: 6px; }

.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-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 12px; top: 12px; z-index: 100; padding: 0.5rem 1rem;
  background: var(--cb-plum); color: #fff; border-radius: 999px;
}

/* ---------- Layout helpers ---------- */

.cb-container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.cb-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.cb-section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.cb-section-tight { padding-top: 0; }
.cb-band { background: var(--cb-plum-soft); }

.cb-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.cb-section-sub {
  color: var(--cb-ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
}

.cb-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.cb-center { text-align: center; }
.cb-center .cb-section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Nav ---------- */

.cb-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cb-bg);
  border-bottom: 1px solid var(--cb-line);
}

.cb-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cb-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cb-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.cb-logo svg { flex: 0 0 auto; }

.cb-nav-links {
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
}

.cb-nav-links a {
  color: var(--cb-ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.cb-nav-links a[aria-current="page"] { color: var(--cb-plum-mid); }

.cb-nav-cta {
  background: var(--cb-plum);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  display: inline-block;
  white-space: nowrap;
  touch-action: manipulation;
}

.cb-nav-cta:active { transform: scale(0.98); }

@media (max-width: 860px) {
  .cb-nav-links .cb-nav-plain { display: none; }
}

@media (max-width: 400px) {
  .cb-nav-inner { padding-left: 1rem; padding-right: 1rem; gap: 0.75rem; }
  .cb-logo { font-size: 1rem; }
  .cb-nav-cta { padding: 0.45rem 0.85rem; font-size: 0.9rem !important; }
}

/* ---------- Buttons ---------- */

.cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  font-family: var(--cb-font);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 0.18s var(--cb-ease), box-shadow 0.18s var(--cb-ease),
    background 0.18s var(--cb-ease), color 0.18s var(--cb-ease);
}

.cb-btn:active { transform: scale(0.98); }
.cb-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.cb-btn-primary { background: var(--cb-marigold); color: var(--cb-ink); }
.cb-btn-plum { background: var(--cb-plum); color: #fff; }
.cb-btn-outline { background: transparent; color: var(--cb-plum-mid); border-color: var(--cb-plum-mid); }
.cb-btn-ghost { background: var(--cb-surface); color: var(--cb-ink); border-color: var(--cb-line); }

@media (hover: hover) and (pointer: fine) {
  .cb-nav-links a:hover { color: var(--cb-plum-mid); }
  .cb-nav-cta:hover { background: var(--cb-plum-deep); }
  .cb-btn-primary:hover:not(:disabled) { background: var(--cb-marigold-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(243, 179, 60, 0.7); }
  .cb-btn-plum:hover { background: var(--cb-plum-deep); transform: translateY(-2px); }
  .cb-btn-outline:hover { background: var(--cb-plum-soft); }
  .cb-btn-ghost:hover { border-color: var(--cb-plum-mid); }
}

/* ---------- Hero ---------- */

.cb-hero {
  background: var(--cb-plum);
  background: linear-gradient(160deg, var(--cb-plum-mid) 0%, var(--cb-plum) 45%, var(--cb-plum-deep) 100%);
  color: #fff;
  padding: clamp(1.75rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.cb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .cb-hero-grid { grid-template-columns: 1fr; }
}

.cb-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.cb-hero h1 em { font-style: normal; color: var(--cb-marigold); }

.cb-hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 1.4rem;
}

/* Scanner card */

.cb-scan-card {
  background: var(--cb-surface);
  color: var(--cb-ink);
  border-radius: var(--cb-radius-lg);
  padding: 1.1rem;
  box-shadow: var(--cb-shadow);
}

.cb-drop {
  position: relative;
  display: block;
  border: 2px dashed var(--cb-line);
  border-radius: var(--cb-radius);
  background: var(--cb-bg);
  padding: 1.4rem 1.1rem;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.18s var(--cb-ease), background 0.18s var(--cb-ease);
}

.cb-drop.is-drag { border-color: var(--cb-plum-mid); background: var(--cb-plum-soft); }

@media (hover: hover) and (pointer: fine) {
  .cb-drop:hover { border-color: var(--cb-plum-mid); background: var(--cb-plum-soft); }
}

.cb-drop-icon {
  width: 52px; height: 52px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: var(--cb-plum-soft);
  color: var(--cb-plum-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-drop-cats { display: flex; justify-content: center; margin: 0 auto 0.7rem; }
.cb-drop-cats img {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 3px solid var(--cb-surface);
  box-shadow: 0 2px 6px rgba(34, 25, 51, 0.18);
  margin-left: -10px;
  object-fit: cover;
}
.cb-drop-cats img:first-child { margin-left: 0; }

.cb-drop-title { display: block; font-weight: 700; color: var(--cb-ink); margin-bottom: 0.15rem; }
.cb-drop-hint { display: block; color: var(--cb-muted); font-size: 0.9rem; }

.cb-scan-actions { display: grid; gap: 0.6rem; margin-top: 0.9rem; }
.cb-scan-actions .cb-btn { width: 100%; }

@media (min-width: 520px) {
  .cb-scan-actions { grid-template-columns: 1fr 1fr; }
}

.cb-camera-only { display: inline-flex; }
@media (hover: hover) and (pointer: fine) {
  .cb-scan-actions { grid-template-columns: 1fr; }
  .cb-camera-only { display: none; }
}

.cb-privacy-line {
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
  color: var(--cb-muted);
  text-align: center;
}

.cb-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
}

.cb-trust li::before {
  content: "\2713";
  color: var(--cb-marigold);
  font-weight: 800;
  margin-right: 0.4rem;
}

/* Busy and result states inside the card */

.cb-busy { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; padding: 1rem 0 0.5rem; text-align: center; }
.cb-busy img { width: 150px; height: 150px; object-fit: cover; border-radius: var(--cb-radius); }
.cb-busy p { margin: 0; color: var(--cb-muted); font-size: 0.92rem; }

.cb-spin { animation: cb-spin 0.9s linear infinite; }
@keyframes cb-spin { to { transform: rotate(360deg); } }

.cb-error {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fdecea;
  color: #7a1d12;
  font-size: 0.95rem;
  margin-top: 0.9rem;
}

.cb-error strong { display: block; margin-bottom: 0.15rem; }

[hidden] { display: none !important; }

/* Hero collage */

.cb-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.cb-collage figure {
  margin: 0;
  border-radius: var(--cb-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.5);
}

.cb-collage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cb-collage figure:nth-child(odd) { transform: translateY(1.2rem); }

@media (max-width: 900px) {
  .cb-collage { display: none; }
}

/* ---------- Result (on the home page, filled by scanner.js) ---------- */

.cb-result { scroll-margin-top: 80px; }

.cb-result-head { text-align: center; margin-bottom: 1.6rem; }

.cb-result-photo {
  width: 150px; height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--cb-surface);
  box-shadow: var(--cb-shadow);
  margin: 0 auto 1rem;
}

.cb-match-top {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  background: var(--cb-surface);
  border-radius: var(--cb-radius-lg);
  box-shadow: var(--cb-shadow);
  padding: 1.4rem;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .cb-match-top { grid-template-columns: 1fr; }
}

.cb-match-top img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--cb-radius); }

.cb-match-label { font-weight: 700; color: var(--cb-plum-mid); font-size: 0.95rem; margin-bottom: 0.3rem; }

.cb-match-top h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.cb-match-top p { color: var(--cb-ink-soft); }

.cb-meter {
  height: 12px;
  border-radius: 999px;
  background: var(--cb-plum-soft);
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.cb-meter span { display: block; height: 100%; border-radius: 999px; background: var(--cb-plum-mid); }

.cb-meter-caption { color: var(--cb-muted); font-size: 0.95rem; }

.cb-note {
  background: var(--cb-marigold-soft);
  border-radius: var(--cb-radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  color: var(--cb-ink);
}

.cb-runners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.cb-runner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  border-radius: var(--cb-radius);
  padding: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.cb-runner img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.cb-runner h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.cb-runner .cb-meter { height: 8px; margin-bottom: 0.25rem; }
.cb-runner-body { flex: 1 1 auto; min-width: 0; }

.cb-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }

/* ---------- How it works ---------- */

.cb-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
  margin-top: 2.2rem;
}

.cb-step-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #8a7aae;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cb-step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.cb-step p { color: var(--cb-ink-soft); margin-bottom: 0; }

/* ---------- Tips ---------- */

.cb-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem 2.5rem;
  margin-top: 2rem;
}

.cb-tip { display: flex; gap: 0.9rem; align-items: flex-start; }

.cb-tip-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--cb-plum-soft);
  color: var(--cb-plum-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-tip h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.2rem; }
.cb-tip p { color: var(--cb-ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Breed cards ---------- */

.cb-breeds {
  display: flex;
  gap: 0.9rem;
  margin-top: 2rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--cb-plum-mid) transparent;
}

.cb-breeds .cb-breed { flex: 0 0 clamp(130px, 16vw, 168px); scroll-snap-align: start; }

.cb-breeds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.cb-breed {
  display: block;
  border-radius: var(--cb-radius);
  overflow: hidden;
  background: var(--cb-surface);
  box-shadow: 0 6px 18px -10px rgba(34, 25, 51, 0.3);
  color: var(--cb-ink);
  text-decoration: none;
  transition: transform 0.2s var(--cb-ease);
}

.cb-breed img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cb-breed span { display: block; padding: 0.5rem 0.7rem 0.6rem; font-size: 0.88rem; font-weight: 700; line-height: 1.3; }

@media (hover: hover) and (pointer: fine) {
  .cb-breed:hover { transform: translateY(-4px); }
}

/* ---------- Breed page ---------- */

.cb-breed-hero {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 2.5rem);
  align-items: start;
  margin-top: 1.4rem;
}

@media (max-width: 720px) {
  .cb-breed-hero { grid-template-columns: 1fr; }
}

.cb-breed-hero img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--cb-radius-lg); box-shadow: var(--cb-shadow); }

.cb-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.4rem;
  margin: 1.2rem 0 0;
  padding: 1.1rem 1.2rem;
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  border-radius: var(--cb-radius);
}

.cb-facts div { min-width: 0; }
.cb-facts dt { font-size: 0.82rem; font-weight: 700; color: var(--cb-muted); text-transform: none; }
.cb-facts dd { margin: 0; font-weight: 600; color: var(--cb-ink); line-height: 1.4; }
.cb-facts .cb-wide { grid-column: 1 / -1; }

.cb-lede { font-size: 1.15rem; color: var(--cb-ink-soft); max-width: 34em; }

.cb-accuracy {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--cb-plum-soft);
  border-radius: var(--cb-radius);
  font-size: 0.95rem;
  color: var(--cb-ink);
}

.cb-accuracy strong { font-size: 1.5rem; color: var(--cb-plum-mid); line-height: 1; }

/* ---------- Prose ---------- */

.cb-prose { max-width: 760px; }
.cb-prose p, .cb-prose li, .cb-callout { max-width: 37em; }
p, li { text-wrap: pretty; }
.cb-prose h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: -0.015em; margin-top: 2.2rem; }
.cb-prose h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.6rem; }
.cb-prose p, .cb-prose li { color: var(--cb-ink-soft); }
.cb-prose li { margin-bottom: 0.4rem; }
.cb-prose a { color: var(--cb-plum-mid); font-weight: 600; }
.cb-prose strong { color: var(--cb-ink); }

.cb-page-head { padding-top: 1.2rem; }
.cb-page-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.025em; }

.cb-crumbs { font-size: 0.88rem; color: var(--cb-muted); padding-top: 1.1rem; }
.cb-crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.cb-crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--cb-line); }
.cb-crumbs a { color: var(--cb-muted); text-decoration: none; }
.cb-crumbs [aria-current] { color: var(--cb-ink-soft); }

.cb-byline { font-size: 0.88rem; color: var(--cb-muted); margin-bottom: 1rem; }

.cb-nudge {
  margin-top: 2.2rem;
  padding: 1.3rem 1.4rem;
  background: var(--cb-plum-soft);
  border-radius: var(--cb-radius);
}

.cb-nudge p { color: var(--cb-ink); font-weight: 600; margin-bottom: 0.8rem; }

.cb-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--cb-line); border-radius: var(--cb-radius); background: var(--cb-surface); }
.cb-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.cb-table th, .cb-table td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--cb-line); text-align: left; vertical-align: top; }
.cb-table thead th { background: var(--cb-plum-soft); color: var(--cb-plum-deep); }
.cb-table tbody tr:last-child th, .cb-table tbody tr:last-child td { border-bottom: 0; }
.cb-table td.num, .cb-table th.num { text-align: right; white-space: nowrap; }

.cb-callout {
  display: flex;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--cb-radius);
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  font-size: 0.93rem;
  color: var(--cb-ink-soft);
}

.cb-callout svg { flex: 0 0 auto; color: var(--cb-plum-mid); margin-top: 0.15rem; }

/* ---------- Related / other tools cards ---------- */

.cb-cards { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.4rem; }

.cb-card {
  display: block;
  padding: 1.1rem 1.2rem;
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  border-radius: var(--cb-radius);
  color: var(--cb-ink);
  text-decoration: none;
}

.cb-card strong { display: block; font-size: 1.05rem; margin-bottom: 0.2rem; }
.cb-card span { display: block; color: var(--cb-ink-soft); font-size: 0.93rem; line-height: 1.5; }

.cb-mini {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem;
}

.cb-mini img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }

@media (hover: hover) and (pointer: fine) {
  .cb-card:hover { border-color: var(--cb-plum-mid); }
}

/* ---------- FAQ ---------- */

.cb-faq { max-width: 760px; margin: 2rem auto 0; }

.cb-faq details {
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  border-radius: var(--cb-radius);
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.cb-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 700;
  position: relative;
  touch-action: manipulation;
}

.cb-faq summary::-webkit-details-marker { display: none; }

.cb-faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cb-plum-mid);
  transition: transform 0.2s var(--cb-ease);
}

.cb-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.cb-faq details > div { padding: 0 1.25rem 1.15rem; color: var(--cb-ink-soft); }
.cb-faq details > div a { color: var(--cb-plum-mid); font-weight: 600; }

/* ---------- CTA band ---------- */

.cb-cta {
  background: var(--cb-plum);
  color: #fff;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.cb-cta h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; }
.cb-cta p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin: 0 auto 1.4rem; }

/* ---------- Footer ---------- */

.cb-footer {
  background: var(--cb-plum-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.8rem 0 2rem;
  font-size: 0.93rem;
}

.cb-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
@media (max-width: 720px) { .cb-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cb-footer h2 { color: #fff; font-size: 0.95rem; margin-bottom: 0.7rem; }
.cb-footer ul { list-style: none; margin: 0; padding: 0; }
.cb-footer li { margin-bottom: 0.45rem; }
.cb-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.cb-footer-note { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cb-footer-note p { max-width: 70ch; }
.cb-footer-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }

@media (hover: hover) and (pointer: fine) {
  .cb-footer a:hover { color: var(--cb-marigold); }
}

/* ---------- Icons ---------- */

.cb-icon { display: inline-block; flex-shrink: 0; vertical-align: -0.125em; }

@media (prefers-reduced-motion: reduce) {
  .cb-btn, .cb-breed, .cb-drop, .cb-faq summary::after { transition: none; }
  .cb-spin { animation-duration: 2.5s; }
}
