/* ============================================================
   PETSONA · Landing pages · shared styles
   Built on the Petsona design system (link styles.css first for
   the --ps-* tokens + fonts). Warm, rounded, confident.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ps-font-body); background: var(--ps-bg);
  color: var(--ps-text); line-height: var(--ps-leading-body);
  -webkit-font-smoothing: antialiased; font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--ps-accent); text-decoration: none; }
a:hover { color: var(--ps-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ps-accent); outline-offset: 2px; border-radius: 4px;
}
h1, h2, h3, h4 { font-family: var(--ps-font-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; line-height: 1.12; }
p { margin: 0; }
::selection { background: var(--ps-coral-100); color: var(--ps-coral-700); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---- eyebrow ---- */
.eyebrow {
  font-family: var(--ps-font-body); font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ps-accent); margin: 0 0 14px;
}
.eyebrow.muted { color: var(--ps-text-muted); }

/* ---- buttons (signature pill) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ps-font-body); font-weight: 700; font-size: 14.5px; line-height: 1;
  padding: 13px 24px; border-radius: var(--ps-radius-full); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .1s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; }
.btn-solid { background: var(--ps-accent); color: var(--ps-on-accent); }
.btn-solid:hover { background: var(--ps-accent-hover); color: var(--ps-on-accent); }
.btn-outline { background: transparent; color: var(--ps-text); border-color: var(--ps-accent); }
.btn-outline:hover { background: var(--ps-accent-tint); color: var(--ps-accent-hover); }
.btn-ghost { background: transparent; color: var(--ps-text); border-color: var(--ps-border); }
.btn-ghost:hover { border-color: var(--ps-text); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-white { background: #fff; color: var(--ps-ink); }
.btn-white:hover { background: var(--ps-coral-050); color: var(--ps-coral-700); }
.btn-block { display: flex; width: 100%; }

/* ---- wordmark ---- */
.wordmark { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.wordmark .paw { width: 24px; height: 24px; color: var(--ps-accent); }
.wordmark span { font-family: var(--ps-font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; color: var(--ps-ink); }
.wordmark.dark span { color: #FBF6EF; }
.wordmark.dark .paw { color: var(--ps-coral-300); }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,252,248,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--ps-border); }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: var(--ps-radius-full); font-size: 14.5px; font-weight: 600; color: var(--ps-text-muted); }
.site-nav a:hover { color: var(--ps-text); background: var(--ps-surface); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---- pills / badges ---- */
.tagpill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--ps-radius-full);
  background: var(--ps-bg); border: 1px solid var(--ps-border); font-size: 12.5px; font-weight: 700;
}
.tagpill svg { width: 14px; height: 14px; color: var(--ps-accent); }
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: var(--ps-radius-full);
  font-size: 12px; font-weight: 700; line-height: 1;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-accent { background: var(--ps-coral-050); color: var(--ps-coral-700); }
.badge-success { background: rgba(47,158,106,.14); color: #1d6845; }
.badge-danger { background: rgba(213,84,74,.12); color: #9c342c; }
.badge-solid { background: var(--ps-accent); color: #fff; }

/* ---- sections ---- */
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-surface { background: var(--ps-surface); border-top: 1px solid var(--ps-border); border-bottom: 1px solid var(--ps-border); }
.section-dark { background: var(--ps-charcoal); color: #FBF6EF; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #FBF6EF; }
.section-dark .lead, .section-dark p { color: #B3A895; }
.section-dark .eyebrow { color: var(--ps-coral-300); }
.confetti {
  background-color: var(--ps-coral-050);
  background-image: radial-gradient(var(--ps-coral-100) 2.2px, transparent 2.4px), radial-gradient(var(--ps-coral-100) 2.2px, transparent 2.4px);
  background-size: 26px 26px; background-position: 0 0, 13px 13px;
}

.sec-head { max-width: 680px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); }
.sec-head .lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--ps-text-muted); }
.section-dark .sec-head .lead { color: #B3A895; }

.lead { font-size: 18px; line-height: 1.6; color: var(--ps-text-muted); }

/* ---- hero ---- */
.hero { border-bottom: 1px solid var(--ps-border); }
.hero .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; padding: 60px 0 68px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 700; line-height: 1.03; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--ps-accent); }
.hero .lead { margin-top: 20px; font-size: 19px; max-width: 46ch; }
.hero .cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero .micro { margin-top: 18px; font-size: 13.5px; color: var(--ps-text-muted); display: inline-flex; align-items: center; gap: 8px; }
.hero .micro svg { width: 16px; height: 16px; color: var(--ps-success); }

/* ---- cards ---- */
.card { background: var(--ps-bg); border: 1px solid var(--ps-border); border-radius: var(--ps-radius-lg); padding: 26px; box-shadow: var(--ps-shadow-sm); }
.card-halo { border-color: var(--ps-coral-100); box-shadow: var(--ps-halo); }
.icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--ps-radius-md); background: var(--ps-accent-tint); color: var(--ps-accent); flex: 0 0 auto; }
.icon-chip svg { width: 22px; height: 22px; }

