@font-face { font-family: "Cat Site Figtree"; src: url("/guides/cat-photo-and-routine-care/figtree-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cat Site Newsreader"; src: url("/guides/cat-photo-and-routine-care/newsreader-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }

body.cat-policy, body.cat-not-found {
  --paper: #fcf7f2;
  --surface: #fffdfa;
  --ink: #312720;
  --quiet: #5b534c;
  --muted: #736961;
  --line: #eadbd0;
  --accent: #bc4a34;
  --accent-strong: #8f382b;
  --focus: #225a65;
  color-scheme: light;
}

.policy, .not-found { box-sizing: border-box; background: var(--paper); color: var(--ink); font: 17px/1.72 "Cat Site Figtree", Figtree, system-ui, sans-serif; }
.policy { margin: 0; }
.not-found { margin: 0; }
.policy *, .not-found * { box-sizing: border-box; }
.policy a, .not-found a { color: var(--accent-strong); text-underline-offset: 4px; }
.policy a:focus-visible, .policy summary:focus-visible, .not-found a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.policy__header, .policy main, .policy footer { width: min(100% - 48px, 1280px); margin-inline: auto; }
.policy__header { position: relative; z-index: 5; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.policy__brand { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; font: 600 23px/1.2 "Cat Site Newsreader", Newsreader, Georgia, serif; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.policy__mark { width: 64px; height: 64px; display: block; flex: none; }
.policy__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.policy__brand-copy { display: flex; flex-direction: column; gap: 1px; line-height: 1.08; }
.policy__brand-tagline { color: var(--quiet); font: 500 12px/1.2 "Cat Site Figtree", Figtree, system-ui, sans-serif; letter-spacing: 0; }
.policy__header nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 25px); }
.policy__header nav a, .policy footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--quiet); font-size: 15px; text-decoration: none; }
.policy__header nav a:first-child { min-width: 44px; min-height: 44px; padding: 0 15px; justify-content: center; border-radius: 8px; color: #fffaf4; background: var(--accent); font-weight: 700; }
.policy__header nav a:first-child:hover { color: #fffaf4; background: var(--accent-strong); }
.policy__header nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.policy__header nav a:hover, .policy footer a:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 4px; }
.policy__mobile-nav { display: none; }
.policy__visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.policy main { max-width: 820px; padding: clamp(44px, 7vw, 88px) 0 76px; }
.policy h1, .policy h2 { font-family: "Cat Site Newsreader", Newsreader, Georgia, serif; font-weight: 500; line-height: 1.08; }
.policy h1 { max-width: 14ch; margin: 0 0 20px; font-size: clamp(44px, 7vw, 72px); letter-spacing: -.03em; text-wrap: balance; }
.policy h2 { margin: 38px 0 8px; font-size: 28px; }
.policy p, .policy li { max-width: 70ch; color: var(--quiet); }
.policy main > p:first-of-type { color: var(--ink); font-size: 19px; line-height: 1.6; }
.policy footer { padding: 20px 0 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--line); }

.not-found { min-height: 100vh; display: grid; place-items: center; }
.not-found main { width: min(100%, 38rem); padding: 2rem; }
.not-found h1 { margin: 0; font: 500 clamp(40px, 7vw, 66px)/1.05 "Cat Site Newsreader", Newsreader, Georgia, serif; letter-spacing: -.03em; }
.not-found p { color: var(--quiet); }
.not-found a { min-height: 48px; display: inline-flex; align-items: center; font-weight: 700; }

@media (max-width: 760px) {
  .policy__header, .policy main, .policy footer { width: min(100% - 36px, 1280px); }
  .policy__header { min-height: 70px; padding: 9px 0; align-items: center; flex-direction: row; justify-content: space-between; gap: 12px; }
  .policy__brand { min-height: 44px; font-size: 21px; }
  .policy__mark { width: 58px; height: 58px; }
  .policy__header .policy__desktop-nav { display: none; }
  .policy__mobile-nav { position: relative; display: block; }
  .policy__mobile-nav > summary { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; list-style: none; }
  .policy__mobile-nav > summary::-webkit-details-marker { display: none; }
  .policy__mobile-nav > summary::before, .policy__mobile-nav > summary::after { position: absolute; width: 19px; height: 2px; border-radius: 2px; background: currentColor; content: ""; transition: transform .16s ease-out, box-shadow .16s ease-out, opacity .16s ease-out; }
  .policy__mobile-nav > summary::before { box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .policy__mobile-nav > summary::after { opacity: 0; }
  .policy__mobile-nav[open] > summary::before { box-shadow: none; transform: rotate(45deg); }
  .policy__mobile-nav[open] > summary::after { opacity: 1; transform: rotate(-45deg); }
  .policy__mobile-nav > nav { position: absolute; top: calc(100% + 9px); right: 0; z-index: 10; width: min(260px, calc(100vw - 32px)); padding: 8px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 25px rgb(50 41 31 / 12%); }
  .policy__mobile-nav > nav a { min-height: 46px; padding: 0 13px; display: flex; align-items: center; border-radius: 8px; font-size: 15px; }
  .policy__mobile-nav > nav a:first-child { min-height: 46px; border-radius: 8px; }
  .policy__mobile-nav > nav a:not(:first-child) { color: var(--quiet); }
  .policy__mobile-nav > nav a:hover, .policy__mobile-nav > nav a:focus-visible { background: #fff0e9; text-decoration: none; }
  .policy main { padding: 42px 0 52px; }
  .policy h1 { font-size: 47px; }
  .policy h2 { margin-top: 30px; font-size: 25px; }
  .policy main > p:first-of-type { font-size: 18px; }
}

@media (max-width: 370px) {
  .policy__brand-tagline { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
