:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-card: #151f33;
  --border: #243049;
  --text: #e8eef9;
  --text-muted: #9aa8c0;
  --accent: #2dd4bf;
  --accent-dim: #0f766e;
  --accent-text: #042f2e;
  --warning: #fbbf24;
  --link: #5eead4;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}
.logo {
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.logo:hover { text-decoration: none; color: var(--accent); }
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent-dim);
  display: grid; place-items: center;
  color: #ecfdf5; font-size: 0.85rem; font-weight: 800;
}
.nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { color: var(--text-muted); }
.nav a:hover { color: var(--accent); text-decoration: none; }

.hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(45, 212, 191, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(15, 118, 110, 0.25), transparent);
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}
.hero .lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 52ch;
  margin: 0 0 1.5rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-affiliate { background: var(--accent-dim); color: #ecfdf5; }
.affiliate-note {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--warning);
}

.section { padding: 2.75rem 0; }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.section h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.card { color: inherit; display: block; }
a.card:hover {
  text-decoration: none;
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--text-muted); }
.page-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }

.meta-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem;
}
.two-col {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 2fr 1fr; }
}
.sidebar-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  position: sticky;
  top: 5rem;
}
.sidebar-card h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.feature-list, .pros-cons { margin: 0; padding-left: 1.1rem; }
.feature-list li, .pros-cons li { margin-bottom: 0.35rem; color: var(--text-muted); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}
.compare-table th, .compare-table td {
  border: 1px solid var(--border);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
}
.compare-table th { background: var(--bg-elevated); }
.compare-table td { color: var(--text-muted); }

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer-grid h4 { margin: 0 0 0.5rem; color: var(--text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-grid a { display: block; color: var(--text-muted); margin-bottom: 0.3rem; }
.footer-grid a:hover { color: var(--accent); }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0; }
.tag {
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.tag a { color: inherit; }

.disclaimer {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
}
