@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root {
  --ink: #173f35;
  --ink-deep: #0f3029;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --sage: #dbe8dd;
  --sage-light: #eaf1e9;
  --coral: #eb725f;
  --coral-dark: #cf5949;
  --muted: #61766f;
  --line: #cbd8d0;
  --white: #fff;
  --shadow: 0 24px 70px rgba(30, 68, 57, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 120px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 63, 53, 0.12);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 600; letter-spacing: -0.04em; }
.brand > svg { width: 39px; height: 39px; padding: 5px; color: var(--cream); background: var(--ink); border-radius: 50%; }
.brand > svg path, .brand > svg circle { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand > span > span { color: var(--coral); }
nav { display: flex; align-items: center; gap: 32px; }
nav > a { font-size: 14px; font-weight: 500; text-decoration: none; }
nav > a:not(.button) { position: relative; }
nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--ink); transition: right 180ms ease; }
nav > a:not(.button):hover::after { right: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.button:hover { background: var(--ink-deep); box-shadow: 0 10px 24px rgba(15, 48, 41, 0.16); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 42px; padding-inline: 20px; font-size: 14px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 0.82fr); gap: 76px; align-items: center; min-height: 760px; padding-block: 72px 82px; }
.hero-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-top: 12px; }
.eyebrow, .form-kicker { margin: 0 0 18px; font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 28px; height: 1px; background: var(--coral); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; }
h1 { max-width: 670px; font-size: clamp(54px, 5.25vw, 78px); }
h1 em, h2 em { color: var(--coral); font-weight: inherit; }
.hero-intro { max-width: 630px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.hero-notes span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.hero-notes svg { width: 19px; color: var(--coral); }
.hero-notes svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pet-sketch { position: relative; flex: 1; min-height: 230px; margin-top: 15px; }
.pet-sketch svg { position: absolute; width: min(560px, 100%); left: -22px; bottom: -26px; }
.pet-sketch path, .pet-sketch circle { vector-effect: non-scaling-stroke; }
.person, .pet, .ground, .leaf, .sun { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ground { stroke-width: 1.2; opacity: 0.45; }
.sun { stroke: var(--coral); stroke-width: 2; }
.sun-fill { fill: var(--coral); opacity: 0.16; }
.heart { fill: var(--coral); stroke: none; }

.form-card { position: relative; padding: 38px 40px 34px; background: var(--paper); border: 1px solid rgba(23, 63, 53, 0.12); border-radius: 28px; box-shadow: var(--shadow); }
.form-card::before { content: ""; position: absolute; top: 24px; right: -9px; width: 18px; height: 74px; background: var(--coral); border-radius: 0 8px 8px 0; z-index: -1; }
.form-heading { margin-bottom: 28px; }
.form-kicker { color: var(--coral-dark); margin-bottom: 10px; }
.form-heading h2, .success-state h2 { font-size: 36px; }
.form-heading > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
fieldset { min-width: 0; margin: 0; padding: 22px 0; border: 0; border-top: 1px solid var(--line); }
legend { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; margin-bottom: 14px; color: var(--ink); font-size: 13px; font-weight: 600; }
legend span { display: inline-grid; place-items: center; width: 23px; height: 23px; color: var(--white); background: var(--ink); border-radius: 50%; font-size: 11px; }
label { display: block; min-width: 0; }
label > span:not(.sr-only) { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.location-row { grid-template-columns: 1fr 92px; }
.field-spaced { margin-bottom: 12px; }
.pet-row { margin-bottom: 0; }
input, select, textarea { width: 100%; color: var(--ink); background: #fbfaf5; border: 1px solid #c8d3cc; border-radius: 11px; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
input, select { height: 48px; padding: 0 13px; }
textarea { min-height: 100px; padding: 12px 13px; line-height: 1.45; resize: vertical; }
input::placeholder, textarea::placeholder { color: #889790; opacity: 1; }
input:focus, select:focus, textarea:focus { background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 63, 53, 0.1); }
[aria-invalid="true"] { border-color: var(--coral-dark); }
label small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; text-align: right; }
label .field-hint { text-align: left; }
.button-submit { width: 100%; border: 0; }
.button-submit svg { width: 20px; transition: transform 180ms ease; }
.button-submit svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-submit:hover svg { transform: translateX(4px); }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.privacy-note svg { flex: 0 0 14px; width: 14px; }
.privacy-note svg path, .privacy-note svg rect { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-alert { margin: 0 0 14px; padding: 10px 12px; color: #8f352a; background: #fce9e5; border-radius: 9px; font-size: 12px; }
.success-state { min-height: 555px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.success-state[hidden] { display: none; }
.success-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 26px; color: var(--white); background: var(--coral); border-radius: 50%; }
.success-icon svg { width: 36px; }
.success-icon path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success-state > p:not(.form-kicker) { margin: 18px 0 26px; color: var(--muted); }
.text-button { padding: 0 0 3px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid; font-weight: 600; cursor: pointer; }

.trust-strip { color: var(--white); background: var(--ink); }
.trust-items { min-height: 92px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-items p { display: flex; align-items: center; gap: 16px; margin: 0; font-family: var(--serif); font-size: 17px; }
.trust-items p + p { padding-left: 42px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.trust-items span { color: var(--coral); font-family: var(--sans); font-size: 10px; letter-spacing: 0.14em; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 54px; }
.section-heading h2, .faq h2 { font-size: clamp(46px, 5vw, 68px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step-card { position: relative; min-height: 360px; padding: 38px 38px 0 0; }
.step-card + .step-card { padding-left: 38px; border-left: 1px solid var(--line); }
.step-number { color: var(--coral-dark); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; }
.step-icon { display: grid; place-items: center; width: 82px; height: 82px; margin: 44px 0 30px; background: var(--sage); border-radius: 50% 50% 44% 56% / 55% 45% 55% 45%; }
.step-icon svg { width: 50px; }
.step-icon path, .step-icon circle { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.step-card p { max-width: 300px; margin: 0; color: var(--muted); font-size: 14px; }

.care-section { overflow: hidden; color: var(--white); background: var(--ink); }
.care-grid { display: grid; grid-template-columns: 1fr 0.92fr; min-height: 660px; align-items: center; gap: 90px; }
.care-visual { position: relative; align-self: stretch; display: grid; place-items: center; }
.care-shape { position: absolute; width: 620px; height: 620px; right: 0; bottom: -76px; background: var(--sage); border-radius: 52% 48% 47% 53% / 43% 54% 46% 57%; }
.care-shape svg { position: absolute; width: 500px; bottom: 85px; right: 50px; }
.line-art { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.accent-art { fill: var(--coral); }
.visual-note { position: absolute; z-index: 2; padding: 11px 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--coral); font-size: 12px; font-weight: 600; }
.note-one { top: 130px; left: 2px; transform: rotate(-4deg); }
.note-two { right: 0; bottom: 115px; transform: rotate(3deg); }
.care-copy { position: relative; padding-right: 30px; }
.eyebrow.light { color: var(--white); }
.care-copy h2 { font-size: clamp(45px, 4.7vw, 66px); }
.care-copy > p:not(.eyebrow) { max-width: 510px; margin: 28px 0; color: #c8d7d1; font-size: 17px; line-height: 1.75; }
.inline-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.5); font-weight: 600; text-decoration: none; }
.inline-link span { color: var(--coral); font-size: 22px; transition: transform 180ms ease; }
.inline-link:hover span { transform: translateX(4px); }

.faq { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 100px; }
.faq-intro > p:last-child { max-width: 380px; margin-top: 24px; color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.3; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary span { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; }
summary span::before, summary span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 180ms ease; }
summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
details p { margin: -8px 48px 24px 0; color: var(--muted); font-size: 14px; }

.final-cta { position: relative; min-height: 320px; margin-bottom: 110px; padding: 62px 72px; overflow: hidden; display: flex; justify-content: space-between; align-items: center; color: var(--white); background: var(--coral); border-radius: 26px; }
.final-cta h2 { font-size: clamp(50px, 5vw, 70px); }
.button-light { position: relative; z-index: 2; color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-light:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.cta-paw { position: absolute; width: 210px; right: 255px; bottom: -60px; color: rgba(255,255,255,.11); transform: rotate(-18deg); }
.cta-paw ellipse { fill: currentColor; }

footer { color: #cfddd7; background: #0c2d26; }
.footer-main { min-height: 185px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 40px; }
.brand-footer { color: var(--white); }
.brand-footer > svg { color: var(--ink); background: var(--sage); }
.footer-main > p { max-width: 340px; margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.footer-main > a:last-child { color: var(--white); text-underline-offset: 5px; }
.emergency-note { display: flex; align-items: center; gap: 16px; padding-block: 19px; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); font-size: 13px; }
.emergency-note strong { color: var(--coral); }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; color: #89a098; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr 420px; gap: 38px; }
  h1 { font-size: 58px; }
  .pet-sketch { min-height: 190px; }
  .form-card { padding-inline: 30px; }
  .care-grid { gap: 55px; }
  .care-shape { right: -100px; }
  .faq { gap: 60px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 36px, 680px); }
  .section { padding-block: 88px; }
  .nav-wrap { min-height: 72px; }
  nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 38px; min-height: 0; padding-block: 70px 76px; }
  .hero-copy { padding: 0; }
  h1 { max-width: 650px; font-size: clamp(49px, 12vw, 70px); }
  .hero-intro { font-size: 17px; }
  .pet-sketch { min-height: 250px; max-width: 600px; width: 100%; }
  .pet-sketch svg { left: 0; }
  .form-card { width: 100%; }
  .trust-items { min-height: 150px; grid-template-columns: 1fr; padding-block: 20px; }
  .trust-items p { padding: 8px 0; }
  .trust-items p + p { padding-left: 0; border-left: 0; }
  .section-heading { align-items: flex-start; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card, .step-card + .step-card { min-height: auto; padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step-icon { margin: 28px 0 22px; }
  .care-grid { grid-template-columns: 1fr; gap: 0; padding-top: 60px; }
  .care-visual { min-height: 520px; order: 2; }
  .care-copy { padding: 0; }
  .care-shape { width: 540px; height: 540px; right: 50%; transform: translateX(50%); bottom: -85px; }
  .care-shape svg { width: 430px; }
  .note-one { top: 120px; left: 4%; }
  .note-two { right: 5%; bottom: 105px; }
  .faq { grid-template-columns: 1fr; gap: 50px; }
  .final-cta { min-height: 360px; padding: 52px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 34px; }
  .cta-paw { right: 10px; bottom: -65px; }
  .footer-main { grid-template-columns: 1fr auto; padding-block: 50px; }
  .footer-main > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .button-small { min-height: 40px; padding-inline: 16px; }
  .brand { font-size: 19px; }
  .brand > svg { width: 36px; height: 36px; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(46px, 14.7vw, 62px); }
  .hero-intro { margin-top: 24px; }
  .hero-notes { display: grid; gap: 11px; }
  .pet-sketch { min-height: 190px; }
  .form-card { padding: 30px 20px 25px; border-radius: 22px; }
  .form-heading h2, .success-state h2 { font-size: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .location-row { grid-template-columns: 1fr 88px; }
  .section { padding-block: 78px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .faq h2 { font-size: 46px; }
  .care-grid { padding-top: 72px; }
  .care-copy h2 { font-size: 45px; }
  .care-copy > p:not(.eyebrow) { font-size: 16px; }
  .care-visual { min-height: 440px; }
  .care-shape { width: 440px; height: 440px; }
  .care-shape svg { width: 360px; right: 40px; bottom: 70px; }
  .visual-note { padding: 9px 12px; font-size: 11px; }
  .note-one { top: 95px; }
  .faq { gap: 40px; }
  summary { font-size: 18px; }
  .final-cta { min-height: 380px; margin-bottom: 76px; padding: 40px 28px; }
  .final-cta h2 { font-size: 49px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-main > p { grid-column: auto; grid-row: auto; }
  .emergency-note { align-items: flex-start; flex-direction: column; gap: 3px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