/* ---- feature grid ---- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px 26px; }
.feat { display: flex; gap: 15px; }
.feat h3 { font-size: 17px; margin-bottom: 5px; }
.feat p { font-size: 14.5px; color: var(--ps-text-muted); line-height: 1.6; }
.feat .icon-chip { width: 44px; height: 44px; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.step { position: relative; }
.step .num { font-family: var(--ps-font-mono); font-size: 12px; color: var(--ps-accent); font-weight: 500; letter-spacing: .08em; }
.step h3 { font-size: 18px; margin: 12px 0 8px; }
.step p { font-size: 14.5px; color: var(--ps-text-muted); line-height: 1.6; }

/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.price { background: var(--ps-bg); border: 1px solid var(--ps-border); border-radius: var(--ps-radius-lg); padding: 28px; box-shadow: var(--ps-shadow-sm); display: flex; flex-direction: column; position: relative; }
.price.pop { border-color: var(--ps-coral-100); box-shadow: var(--ps-halo); }
.price .plan { font-family: var(--ps-font-display); font-weight: 600; font-size: 20px; }
.price .for { font-size: 13.5px; color: var(--ps-text-muted); margin-top: 4px; }
.price .amt { display: flex; align-items: baseline; gap: 5px; margin: 16px 0 18px; }
.price .amt b { font-family: var(--ps-font-display); font-weight: 700; font-size: 42px; letter-spacing: -0.02em; }
.price .amt span { font-size: 14px; color: var(--ps-text-muted); }
.price ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.price li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; }
.price li svg { width: 16px; height: 17px; color: var(--ps-accent); flex: 0 0 auto; margin-top: 1px; }
.price .note { text-align: center; margin-top: 22px; font-size: 13px; color: var(--ps-text-muted); }

/* ---- comparison ---- */
.compare { width: 100%; border-collapse: collapse; background: var(--ps-bg); border: 1px solid var(--ps-border); border-radius: var(--ps-radius-lg); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--ps-border); }
.compare thead th { font-family: var(--ps-font-display); font-weight: 600; font-size: 15px; background: var(--ps-surface); }
.compare thead th:last-child { color: var(--ps-accent); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--ps-text-muted); }
.compare .yes { color: var(--ps-success); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.compare .no { color: var(--ps-n400); display: inline-flex; align-items: center; gap: 7px; }
.compare svg { width: 17px; height: 17px; }
.compare td:last-child, .compare th:last-child { background: var(--ps-coral-050); }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--ps-bg); border: 1px solid var(--ps-border); border-radius: var(--ps-radius-md); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 14px; font-family: var(--ps-font-display); font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { margin-left: auto; width: 18px; height: 18px; color: var(--ps-accent); flex: 0 0 auto; transition: transform .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .ans { padding: 0 20px 20px; font-size: 14.5px; line-height: 1.6; color: var(--ps-text-muted); }

/* ---- pet-profile mock (shared visual device) ---- */
.pet-av { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ps-font-display); font-weight: 600; flex: 0 0 auto; }
.mock-card { background: var(--ps-bg); border: 1px solid var(--ps-border); border-radius: var(--ps-radius-lg); box-shadow: var(--ps-shadow-lg); }

/* ---- browser frame ---- */
.frame { border-radius: var(--ps-radius-lg); overflow: hidden; border: 1px solid var(--ps-border); box-shadow: var(--ps-shadow-lg); background: var(--ps-bg); }
.frame .chrome { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--ps-surface); border-bottom: 1px solid var(--ps-border); }
.frame .dots { display: flex; gap: 6px; }
.frame .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.frame .url { flex: 1; display: flex; justify-content: center; }
.frame .url span { display: inline-flex; align-items: center; gap: 6px; background: var(--ps-bg); border: 1px solid var(--ps-border); border-radius: 999px; padding: 4px 14px; font-family: var(--ps-font-mono); font-size: 11.5px; color: var(--ps-text-muted); }
.frame .url svg { width: 12px; height: 12px; color: var(--ps-success); }

/* ---- two-path cards (hub) ---- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.path { display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: var(--ps-radius-xl); border: 1px solid var(--ps-border); background: var(--ps-bg); box-shadow: var(--ps-shadow-sm); transition: box-shadow .2s, transform .2s; }
.path:hover { box-shadow: var(--ps-shadow-md); transform: translateY(-3px); }
.path .kicker { font-size: 13px; font-weight: 700; color: var(--ps-text-muted); }
.path h3 { font-size: 26px; }
.path p { font-size: 15px; color: var(--ps-text-muted); line-height: 1.6; flex: 1; margin: 6px 0 18px; }

/* ---- footer ---- */
.site-footer { background: var(--ps-charcoal); color: #FBF6EF; }
.site-footer .inner { padding: 60px 0 34px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 44px; justify-content: space-between; }
.site-footer .about { max-width: 300px; }
.site-footer .about p { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: #B3A895; }
.site-footer .linkcols { display: flex; gap: 52px; flex-wrap: wrap; }
.site-footer h4 { font-family: var(--ps-font-body); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #FBF6EF; margin-bottom: 14px; }
.site-footer .linkcols a { display: block; font-size: 14px; color: #B3A895; margin-bottom: 10px; }
.site-footer .linkcols a:hover { color: #fff; }
.site-footer .base { margin-top: 44px; padding-top: 22px; border-top: 1px solid #40392F; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.site-footer .base span { font-size: 13px; color: #8A7E6C; }
.site-footer .base .mono { font-family: var(--ps-font-mono); font-size: 12px; }

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- utilities ---- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-lg > * + * { margin-top: 44px; }

/* ---- responsive ---- */
@media (max-width: 860px) { .hide-md { display: none; } }
@media (max-width: 560px) { .hide-sm { display: none; } .btn-lg { padding: 14px 24px; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
