:root {
  --navy-950: #071926;
  --navy-900: #0d2b3e;
  --navy-800: #153c54;
  --blue-600: #1e6d94;
  --gold-500: #d4af76;
  --gold-300: #ead7b8;
  --cream-100: #faf9f6;
  --cream-200: #f4f1eb;
  --ink-900: #18232b;
  --ink-700: #3d4a52;
  --ink-500: #64727b;
  --white: #fff;
  --line: #dce2e5;
  --green-700: #1f6b55;
  --shadow-sm: 0 8px 24px rgba(7, 25, 38, .07);
  --shadow-lg: 0 24px 64px rgba(7, 25, 38, .16);
  --radius-sm: .75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --container: 74rem;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  color: var(--ink-900);
  background: var(--cream-100);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.025em; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.65rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.25rem; }

.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.narrow { max-width: 52rem; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-muted { background: var(--cream-200); }
.section-dark { background: var(--navy-900); color: var(--white); }
.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: fixed; top: .75rem; left: .75rem; z-index: 1000; transform: translateY(-150%); padding: .65rem 1rem; border-radius: .4rem; color: var(--navy-950); background: var(--gold-300); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; }

.eyebrow { margin-bottom: .85rem; color: var(--green-700); font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-dark .eyebrow, .hero .eyebrow, .intake .eyebrow { color: var(--gold-300); }
.answer-block { margin-bottom: 0; font-size: clamp(1.16rem, 2.2vw, 1.45rem); line-height: 1.62; color: var(--ink-700); }
.answer-block.compact { font-size: 1.1rem; }
.text-link, .source-note a, .source-list a { color: var(--blue-600); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,25,38,.96); backdrop-filter: blur(14px); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: 12rem; }
.main-nav { display: flex; align-items: center; gap: 1.45rem; }
.main-nav a { color: rgba(255,255,255,.82); font-size: .94rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--white); }
.main-nav .nav-cta { padding: .68rem 1rem; border: 1px solid var(--gold-500); border-radius: .6rem; color: var(--gold-300); }
.menu-button { display: none; width: 2.8rem; height: 2.8rem; padding: .65rem; border: 1px solid rgba(255,255,255,.22); border-radius: .55rem; color: var(--white); background: transparent; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: currentColor; }

