/* Fuzzi Fi website — tokens mirror the app's theme (src/theme.ts). */
:root {
  --bg: #fbf7f2;
  --card: #ffffff;
  --cream: #fffcf8;
  --border: #f0ebe4;
  --navy: #0b2d40;
  --text: #1d2b36;
  --muted: #5f6b74;
  --subtle: #8c949a;
  --coral: #f2685a;
  --coral-tint: #fdece8;
  --green: #3d8b6f;
  --green-text: #358363;
  --green-tint: #e4f2eb;
  --blue: #5a8de6;
  --blue-tint: #e7effb;
  --lavender: #8a6cd3;
  --lavender-tint: #efeafa;
  --radius: 18px;
  --shadow: 0 3px 12px rgba(90, 74, 58, 0.08);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.5rem 1rem; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; z-index: 10; }

/* Header */
.site-header { padding: 1rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a { color: var(--navy); text-decoration: none; font-weight: 500; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--green-text); }
.brand img { width: 120px; }

/* Buttons */
.store {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: 52px; padding: 0.55rem 1.25rem; border-radius: 12px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
}
.store small { font-weight: 500; font-size: 0.72rem; opacity: 0.8; }
.store--soon { background: #cfd5d9; color: var(--navy); cursor: default; }
.btn {
  display: inline-block; padding: 0.8rem 1.4rem; border-radius: 14px; font-weight: 600; text-decoration: none;
  background: var(--green); color: #fff;
}
.btn:hover { background: var(--green-text); }

/* Hero */
.hero { padding: 2rem 0 3rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 32rem; }
.hero .stores { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }
.hero .note { font-size: 0.9rem; color: var(--subtle); }
.phone {
  width: min(320px, 80vw); margin-inline: auto; padding: 12px; border-radius: 48px; background: #111;
  box-shadow: 0 30px 60px rgba(90, 74, 58, 0.22);
}
.phone img { border-radius: 38px; }

/* Sections */
section { padding: 3.5rem 0; }
section.alt { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.25rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tile {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 0.85rem;
}
.tile svg { width: 24px; height: 24px; }
.tile.coral { background: var(--coral-tint); color: var(--coral); }
.tile.green { background: var(--green-tint); color: var(--green-text); }
.tile.blue { background: var(--blue-tint); color: var(--blue); }
.tile.lavender { background: var(--lavender-tint); color: var(--lavender); }

/* Screenshots */
.shots { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); }
.shot { text-align: center; }
.shot img { border-radius: 24px; box-shadow: var(--shadow); margin-bottom: 0.9rem; }
.shot h3 { font-size: 1rem; }
.shot p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Privacy callout */
.privacy-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--green-text); margin-top: 2px; }
.pets { display: flex; gap: 1rem; justify-content: center; }
.pets img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); }
.pets img:first-child { border-color: var(--green); }

/* Prose pages */
.prose { max-width: 46rem; padding: 2rem 0 4rem; }
.prose h1 { margin-bottom: 0.25em; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose .meta { color: var(--subtle); font-size: 0.9rem; margin-bottom: 2rem; }
.callout { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.callout.owner { border-color: var(--coral); background: var(--coral-tint); }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 0.9rem 1.25rem; margin-bottom: 0.75rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq details p, .faq details ol { margin-top: 0.75rem; margin-bottom: 0.25rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0 3rem; text-align: center; color: var(--subtle); font-size: 0.9rem; }
.footer-paw { margin: 0 auto 1rem; opacity: 0.6; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-bottom: 1rem; }
.site-footer nav a { color: var(--navy); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--green-text); }
.social { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border); color: var(--navy); box-shadow: var(--shadow);
}
.social a:hover { color: var(--green-text); border-color: var(--green-tint); }
.social svg { width: 18px; height: 18px; }
.prose .social { justify-content: flex-start; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

@media (max-width: 900px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .stores { justify-content: center; }
  .privacy-callout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .site-header nav { gap: 1rem; font-size: 0.95rem; }
  .shots { grid-template-columns: 1fr; }
  .shot img { max-width: 280px; margin-inline: auto; }
  .pets img { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
