:root {
  --bg: #000000;
  --surface: #0d0d0e;
  --surface-alt: #17171a;
  --border: #29292c;
  --border-strong: #3a3a3e;
  --text: #f4f4f5;
  --text-muted: #9c9ca1;
  --text-faint: #5c5c61;
  --danger: #ff4444;
  --ui-font: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono-font: 'Cascadia Mono', 'Consolas', 'SFMono-Regular', Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui-font);
  line-height: 1.55;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

code {
  font-family: var(--mono-font);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.9em;
}

svg {
  flex-shrink: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.brand-name {
  font-weight: 600;
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--text);
  color: #000 !important;
  padding: 7px 14px;
  border-radius: 5px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #d4d4d6;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--text);
  color: #000;
}

.button-primary:hover {
  background: #d4d4d6;
}

.button-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface-alt);
}

.button-ghost:hover {
  border-color: var(--text-muted);
}

.button-large {
  padding: 14px 28px;
  font-size: 15px;
}

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

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.3px;
}

.hero-lede {
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 0 0 28px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-shot img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}

/* ---------- sources ---------- */

.sources {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.sources h2,
.cta h2 {
  font-size: 26px;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.section-lede {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 62ch;
  margin: 0 0 36px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.source-card-wide {
  grid-column: span 2;
}

.source-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.source-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.source-card-head h3 {
  margin: 0;
  font-size: 15px;
}

.conf-icon {
  color: var(--text-faint);
}

.conf-label {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.source-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- cta ---------- */

.cta {
  padding: 80px 0 100px;
  text-align: center;
}

.cta p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .source-grid {
    grid-template-columns: 1fr;
  }

  .source-card-wide {
    grid-column: span 1;
  }

  .hero h1 {
    font-size: 30px;
  }

  .site-nav {
    gap: 14px;
  }

  .brand-name {
    white-space: nowrap;
  }

  .header-inner {
    gap: 10px;
  }
}
