@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&family=Patrick+Hand&display=swap");

:root {
  --navy: #102252;
  --navy-soft: #31416a;
  --coral: #ef765e;
  --coral-soft: #fff0e9;
  --sage: #8fb46e;
  --sage-soft: #f0f5e9;
  --blue: #5f82b2;
  --blue-soft: #edf4fb;
  --cream: #fffaf3;
  --paper: #fffdf9;
  --white: #ffffff;
  --muted: #65708b;
  --line: rgba(16, 34, 82, 0.13);
  --shadow: 0 24px 70px rgba(16, 34, 82, 0.12);
  --radius: 24px;
  font-family: "Nunito", ui-rounded, "Avenir Next", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--navy); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 243, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 12px clamp(20px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand img { height: 54px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: .94rem; font-weight: 700; }
.nav-links a, .nav-cta { transition: color 160ms ease; }
.nav-links a:hover, .nav-cta:hover { color: var(--coral); }
.nav-cta { color: var(--navy); font-weight: 900; }

.section-pad { padding: 104px clamp(20px, 6vw, 92px); }
.hero {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 80px);
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  min-height: 780px;
  padding-top: 154px;
  position: relative;
}

.hero::before, .hero::after {
  border: 2px solid var(--coral);
  border-radius: 50%;
  content: "";
  height: 8px;
  position: absolute;
  width: 8px;
}
.hero::before { left: 4vw; top: 26%; }
.hero::after { right: 4vw; top: 22%; }

.eyebrow {
  align-items: center;
  color: var(--blue);
  display: flex;
  font-size: .77rem;
  font-weight: 900;
  gap: 9px;
  letter-spacing: .14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.eyebrow-dot { background: var(--coral); border-radius: 50%; display: inline-block; height: 8px; width: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.65rem, 7.4vw, 7.4rem); letter-spacing: -.065em; line-height: .88; margin-bottom: 30px; }
