/* The Pet Parent website. Seaside palette and Poppins, matching the app. */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700.woff2) format("woff2"); }

:root {
  --canvas: #f4f8fa;
  --surface: #fcfefe;
  --ink: #294958;
  --soft-ink: #436877;
  --muted: #5d7581;
  --accent: #2c6476;
  --accent-hover: #204e5e;
  --soft: #dbeeea;
  --softest: #eff6f5;
  --edge: #dbe6e8;
  --hero: #e9f4f5;
  --bubble-in: #e6edf0;
  --night: #15262f;
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, -apple-system, BlinkMacSystemFont, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 700; letter-spacing: -.05em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--soft-ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand .mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--accent); }
.brand svg { width: 22px; height: 22px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--soft-ink); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 16px; font-size: 16px; font-weight: 600; text-decoration: none; color: #fff; background: var(--accent); transition: background .15s ease; }
.button:hover { color: #fff; background: var(--accent-hover); }
.button.ghost { color: var(--accent); background: var(--surface); border: 1px solid var(--edge); }
.button.ghost:hover { background: var(--softest); }
.site-nav .button { min-height: 42px; padding: 0 18px; font-size: 14px; color: #fff; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3f9b6b; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero .lede { max-width: 520px; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 34px; }
.hero-art { position: relative; justify-self: center; }
.phone { width: min(300px, 70vw); border-radius: 44px; padding: 10px; background: #fff; border: 1px solid var(--edge); box-shadow: 0 40px 80px #1d29241f, 0 8px 20px #1d29240f; }
.phone img { border-radius: 34px; }
.hero-art .phone { transform: rotate(-3deg); }
.hero-mascot { position: absolute; left: -150px; bottom: 60px; width: 170px; height: 170px; border-radius: 44%; overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 24px 50px #1d29242b; background: var(--hero); }
.hero-mascot video, .hero-mascot img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head p { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* The problem: a group chat */
.problem { background: var(--surface); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.problem .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius); background: var(--canvas); border: 1px solid var(--edge); }
.chat-title { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--edge); font-weight: 600; }
.chat-title img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.chat-title small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.msg { max-width: 82%; }
.msg small { display: block; margin: 0 0 3px 14px; font-size: 12px; font-weight: 500; color: var(--muted); }
.msg p { padding: 11px 18px; border-radius: 22px; font-size: 16px; line-height: 1.35; background: var(--bubble-in); border-bottom-left-radius: 6px; }
.msg.out { align-self: flex-end; }
.msg.out p { color: #fff; background: var(--accent); border-radius: 22px; border-bottom-right-radius: 6px; }

/* Features */
.features { display: grid; gap: 28px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px; border-radius: 36px; background: var(--surface); border: 1px solid var(--edge); }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature-copy p { margin-top: 14px; color: var(--soft-ink); }
.feature-copy ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-copy li { display: flex; gap: 12px; color: var(--soft-ink); }
.feature-copy li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c6476' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.feature .phone { justify-self: center; width: min(280px, 72vw); }
.phones-pair { display: flex; align-items: flex-start; justify-content: center; gap: 18px; }
.phones-pair .phone { width: min(230px, 42vw); }
.phones-pair .phone:last-child { margin-top: 48px; }
.tag { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--softest); }

/* Family band */
.family { background: var(--hero); }

/* Mascot */
.companions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.companion { text-align: center; }
.companion .clip { aspect-ratio: 1; border-radius: 44%; overflow: hidden; background: var(--hero); border: 6px solid var(--surface); box-shadow: 0 18px 40px #1d29241a; }
.companion video { width: 100%; height: 100%; object-fit: cover; }
.companion h3 { margin-top: 18px; font-size: 18px; }
.companion p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--edge); }
.promise .icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; color: var(--accent); background: var(--softest); }
.promise svg { width: 24px; height: 24px; }
.promise p { margin-top: 10px; font-size: 16px; color: var(--soft-ink); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { padding: 22px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--edge); }
summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 500; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; color: var(--soft-ink); }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 56px; border-radius: 40px; color: #e9f2f5; background: radial-gradient(120% 120% at 85% 0%, #2c4b5a 0%, var(--night) 70%); overflow: hidden; }
.cta-card h2 { color: #fff; }
.cta-card p { margin-top: 14px; color: #b9ccd3; }
.cta-card .button { margin-top: 28px; color: var(--night); background: #fff; }
.cta-card .button:hover { background: var(--soft); }
.cta-card img { width: 220px; }

/* Footer */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--edge); font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--soft-ink); text-decoration: none; }

