/* DisEASE public-site shared brand stylesheet.
 *
 * Consumed by the flat static pages served from public/ (epic.html; future
 * flat pages should link it too). Tokens mirror the shipped brand exactly:
 * src/app/globals.css (--brand-primary family), src/app/HomePage.module.css
 * (hero gradient), and src/proof/ProofPage.module.css (canvas / ink / muted /
 * hairline, eyebrow + chip treatments).
 *
 * proof.html deliberately does NOT link this file: it is a Vite single-file
 * artifact (proof-export/) whose private twin must open from file:// fully
 * offline, so its styles stay embedded. Keep these tokens in sync with the
 * sources above if the brand changes.
 */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Brand */
  --brand-primary: #006f87;
  --brand-primary-hover: #005569;
  --brand-secondary: #cfffea;
  --brand-gradient: linear-gradient(135deg, #006f87 0%, #2e8a76 100%);

  /* Neutrals (proof-page chrome) */
  --canvas: #f9fafb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --hairline: #e5e7eb;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
}

/* ── Flat-page defaults ── */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Section label (letterspaced small-caps eyebrow) ── */

.site-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

/* ── Chip / pill ── */

.site-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--brand-secondary);
  color: var(--brand-primary-hover);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 25%, transparent);
  white-space: nowrap;
}

/* ── Buttons / CTA links ── */

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.125rem;
  border-radius: 8px;
  background-color: var(--brand-primary);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.site-btn:hover {
  background-color: var(--brand-primary-hover);
  text-decoration: none;
}

/* ── Header pattern (brand row, matches the proof page public header) ── */

.site-header {
  padding: 0.875rem 1.25rem 0.75rem;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}

.site-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 60rem;
  margin: 0 auto;
}

.site-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.site-brand-logo {
  height: 2.75rem;
  width: auto;
}

.site-header-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-header-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

.site-header-links a:hover {
  text-decoration: underline;
}

.site-header-links a.site-btn {
  color: #fff;
}

.site-header-links a.site-btn:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .site-brand-logo {
    height: 2.25rem;
  }
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  padding: var(--space-6) 1.25rem;
}

.site-footer-links {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: var(--text-sm);
}

.site-footer-links a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

.site-footer-note {
  max-width: 60rem;
  margin: var(--space-3) auto 0;
  font-size: var(--text-xs);
  color: var(--muted);
}
