/* ── Design tokens ──────────────────────────────────────────────────────────── */
:root {
  --bg-primary:   #0F172A;
  --bg-secondary: #1E293B;
  --bg-surface:   #334155;

  --brand:        #3B82F6;
  --brand-hover:  #2563EB;
  --accent:       #14B8A6;

  --text-primary:   #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted:     #94A3B8;

  --border:       #334155;
  --border-light: #475569;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

/* ── Reset & base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.04);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
}

/* Ghost {{navigation}} outputs a <ul class="nav"> */
.nav-links .nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links .nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.btn-nav-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: var(--radius);
  transition: color 0.15s;
}

.btn-nav-ghost:hover { color: var(--text-primary); }

.btn-nav-primary {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--brand);
  padding: 7px 16px;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.btn-nav-primary:hover { background: var(--brand-hover); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  line-height: 1;
}

.btn-lg { font-size: 15px; padding: 13px 22px; }
.btn-sm { font-size: 13px; padding: 8px 14px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.04);
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 160px 0 0;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, rgba(20, 184, 166, 0.07) 45%, transparent 70%);
  pointer-events: none;
}

.hero-glow--accent {
  top: 30%;
  left: 20%;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(20, 184, 166, 0.08) 0%, transparent 65%);
}

/* ── Hero screenshot mockup ─────────────────────────────────────────────────── */
.hero-screenshot-wrap {
  position: relative;
  margin-top: 72px;
  padding-bottom: 0;
}

.hero-screenshot-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-screenshot {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--bg-secondary);
  overflow: hidden;
  box-shadow: 0 -4px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  max-width: 1000px;
  margin: 0 auto;
}

.mockup-browser {
  width: 100%;
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #111827;
  border-bottom: 1px solid var(--border);
}

.mockup-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  max-width: 260px;
  margin: 0 auto;
}

.mockup-app {
  display: flex;
  height: 360px;
  overflow: hidden;
}

.mockup-sidebar {
  width: 176px;
  flex-shrink: 0;
  background: #0c1526;
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mockup-sidebar-logo {
  padding: 4px 8px;
}

.mockup-nav-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 6px;
}

.mockup-nav-item--active {
  color: var(--text-primary);
  background: rgba(59,130,246,0.12);
}

.mockup-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-primary);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.mockup-topbar-left { display: flex; align-items: center; gap: 10px; }

.mockup-page-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.mockup-count-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 999px;
}

.mockup-topbar-right { display: flex; align-items: center; gap: 8px; }

.mockup-search {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
}

