/* TechFuel HQ — v2 */
:root {
  --bg: #0a0a0b;
  --bg-raised: #111113;
  --bg-inset: #18181b;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --text: #b4b4b4;
  --text-bright: #e8e8e8;
  --heading: #fafafa;
  --muted: #6b6b6b;
  --accent: #c8ff00;
  --accent-dim: rgba(200,255,0,0.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --measure: 680px;
  --wide: 1060px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

a {
  color: var(--text-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
a:hover { border-color: var(--accent); }

img { max-width: 100%; display: block; }

/* Layout */
.container { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }
.wide-container { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

/* ---- HEADER ---- */
.site-header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-bottom: none;
  color: var(--heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.site-logo:hover { border-bottom: none; }
.site-logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border-bottom: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--heading); border-bottom: none; }

/* ---- HOMEPAGE HERO ---- */
.hero {
  padding: 100px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.hero-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--heading);
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  max-width: 600px;
}
.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ---- SECTION LABEL ---- */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ---- ARTICLE CARDS ---- */
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 80px;
}
.article-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: background 0.15s;
}
.article-card:first-child { border-top: 1px solid var(--border); }
.article-card:hover {
  background: var(--bg-raised);
  margin: 0 -16px;
  padding: 24px 16px;
  border-color: var(--border);
}
.article-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.article-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  margin-top: 6px;
}
.card-meta {
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--mono);
  white-space: nowrap;
}

/* ---- ARTICLE CONTENT ---- */
.article-header { padding: 80px 0 32px; }
.article-header h1 {
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--heading);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
}

.article-body { padding-bottom: 64px; }
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin: 56px 0 16px;
  letter-spacing: -0.02em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 36px 0 12px;
}
.article-body p {
  margin-bottom: 20px;
  color: var(--text);
}
.article-body strong {
  color: var(--text-bright);
  font-weight: 600;
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
}
.article-body li {
  margin-bottom: 8px;
}

/* ---- TABLES ---- */
.table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
thead { background: var(--bg-inset); }
th {
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
}
tr:hover td { background: rgba(255,255,255,0.015); }

/* ---- CALLOUT ---- */
.callout {
  background: var(--accent-dim);
  border-left: 2px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-size: 14.5px;
  color: var(--text-bright);
}

/* ---- PAGE HEADER (about, privacy) ---- */
.page-header {
  padding: 80px 0 32px;
}
.page-header h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p {
  font-size: 12.5px;
  color: var(--muted);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: none;
}
.footer-links a:hover { color: var(--text-bright); }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .hero { padding: 60px 0 32px; margin-bottom: 40px; }
  .article-card { grid-template-columns: 1fr; gap: 4px; }
  .card-meta { font-size: 11.5px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .article-header { padding: 48px 0 24px; }
}
