/* Pawprints — warm "paper journal" identity.
   Distinct from the H Ling default site: cream paper, honey accent, soft serif notes. */

:root {
  --bg: #faf5ec;
  --bg-tint: #f4ead8;
  --surface: #fffdf8;
  --surface-soft: #f6efe2;
  --text: #2c2620;
  --muted: #837866;
  --border: #e7dccb;          /* kept for safety; real border below */
  --border: #e8ddc9;
  --hairline: #efe7d6;
  --accent: #d9842f;          /* honey amber */
  --accent-strong: #bd6c1d;
  --accent-soft: #fbeed9;
  --sage: #6f8c63;            /* secondary — checks, "private" cues */
  --sage-soft: #e8efe1;
  --rose: #c96a5e;            /* milestone / heart accents */
  --button: #2c2620;
  --button-text: #fff8ec;
  --shadow: 28px 60px rgba(58, 42, 18, 0.16);
  --shadow-soft: 14px 30px rgba(58, 42, 18, 0.10);
  --radius: 18px;
  --radius-lg: 26px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #15110c;
  --bg-tint: #1d1810;
  --surface: #221c13;
  --surface-soft: #1b1610;
  --text: #f4ecdc;
  --muted: #a99a82;
  --border: #352c1e;
  --hairline: #2a2217;
  --accent: #efa962;
  --accent-strong: #f6c48f;
  --accent-soft: #2e2415;
  --sage: #9bb78d;
  --sage-soft: #232a1d;
  --rose: #e08a7e;
  --button: #f4ecdc;
  --button-text: #15110c;
  --shadow: 30px 70px rgba(0, 0, 0, 0.55);
  --shadow-soft: 16px 36px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(1100px 600px at 85% -8%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(900px 520px at -5% 8%, var(--sage-soft) 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.serif {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-style: italic;
}

.container {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand .paw {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--accent);
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--text); }

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover { transform: translateY(-1px); border-color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: 60px;
  align-items: center;
  padding: 34px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  font-size: clamp(46px, 8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-tagline {
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--button);
  color: var(--button-text);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(58, 42, 18, 0.22);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover { transform: translateY(-2px); border-color: var(--accent); }

.btn .icon { width: 18px; height: 18px; }

.hero-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- phone showcase ---------- */
.phone-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.phone {
  position: relative;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(160deg, #fff 0%, #ece2d0 100%);
  border: 1px solid var(--border);
  box-shadow: 0 var(--shadow);
}

html[data-theme="dark"] .phone {
  background: linear-gradient(160deg, #2b2418 0%, #15110c 100%);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 30px;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  background: var(--surface-soft);
}

.phone--lift { transform: translateY(-26px); }
.phone--drop { transform: translateY(20px); }

.hero-blob {
  position: absolute;
  inset: -8% -6% -8% -6%;
  z-index: -1;
  background:
    radial-gradient(closest-side, var(--accent-soft), transparent 78%);
  filter: blur(6px);
}

/* ---------- trust strip ---------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  padding: 26px 30px;
  margin: 0 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 var(--shadow-soft);
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.trust .check {
  width: 19px;
  height: 19px;
  color: var(--sage);
  flex: none;
}

/* ---------- generic section ---------- */
.section {
  padding: 78px 0;
  border-top: 1px solid var(--hairline);
}

.section--plain { border-top: none; }

.section-head {
  max-width: 680px;
  margin: 0 0 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  color: var(--accent-strong);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.section h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

/* ---------- split feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split + .split { margin-top: 96px; }

.split.reverse .split-media { order: -1; }

.split-body h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  font-weight: 800;
}

.split-body p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 22px;
}

.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
}

.tick-list .check {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--sage);
  flex: none;
}

.split-media {
  display: flex;
  justify-content: center;
}

.split-media .phone { max-width: 290px; width: 100%; }

/* chips (trackables) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip.sage .dot { background: var(--sage); }
.chip.rose .dot { background: var(--rose); }

/* ---------- feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 var(--shadow-soft);
  border-color: var(--accent);
}

.feature-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-ico svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 7px;
  font-weight: 700;
}

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 234px;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.gallery .phone {
  scroll-snap-align: center;
  border-radius: 32px;
}

.gallery .phone img { border-radius: 25px; }

/* ---------- privacy band ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px clamp(28px, 5vw, 72px);
  text-align: center;
}

.band .lock {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: var(--sage-soft);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.band .lock svg { width: 28px; height: 28px; }

.band h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
  margin: 0 auto 16px;
  max-width: 18ch;
  font-weight: 800;
}

.band p {
  color: var(--muted);
  font-size: 18px;
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- support / tip jar ---------- */
.tip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.tip-card .emoji { font-size: 30px; line-height: 1; }
.tip-card h3 { margin: 14px 0 4px; font-size: 18px; }
.tip-card .price { color: var(--accent-strong); font-weight: 800; font-size: 22px; }
.tip-card p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* ---------- info / contact cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.info-card h2, .info-card h3 { font-size: 18px; margin: 0 0 8px; }
.info-card p, .info-card li { color: var(--muted); font-size: 15px; }
.info-card a { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.info-card ul { margin: 0; padding-left: 20px; line-height: 1.85; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16.5px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }

/* ---------- closing CTA ---------- */
.closing {
  text-align: center;
  padding: 90px 0 30px;
}

.closing .paw-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--accent);
  opacity: 0.85;
}

.closing .paw-row svg { width: 22px; height: 22px; }
.closing .paw-row svg:nth-child(2) { transform: translateY(8px); }
.closing .paw-row svg:nth-child(3) { transform: translateY(-2px); }

.closing h2 {
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.03em;
  margin: 0 auto 26px;
  max-width: 16ch;
  font-weight: 800;
}

/* ---------- subpage heading + prose ---------- */
.page-heading {
  padding: 30px 0 48px;
  max-width: 760px;
}

.page-heading h1 {
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  font-weight: 800;
}

.page-heading p { color: var(--muted); font-size: 18px; margin: 0; }

.prose { max-width: 760px; }

.prose h2 {
  font-size: 23px;
  letter-spacing: -0.01em;
  margin: 46px 0 12px;
  font-weight: 700;
}

.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose ul { padding-left: 22px; line-height: 1.85; }
.prose a { color: var(--accent-strong); font-weight: 600; }
.prose strong { color: var(--text); }

.prose code {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}

.note-card {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.note-card p { color: var(--text); margin: 0; font-size: 15.5px; }

/* ---------- release notes ---------- */
.release {
  max-width: 760px;
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--border);
}

.release-entry { padding: 0 0 46px; position: relative; }
.release-entry:last-child { padding-bottom: 0; }

.release-entry::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--bg);
}

.release-entry .ver {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.release-entry h2 { font-size: 26px; margin: 0; letter-spacing: -0.02em; }
.release-entry .date { color: var(--muted); font-size: 14px; font-weight: 600; }

.release-entry .pill {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-soft);
  border-radius: 999px;
  padding: 4px 11px;
}

.release-entry ul { margin: 0; padding-left: 22px; line-height: 1.85; color: var(--muted); }
.release-entry li { font-size: 16px; }
.release-entry li strong { color: var(--text); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 14px;
  margin-top: 40px;
  padding: 34px 0 46px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.footer-brand .paw { width: 24px; height: 24px; color: var(--accent); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--text); }

.site-footer p { margin: 0; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
  .hero-lead { max-width: 600px; }
  .phone-showcase { max-width: 420px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .split-media .phone { max-width: 260px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tip-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1120px); }
  .site-header { flex-direction: column; align-items: flex-start; }
  .site-nav { width: 100%; justify-content: flex-start; gap: 16px; }
  .section { padding: 56px 0; }
  .feature-grid, .info-grid { grid-template-columns: 1fr; }
  .trust { gap: 12px 24px; padding: 22px; }
  .phone--lift, .phone--drop { transform: none; }
  .gallery { grid-auto-columns: 200px; }
}
