:root {
  color-scheme: light;
  --paper: #fffcf8;
  --ink: #271a36;
  --muted: #62566b;
  --purple: #6337a9;
  --purple-dark: #4b2287;
  --lavender: #eee5fd;
  --line: #e8dfeb;
  --heading: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
a { color: inherit; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.85rem, 5.2vw, 5.25rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
h3 { font-size: 1.7rem; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.shell { width: min(100% - 5rem, 75rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 3; top: .75rem; left: .75rem; padding: .6rem 1rem; background: white; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5.25rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font: bold 1.83rem/.95 var(--heading); letter-spacing: -.055em; text-decoration: none; }
.brand-accent { color: var(--purple); }
.brand small { display: block; margin-top: .42rem; color: var(--muted); font: 700 .63rem/1.1 var(--body); letter-spacing: .085em; }
.paw {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background:
    radial-gradient(ellipse at center, currentColor 65%, transparent 70%) 3% 39% / 23% 32%,
    radial-gradient(ellipse at center, currentColor 65%, transparent 70%) 29% 0 / 24% 36%,
    radial-gradient(ellipse at center, currentColor 65%, transparent 70%) 72% 0 / 24% 36%,
    radial-gradient(ellipse at center, currentColor 65%, transparent 70%) 98% 39% / 23% 32%,
    radial-gradient(ellipse at center, currentColor 65%, transparent 70%) 50% 91% / 67% 55%;
  background-repeat: no-repeat;
}
.brand .paw, .hero-sticker {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
}
.brand .paw { color: white; background-color: var(--purple); background-size: 13% 17%, 13% 19%, 13% 19%, 13% 17%, 35% 29%; background-position: 23% 43%, 38% 27%, 63% 27%, 77% 43%, 50% 70%; }
.navigation { display: flex; align-items: center; gap: .28rem; }
.navigation a, .header-link, .menu-toggle {
  padding: .49rem .83rem;
  border-radius: 2rem;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.navigation a { color: var(--muted); }
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--purple-dark); background: var(--lavender); }
.header-link, .menu-toggle { border: 1px solid #d5c6e8; color: var(--purple-dark); }
.header-link:hover, .menu-toggle:hover { background: var(--lavender); }
.menu-toggle { background: transparent; cursor: pointer; }
.menu-toggle span { margin-left: .35rem; }
.hero, .subhero { background: radial-gradient(ellipse at 87% 24%, #e8d9ff 0, transparent 56%), linear-gradient(120deg, #f8f2fe 5%, #f1e9fb 78%); border-bottom: 1px solid #e8dbf5; }
.hero-grid, .subhero-grid { display: grid; align-items: center; }
.hero-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.1rem, 6vw, 5.9rem); }
.hero-copy h1, .subhero h1 { margin-top: .8rem; }
.hero-copy em { color: var(--purple); font-weight: inherit; }
.eyebrow { display: flex; align-items: center; gap: .52rem; color: var(--purple-dark); font-size: .79rem; font-weight: 750; letter-spacing: .13em; }
.eyebrow .paw { font-size: 1rem; }
.intro { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.2rem; padding: .62rem 1.2rem; border: 1px solid transparent; border-radius: 2rem; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--purple); color: white; }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { border-color: #bda7df; color: var(--purple-dark); }
.button-secondary:hover { background: #e8dafa; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1.14; object-fit: cover; object-position: 54% center; border-radius: 5.7rem 1.55rem 5.7rem 1.55rem; background: #b6a2bc; box-shadow: 0 1.2rem 2.8rem #4a2d6629; }
.hero-sticker { position: absolute; right: -.62rem; bottom: -.58rem; width: clamp(3.6rem, 6.7vw, 5.4rem); height: clamp(3.6rem, 6.7vw, 5.4rem); background: #ffe1a3; color: #5e3a32; font-size: clamp(1.45rem, 3vw, 2.25rem); transform: rotate(15deg); box-shadow: 0 .4rem 1rem #41274b23; border: .26rem solid var(--paper); }
.topic-section, .content-section { padding-block: clamp(3.6rem, 7vw, 6rem); }
.section-heading { margin-bottom: 1.8rem; }
.section-heading h2 { margin-top: .45rem; }
.topic-grid, .info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.5rem); }
.topic-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1.4rem; overflow: hidden; background: white; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.topic-card:hover { box-shadow: 0 .75rem 1.5rem #44226214; transform: translateY(-.25rem); }
.topic-card img { width: 100%; height: auto; aspect-ratio: 1.67; object-fit: cover; }
.topic-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.25rem; }
.topic-copy p, .info-card p, .feature p:not(.eyebrow), .care-note p { margin-top: .6rem; color: var(--muted); }
.text-link { margin-top: auto; padding-top: .95rem; color: var(--purple-dark); font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.feature { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(3.6rem, 7vw, 6rem); padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: 1.6rem; background: #f0e7fc; }
.feature h2 { margin-top: .48rem; font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.feature .button { flex-shrink: 0; }
.site-footer { background: #f4edf8; border-top: 1px solid var(--line); }
.footer-inner { min-height: 6rem; padding-block: 1rem; color: var(--muted); }
.footer-inner .brand { color: var(--ink); }
.footer-link { white-space: nowrap; color: var(--purple-dark); text-underline-offset: .22em; }
.subhero-grid { grid-template-columns: 1.35fr .85fr; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.7rem, 6vw, 5rem); }
.subhero img { width: 100%; height: auto; border-radius: 3.5rem 1.2rem; box-shadow: 0 1.1rem 2.2rem #4a2d6620; }
.content-section h2 { margin-bottom: 1.4rem; }
.info-card { padding: clamp(1.2rem, 3vw, 1.8rem); background: white; border: 1px solid var(--line); border-radius: 1.3rem; overflow-wrap: anywhere; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.filters button { min-height: 2.75rem; padding: .4rem .9rem; border: 1px solid #cbb8e6; border-radius: 2rem; color: var(--purple-dark); background: transparent; cursor: pointer; }
.filters button:hover { background: var(--lavender); }
.filters button[aria-pressed="true"] { background: var(--purple); color: white; border-color: var(--purple); }
.care-grid { display: grid; align-items: start; grid-template-columns: 1.15fr .85fr; gap: clamp(1.4rem, 6vw, 5rem); }
.care-grid h2 { margin: .45rem 0 .7rem; }
.checklist { display: grid; gap: .45rem; margin: 1rem 0 .7rem; padding: 0; border: 0; min-width: 0; }
.checklist label { display: flex; gap: .75rem; align-items: center; border: 1px solid var(--line); padding: .6rem .8rem; border-radius: .65rem; background: white; cursor: pointer; }
.checklist input { flex: none; width: 1.16rem; height: 1.16rem; margin: 0; accent-color: var(--purple); }
.checklist-status { color: var(--purple-dark); font-weight: 700; }
.care-note { padding: clamp(1.3rem, 4vw, 2.5rem); border-radius: 1.35rem; background: var(--lavender); }
.care-note h3:not(:first-child) { margin-top: 1.25rem; }
.care-extras { padding-top: 0; }
.accordion { max-width: 49rem; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { padding: .9rem .25rem; color: var(--purple-dark); font-weight: 700; cursor: pointer; }
.accordion details p { padding: 0 .25rem 1.1rem; color: var(--muted); }

@media (max-width: 58rem) {
  .shell { width: calc(100% - 3rem); }
  .header-inner { gap: .8rem; }
  .header-link { display: none; }
}
@media (max-width: 43rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; min-height: 4.65rem; padding-block: .8rem; }
  .navigation { width: 100%; flex-wrap: wrap; }
  .navigation a { padding-inline: .62rem; }
  .hero-grid, .subhero-grid, .care-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 2.8rem; }
  .hero-visual img { aspect-ratio: 1.32; border-radius: 3.7rem 1rem; }
  .hero-sticker { right: 0; }
  .subhero img { max-width: 28rem; }
  .topic-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { align-items: flex-start; flex-direction: column; }
  .footer-inner { flex-wrap: wrap; gap: .85rem; }
  .footer-inner p { order: 1; width: 100%; }
}
@media (max-width: 30rem) {
  .topic-grid, .info-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topic-card { transition: none; }
}
