@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --bg: #080808;
  --bg2: #0e0e0f;
  --surface: #131315;
  --surface2: #1a1a1d;
  --text: #f4f4f5;
  --text2: #b8b8be;
  --text3: #767680;
  --border: rgba(255, 255, 255, 0.08);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.12);
  --green: #22c55e;
  --red: #ef4444;
  --blue: #60a5fa;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(245, 158, 11, 0.1), transparent 28%),
    linear-gradient(180deg, #09090b 0%, #050506 100%);
  color: var(--text);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 32%, transparent 80%);
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

.site-header-inner,
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.nav a {
  color: var(--text2);
  font-size: 15px;
}

.nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-primary,
.nav-cta {
  background: var(--amber);
  color: #111;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}

.page-hero {
  padding: 72px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.08);
  color: #fed7aa;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.55);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0;
  font-size: 20px;
  color: var(--text2);
  max-width: 62ch;
}

.hero-actions,
.button-row,
.chip-row,
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 24px;
}

.hero-card,
.panel,
.card,
.stat,
.faq-item,
.filter-shell,
.table-shell,
.notice {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.panel,
.card,
.table-shell,
.notice,
.filter-shell {
  padding: 22px;
}

.hero-card h2,
.panel h2,
.section-title,
.card h3,
.faq-item h3 {
  margin: 0 0 12px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.03em;
}

.hero-card h2,
.section-title {
  font-size: clamp(28px, 4vw, 40px);
}

.hero-card p,
.panel p,
.card p,
.section-lead,
.muted {
  color: var(--text2);
}

.stats-row {
  margin-top: 24px;
}

.stat {
  min-width: 160px;
  padding: 18px;
}

.stat-value {
  display: block;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--text2);
  font-size: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text2);
}

.section {
  padding: 28px 0 52px;
}

.section-header {
  margin-bottom: 20px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.grid-2,
.grid-3,
.grid-cards {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.grid-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card ul,
.panel ul,
.page-copy ul,
.faq-list ul {
  padding-left: 18px;
  margin: 14px 0 0;
  color: var(--text2);
}

.card li,
.panel li,
.page-copy li,
.faq-list li {
  margin: 8px 0;
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding-top: 58px;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--amber);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.winner {
  color: var(--green);
  font-weight: 700;
}

.risk {
  color: #fdba74;
}

.faq-item {
  padding: 18px 20px;
}

.faq-question {
  width: 100%;
  margin: 0;
  background: none;
  border: 0;
  color: inherit;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.faq-question span {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 21px;
  line-height: 1.2;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  color: var(--text2);
}

.faq-item.open .faq-answer {
  max-height: 360px;
  margin-top: 12px;
}

.faq-toggle {
  color: var(--amber);
  font-size: 24px;
  line-height: 1;
}

.filter-shell {
  display: grid;
  gap: 14px;
}

.filter-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.filter-input::placeholder {
  color: var(--text3);
}

.split-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 18px;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 52px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text2);
}

.footer-note {
  color: var(--text3);
  font-size: 14px;
}

.center {
  text-align: center;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text3);
  font-size: 14px;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  padding: 22px;
}

.blog-card .meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text3);
  font-size: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 13px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 28px;
}

.article-prose {
  font-size: 18px;
}

.article-prose h2,
.article-prose h3 {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 36px 0 12px;
}

.article-prose h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}

.article-prose h3 {
  font-size: 24px;
}

.article-prose p {
  margin: 0 0 16px;
  color: var(--text2);
}

.article-prose strong {
  color: var(--text);
}

.article-prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text2);
}

.article-prose li {
  margin: 8px 0;
}

.article-aside {
  position: sticky;
  top: 96px;
  align-self: start;
}

.callout {
  border-left: 3px solid var(--amber);
  padding-left: 16px;
  margin: 24px 0;
}

.cta-band {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 158, 11, 0.22);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.04));
}

@media (max-width: 920px) {
  .hero-grid,
  .split-copy,
  .grid-2,
  .grid-3,
  .grid-cards,
  .blog-grid,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .site-header-inner,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .page-hero {
    padding-top: 54px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .comparison-table {
    min-width: 560px;
  }

  .hero-card,
  .panel,
  .card,
  .table-shell,
  .notice,
  .filter-shell {
    padding: 18px;
  }
}
