/* Whisker Care site — direction H2 "Morning Light". Tokens from artifacts/design-previews/kit/tokens.json (light). */
:root {
  --bg: #FFF9F1;
  --raised: #FFFFFF;
  --sunken: #F6ECDD;
  --ink: #1C2B55;
  --ink-2: #5C6483;
  --line: #F0E3D1;
  --brand: #2F5FC8;
  --brand-hover: #2652B2;
  --brand-soft: #E8EFFC;
  --given: #117F63;
  --hero: linear-gradient(160deg, #FFBF8F 0%, #FFD8A6 34%, #FFEBC2 66%, #DCEBF8 100%);
  --shadow-card: 0 18px 36px -24px rgba(150, 90, 50, .38);
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-hero: 34px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--raised); padding: 8px 14px; border-radius: 10px; z-index: 10; }

/* ---------- header ---------- */
.top { position: relative; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 15.5px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--brand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 16px; border: 0;
  background: var(--brand); color: #fff; font: 650 17px/1 var(--font); text-decoration: none;
  box-shadow: 0 14px 24px -14px rgba(47, 95, 200, .7);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-hover); color: #fff; }
.btn:active { transform: scale(.98); }
.btn.small { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 13px; box-shadow: none; }
.btn.ghost { background: rgba(255, 255, 255, .62); color: var(--ink); box-shadow: none; border: 1px solid rgba(28, 43, 85, .12); }
.btn.ghost:hover { background: #fff; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero); border-radius: 0 0 var(--r-hero) var(--r-hero); margin-top: -84px; padding-top: 84px; }
.hero .mark {
  position: absolute; right: -90px; top: 20px; width: 640px; opacity: .1; pointer-events: none;
  filter: brightness(0) saturate(0) invert(14%) sepia(40%) saturate(2200%) hue-rotate(205deg);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; padding-top: 52px; padding-bottom: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; }
h1 { font: 760 clamp(42px, 5.6vw, 66px)/1.04 var(--font); letter-spacing: -.028em; margin: 0 0 22px; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink); opacity: .86; max-width: 30em; margin: 0 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.note { font-size: 14px; color: var(--ink-2); margin: 18px 0 0; }
.hero .note { color: #4A5272; }
.hero-phones { position: relative; height: 640px; }
.hero-phones > img, .hero-phones .mapphone { position: absolute; width: 276px; height: auto; filter: drop-shadow(0 34px 38px rgba(110, 60, 30, .28)); }
.hero-phones .p1 { left: 0; top: 40px; z-index: 2; }
.hero-phones .p2 { right: -24px; top: 96px; width: 246px; }

/* ---------- sections ---------- */
section { padding: 104px 0; }
.sec-head { max-width: 640px; margin: 0 0 56px; }
h2 { font: 740 clamp(32px, 4vw, 44px)/1.1 var(--font); letter-spacing: -.022em; margin: 0 0 16px; }
h3 { font: 700 21px/1.3 var(--font); letter-spacing: -.01em; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.muted { color: var(--ink-2); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 120px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .shot { order: -1; }
.feature .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.feature p.big { font-size: 19px; color: var(--ink-2); max-width: 28em; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 550; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='%232F5FC8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.shot { position: relative; display: flex; justify-content: center; padding: 40px 0; }
.shot::before { content: ""; position: absolute; inset: 0 8%; border-radius: var(--r-hero); background: var(--hero); opacity: .62; }
.shot.cool::before { background: linear-gradient(160deg, #DCEBF8, #EEF3FB 60%, #FFF1DA); opacity: .9; }
.shot img { position: relative; width: 290px; height: auto; border-radius: 13% / 6%; border: 1px solid rgba(28,43,85,.14); filter: drop-shadow(0 30px 34px rgba(60, 50, 90, .24)); }
.shot.duo img + img { margin-left: -70px; margin-top: 70px; width: 250px; }

.band { background: var(--sunken); border-radius: var(--r-hero); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-card); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 24px; height: 24px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--ink-2); margin: 0; font-size: 16px; }

.vetnote { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 36px; box-shadow: var(--shadow-card); }
.vetnote .ic { width: 56px; height: 56px; border-radius: 18px; background: #FFE9CC; display: grid; place-items: center; }
.vetnote .ic svg { width: 28px; height: 28px; stroke: #1C2B55; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vetnote p { margin: 0; color: var(--ink-2); }
.vetnote strong { color: var(--ink); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
table.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); font-size: 16px; }
.compare th, .compare td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: #FFFCF7; }
.compare thead th:last-child { color: var(--brand); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 24%; }
.compare td:first-child { font-weight: 550; }
.yes { color: var(--given); font-weight: 700; }
.dash { color: var(--ink-2); }
.price-stack { display: grid; gap: 14px; }
.price { background: var(--raised); border: 1.5px solid var(--line); border-radius: var(--r-xl); padding: 24px 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-card); }
.price.best { border-color: var(--brand); background: linear-gradient(180deg, #fff, #F3F7FE); }
.price .name { font-weight: 700; font-size: 17px; }
.price .sub { font-size: 14px; color: var(--ink-2); }
.price .amt { font: 750 30px/1 var(--font); letter-spacing: -.02em; text-align: right; }
.price .amt small { font: 550 14px/1 var(--font); color: var(--ink-2); letter-spacing: 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin-left: 8px; vertical-align: 2px; }
.fine { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin-top: 6px; }

/* ---------- faq / prose ---------- */
.faq { max-width: 780px; }
details { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 650; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details > div { padding: 0 24px 22px; color: var(--ink-2); }
details > div p:last-child { margin-bottom: 0; }

.closing { text-align: center; }
.closing .appicon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 28px; box-shadow: 0 22px 30px -18px rgba(35, 82, 176, .6); }
.closing p { color: var(--ink-2); max-width: 30em; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14.5px; color: var(--ink-2); }
footer .wrap { display: grid; gap: 22px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
footer nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
footer nav a:hover { color: var(--brand); }
footer img { height: 32px; width: auto; }
footer p { margin: 0; max-width: 62em; font-size: 13.5px; }

/* ---------- inner pages (support, legal) ---------- */
.page-head { background: var(--hero); border-radius: 0 0 var(--r-hero) var(--r-hero); margin-top: -84px; padding: 84px 0 0; }
.page-head .wrap { padding-top: 56px; padding-bottom: 64px; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 14px; }
.page-head p { font-size: 19px; max-width: 34em; opacity: .85; margin: 0; }
.prose { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.prose h1 { display: none; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: #353F66; }
.prose ul { padding-left: 22px; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0 0 56px; }
.mail { font: 700 22px/1.3 var(--font); word-break: break-all; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero .wrap, .feature, .plans { grid-template-columns: 1fr; }
  .hero .wrap { gap: 8px; }
  .hero-phones { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-phones img { width: 232px; }
  .hero-phones .p2 { width: 216px; top: 90px; }
  .feature { gap: 28px; margin-bottom: 80px; }
  .feature.flip .shot { order: 0; }
  .three, .support-grid { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .vetnote { grid-template-columns: 1fr; padding: 26px; }
  .hero .mark { width: 420px; right: -120px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16.5px; }
  .brand img { height: 34px; }
  .btn { width: 100%; }
  .btn.small { width: auto; }
  .lede { font-size: 18px; }
  .hero-phones { height: 440px; }
  .hero-phones img { width: 196px; }
  .hero-phones .p2 { width: 184px; top: 70px; }
  .shot img { width: 240px; }
  .compare th, .compare td { padding: 12px 10px; font-size: 14.5px; }
  .price { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* real captures are plain rectangles: round them like a phone screen */
.hero-phones img { border-radius: 13% / 6%; border: 1px solid rgba(28,43,85,.14); height: auto; }
.hero-phones .mapphone img { position: static; width: 100%; filter: none; }
.hero-phones .mapphone { filter: drop-shadow(0 34px 38px rgba(110, 60, 30, .28)); height: auto; }
.hero-id { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-weight: 700; font-size: 18px; }
.hero-id img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 10px 18px -10px rgba(35,82,176,.6); }
.appstore { display: inline-flex; line-height: 0; border-radius: 9px; transition: transform .15s ease; }
.appstore:hover { transform: translateY(-2px); }
.appstore svg { height: 54px; width: auto; }
.closing .appstore { margin: 0 auto; }
footer .appstore svg { height: 44px; }
/* signature motion: the "next injection site" ring on the map */
.mapphone .pulse { position: absolute; left: 47%; top: 51%; width: 16.5%; height: 14.5%; border: 3px solid var(--ink); border-radius: 12px; pointer-events: none; animation: sitepulse 2.6s ease-in-out infinite; }
@keyframes sitepulse { 0%,100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.14); opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .mapphone .pulse { animation: none !important; } }
