/* TexoHealth site styles — official palette, light/dark. */
:root {
  --evergreen: #0B5D46;
  --emerald: #188A55;
  --freshleaf: #58B947;
  --orange: #F57C00;
  --amber: #F9A11B;
  --bg: #F9FAF8;
  --surface: #FFFFFF;
  --text: #1B2430;
  --muted: #5B6670;
  --primary: var(--evergreen);
  --hairline: rgba(11, 93, 70, 0.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B2430;
    --surface: #24303E;
    --text: #F9FAF8;
    --muted: #9AA7B4;
    --primary: var(--emerald);
    --hairline: rgba(88, 185, 71, 0.25);
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Segoe UI", system-ui, -apple-system, sans-serif;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
h1, h2 { line-height: 1.25; color: var(--primary); }
h1 { font-size: 2rem; }
h2 { font-size: 1.25rem; margin-top: 2.2em; }
a { color: var(--primary); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.brandbar {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px; border-bottom: 1px solid var(--hairline);
}
.brandbar img { width: 40px; height: 40px; }
.brandbar .word { font-size: 1.25rem; font-weight: 700; }
.brandbar .word .t { color: var(--primary); }
.brandbar .word .h { color: var(--orange); }

.hero { text-align: center; padding: 48px 0 24px; }
.hero img { width: 160px; height: 160px; }
.hero h1 { margin-bottom: 0.2em; }
.pillars {
  letter-spacing: 2px; font-weight: 600; font-size: 0.9rem;
  color: var(--primary);
  border-top: 1px solid var(--hairline);
  display: inline-block; padding-top: 10px; margin-top: 6px;
}

.cta {
  display: inline-block; margin-top: 24px;
  background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 600; padding: 13px 30px; border-radius: 12px;
  box-shadow: 0 6px 20px rgba(11, 93, 70, 0.18);
}
.cta:hover { filter: brightness(1.06); }

.draft {
  background: rgba(245, 124, 0, 0.12);
  border: 1px solid var(--orange);
  color: var(--text);
  border-radius: 10px; padding: 12px 16px; font-size: 0.9rem;
}

table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--hairline); }
th { color: var(--primary); }

footer {
  border-top: 1px solid var(--hairline);
  padding: 24px; text-align: center; color: var(--muted); font-size: 0.85rem;
}
footer a { color: var(--muted); margin: 0 10px; }

/* ── Cookie consent ── */
.texo-cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  max-width: 640px; margin: 0 auto;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  padding: 18px 20px; z-index: 1000;
  font-size: 0.95rem;
}
.texo-cc-text { margin-bottom: 12px; }
.texo-cc-actions { display: flex; gap: 10px; justify-content: flex-end; }
.texo-cc-btn {
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 10px 18px; border-radius: 10px;
  border: 1px solid var(--primary);
  background: var(--surface); color: var(--primary);
}
.texo-cc-btn:hover { background: rgba(11, 93, 70, 0.08); }
.texo-cc-primary, .texo-cc-actions .texo-cc-btn:last-child {
  background: var(--primary); color: #fff;
}
.texo-cc-modal {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(0, 0, 0, 0.45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.texo-cc-card {
  background: var(--surface); color: var(--text);
  border-radius: 14px; max-width: 480px; width: 100%; padding: 24px;
}
.texo-cc-card h2 { margin-top: 0; }
.texo-cc-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; font-size: 0.95rem;
}
.texo-cc-row input { margin-top: 4px; }
.texo-cc-gpc { font-size: 0.85rem; color: var(--muted); }
