/* ============================================================
   SafeMarker landing page — bold editorial, dark canvas
   ============================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-soft:   #111113;
  --ink:       #ffffff;
  --muted:     #a1a1aa;
  --muted-dim: #6b6b73;
  --accent:    #facc15;
  --hairline:  #1f1f23;

  --maxw: 1120px;
  --pad:  clamp(20px, 5vw, 64px);

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

em { font-style: normal; color: var(--accent); }

/* ---------- shared ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.wordmark__dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
  vertical-align: middle;
  box-shadow: 0 0 14px 1px rgba(250, 204, 21, 0.55);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.header-contact {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.18s ease;
}
.header-contact:hover { color: var(--accent); }

/* ---------- hero ---------- */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 16vh, 168px) var(--pad) clamp(64px, 12vh, 128px);
}
.hero .eyebrow { margin-bottom: 28px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero__subhead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 3vw, 30px);
  color: var(--ink);
  margin-bottom: 18px;
}
.hero__supporting {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  margin-bottom: 44px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--bg);
  background: var(--accent);
  padding: 15px 26px;
  border-radius: 10px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.4);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(250, 204, 21, 0.5);
}
.cta__arrow { transition: transform 0.16s ease; }
.cta:hover .cta__arrow { transform: translateX(4px); }

/* ---------- problem / stats ---------- */

.problem {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 10vh, 112px) var(--pad);
  border-top: 1px solid var(--hairline);
}
.problem .section-title { margin-bottom: 56px; max-width: 14ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.stat {
  background: var(--bg-soft);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.stat__cap { color: var(--ink); font-size: 15px; line-height: 1.4; }
.stat__src { color: var(--muted-dim); font-size: 12.5px; margin-top: auto; }

/* ---------- what safemarker does ---------- */

.does {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 12vh, 128px) var(--pad);
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.does .eyebrow { margin-bottom: 22px; }
.does__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.does__lede {
  max-width: 640px;
  margin: 0 auto 64px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 20px);
}

.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}
.pillar {
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pillar:hover { border-color: rgba(250, 204, 21, 0.4); transform: translateY(-3px); }
.pillar__idx {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 14px 0 10px;
}
.pillar__desc { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- footer ---------- */

.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 88px) var(--pad);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__links a { color: var(--muted); font-size: 15px; transition: color 0.18s ease; }
.footer__links a:hover { color: var(--accent); }
.footer__legal { color: var(--muted-dim); font-size: 13px; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .header-contact { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}
