:root {
  --hedge: #2E6B4E;
  --deep-hedge: #24563F;
  --dark-hedge: #1B4331;
  --mist: #E6F2EA;
  --paper: #FFFDF6;
  --paper-shade: #F3EEDD;
  --navy: #1F2A44;
  --coral: #FF6F59;
  --sunflower: #FFC93C;
  --sand: #E9C98F;
  --sky: #BFE4F2;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--navy);
  font: 500 18px/1.6 var(--round);
}

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

a { color: var(--hedge); font-weight: 800; text-underline-offset: 3px; }
a:hover { color: var(--dark-hedge); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* Header and footer */

.top {
  background: var(--hedge);
  color: var(--paper);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand img { width: 30px; height: 30px; }

.top nav { display: flex; gap: 18px; }
.top nav a { color: var(--sunflower); font-weight: 800; text-decoration: none; font-size: 16px; }
.top nav a:hover { text-decoration: underline; color: var(--sunflower); }

footer {
  padding: 36px 20px 48px;
  text-align: center;
  font-size: 15px;
  color: rgba(31, 42, 68, 0.7);
}

footer nav { display: flex; gap: 18px; justify-content: center; margin-bottom: 8px; }

/* Home page */

.hero {
  background:
    radial-gradient(ellipse 140% 60% at 50% 100%, #8FC07A 0 45%, transparent 46%),
    linear-gradient(180deg, var(--sky) 0%, #E8F6F4 60%, #CFE7B0 100%);
  text-align: center;
  padding: 48px 20px 0;
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 84px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 0 4px 0 var(--dark-hedge), 0 6px 18px rgba(27, 67, 49, 0.25);
}

.hero .tagline {
  margin: 14px 0 0;
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 800;
  color: var(--hedge);
}

.hero .lede {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--navy);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 5px 0 #0F1626;
}

.pill svg { width: 20px; height: 20px; fill: currentColor; }

.hero-dog {
  display: block;
  width: min(300px, 70vw);
  margin: 26px auto -6px;
  filter: drop-shadow(0 8px 0 rgba(27, 67, 49, 0.18));
}

.band { background: var(--hedge); color: var(--paper); padding: 56px 0; }
.band h2 { color: var(--paper); }
.band .steps p { color: var(--mist); }

section { padding: 56px 0; }

h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--hedge);
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.step { text-align: center; padding: 0 8px; }

.step .num {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sunflower);
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 4px 0 #E0A21A;
}

.step h3 { margin: 12px 0 4px; font-size: 22px; font-weight: 900; }
.step p { margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.card {
  background: var(--paper);
  border-radius: 24px;
  padding: 22px 24px;
  box-shadow: 0 4px 0 rgba(31, 77, 55, 0.12);
}

.card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; color: var(--hedge); }
.card p { margin: 0; }

.dogs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.dog {
  background: var(--paper-shade);
  border-radius: 20px;
  padding: 12px 8px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

.dog img { width: 100%; max-width: 110px; display: block; margin: 0 auto 4px; }

.center { text-align: center; }
.note { text-align: center; margin: 18px auto 0; max-width: 620px; }

/* Text pages */

.page-head { background: var(--hedge); color: var(--paper); padding: 36px 0 30px; text-align: center; }
.page-head h1 { margin: 0; font-size: clamp(34px, 6vw, 48px); font-weight: 900; line-height: 1.1; }
.page-head p { margin: 8px 0 0; color: var(--mist); font-weight: 700; }

.doc { max-width: 760px; margin: 0 auto; padding: 28px 20px 8px; }
.doc .card { margin-bottom: 16px; }
.doc h2 { text-align: left; font-size: 26px; margin: 0 0 8px; }
.doc h3 { color: var(--hedge); margin: 18px 0 4px; font-size: 19px; font-weight: 900; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.muted { color: rgba(31, 42, 68, 0.65); font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-dog { animation: sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
  @keyframes sway { 0%, 100% { transform: rotate(0); } 45% { transform: rotate(-2.5deg); } 55% { transform: rotate(2deg); } }
}
