:root {
  --bg: #050505;
  --surface: #0f0f0f;
  --border: #1e1e1e;
  --text: #e8e8e8;
  --muted: #9a9a9a;
  --accent: #29abe2;
  --accent-dark: #0b6fa8;
  --max: 760px;
  --wide: 1080px;
}

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

body {
  font-family: Manrope, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

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

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header img { height: 36px; width: auto; }

.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.95rem; }
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--text); text-decoration: none; }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

main.wide { max-width: var(--wide); }

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 700;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: #fff;
}

h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }

.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; }

p, ul, ol { margin-bottom: 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.card:hover { border-color: var(--accent-dark); }
.card h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: #000;
  border-radius: 8px;
  font-weight: 600;
}
.cta:hover { background: #3dbef0; text-decoration: none; }

.cta-secondary {
  display: inline-block;
  margin-top: 2rem;
  margin-left: 0.75rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
}
.cta-secondary:hover { border-color: var(--accent); text-decoration: none; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--muted); }

.article-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.tag {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-right: 0.35rem;
}
