/* HE4RD static site. One file, system fonts, zero JS. */

:root {
  --ink: #101828;
  --ink-soft: #475467;
  --ink-faint: #98a2b3;
  --paper: #ffffff;
  --paper-tint: #f8fafc;
  --line: #e4e7ec;
  --accent: #067647;
  --accent-soft: #d1fadf;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

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

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px;
}
.logo {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
.logo-dot { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.12;
  letter-spacing: -1px; max-width: 21ch;
}
.hero .lede {
  margin-top: 20px; font-size: 20px; color: var(--ink-soft); max-width: 58ch;
}
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.kicker {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  font-weight: 600; font-size: 16px;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; text-decoration: none; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-faint); text-decoration: none; }

/* Sections */
section { padding: 56px 0; }
section.tint { background: var(--paper-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.5px; line-height: 1.2; max-width: 30ch; }
h3 { font-size: 20px; margin-bottom: 8px; }
.section-intro { margin-top: 14px; color: var(--ink-soft); max-width: 62ch; }

/* Cards */
.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  border: 1px solid var(--line); border-radius: 12px; padding: 26px;
  background: var(--paper);
}
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; margin-bottom: 14px;
}

/* Prose pages */
.prose { max-width: 720px; padding: 56px 24px 72px; margin: 0 auto; }
.prose h1 { font-size: clamp(30px, 4.4vw, 42px); line-height: 1.15; letter-spacing: -0.8px; }
.prose .lede { margin-top: 16px; font-size: 19px; color: var(--ink-soft); }
.prose h2 { margin-top: 44px; font-size: 26px; }
.prose h3 { margin-top: 28px; }
.prose p { margin-top: 16px; }
.prose ul, .prose ol { margin: 16px 0 0 22px; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--accent); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { margin-top: 0; }
.faq-item p { margin-top: 10px; color: var(--ink-soft); }

/* Callout */
.callout {
  margin-top: 40px; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 22px 26px; background: var(--paper-tint);
}
.callout p { margin-top: 6px; }

/* Footer */
.site-footer {
  margin-top: 40px; border-top: 1px solid var(--line);
  background: var(--paper-tint); font-size: 15px; color: var(--ink-soft);
}
.footer-inner {
  display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-top: 48px; padding-bottom: 32px;
}
.footer-brand { font-weight: 800; font-size: 18px; color: var(--ink); }
.footer-heading { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.site-footer p { margin-top: 6px; }
.footer-legal {
  border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px;
  font-size: 13.5px; color: var(--ink-faint);
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  section { padding: 40px 0; }
}