h1 span { color: var(--coral); }
h2 { font-size: clamp(2.4rem, 4.7vw, 4.8rem); letter-spacing: -.045em; line-height: .98; margin-bottom: 24px; }
h3 { font-size: 1.35rem; line-height: 1.15; margin-bottom: 12px; }
p { color: var(--muted); line-height: 1.68; }
.hero-copy { color: var(--navy-soft); font-size: clamp(1.08rem, 1.6vw, 1.28rem); max-width: 650px; }
.hero-actions, .form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 14px;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px) rotate(-.3deg); }
.button.primary { background: var(--navy); box-shadow: 0 12px 24px rgba(16,34,82,.18); color: white; }
.button.secondary { background: var(--paper); border-color: var(--line); color: var(--navy); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.trust-note { align-items: center; display: flex; font-size: .83rem; gap: 8px; margin: 24px 0 0; }
.trust-note span { color: var(--coral); font-size: 1.25rem; }
.hero-art { position: relative; }
.hero-art > img { margin: 0 auto; max-height: 620px; }
.doodle-label { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 28px rgba(16,34,82,.08); color: var(--navy); font-family: "Patrick Hand", cursive; font-size: 1.15rem; padding: 8px 16px; position: absolute; transform: rotate(-4deg); }
.label-notes { left: 2%; top: 17%; }
.label-care { bottom: 10%; right: 2%; transform: rotate(4deg); }

.promise-strip { align-items: center; background: var(--navy); color: white; display: flex; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 900; gap: clamp(18px, 4vw, 54px); justify-content: center; letter-spacing: .13em; padding: 20px; text-transform: uppercase; }
.promise-strip i { color: var(--coral); font-family: serif; font-size: 1.6rem; font-style: normal; }
.section-heading { max-width: 840px; }
.section-heading.centered { margin: 0 auto 52px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading > p:last-child { font-size: 1.1rem; margin-inline: auto; max-width: 660px; }
.care-section { background: var(--paper); }
.care-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 0 auto; max-width: 1320px; }
.care-card { border: 1px solid var(--line); border-radius: var(--radius); min-height: 350px; overflow: hidden; padding: 30px; position: relative; transition: transform 180ms ease; }
.care-card:hover { transform: translateY(-5px) rotate(.25deg); }
.sage-card { background: var(--sage-soft); }
.blue-card { background: var(--blue-soft); }
.coral-card { background: var(--coral-soft); }
.card-number { color: var(--muted); display: inline-block; font-size: .76rem; font-weight: 900; letter-spacing: .12em; margin-bottom: 70px; }
.card-doodle { color: var(--navy); font-family: "Patrick Hand", cursive; font-size: 4rem; line-height: 1; position: absolute; right: 28px; top: 25px; transform: rotate(7deg); }
.care-card h3 { max-width: 260px; }

.how-section { align-items: center; background: var(--cream); display: grid; gap: clamp(42px, 8vw, 120px); grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr); }
.how-art { background: var(--blue-soft); border: 1px solid var(--line); border-radius: 44% 56% 55% 45% / 45% 38% 62% 55%; min-height: 540px; padding: 78px 50px; position: relative; }
.chat-bubble { border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 30px rgba(16,34,82,.08); font-weight: 700; line-height: 1.45; max-width: 340px; padding: 18px 20px; position: relative; }
.user-bubble { background: var(--navy); color: white; margin-left: auto; }
.pawaily-bubble { align-items: center; background: white; display: flex; gap: 12px; margin-top: 20px; }
.pawaily-bubble img { height: 48px; width: 48px; }
.confirmation-card { align-items: center; background: var(--sage-soft); border: 1px solid rgba(143,180,110,.4); border-radius: 18px; display: flex; gap: 14px; margin: 22px auto 0; max-width: 310px; padding: 15px 18px; transform: rotate(-2deg); }
.confirmation-card > span { align-items: center; background: var(--sage); border-radius: 50%; color: white; display: flex; height: 34px; justify-content: center; width: 34px; }
.confirmation-card strong, .confirmation-card small { display: block; }
.confirmation-card small { color: var(--muted); margin-top: 3px; }
.scribble-heart { bottom: 32px; color: var(--coral); font-family: "Patrick Hand"; font-size: 6rem; left: 55px; position: absolute; transform: rotate(-14deg); }
.how-copy { max-width: 680px; }
.steps { display: grid; gap: 14px; list-style: none; margin: 36px 0 0; padding: 0; }
.steps li { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 44px 1fr; padding: 20px 0 4px; }
.steps li > span { align-items: center; background: var(--coral-soft); border-radius: 50%; color: var(--coral); display: flex; font-weight: 900; height: 38px; justify-content: center; width: 38px; }
.steps h3, .steps p { margin-bottom: 4px; }

.memory-section { align-items: center; background: var(--navy); color: white; display: grid; gap: 70px; grid-template-columns: minmax(0,.8fr) minmax(360px,1fr); }
.memory-section > div:first-child { max-width: 650px; }
.memory-section p { color: #cbd3e7; }
.memory-section .eyebrow { color: #a9c4e8; }
.memory-notes { min-height: 390px; position: relative; }
.memory-notes img { filter: brightness(0) invert(1); left: 50%; max-height: 270px; opacity: .94; position: absolute; top: 50%; transform: translate(-50%,-50%); }
.note { background: white; border-radius: 14px; box-shadow: var(--shadow); color: var(--navy); font-family: "Patrick Hand"; font-size: 1.3rem; padding: 12px 18px; position: absolute; z-index: 1; }
.note-one { left: 5%; top: 18%; transform: rotate(-8deg); }
.note-two { right: 5%; top: 30%; transform: rotate(7deg); }
.note-three { bottom: 10%; left: 8%; transform: rotate(4deg); }

.safety-section { align-items: center; background: var(--sage-soft); display: grid; gap: 32px; grid-template-columns: 90px minmax(0,1fr) minmax(260px,.55fr); }
.safety-icon { align-items: center; border: 2px solid var(--navy); border-radius: 50%; color: var(--coral); display: flex; font-size: 3.2rem; height: 78px; justify-content: center; transform: rotate(-5deg); width: 78px; }
.safety-section h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); margin-bottom: 0; }
.safety-section > p { margin: 0; }

