/* Pawsome Family website. Tokens follow brand-guidelines.md. */

/* ---------------------------------------------------------------- fonts (self-hosted, OFL) */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/nunito-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/nunito-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/nunito-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

/* ---------------------------------------------------------------- tokens */

:root {
  --paw-coral: #e07a5f;
  /* Paw Coral is too light to carry white text (2.9:1). Text-bearing buttons use this
     deeper coral (4.8:1, WCAG AA); plain Paw Coral stays for the logo and illustration. */
  --coral-deep: #b9543a;
  --coral-deeper: #a3492f;
  --coral-tint: #fbe9e3;
  --forest-collar: #3d5a40;
  --forest-tint: #e9efe7;
  --cream-fur: #fbf6f0;
  --warm-white: #ffffff;
  --charcoal-nose: #2b2b2b;
  --soft-mocha: #6b5e55;
  --golden-biscuit: #f2cc8f;
  --pale-whisker: #e8ddd2;
  --barn-red: #c44536;
  --shadow: 0 8px 24px rgba(43, 43, 43, 0.08);
  --font-display: "Nunito", "Trebuchet MS", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --radius-card: 12px;
  --radius-input: 8px;
  --radius-pill: 999px;
  --header-h: 72px;
  --page-width: 1120px;
  --page-gutter: 48px;
  --section-y: clamp(64px, 8vw, 104px);
  --ease: 180ms ease-out;
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal-nose);
  background: var(--cream-fur);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--golden-biscuit);
  color: var(--charcoal-nose);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--forest-collar);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--forest-collar);
  margin: 0 0 12px;
  text-wrap: balance;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--forest-collar);
  outline-offset: 2px;
}

.wrap {
  width: min(var(--page-width), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  background: var(--forest-collar);
  color: var(--warm-white);
  padding: 10px 16px;
  border-radius: var(--radius-input);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--golden-biscuit);
  color: var(--charcoal-nose);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  margin: 0 0 20px;
}

.lede {
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--soft-mocha);
  margin-bottom: 28px;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
  color: var(--warm-white);
}

.btn-primary:hover {
  background: var(--coral-deeper);
  border-color: var(--coral-deeper);
  color: var(--warm-white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--forest-collar);
  color: var(--forest-collar);
}

.btn-secondary:hover {
  background: var(--forest-tint);
}

.btn-lg {
  min-height: 52px;
  padding: 15px 28px;
  font-size: 1.0625rem;
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--forest-collar);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--cream-fur);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--pale-whisker);
  box-shadow: var(--shadow);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-collar);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
}

.nav-link {
  color: var(--forest-collar);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: var(--radius-input);
}

.nav-link:hover {
  background: var(--forest-tint);
}

.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-actions .btn {
  margin-left: 8px;
}

.signed-in,
.is-signed-in .signed-out {
  display: none;
}

.is-signed-in .signed-in {
  display: inline-flex;
}

/* ---------------------------------------------------------------- hero */

/* The first view is one composed frame: the copy and the breed picker centred above a clear
   strip along the bottom where the pets walk. */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 24px) 0 128px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 1.3rem + 3vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: 0.9375rem;
  color: var(--soft-mocha);
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checks svg {
  flex-shrink: 0;
}

/* ---------------------------------------------------------------- cards */

.card {
  background: var(--warm-white);
  border: 1px solid var(--pale-whisker);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px;
}

/* ---------------------------------------------------------------- example tab + breed picker */

.breeds {
  padding: 20px;
}

/* A small browser window: the picked pet walks along the bottom of its page, the way it
   will in a real tab. */
.browser {
  border: 1px solid var(--pale-whisker);
  border-radius: var(--radius-card);
  background: var(--warm-white);
  overflow: hidden;
  margin-bottom: 18px;
}

.browser-bar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 36px;
  padding: 0 14px;
  background: var(--cream-fur);
  border-bottom: 1px solid var(--pale-whisker);
}

.browser-dots {
  display: flex;
  gap: 6px;
  align-self: center;
}

.browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paw-coral);
}

.browser-dots i:nth-child(2) {
  background: var(--golden-biscuit);
}

.browser-dots i:nth-child(3) {
  background: var(--forest-collar);
}

.browser-tab {
  position: relative;
  top: 1px;
  background: var(--warm-white);
  border: 1px solid var(--pale-whisker);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 7px 14px 6px;
  font: 700 0.75rem/1 var(--font-display);
  color: var(--forest-collar);
}

.browser-page {
  position: relative;
  height: 172px;
}

.browser-lines,
.stage-lines {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
}

.browser-lines i,
.stage-lines i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--pale-whisker);
  opacity: 0.7;
  width: 62%;
}

.browser-lines i:nth-child(2),
.stage-lines i:nth-child(2) {
  width: 46%;
}

.browser-lines i:nth-child(3),
.stage-lines i:nth-child(3) {
  width: 70%;
}

.browser-lines i:nth-child(4) {
  width: 38%;
}

.browser-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 84px;
}

/* shown until the animation is ready, and instead of it when motion is off or data is saved */
.browser-poster {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 56px;
  transform: translateX(-50%);
}

.breeds-title {
  font-size: 1.0625rem;
  margin: 0 0 12px;
}

.breed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.breed {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 2px;
  padding: 6px 2px 7px;
  border: 1px solid var(--pale-whisker);
  border-radius: var(--radius-card);
  background: var(--cream-fur);
  cursor: pointer;
  font: 600 0.75rem/1.2 var(--font-body);
  color: var(--forest-collar);
  transition: border-color var(--ease), background-color var(--ease), transform var(--ease);
}

.breed img {
  width: 100%;
  max-width: 96px;
  height: auto;
  aspect-ratio: 5 / 3;
}

.breed:hover {
  border-color: var(--paw-coral);
  background: var(--warm-white);
  transform: translateY(-1px);
}

.breed[aria-pressed="true"] {
  border-color: var(--forest-collar);
  box-shadow: inset 0 0 0 1px var(--forest-collar);
  background: var(--warm-white);
}

.breeds-note {
  font-size: 0.9375rem;
  color: var(--soft-mocha);
  margin: 0;
}

/* ---------------------------------------------------------------- sections */

.band {
  padding: var(--section-y) 0;
}

.band-white {
  background: var(--warm-white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.section-head h2 {
  margin-bottom: 10px;
}

.section-head p {
  font-size: 1.0625rem;
  color: var(--soft-mocha);
  margin: 0;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-3 h3 {
  margin-bottom: 8px;
}

.grid-3 p {
  color: var(--soft-mocha);
  margin: 0;
}

/* how it works */

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--cream-fur);
  box-shadow: none;
}

/* on a cream band (the breed pages) */
.step-white {
  background: var(--warm-white);
}

.step-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--forest-collar);
  color: var(--warm-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 18px;
}

/* features: each card shows the control at work on a small page */

.stage {
  position: relative;
  height: 160px;
  margin-bottom: 20px;
  border: 1px solid var(--pale-whisker);
  border-radius: var(--radius-card);
  background: var(--cream-fur);
  overflow: hidden;
}

/* The drawings are 200 x 120 with the paws on the line at 110: --size is the pet's height
   in px as the extension counts it (paws to the top of the head when standing, 80 units). */
.stage-pet {
  --size: 64;
  position: absolute;
  left: 50%;
  bottom: calc(var(--size) * -0.125px + 6px);
  width: calc(var(--size) * 2.5px);
  max-width: none;
  height: calc(var(--size) * 1.5px);
  transform: translateX(-50%);
  transition: opacity var(--ease), width var(--ease), height var(--ease), bottom var(--ease);
}

/* a cropped thumbnail instead of the full drawing */
.stage-thumb {
  bottom: 8px;
  width: auto;
  height: 68px;
}

.stage-pet.is-hidden {
  opacity: 0;
}

