/* === Forma marketing site shared styles === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #30D158;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --border-color: #e5e5ea;
  --border-radius-card: 12px;
}

html, body { background: var(--bg); }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* === Layout === */
.container { max-width: 760px; margin: 0 auto; padding: 24px; }
.container--wide { max-width: 1040px; }

/* === Header === */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.logo::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-left: 6px;
}

nav.site-nav {
  display: flex;
  align-items: center;
}
nav.site-nav a {
  margin-left: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
nav.site-nav a:hover { color: var(--text); }
nav.site-nav a.active { color: var(--text); }

/* === Footer === */
footer.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border-color);
  margin-top: 80px;
}
footer.site-footer p { margin-bottom: 8px; }
footer.site-footer a {
  color: var(--text-secondary);
  margin: 0 6px;
  text-decoration: none;
}
footer.site-footer a:hover { color: var(--text); }

/* === Typography === */
h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
h2 { font-size: 1.15rem; font-weight: 600; margin-top: 36px; margin-bottom: 12px; color: var(--text); }
h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
p { margin-bottom: 14px; }
ul { padding-left: 20px; margin-bottom: 14px; }
li { margin-bottom: 6px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Components (used by privacy/terms) === */
.card {
  background: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-card);
  padding: 28px;
  margin-bottom: 16px;
}
.app-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.contact-box {
  background: rgba(48, 209, 88, 0.06);
  border: 1px solid rgba(48, 209, 88, 0.2);
  border-radius: var(--border-radius-card);
  padding: 24px;
  margin-top: 32px;
}
.updated {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.medical-disclaimer {
  background: rgba(255, 159, 10, 0.07);
  border: 1px solid rgba(255, 159, 10, 0.25);
  border-left: 4px solid #FF9F0A;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 14px 0;
}
.medical-disclaimer strong { color: #B25700; }

/* === Mobile === */
@media (max-width: 640px) {
  .container { padding: 16px; }
  header.site-header { padding: 14px 18px; }
  nav.site-nav a { margin-left: 14px; font-size: 0.85rem; }
  h1 { font-size: 1.6rem; }
  footer.site-footer { padding: 32px 16px 24px; margin-top: 48px; }
}

@media (max-width: 480px) {
  nav.site-nav a:nth-child(4) { display: none; } /* hide Contact, keep email in footer */
}