.waitlist { background: var(--paper); }
.waitlist-card { align-items: center; background: var(--coral-soft); border: 1px solid rgba(239,118,94,.25); border-radius: 40px; display: grid; gap: 38px; grid-template-columns: 120px minmax(0,.8fr) minmax(340px,1fr); margin: 0 auto; max-width: 1300px; padding: clamp(30px,5vw,68px); position: relative; }
.waitlist-mark { width: 116px; }
.waitlist-copy h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); }
.waitlist-form label { display: block; font-size: .86rem; font-weight: 900; margin-bottom: 9px; }
.pet-field { margin-bottom: 15px; }
.pet-field select, .pet-field input { background: white; border: 2px solid transparent; border-radius: 999px; color: var(--navy); min-height: 54px; padding: 0 20px; width: 100%; }
.pet-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%23102252' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  background-position: right 28px center;
  background-repeat: no-repeat;
  background-size: 16px 10px;
  font: inherit;
  font-weight: 700;
  padding-right: 64px;
}
.pet-field select:focus, .pet-field input:focus { border-color: var(--blue); outline: none; }
.form-row { flex-wrap: nowrap; }
.form-row input { background: white; border: 2px solid transparent; border-radius: 999px; color: var(--navy); min-height: 56px; min-width: 0; padding: 0 20px; width: 100%; }
.form-row input:focus { border-color: var(--blue); outline: none; }
.honeypot { left: -10000px; position: absolute; }
.turnstile-wrap { margin-top: 15px; min-height: 65px; }
.preview-verification { align-items: center; border: 1px dashed rgba(16,34,82,.24); border-radius: 12px; color: var(--muted); display: flex; font-size: .78rem; min-height: 58px; padding: 10px 14px; }
.form-status { font-size: .9rem; font-weight: 700; margin: 10px 0 0; }
.waitlist-form[data-state="success"] .form-status { color: #3a713d; }
.waitlist-form[data-state="error"] .form-status { color: #a13e2d; }
.consent-copy { font-size: .73rem; margin: 7px 0 0; }

.site-footer { align-items: center; background: var(--cream); display: flex; gap: 30px; justify-content: space-between; padding: 26px clamp(20px,6vw,92px); }
.site-footer .brand img { height: 46px; }
.site-footer p, .site-footer small { margin: 0; }
.site-footer p { color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.site-footer small { color: var(--muted); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero, .how-section, .memory-section { grid-template-columns: 1fr; }
  .hero { padding-top: 138px; }
  .hero-copy-wrap { max-width: 720px; }
  .hero-art > img { max-height: 540px; }
  .care-grid { grid-template-columns: 1fr; }
  .care-card { min-height: 260px; }
  .card-number { margin-bottom: 45px; }
  .safety-section { grid-template-columns: 80px 1fr; }
  .safety-section > p { grid-column: 2; }
  .waitlist-card { grid-template-columns: 100px 1fr; }
  .waitlist-form { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { padding-block: 9px; }
  .brand img { height: 44px; width: 164px; }
  .nav-cta { font-size: .82rem; }
  .section-pad { padding: 76px 20px; }
  .hero { display: flex; flex-direction: column; min-height: auto; padding-top: 122px; }
  h1 { font-size: clamp(3.25rem, 17vw, 5.2rem); }
  .hero-art { margin-inline: -18px; width: calc(100% + 36px); }
  .doodle-label { font-size: .92rem; }
  .promise-strip { gap: 12px; letter-spacing: .05em; }
  .promise-strip i { display: none; }
  .care-card { padding: 25px; }
  .how-art { min-height: 500px; padding: 65px 22px; }
  .safety-section { grid-template-columns: 1fr; }
  .safety-section > p { grid-column: 1; }
  .waitlist-card { border-radius: 28px; grid-template-columns: 1fr; text-align: center; }
  .waitlist-mark { margin: 0 auto; }
  .waitlist-copy .eyebrow { justify-content: center; }
  .form-row { flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