.stage-zzz {
  position: absolute;
  left: calc(50% + 34px);
  bottom: 62px;
  font: 700 0.8125rem/1 var(--font-display);
  letter-spacing: 0.08em;
  color: var(--soft-mocha);
}

.feature .control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--forest-collar);
  cursor: pointer;
}

.control input {
  accent-color: var(--forest-collar);
  margin: 0;
}

.control input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.control input[type="range"] {
  flex: 1;
  min-width: 0;
}

.control output {
  min-width: 3.5em;
  text-align: right;
  font-weight: 400;
  color: var(--soft-mocha);
  font-variant-numeric: tabular-nums;
}

/* copy beside a picture: the family section and the breed pages */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 5vw, 64px);
  align-items: center;
}

.split .section-head {
  margin-bottom: 24px;
}

.points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  color: var(--soft-mocha);
}

.points strong {
  color: var(--charcoal-nose);
}

.family-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px;
  border-bottom: 2px solid var(--pale-whisker);
}

.family-row img {
  flex: 1 1 0;
  min-width: 0;
  max-width: 168px;
  height: auto;
  aspect-ratio: 5 / 3;
  margin: 0 -14px;
}

/* breed pages */

.breed-figure {
  width: 100%;
  max-width: 440px;
  height: auto;
  margin-inline: auto;
}

a.breed {
  text-decoration: none;
  text-align: center;
}

.more-pets {
  margin-bottom: 0;
}

/* who's behind this */

.promises {
  list-style: none;
  padding: 0;
  margin: 0;
}

.promises .card {
  box-shadow: none;
}

/* pricing teaser */

.plan-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 24px 40px;
  background: var(--forest-collar);
  color: var(--cream-fur);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
}

.plan-teaser h2 {
  color: var(--warm-white);
  margin-bottom: 8px;
}

.plan-teaser p {
  color: #dfe7dc;
  margin: 0;
  font-size: 1.0625rem;
}

.plan-teaser .price-line {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--golden-biscuit);
}

.plan-teaser-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.plan-teaser .text-link {
  color: var(--golden-biscuit);
}

/* FAQ */

.faq-list {
  max-width: 48rem;
  border-top: 1px solid var(--pale-whisker);
}

.faq-item {
  border-bottom: 1px solid var(--pale-whisker);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--forest-collar);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--forest-collar);
  border-bottom: 2px solid var(--forest-collar);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--ease);
}

.faq-item[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq-item p {
  margin: -4px 0 20px;
  color: var(--soft-mocha);
  max-width: 42rem;
}

/* ---------------------------------------------------------------- pets along the bottom */

.pet-band {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 96px;
  pointer-events: none;
  z-index: 15;
}

/* a one-time nudge above the pet */
.pet-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 14px);
  transform: translateX(-50%);
  background: var(--forest-collar);
  color: var(--warm-white);
  font: 600 0.8125rem/1 var(--font-body);
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 2px var(--cream-fur); /* stays readable over the green sections */
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.pet-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: var(--forest-collar);
  border-bottom-width: 0;
}

.pet-hint.is-on {
  opacity: 1;
}

.pet-heart {
  position: absolute;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E07A5F' d='M12 21s-7.5-4.6-9.6-9C1 8.9 3 5.5 6.4 5.5c2.4 0 4.3 1.5 5.6 3.4 1.3-1.9 3.2-3.4 5.6-3.4C21 5.5 23 8.9 21.6 12c-2.1 4.4-9.6 9-9.6 9z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: pet-heart 900ms ease-out forwards;
}

@keyframes pet-heart {
  to {
    transform: translateY(-26px);
    opacity: 0;
  }
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--forest-collar);
  color: #dfe7dc;
  padding: 56px 0 32px;
  font-size: 0.9375rem;
}

.has-pets .site-footer {
  padding-bottom: 120px; /* room for the pets walking along the bottom */
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--warm-white);
  margin-bottom: 12px;
}

.footer-brand .logo-mark {
  width: 28px;
  height: 28px;
}

