/* H.E.R.O. — Health Experts Reliance Organization LLC
   Single stylesheet. No external fonts, no frameworks, no requests. */

:root {
  --bg:        #0b1015;
  --bg-2:      #111820;
  --bg-3:      #161f29;
  --line:      #22303d;
  --text:      #e7edf3;
  --text-2:    #9fb0c0;
  --text-3:    #6f8397;
  --accent:    #4d9fff;
  --accent-2:  #2b7fe3;
  --accent-dim:rgba(77, 159, 255, 0.13);
  --radius:    12px;
  --wrap:      1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; font-weight: 650; letter-spacing: -0.015em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.7rem; margin-top: 0; }
h3 { font-size: 1.05rem; }
p  { margin: 0 0 16px; color: var(--text-2); }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 12px;
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 21, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand .mark { color: var(--accent); font-size: 1.15rem; }
.brand .full { color: var(--text-3); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text-2); font-size: 0.92rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-block;
  background: var(--accent); color: #04101f;
  padding: 11px 20px; border-radius: 8px;
  font-weight: 650; font-size: 0.92rem;
  border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-3); border-color: var(--text-3); color: var(--text); }

/* ---------- Sections ---------- */
section { padding: 78px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }

.hero { padding: 96px 0 84px; }
.hero h1 { max-width: 17ch; }
.hero .lede { font-size: 1.18rem; max-width: 62ch; color: var(--text-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { color: var(--text); margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-2); font-size: 0.94rem; }
.card ul li { margin-bottom: 5px; }
.card .tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim); padding: 4px 9px; border-radius: 5px;
  margin-bottom: 12px; font-weight: 650;
}

.steps { counter-reset: step; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent-dim); color: var(--accent);
  font-weight: 700; font-size: 0.9rem; margin-bottom: 14px;
}

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); background: var(--bg-2); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt, .facts .k { font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.facts .v { color: var(--text); font-weight: 550; }

.callout {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 90px; }
.legal h1 { font-size: 2.1rem; margin-bottom: 8px; }
.legal .updated { color: var(--text-3); font-size: 0.88rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.2rem; margin: 38px 0 10px; padding-top: 6px; }
.legal h3 { font-size: 1rem; margin: 24px 0 8px; color: var(--text); }
.legal ul, .legal ol { color: var(--text-2); padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 7px; }
.legal strong { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 52px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
footer h4 { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; font-weight: 650; }
footer p, footer li { color: var(--text-2); font-size: 0.92rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer a { color: var(--text-2); }
footer a:hover { color: var(--accent); }
.legal-line {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--text-3); font-size: 0.85rem;
}
.legal-line p { color: var(--text-3); font-size: 0.85rem; margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  h1 { font-size: 2rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div { border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .nav-links a:not(.btn) { display: none; }
  .brand .full { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
}
