:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --faint: #9ca3af;
  --border: #e5e7eb;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --hero-bg: #0f1419;
  --hero-text: #f3f4f6;
  --hero-muted: #9ca3af;
  --radius: 10px;
  --max: 720px;
  --wide: 960px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notice-card {
  border-color: #fecaca;
  background: #fff7f7;
}

.notice-card h3 {
  margin-top: 0;
}

.notice-card p:last-child {
  margin-bottom: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 10;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
}

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

.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 48px 24px 56px;
}

.hero-inner {
  max-width: var(--wide);
  margin: 0 auto;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-muted);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 18ch;
}

.hero-lead {
  font-size: 1.05rem;
  color: #d1d5db;
  max-width: 52ch;
  margin: 0 0 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--hero-text);
  border-color: #374151;
}

.btn-secondary:hover {
  border-color: #6b7280;
  background: rgba(255, 255, 255, 0.04);
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px 32px;
  padding-top: 8px;
  border-top: 1px solid #1f2937;
  max-width: 640px;
}

.meta-item dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hero-muted);
  margin-bottom: 4px;
}

.meta-item dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

main {
  padding: 0 24px 80px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 56px;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 8px;
}

.section h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section > p.lead {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 60ch;
}

.card-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .card-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

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

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 28px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 13px;
  font-weight: 700;
  color: var(--faint);
  min-width: 2rem;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  background: var(--surface);
  margin-bottom: 10px;
}

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

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.sources {
  display: grid;
  gap: 12px;
}

.source-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.source-link strong {
  display: block;
  margin-bottom: 4px;
}

.source-link span {
  font-size: 14px;
  color: var(--muted);
}

.source-link:hover {
  border-color: #cbd5e1;
  text-decoration: none;
}

table.comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 16px;
}

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

table.comparison th {
  background: var(--bg);
  font-weight: 600;
}

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

code.inline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

pre.block {
  margin: 16px 0 0;
  padding: 16px 18px;
  background: #0f1419;
  color: #e5e7eb;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
}

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