.footer-tagline {
  margin: 0;
  max-width: 22rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--golden-biscuit);
  margin: 0 0 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--warm-white);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-pets {
  margin-top: 36px;
}

.footer-pets ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-pets a {
  color: var(--warm-white);
  text-decoration: none;
}

.footer-pets a:hover {
  text-decoration: underline;
}

.footer-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 246, 240, 0.16);
  font-size: 0.8125rem;
  color: #c9d5c6;
}

/* ---------------------------------------------------------------- legal and pricing pages */

.doc {
  padding: calc(var(--header-h) + 48px) 0 var(--section-y);
}

.doc .wrap {
  max-width: 46rem;
}

.doc h1 {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  margin-bottom: 12px;
}

.doc h2 {
  font-size: 1.375rem;
  margin-top: 40px;
}

.doc p,
.doc li {
  color: var(--charcoal-nose);
}

.doc li + li {
  margin-top: 6px;
}

.doc .updated {
  color: var(--soft-mocha);
  font-size: 0.875rem;
  margin-bottom: 32px;
}

.doc .lede {
  color: var(--soft-mocha);
  margin-bottom: 32px;
}

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
  background: var(--warm-white);
  border: 1px solid var(--pale-whisker);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(16px, 2vw, 20px);
  margin: 8px 0 24px;
}

.price-main {
  padding: clamp(12px, 2vw, 20px);
}

.price-includes {
  background: var(--cream-fur);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 28px);
}

.doc .includes-title {
  font-size: 1.0625rem;
  margin: 0 0 16px;
}

.tick-list {
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trial-notes {
  margin-bottom: 8px;
}

.trial-notes .card {
  box-shadow: none;
  padding: 24px;
}

.doc .trial-notes h2 {
  font-size: 1.125rem;
  margin: 0 0 8px;
}

.trial-notes p {
  margin: 0;
  color: var(--soft-mocha);
}

@media (max-width: 720px) {
  .price-card,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.price-card .eyebrow {
  margin-bottom: 16px;
}

.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2rem + 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--forest-collar);
  margin: 0 0 10px;
}

.price-card .price small {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--soft-mocha);
}

.price-card .price-sub {
  color: var(--soft-mocha);
  margin-bottom: 24px;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.tick-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tick-list svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.doc .price-card .price-sub,
.doc .price-card .fine {
  color: var(--soft-mocha);
}

.price-card .fine {
  font-size: 0.875rem;
  color: var(--soft-mocha);
  margin: 12px 0 0;
}

/* ---------------------------------------------------------------- 404 */

.not-found {
  min-height: 70vh;
  display: grid;
  align-content: center;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 960px) {
  .hero {
    min-height: 0;
    padding-bottom: 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-teaser {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 32px;
    --header-h: 60px;
  }

  .logo {
    font-size: 1.125rem;
    gap: 8px;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }

  .nav-link.hide-sm {
    display: none;
  }

  .nav-actions .btn {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.9375rem;
    margin-left: 4px;
  }

  .breeds {
    padding: 16px;
  }

  .breed-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card {
    padding: 22px;
  }

  .hero-ctas .btn,
  .price-main .btn {
    width: 100%;
  }

  .hero-ctas .text-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 599px) {
  /* no pet walks along the bottom of the page on small screens */
  .has-pets .site-footer {
    padding-bottom: 32px;
  }
}

@media (max-width: 420px) {
  .nav-row {
    gap: 8px;
  }

  .nav-link {
    padding: 10px 6px;
  }
}

@media (max-width: 380px) {
  .logo span {
    display: none;
  }

  .breed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .btn,
  .breed,
  .stage-pet,
  .pet-hint,
  .faq-item summary::after {
    transition: none;
  }

  .pet-heart {
    animation: none;
  }

  .btn:hover,
  .breed:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------- small helpers */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.helper-text {
  color: var(--soft-mocha);
  font-size: 0.9375rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 24px 64px;
  align-items: start;
}

.faq-layout .section-head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout .section-head {
    position: static;
    margin-bottom: 16px;
  }
}
