/* Shared styles for the public WeightApp pages. */
:root {
  --bg: #f7f8f4; --surface: #ffffff; --text: #22271d; --muted: #6b7263;
  --border: #e3e6dc; --lime: #b5f35c; --coral: #f89476;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171a14; --surface: #21251d; --text: #e8ebe2;
    --muted: #99a18d; --border: #333a2c;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
main { max-width: 680px; margin: 0 auto; padding: 3rem 1.2rem 4rem; }
h1 { font-size: 1.8rem; line-height: 1.25; }
h2 { font-size: 1.15rem; margin-top: 2rem; }
a { color: inherit; }
.dot { color: var(--lime); }
.tagline { color: var(--muted); font-size: 1.05rem; }
.badge {
  display: inline-block; background: var(--lime); color: #22310c;
  border-radius: 999px; padding: 0.2rem 0.8rem; font-size: 0.85rem; font-weight: 600;
}
.footer { margin-top: 3rem; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.footer a { color: var(--muted); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.2rem 1.4rem; margin-top: 1.5rem;
}
.hero { text-align: center; padding-top: 8vh; }
.hero .logo {
  width: 72px; height: 72px; border-radius: 22px; background: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1rem;
}
