:root {
  --ink: #17333a;
  --muted: #5e7477;
  --cream: #fffaf1;
  --paper: #ffffff;
  --coral: #ff775f;
  --coral-dark: #d95440;
  --mint: #cceee0;
  --mint-dark: #16745f;
  --sun: #ffd874;
  --line: #dce8e4;
  --shadow: 0 18px 50px rgba(24, 67, 67, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.2rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(23, 51, 58, .08);
  background: rgba(255, 250, 241, .92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 14px;
  background: var(--coral);
  box-shadow: 0 7px 15px rgba(217, 84, 64, .22);
}

nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); }
nav a { color: var(--muted); font-size: .94rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--coral-dark); }

main, footer { overflow: hidden; }

.hero {
  display: grid;
  min-height: 70vh;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--mint-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  font-size: clamp(3.7rem, 8vw, 7.2rem);
  line-height: .91;
  letter-spacing: -.075em;
}

h1 span { color: var(--coral); }

.intro {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.primary-button {
  display: inline-block;
  padding: .95rem 1.35rem;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  box-shadow: 0 10px 25px rgba(23, 51, 58, .18);
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.primary-button:hover { transform: translateY(-2px); background: var(--coral-dark); }

.hero-card {
  position: relative;
  min-height: 430px;
  padding: 2.2rem;
  border: 1px solid rgba(23, 51, 58, .07);
  border-radius: 42px;
  background: var(--mint);
  box-shadow: var(--shadow);
}

.hero-card::before, .hero-card::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.hero-card::before { width: 140px; height: 140px; top: -35px; right: -25px; background: var(--sun); }
.hero-card::after { width: 78px; height: 78px; bottom: 35px; left: -24px; background: var(--coral); }

.home-shape {
  position: absolute;
  inset: 23% 20% 27%;
  display: grid;
  place-items: center;
  border-radius: 38px 38px 50% 50%;
  color: var(--coral);
  background: var(--paper);
  font-size: 4rem;
  transform: rotate(-3deg);
}

.pet { position: absolute; z-index: 2; font-size: clamp(3.5rem, 8vw, 6rem); filter: drop-shadow(0 8px 6px rgba(23, 51, 58, .12)); }
.pet-one { left: 11%; bottom: 18%; transform: rotate(-8deg); }
.pet-two { right: 10%; bottom: 19%; transform: rotate(7deg); }
.hero-card > p { position: absolute; right: 8%; bottom: 4%; left: 8%; z-index: 3; margin: 0; font-weight: 800; text-align: center; }

.categories { padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 5rem); background: var(--paper); }
.section-heading { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
h2 { margin-bottom: .8rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:last-child, .about > p:last-child { color: var(--muted); }

.category-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.category-grid article {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 55%, #f5fbf8);
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-grid article:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-grid article > span { font-size: 2.1rem; }
.category-grid h3 { margin: .8rem 0 .45rem; font-size: 1.07rem; line-height: 1.2; }
.category-grid p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.category-grid em { margin-top: auto; color: var(--coral-dark); font-size: .77rem; font-style: normal; font-weight: 850; }

.principles {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem);
}

.principle-list { display: grid; gap: 1rem; }
.principle-list p { margin: 0; padding: 1.2rem 1.3rem; border-left: 5px solid var(--coral); border-radius: 0 18px 18px 0; background: rgba(255, 255, 255, .72); }

.about {
  max-width: 980px;
  margin: 0 auto clamp(4rem, 9vw, 8rem);
  padding: clamp(2.3rem, 6vw, 5rem);
  border-radius: 36px;
  color: var(--ink);
  background: var(--sun);
  text-align: center;
}

.about h2 { font-size: clamp(1.7rem, 4vw, 3rem); }
.about > p:last-child { max-width: 760px; margin: 0 auto; color: #584d2b; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.2rem, 5vw, 5rem);
  color: #dbe9e6;
  background: var(--ink);
  font-size: .84rem;
}

footer p { margin: 0; }
.footer-brand { color: white; }

.guide-link {
  display: inline-flex;
  margin-top: .65rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: .25rem;
}

.guide-main {
  width: min(100% - 2rem, 920px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.guide-article {
  background: #fffdf8;
  border: 1px solid rgba(20, 62, 65, .1);
  border-radius: 2rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  box-shadow: 0 24px 60px rgba(20, 62, 65, .08);
}

.guide-article h1 {
  max-width: 15ch;
  margin: .4rem 0 1rem;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: .98;
}

.guide-article h2 {
  margin: 2.25rem 0 .65rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.guide-article p,
.guide-article li {
  font-size: 1.05rem;
  line-height: 1.75;
}

.guide-lead {
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem) !important;
}

.guide-summary,
.editorial-note {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-radius: 1.25rem;
  background: var(--mint);
}

.guide-summary h2,
.editorial-note h2 { margin-top: 0; }

.guide-checklist {
  display: grid;
  gap: .7rem;
  padding-left: 1.25rem;
}

.warning-list {
  border-left: 4px solid var(--coral);
  padding-left: 2rem;
}

.editorial-note a {
  color: var(--ink);
  text-underline-offset: .2rem;
}

.review-date {
  color: var(--muted);
  font-size: .95rem !important;
}

@media (max-width: 1000px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid article:last-child { grid-column: span 2; }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  nav { display: none; }
  .hero, .principles { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .hero-card { min-height: 350px; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-grid article:last-child { grid-column: auto; }
  .hero-card { min-height: 300px; }
}