.hero { overflow: hidden; color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(30,109,148,.34), transparent 36%), var(--navy-900); }
.hero-grid { min-height: calc(100svh - 5rem); padding: clamp(4rem, 8vw, 7rem) 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .92fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.hero-copy h1 { max-width: 13ch; margin-bottom: 1.5rem; }
.hero-lead { max-width: 42rem; margin-bottom: 2rem; color: rgba(255,255,255,.8); font-size: clamp(1.07rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.15rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .72rem 1.15rem; border: 1px solid transparent; border-radius: .65rem; font-family: var(--font-display); font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-950); background: var(--gold-500); }
.button-primary:hover { background: var(--gold-300); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.07); }
.button-secondary { width: 100%; margin-top: 1rem; color: var(--white); background: var(--navy-900); }
.microcopy { margin: 0; color: rgba(255,255,255,.58); font-size: .88rem; }
.hero-media { position: relative; margin: 0; }
.hero-media::before { content: ""; position: absolute; inset: -1.25rem 1.25rem 1.25rem -1.25rem; border: 1px solid rgba(212,175,118,.28); border-radius: var(--radius-lg); }
.hero-media img { position: relative; z-index: 1; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.hero-media figcaption { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; max-width: 17rem; padding: .65rem .8rem; border-radius: .55rem; color: var(--navy-950); background: rgba(255,255,255,.9); font-size: .82rem; font-weight: 700; }

.trust-strip { color: var(--white); background: var(--navy-950); }
.trust-grid { padding: 1.45rem 0; display: grid; grid-template-columns: 1.35fr .75fr 1fr; gap: 1rem; }
.trust-grid p { margin: 0; display: flex; flex-direction: column; }
.trust-grid strong { color: var(--gold-300); font-family: var(--font-display); font-size: .86rem; }
.trust-grid span { color: rgba(255,255,255,.68); font-size: .86rem; }

.definition h2, .guardrails h2, .sources h2, .faq-list + * { max-width: 16ch; }
.section-heading { margin-bottom: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: .3rem; color: var(--ink-700); }
.section-heading.light > p { color: rgba(255,255,255,.7); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product-card { min-height: 18rem; padding: 1.5rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-sm); }
.product-card h3 { margin: .9rem 0 .75rem; }
.product-card p { color: var(--ink-700); }
.product-card a { margin-top: auto; color: var(--blue-600); font-weight: 700; }
.product-code { align-self: flex-start; padding: .25rem .55rem; border-radius: 99px; color: var(--green-700); background: #e9f3ee; font-family: var(--font-display); font-size: .75rem; font-weight: 700; }
.source-note { margin: 1.5rem 0 0; color: var(--ink-500); font-size: .88rem; }

.pet-section { background: linear-gradient(135deg, #f8f4ec, #fff); }
.pet-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.check-list { padding: 0; margin: 1.75rem 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; margin: .7rem 0; color: var(--ink-700); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 800; }
.comparison-card { padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-lg); }
.comparison-card dl { margin: 1.5rem 0; }
.comparison-card dl div { padding: 1rem 0; border-top: 1px solid var(--line); }
.comparison-card dt { color: var(--navy-900); font-family: var(--font-display); font-weight: 700; }
.comparison-card dd { margin: .2rem 0 0; color: var(--ink-700); }

.steps { padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; list-style: none; }
.steps li { padding: 1.35rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); background: rgba(255,255,255,.035); }
.steps > li > span { color: var(--gold-500); font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.steps h3 { margin: 1.2rem 0 .6rem; font-size: 1.08rem; }
.steps p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; }
.journey-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.journey-grid article { padding: 1.5rem; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-sm); background: rgba(255,255,255,.045); }
.journey-grid h3 { margin: 0 0 .65rem; font-size: 1.08rem; }
.journey-grid p { margin: 0; color: rgba(255,255,255,.7); font-size: .92rem; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.partner-grid span { min-height: 4.8rem; display: grid; place-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy-800); font-family: var(--font-display); font-weight: 700; text-align: center; }

.guardrails { background: var(--white); }
.guardrail-grid { margin-top: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.guardrail-grid article { padding: 1.6rem; border-radius: var(--radius-sm); background: var(--cream-200); }
.guardrail-grid article:last-child { border-left: 4px solid var(--gold-500); }
.guardrail-grid p { margin: 0; color: var(--ink-700); }

.faq-list { margin-top: 2rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.25rem 2.3rem 1.25rem 0; position: relative; cursor: pointer; color: var(--navy-900); font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .3rem; top: 1rem; font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 45rem; padding: 0 2rem 1.25rem 0; color: var(--ink-700); }

.sources { background: var(--white); }
.sources p { color: var(--ink-700); }
.source-list { padding-left: 1.2rem; }
.source-list li { margin: .45rem 0; }

.intake { color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.intake-card { padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(212,175,118,.25); border-radius: var(--radius-lg); background: rgba(255,255,255,.03); }
.intake-card h2 { margin-bottom: 1rem; }
.intake-card > div:first-child > p:last-child { color: rgba(255,255,255,.72); }
.intent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; align-content: center; }
.intent-grid a { padding: 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: .65rem; color: var(--white); background: rgba(255,255,255,.04); font-weight: 700; text-decoration: none; }
.intent-grid a:hover { border-color: var(--gold-500); background: rgba(212,175,118,.12); }
.intent-grid a:last-child { grid-column: 1 / -1; }
.intake-note { grid-column: 1 / -1; margin: 0; color: rgba(255,255,255,.55); font-size: .82rem; }

.site-footer { padding-top: 4rem; color: rgba(255,255,255,.72); background: var(--navy-950); }
.footer-grid { padding-bottom: 3rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
.footer-grid img { width: 11.5rem; margin-bottom: 1rem; }
.footer-grid h2 { margin-bottom: .8rem; color: var(--gold-300); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { display: block; margin: .32rem 0; color: rgba(255,255,255,.82); }
.footer-grid address { margin-top: .8rem; font-style: normal; }
.footer-bottom { padding: 1.25rem 0; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.09); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gold-300); }
.noscript { margin: 0; padding: .8rem; text-align: center; background: var(--gold-300); }
.legal-back { padding: .62rem .9rem; border: 1px solid var(--gold-500); border-radius: .55rem; color: var(--gold-300); font-weight: 700; text-decoration: none; }
.legal-content { max-width: 52rem; }
.legal-content h1 { margin-bottom: 1.5rem; font-size: clamp(2.4rem, 5vw, 4rem); }
.legal-content h2 { margin: 2.5rem 0 .75rem; font-size: 1.5rem; }
.legal-content p { color: var(--ink-700); }
.legal-content a { color: var(--blue-600); font-weight: 700; }
.compact-footer { padding-top: 0; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav { position: fixed; top: 5rem; right: 0; bottom: 0; left: 0; padding: 2rem 1.25rem; display: none; flex-direction: column; align-items: stretch; background: var(--navy-950); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .75rem; font-size: 1.08rem; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 16ch; }
  .hero-media { max-width: 34rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .journey-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid, .section-heading, .pet-grid, .intake-card { grid-template-columns: 1fr; }
  .intake-note { grid-column: auto; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 1.5rem), var(--container)); }
  .section { padding: 4rem 0; }
  .header-inner { min-height: 4.5rem; }
  .brand img { width: 10rem; }
  .main-nav { top: 4.5rem; }
  .hero-grid { padding: 3.4rem 0 4.5rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-grid, .product-grid, .steps, .journey-grid, .partner-grid, .guardrail-grid, .intent-grid, .footer-grid { grid-template-columns: 1fr; }
  .intent-grid a:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
