/* Tokens first: dark mode only redefines these, never individual rules. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c1f24;
  --muted: #5b6270;
  --line: #e4e1da;
  --accent: #1f6f5c;
  --accent-text: #ffffff;
  --tag-bg: #eef0f2;
  --live-bg: #dff1ea;
  --radius: 12px;
  --wrap: 1040px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --surface: #1a1d21;
    --text: #e8e6e1;
    --muted: #9aa1ad;
    --line: #2b2f35;
    --accent: #4fb89a;
    --accent-text: #0d1512;
    --tag-bg: #252930;
    --live-bg: #1d3a31;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

.site-header { border-bottom: 1px solid var(--line); }
.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
}
.btn-small { padding: 6px 14px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--accent); }

.hero { padding: 72px 0 56px; }
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 12px;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.tools,
.industries,
.contact { padding: 56px 0; border-top: 1px solid var(--line); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card p { color: var(--muted); margin: 0; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--muted);
  margin-bottom: 12px;
}
.tag-live { background: var(--live-bg); color: var(--accent); }

.industry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.industry-list li {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-top: 2px solid var(--accent);
}
.industry-list span { color: var(--muted); }

.contact p { color: var(--muted); max-width: 62ch; }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-row { flex-wrap: wrap; }