.mockup-add-btn {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.mockup-filter-row {
  display: flex;
  gap: 4px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.mockup-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.mockup-filter--active {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.mockup-table {
  flex: 1;
  overflow: hidden;
}

.mockup-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 8px 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.mockup-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(51,65,85,0.5);
  font-size: 12px;
  transition: background 0.1s;
}

.mockup-row:hover { background: rgba(30,41,59,0.6); }

.mockup-row--faded { opacity: 0.4; }

.mockup-domain {
  font-weight: 500;
  color: var(--text-primary);
}

.mockup-muted { color: var(--text-muted); }

.mockup-provider-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.mockup-provider-tag--cf { background: rgba(246,130,31,0.12); color: #F6821F; }
.mockup-provider-tag--gd { background: rgba(16,185,129,0.12); color: #10B981; }
.mockup-provider-tag--ti { background: rgba(139,92,246,0.12); color: #8B5CF6; }

.mockup-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
}

.mockup-badge--ok   { color: #22c55e; background: rgba(34,197,94,0.1); }
.mockup-badge--warn { color: #f59e0b; background: rgba(245,158,11,0.1); }

.mockup-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}

.mockup-status-dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mockup-status-dot--up { color: #22c55e; }
.mockup-status-dot--up::before { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }

/* ── Stats strip ─────────────────────────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 0;
}

.stats-grid {
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px;
  gap: 4px;
}

.stat-value {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ── Security highlight ──────────────────────────────────────────────────────── */
.security-highlight {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.security-content h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

.security-content > p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.security-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon--ok   { background: rgba(34,197,94,0.12); color: #22c55e; }
.check-icon--warn { background: rgba(245,158,11,0.12); color: #f59e0b; }

.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 0 40px rgba(59,130,246,0.08);
}

.sec-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sec-card-title { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.sec-card-domain { font-size: 11px; color: var(--text-muted); }

.sec-score-ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.sec-score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sec-score-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.sec-score-label {
  font-size: 10px;
  color: var(--text-muted);
}

.sec-checks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sec-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.sec-check span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sec-check--ok   span { background: #22c55e; }
.sec-check--warn span { background: #f59e0b; }
.sec-check--down span { background: #ef4444; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 32px;
  transition: border-color 0.15s, color 0.15s;
}

.hero-badge:hover {
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--text-primary);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-providers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.provider-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.provider-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
}

/* ── Section shared ─────────────────────────────────────────────────────────── */
section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 48px;
}

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

.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Features ────────────────────────────────────────────────────────────────── */
.features { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-secondary);
  padding: 36px 32px;
  transition: background 0.15s;
}

.feature-card:hover { background: #25344c; }

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── How it works ────────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-divider {
  flex-shrink: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--brand), var(--border));
  margin-top: 24px;
  opacity: 0.6;
}

.step-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── CTA ─────────────────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, rgba(20,184,166,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 0;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-inner > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Blog section ────────────────────────────────────────────────────────────── */
.blog-section { padding-bottom: 120px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}

.post-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.post-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card:hover .post-card-image img { transform: scale(1.03); }

.post-card-body { padding: 24px; }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.post-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 4px;
  padding: 2px 8px;
}

.post-card-meta time {
  font-size: 12px;
  color: var(--text-muted);
}

.post-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.4;
}

.post-card-body h3 a { transition: color 0.15s; }
.post-card-body h3 a:hover { color: var(--brand); }

.post-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Post page ───────────────────────────────────────────────────────────────── */
.post-page { padding: 120px 0 80px; }

.post-header { margin-bottom: 40px; }

.post-header .post-tag { display: inline-block; margin-bottom: 16px; }

.post-header h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-sep { opacity: 0.4; }

.post-feature-image {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.post-feature-image img { width: 100%; }

/* ── Rich text content ───────────────────────────────────────────────────────── */
.gh-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.gh-content h1, .gh-content h2, .gh-content h3,
.gh-content h4, .gh-content h5, .gh-content h6 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  line-height: 1.3;
}

.gh-content h2 { font-size: 26px; }
.gh-content h3 { font-size: 20px; }

.gh-content p { margin-bottom: 20px; }

.gh-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.gh-content a:hover { color: var(--brand-hover); }

.gh-content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  color: var(--accent);
}

.gh-content pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 28px 0;
}

.gh-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.gh-content blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 20px;
  margin: 28px 0;
  color: var(--text-muted);
  font-style: italic;
}

.gh-content ul, .gh-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.gh-content li { margin-bottom: 8px; }

.gh-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.gh-content img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 100%;
  margin: 28px auto;
}

.gh-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}

.gh-content th, .gh-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.gh-content th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

.post-footer { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--border); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.back-link:hover { color: var(--text-primary); }

/* ── Static page ─────────────────────────────────────────────────────────────── */
.static-page { padding: 120px 0 80px; }
.page-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

/* ── Footer logo ─────────────────────────────────────────────────────────────── */
.footer-logo {
  display: inline-flex;
  margin-bottom: 16px;
}

/* ── Koenig editor card classes (required by Ghost) ──────────────────────────── */
.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1200px;
  margin-left: calc(50% - 42.5vw);
  margin-right: calc(50% - 42.5vw);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.kg-image { margin: 28px auto; }
.kg-image-card { margin: 28px 0; }
.kg-image-card img { border-radius: var(--radius); border: 1px solid var(--border); }

.kg-gallery-card { margin: 28px 0; }
.kg-gallery-container { display: flex; flex-wrap: wrap; gap: 8px; }
.kg-gallery-image { flex: 1 1 200px; }
.kg-gallery-image img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }

.kg-embed-card { margin: 28px 0; }
.kg-embed-card iframe { width: 100%; border-radius: var(--radius); }

.kg-bookmark-card { margin: 28px 0; }
.kg-bookmark-container {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-secondary);
  text-decoration: none;
}
.kg-bookmark-content { padding: 16px 20px; flex: 1; }
.kg-bookmark-title { font-weight: 600; color: var(--text-primary); font-size: 15px; margin-bottom: 4px; }
.kg-bookmark-description { font-size: 13px; color: var(--text-muted); }
.kg-bookmark-thumbnail img { width: 160px; object-fit: cover; }

.kg-callout-card {
  display: flex;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  margin: 28px 0;
}
.kg-callout-emoji { font-size: 20px; flex-shrink: 0; }
.kg-callout-text { font-size: 15px; color: var(--text-secondary); }

.kg-toggle-card { border: 1px solid var(--border); border-radius: var(--radius); margin: 28px 0; overflow: hidden; }
.kg-toggle-heading { padding: 16px 20px; background: var(--bg-secondary); font-weight: 600; cursor: pointer; }
.kg-toggle-content { padding: 16px 20px; font-size: 15px; color: var(--text-secondary); }

.kg-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ── Page hero (interior pages) ──────────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* ── Pricing page ────────────────────────────────────────────────────────────── */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.toggle-label {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}

