/* Pawsport — the public site. Same language as the app (DESIGN.md): a white,
   editorial canvas, one coral accent, ink pill buttons, big confident type. */
:root {
  --coral: #F4553A; --coral-deep: #C8401F; --coral-soft: #FFEDE8;
  --ink: #222222; --hof: #484848; --muted: #767676; --faint: #B0B0B0;
  --canvas: #FFFFFF; --surface-hi: #F7F7F7; --line: #EBEBEB;
  --navy: #13243A;
  --link: #C8401F;
  --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --inset: 20px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F2F2F2; --hof: #D6D6D6; --muted: #A0A0A0; --faint: #6E6E6E;
    --canvas: #121212; --surface-hi: #1C1C1E; --line: #2C2C2E;
    --coral-soft: #3A1E18; --link: #FF8A70;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--inset); }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--inset); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--canvas) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--hof); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
/* The pill keeps its own colours; the menu-link rule above used to win. */
.nav a.btn-ink, .nav a.btn-ink:hover { color: var(--canvas); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn-ink { background: var(--ink); color: var(--canvas); }
.btn-soft { background: var(--surface-hi); color: var(--ink); }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; }
.soon { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: 15px; }
.store-badge { height: 54px; width: auto; }
.badge-link { display: inline-block; line-height: 0; border-radius: 10px; }
.badge-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Hero */
.hero { background: var(--coral); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.hero h1 { font-size: clamp(46px, 7vw, 84px); line-height: .98; letter-spacing: -2.5px; margin: 0 0 20px; font-weight: 800; }
.hero h1 span { font-weight: 300; letter-spacing: -2px; display: block; }
.hero p.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; margin: 0 0 28px; max-width: 30em; color: rgba(255,255,255,.94); }
.hero .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero .note { font-size: 14px; color: rgba(255,255,255,.85); margin: 0 0 56px; }
.hero .note a { color: #fff; }
.hero .phone { align-self: end; max-width: 420px; justify-self: center; margin-bottom: 0; border-radius: 34px 34px 0 0; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; }
  .hero .note { margin-bottom: 32px; }
  .hero .phone { max-width: 340px; }
}

/* Gallery */
.gallery { padding: 72px 0 24px; }
.gallery h2, .section h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1px; line-height: 1.08; margin: 0 0 10px; font-weight: 800; }
.gallery .sub, .section .sub { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 36em; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--inset) 24px;
  scrollbar-width: none; margin: 0 calc(-1 * var(--inset)); }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: 0 0 auto; width: 250px; border-radius: 22px; scroll-snap-align: start; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
@media (min-width: 1120px) { .strip { margin: 0; padding-left: 0; padding-right: 0; } }

/* Features */
.section { padding: 64px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface-hi); border-radius: var(--r-lg); padding: 24px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--coral-soft); color: var(--coral);
  display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -.2px; }
.card p { margin: 0; color: var(--hof); font-size: 16px; }

/* Friends band */
.band { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.82); font-size: 17px; margin: 0 0 12px; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; color: rgba(255,255,255,.92); }
.band li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-top: 9px; }
.band .mascot { border-radius: 24px; width: 100%; max-width: 260px; justify-self: center; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 28px; } .band .mascot { max-width: 180px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.plan { border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.plan.pro { border-color: var(--coral); }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.plan .price { color: var(--muted); margin: 0 0 16px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--hof); }
.plan li { margin: 6px 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--coral); font-weight: 400; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--hof); margin: 10px 0 0; }

/* Documents (privacy, terms, support) */
.doc { padding: 48px 0 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); letter-spacing: -1px; line-height: 1.1; margin: 0 0 6px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 22px; letter-spacing: -.2px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--hof); }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc td, .doc th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.doc .callout { background: var(--surface-hi); border-radius: var(--r-md); padding: 16px 18px; margin: 18px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--hof); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--r-lg); background: var(--surface-hi); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.2px; }
.step p { margin: 0; color: var(--hof); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Feature spotlights: the screen large, the words beside it, sides alternating */
.spot { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 36px 0; max-width: 980px; margin: 0 auto; }
.spot + .spot { border-top: 1px solid var(--line); }
.spot img { width: 100%; max-width: 290px; justify-self: center; border-radius: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.spot:nth-child(even) > img { order: 2; }
.spot .kicker { color: var(--coral); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 8px; }
.spot h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -1px; margin: 0 0 14px; font-weight: 800; }
.spot p { color: var(--hof); font-size: 18px; margin: 0 0 12px; max-width: 30em; }
.spot ul { margin: 6px 0 0; padding-left: 20px; color: var(--hof); }
.spot li { margin: 6px 0; }
@media (max-width: 760px) {
  .spot { grid-template-columns: 1fr; gap: 24px; }
  .spot:nth-child(even) > img { order: 0; }
  .spot img { max-width: 280px; }
}

/* Promise band */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise div { padding: 22px; border: 1.5px solid var(--line); border-radius: var(--r-lg); }
.promise b { display: block; font-size: 18px; margin-bottom: 4px; }
.promise span { color: var(--hof); font-size: 15px; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* Closing call to action */
.final { background: var(--coral); color: #fff; border-radius: var(--r-xl); padding: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.final img.cat { width: 110px; height: 110px; border-radius: 26px; }
.final h2 { color: #fff; margin: 0 0 6px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -1px; }
.final p { margin: 0; color: rgba(255,255,255,.9); font-size: 17px; }
@media (max-width: 760px) { .final { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; } .final img.cat { margin: 0 auto; } }