/* Document pages: privacy, support, 404 */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); }
.doc .updated { margin-top: 12px; font-size: 15px; color: var(--muted); }
.doc h2 { margin-top: 44px; font-size: 26px; letter-spacing: -.025em; }
.doc p, .doc li { margin-top: 12px; color: var(--soft-ink); }
.doc ul { padding-left: 22px; }
.doc .faq { margin-top: 32px; }
.doc-mascot { width: 140px; margin-bottom: 18px; }

@media (max-width: 900px) {
  .hero .wrap, .problem .wrap, .feature, .cta-card { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero-art { margin-top: 12px; }
  .hero-mascot { left: -40px; width: 130px; height: 130px; }
  .feature { padding: 32px 24px; gap: 32px; }
  .feature:nth-child(even) .feature-copy { order: 0; }
  .companions { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 28px; text-align: center; }
  .cta-card img { justify-self: center; width: 160px; }
  .hero-art .phone { transform: none; width: min(280px, 76vw); }
  .hero-mascot { left: -28px; bottom: 20px; width: 112px; height: 112px; }
  .family .feature { padding: 28px 20px; }
  .phones-pair { gap: 12px; }
  .phones-pair .phone { width: calc(50% - 6px); padding: 6px; border-radius: 28px; }
  .phones-pair .phone img { border-radius: 22px; }
  .phones-pair .phone:last-child { margin-top: 28px; }
  section { padding: 64px 0; }
}
@media (max-width: 620px) {
  .site-nav a:not(.button) { display: none; }
  .wrap { width: calc(100% - 32px); }
  .chat { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.spaced { margin-top: 18px; }
.sprite { position: absolute; }

/* Feature cards show the relevant part of the app at a readable size. */
.panel { justify-self: center; align-self: center; width: min(420px, 100%); max-height: 560px; border-radius: 26px; overflow: hidden; background: var(--canvas); border: 1px solid var(--edge); box-shadow: 0 30px 60px #1d29241a; }
.panel img { width: 100%; height: auto; }
.panel { -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }

/* Waitlist form */
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; width: min(480px, 100%); }
.waitlist input:not([type="hidden"]) { flex: 1 1 220px; min-height: 52px; padding: 0 18px; border-radius: 16px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--edge); }
.waitlist input:not([type="hidden"]):focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.waitlist .button { flex: none; border: 0; cursor: pointer; font-family: inherit; }
.waitlist .button:disabled { opacity: .6; cursor: wait; }
.waitlist-status { flex-basis: 100%; min-height: 1.4em; font-size: 15px; font-weight: 500; color: var(--soft-ink); }
.waitlist.is-done .waitlist-status { color: #2f7d55; }
.waitlist.is-error .waitlist-status { color: #a3483e; }
.waitlist.on-dark { margin-top: 26px; }
.waitlist.on-dark input:not([type="hidden"]) { border-color: transparent; }
.waitlist.on-dark .waitlist-status { color: #cfe0e6; }
.waitlist.on-dark.is-done .waitlist-status { color: #9be0b9; }
.waitlist.on-dark.is-error .waitlist-status { color: #f3b4a8; }
.hero-actions { flex-direction: column; align-items: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cta-card .waitlist .button { margin-top: 0; }
