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

:root {
  color-scheme: dark;
  --bg: #121212;
  --panel: #1a1a1a;
  --card: #1a1a1a;
  --line: #292929;
  --text: #ebebeb;
  --muted: #808080;
  --accent: #bfbfbf;
  --accent-2: #999;
  --success: #4ade80;
  --warning: #f59e0b;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Roboto Slab', serif; }

.shell { width: min(1120px, 92%); margin: 0 auto; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
}
.site-header .shell { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand {
  color: var(--text); text-decoration: none;
  font-family: 'Roboto Slab', serif; font-weight: 800; font-size: 18px; letter-spacing: 0.03em;
}
.site-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--text); background: rgba(255,255,255,0.06); }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.link-btn, .solid-btn { text-decoration: none; font-size: 13px; font-weight: 500; }
.link-btn { color: var(--muted); transition: color 0.2s; }
.link-btn:hover { color: var(--text); }
.solid-btn {
  background: var(--text); color: var(--bg); padding: 7px 16px;
  border-radius: 8px; font-weight: 600; transition: opacity 0.2s;
}
.solid-btn:hover { opacity: 0.9; }

/* ── Page & Hero ── */
.page { width: min(1120px, 92%); margin: 0 auto; padding: 56px 0 72px; }

.hero {
  border: 1px solid var(--line); background: var(--card);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 52px);
}
.eyebrow {
  display: inline-block; margin: 0 0 12px; font-size: 11px; color: var(--accent);
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; }
.lead { margin-top: 14px; color: var(--muted); max-width: 760px; font-size: 16px; }
.actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; padding: 10px 18px;
  border-radius: 8px; font-weight: 600; font-size: 14px; transition: opacity 0.2s;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

/* ── Content card ── */
.content {
  margin-top: 22px; border: 1px solid var(--line); background: var(--card);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
}
.content h2 { margin: 0 0 8px; font-size: 1.2rem; }
.content p { margin: 0 0 12px; color: var(--muted); }
.content ul { margin: 0; padding-left: 20px; color: var(--muted); }
.content li { margin-bottom: 6px; }

/* ── Section divider ── */
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ── Section titles ── */
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--accent);
  margin-bottom: 14px;
}
.section-title { margin: 0 0 8px; font-size: clamp(1.3rem, 3vw, 1.75rem); }
.section-sub { margin: 0 0 32px; color: var(--muted); max-width: 600px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Grid system ── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Feature card ── */
.card {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  padding: 24px; transition: border-color 0.3s;
}
.card:hover { border-color: rgba(255,255,255,0.12); }
.card h3 { margin: 0 0 6px; font-size: 15px; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--accent);
  font-size: 20px;
}

/* ── Stats row ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; text-align: center; }
.stat-value { font-family: 'Roboto Slab', serif; font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 12px;
}
.faq-item h3 { margin: 0 0 6px; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.faq-num {
  width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.faq-item p { margin: 6px 0 0 34px; color: var(--muted); font-size: 14px; }

/* ── CTA box ── */
.cta-box {
  border: 1px solid var(--line); background: var(--card); border-radius: 16px;
  padding: clamp(32px, 5vw, 56px); text-align: center; margin-top: 48px;
}
.cta-box h2 { margin: 0 0 12px; }
.cta-box p { color: var(--muted); max-width: 480px; margin: 0 auto 24px; }

/* ── Plan card ── */
.plan-card {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.plan-price { font-family: 'Roboto Slab', serif; font-size: 2.5rem; font-weight: 700; }
.plan-per { font-size: 14px; color: var(--muted); }
.plan-features { list-style: none; padding: 0; margin: 0; }
.plan-features li { padding: 6px 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: "✓"; color: var(--success); font-weight: 700; }
.setup-notice {
  border: 1px solid rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.08);
  border-radius: 10px; padding: 14px 18px; margin-top: 18px;
}
.setup-notice strong { color: var(--text); font-size: 14px; }
.setup-notice p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 12px 16px; font-weight: 600; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Flow steps ── */
.flow-step {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.flow-num {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 14px; color: var(--accent);
}
.flow-step h3 { margin: 0; font-size: 14px; }
.flow-step p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }

/* ── Blog article card ── */
.article-card {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.3s;
}
.article-card:hover { border-color: rgba(255,255,255,0.12); }
.article-card .article-body { padding: 20px; }
.article-card h3 { margin: 0 0 6px; font-size: 15px; }
.article-card p { margin: 0; color: var(--muted); font-size: 13px; }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.article-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px;
  border-radius: 999px; background: rgba(255,255,255,0.06); font-size: 11px; font-weight: 500; color: var(--accent);
}

/* ── Legal section ── */
.legal-section {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  padding: 24px; margin-bottom: 16px;
}
.legal-section h2 { margin: 0 0 10px; font-size: 1.1rem; }
.legal-section p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── Bullet list with check ── */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 5px 0; font-size: 14px; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-top: 1px; }

/* ── Sections with bg ── */
.section-alt { background: rgba(255,255,255,0.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-pad { padding: 48px 0; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px; padding: 40px 0 24px;
}
.footer-grid h3, .footer-grid h4 { margin: 0 0 12px; font-size: 14px; }
.footer-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-grid a { display: block; text-decoration: none; color: var(--muted); margin-bottom: 8px; font-size: 14px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 14px 0 24px;
  display: flex; justify-content: space-between; color: var(--muted); font-size: 13px;
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .plan-card { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) and (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