.toggle-label.active { color: var(--text-primary); }

.toggle-save {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 999px;
  padding: 2px 8px;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.toggle-switch.active { background: var(--brand); border-color: var(--brand); }

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle-switch.active .toggle-thumb { transform: translateX(20px); }

.pricing-section { padding: 80px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--brand);
  background: linear-gradient(160deg, rgba(59,130,246,0.06) 0%, var(--bg-secondary) 60%);
}

.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.pricing-card-header { margin-bottom: 24px; }

.plan-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.price-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 28px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.15s;
  font-family: var(--font);
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
}

.btn-block:hover { color: var(--text-primary); border-color: var(--text-muted); background: rgba(255,255,255,0.04); }

.pricing-card--featured .btn-block {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.pricing-card--featured .btn-block:hover { background: var(--brand-hover); border-color: var(--brand-hover); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-features li.muted { color: var(--text-muted); }

.check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.cross { color: var(--bg-surface); flex-shrink: 0; }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 32px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq-section { padding: 80px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item a { color: var(--brand); }

/* ── Feature sections (features page) ────────────────────────────────────────── */
.feature-section { padding: 96px 0; }
.feature-section--alt { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature-text .section-label { margin-bottom: 12px; }

.feature-text h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Feature screenshots (mock UI) ───────────────────────────────────────────── */
.feature-visual { width: 100%; }

.feature-screenshot {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.screenshot-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.screenshot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
}

.screenshot-body { padding: 20px; }

/* Mock DNS table */
.mock-table { width: 100%; }

.mock-row {
  display: grid;
  grid-template-columns: 1fr 80px 2fr 60px;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  align-items: center;
}

.mock-row--header { color: var(--text-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.mock-row:last-child { border-bottom: none; }

.badge-type {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.badge-a    { background: rgba(59,130,246,0.15); color: #60a5fa; }
.badge-cname{ background: rgba(139,92,246,0.15); color: #a78bfa; }
.badge-mx   { background: rgba(249,115,22,0.15); color: #fb923c; }
.badge-txt  { background: rgba(20,184,166,0.15); color: #2dd4bf; }
.badge-caa  { background: rgba(234,179,8,0.15);  color: #facc15; }

/* Mock security checks */
.mock-checks { display: flex; flex-direction: column; gap: 8px; }

.mock-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  font-size: 13px;
}

.mock-check--pass { border-color: rgba(34,197,94,0.2); }
.mock-check--warn { border-color: rgba(245,158,11,0.2); }
.mock-check--error { border-color: rgba(239,68,68,0.2); }

.check-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.mock-check--pass .check-icon { color: #22c55e; }
.mock-check--warn .check-icon { color: #f59e0b; }
.mock-check--error .check-icon { color: #ef4444; }

.mock-check div { flex: 1; }
.mock-check strong { display: block; color: var(--text-primary); margin-bottom: 2px; }
.mock-check p { color: var(--text-muted); margin: 0; }

.mock-fix-btn {
  font-size: 12px;
  color: var(--brand);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

/* Mock monitors */
.mock-monitors { display: flex; flex-direction: column; gap: 8px; }

.mock-monitor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  font-size: 13px;
}

.monitor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-monitor--up .monitor-dot { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.mock-monitor--down .monitor-dot { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.5); }

.monitor-info { flex: 1; }
.monitor-info strong { display: block; color: var(--text-primary); }
.monitor-info span { color: var(--text-muted); font-size: 12px; }

.monitor-status { font-size: 12px; color: #22c55e; font-weight: 500; }
.monitor-status--down { color: #ef4444; }

.mock-uptime-bar { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.uptime-blocks { display: flex; gap: 2px; margin-bottom: 6px; }
.uptime-block { flex: 1; height: 24px; border-radius: 2px; }
.uptime-block--up { background: rgba(34,197,94,0.4); }
.uptime-block--down { background: rgba(239,68,68,0.6); }
.uptime-label { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); }

/* Mock tenants */
.mock-tenants { display: flex; flex-direction: column; gap: 8px; }

.mock-tenant {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  font-size: 13px;
}

.tenant-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.mock-tenant > div { flex: 1; }
.mock-tenant strong { display: block; color: var(--text-primary); }
.mock-tenant span { color: var(--text-muted); font-size: 12px; }

.tenant-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-radius: 4px;
  padding: 2px 8px;
}

/* ── About page ──────────────────────────────────────────────────────────────── */
.about-story { padding: 80px 0; }
.story-content { font-size: 17px; line-height: 1.75; color: var(--text-secondary); }
.story-content h2 { font-size: 24px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; margin: 48px 0 16px; }
.story-content h2:first-child { margin-top: 0; }
.story-content p { margin-bottom: 20px; }
.story-content strong { color: var(--text-primary); }
.story-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.story-content code { font-family: monospace; font-size: 14px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; color: var(--accent); }

.values-section { padding: 80px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.value-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
}

.value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  color: var(--brand);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-secondary); }

.footer-cta {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  background: linear-gradient(90deg, rgba(59,130,246,0.04) 0%, transparent 100%);
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-cta h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.footer-cta p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-main { padding: 56px 0 0; }

.footer-inner {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-brand { flex-shrink: 0; max-width: 240px; }

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 16px 0 20px;
}

.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--text-muted); transition: color 0.15s; }
.footer-social a:hover { color: var(--text-primary); }

.footer-links {
  display: flex;
  gap: 56px;
  flex: 1;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
  flex-shrink: 0;
}

.status-label {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.status-label:hover { color: var(--text-primary); }

/* ── Blog archive & listing ──────────────────────────────────────────────────── */
.blog-listing-page .page-hero { border-bottom: 1px solid var(--border); }

.blog-archive { padding: 72px 0 96px; }

.post-card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.post-card-featured-image {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
}

.post-card-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card-featured:hover .post-card-featured-image img { transform: scale(1.02); }

.post-card-featured-body .post-card-meta { margin-bottom: 16px; }

.post-card-featured-body h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.post-card-featured-body h2 a { transition: color 0.15s; }
.post-card-featured-body h2 a:hover { color: var(--brand); }

.post-card-featured-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.posts-grid--archive { grid-template-columns: repeat(3, 1fr); }

.blog-empty, .changelog-empty {
  text-align: center;
  padding: 80px 0;
  font-size: 16px;
  color: var(--text-muted);
}

.blog-empty a, .changelog-empty a { color: var(--brand); }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ── Changelog page ──────────────────────────────────────────────────────────── */
.changelog-section { padding: 72px 0 96px; }

.changelog-layout {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.changelog-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.changelog-entry:first-child { padding-top: 0; }

.changelog-meta {
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.changelog-meta time {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.changelog-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid;
}

.changelog-tag--changelog, .changelog-tag--update {
  color: var(--brand);
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.2);
}

.changelog-tag--fix {
  color: #22c55e;
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.2);
}

.changelog-tag--feature {
  color: var(--accent);
  background: rgba(20,184,166,0.08);
  border-color: rgba(20,184,166,0.2);
}

.changelog-content h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.changelog-content h2 a { transition: color 0.15s; }
.changelog-content h2 a:hover { color: var(--brand); }

.changelog-content .gh-content {
  font-size: 15px;
  margin-bottom: 14px;
}

.changelog-read-more {
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  transition: color 0.15s;
}

.changelog-read-more:hover { color: var(--brand-hover); }

/* ── Contact page ────────────────────────────────────────────────────────────── */
.contact-section { padding: 72px 0 96px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.15s;
}

.contact-card:hover { border-color: var(--border-light); }

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  color: var(--brand);
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  transition: color 0.15s;
}

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

.contact-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Status page ─────────────────────────────────────────────────────────────── */
.status-overall {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  margin-top: 16px;
}

.status-overall--ok {
  color: #22c55e;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
}

.status-dot-lg {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: pulse 2s infinite;
}

.status-section { padding: 72px 0 96px; }

.status-group {
  margin-bottom: 48px;
}

.status-group h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-secondary);
}

.status-item-info strong { display: block; font-size: 14px; color: var(--text-primary); }
.status-item-info span { font-size: 12px; color: var(--text-muted); }

.status-item-right { display: flex; align-items: center; gap: 16px; }

.status-bar-mini { display: flex; gap: 2px; }
.bar-block { width: 8px; height: 24px; border-radius: 2px; }
.bar-up { background: rgba(34,197,94,0.5); }
.bar-down { background: rgba(239,68,68,0.6); }

.status-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.status-badge--ok {
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
}

.status-badge--warn {
  color: #f59e0b;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
}

.status-badge--down {
  color: #ef4444;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
}

.status-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 32px;
}

.status-updated a { color: var(--brand); }

/* ── Scrollbar ───────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-surface); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { gap: 40px; }
  .feature-row { grid-template-columns: 1fr; gap: 48px; }
  .feature-row--reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-links .nav.open { display: flex; }
  .nav-mobile-toggle { display: flex; }
  .nav-actions { display: none; }

  .hero { padding: 120px 0 72px; }

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

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

  .steps { flex-direction: column; align-items: center; gap: 32px; }
  .step-divider { width: 1px; height: 32px; background: linear-gradient(180deg, var(--border), var(--brand), var(--border)); }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; justify-content: flex-start; }
  .footer-brand { max-width: 100%; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .section-header--row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
