:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-2: #111827;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --line: #334155;
  --brand: #60a5fa;
  --gold: #facc15;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.24), transparent 34%), var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--brand);
}

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

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0 0 1px;
  background: rgba(2, 6, 23, 0.88);
}

.site-header__inner,
.site-footer__inner,
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 42px;
  height: 42px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

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

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

.hero {
  padding: 48px 0 40px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  max-width: 920px;
  margin-top: 14px;
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  letter-spacing: -0.02em;
}

h2 {
  margin-top: 48px;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

h3 {
  margin-top: 28px;
  font-size: 1.2rem;
}

p,
li {
  color: var(--muted);
}

.lede {
  max-width: 760px;
  margin-top: 18px;
  font-size: 1.15rem;
}

.quick-answer,
.card,
.cta-panel,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.76);
}

.quick-answer {
  margin-top: 28px;
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.card {
  padding: 18px;
}

.card p:last-child,
.cta-panel p:last-child {
  margin-bottom: 0;
}

.section-note {
  max-width: 760px;
  margin-top: 12px;
}

.cta-panel {
  margin-top: 40px;
  padding: 24px;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

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

.guide-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  background: rgba(17, 24, 39, 0.72);
}

.guide-link span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.guide-link:hover {
  border-color: var(--brand);
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.76);
}

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

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

.comparison-table th {
  color: var(--text);
  background: rgba(17, 24, 39, 0.9);
}

.comparison-table td {
  color: var(--muted);
}

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

.next-guide {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 22px;
  background: rgba(17, 24, 39, 0.78);
}

.next-guide h2 {
  margin-top: 0;
}

.steps {
  padding-left: 1.35rem;
}

.steps li {
  margin: 0 0 12px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--brand);
  color: #06111f;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.faq {
  margin-bottom: 56px;
}

.faq details {
  margin-top: 12px;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  border-width: 1px 0 0;
}

.site-footer__inner {
  padding: 28px 0;
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .hero {
    padding-top: 44px;
  }

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

  .guide-list {
    grid-template-columns: 1fr;
  }

  .guide-list.featured {
    grid-template-columns: 1fr;
  }
}
