:root {
  color-scheme: light dark;
  --bg: #fdf8f0;
  --panel: #ffffff;
  --text: #2e2521;
  --muted: #786b63;
  --accent: #fb6d5a;
  --accent-soft: #fde7da;
  --accent-ink: #ffffff;
  --line: #eadfd2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1512;
    --panel: #2e2521;
    --text: #f4ece4;
    --muted: #b3a49a;
    --accent: #ff8270;
    --accent-soft: #4a3229;
    --accent-ink: #2e1511;
    --line: #453931;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 24px; }
.narrow { max-width: 560px; }
header.site { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
header.site a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
main { padding: 24px 0 48px; }
h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.5px; margin: 24px 0 12px; }
h2 { font-size: 24px; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 20px 0 8px; }
p { margin: 12px 0; }
.lead { font-size: 21px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
a { color: var(--accent); }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 14px;
}
.btn.secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 24px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.card h3 { margin-top: 0; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 24px 0; align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card .amount { font-size: 34px; font-weight: 800; margin: 8px 0 2px; }
.price-card .period { color: var(--muted); margin-bottom: 12px; }
.price-card ul { margin: 0 0 18px 20px; color: var(--muted); }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card.hero-offer { border: 2px solid var(--accent); position: relative; }
.badge {
  position: absolute; top: -12px; left: 16px; background: var(--accent);
  color: var(--accent-ink); font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.4px;
}
footer.site { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
/* Journal */
.j-head { text-align: center; padding: 12px 0 4px; }
.j-head .pets { font-size: 34px; font-weight: 800; }
.j-head .sub { color: var(--muted); }
.entry { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 16px 0; }
.entry .when { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip {
  background: var(--accent-soft); color: var(--text); border-radius: 999px;
  padding: 5px 14px; font-size: 15px; font-weight: 600;
}
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.note { background: var(--bg); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.state { text-align: center; color: var(--muted); padding: 48px 0; }
@media (max-width: 390px) {
  h1 { font-size: 30px; }
  .features, .pricing { grid-template-columns: 1fr; }
}
