:root {
  --brand: #0a84ff;
  --brand-dark: #0669cc;
  --brand-soft: #e7f2ff;
  --accent: #10b981;
  --accent-dark: #059669;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --transition: all 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 8% 12%, rgba(10,132,255,0.10), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(16,185,129,0.10), transparent 25%),
    var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar-inner {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.05;
  text-decoration: none;
  display: inline-block;
  color: var(--text-main);
}

.logo-main { color: var(--text-main); }
.logo-accent { color: var(--brand); }
.logo-domain {
  color: var(--text-muted);
  font-size: 0.78em;
  margin-left: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 750;
  font-size: 15px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); color: white; }

.btn-success { background: var(--accent); color: white; }
.btn-success:hover { background: var(--accent-dark); color: white; }

.btn-ghost {
  background: white;
  color: var(--text-main);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--brand);
  border-color: rgba(10,132,255,0.28);
}

.btn-soft {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: rgba(10,132,255,0.18);
}

.btn-lg {
  min-height: 54px;
  padding: 15px 22px;
  border-radius: 17px;
  font-size: 16px;
}

.btn-sm {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 14px;
}

.btn-block { width: 100%; }

.hero {
  padding: 54px 0 38px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(24px, 4vw, 40px);
}

.side-card {
  padding: 28px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 650;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
  font-size: 14px;
}

h1, h2, h3 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text-main);
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 18px 0 16px;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 18px;
}

h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.hero-text, .muted, .side-card p, .content-card p {
  color: var(--text-muted);
}

.hero-text {
  font-size: 18px;
  max-width: 790px;
  margin: 0 0 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.hero-meta span, .pill {
  background: white;
  border: 1px solid var(--line);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 750;
  font-size: 14px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-muted);
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.icon {
  min-width: 28px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-grid;
  place-items: center;
  font-weight: 900;
}

.main-content {
  padding: 34px 0 94px;
}

.layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 94px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.05);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid #f1f5f9;
  color: var(--text-muted);
  font-weight: 700;
}

.toc a:hover { color: var(--brand); }

.content-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 24px;
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.05);
}

.quick-grid, .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-item, .cr-card, .faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.quick-item {
  background: #f8fbff;
}

.quick-item strong, .cr-card strong {
  display: block;
  color: var(--text-main);
}

.quick-item span, .cr-card span {
  color: var(--text-muted);
  font-size: 14px;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-list span {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 760;
  font-size: 14px;
}

.snippet {
  overflow-wrap: anywhere;
}

.snippet h1 { font-size: 30px; }
.snippet h2 { font-size: 26px; margin-top: 24px; }
.snippet h3 { font-size: 22px; margin-top: 20px; }
.snippet table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.snippet td, .snippet th {
  border: 1px solid var(--line);
  padding: 8px;
}

.cta-band {
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,0.20), transparent 30%),
    linear-gradient(135deg, var(--brand), #10b981);
  color: white;
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 26px 0;
  box-shadow: var(--shadow);
}

.cta-band h2 { color: white; }
.cta-band p {
  color: rgba(255,255,255,0.88);
  margin: 8px 0 0;
}
.cta-band .btn {
  background: white;
  color: var(--brand-dark);
}

.cr-card {
  display: block;
  transition: var(--transition);
}

.cr-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.faq-item {
  margin-bottom: 12px;
}

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

.faq-answer {
  margin-top: 10px;
  color: var(--text-muted);
}

.footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 26px 0 88px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text-muted);
  margin-left: 16px;
}

.sticky-mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100;
}

@media (max-width: 920px) {
  .hero-inner, .layout, .cta-band {
    grid-template-columns: 1fr;
  }
  .toc { position: static; }
  .quick-grid, .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navbar-inner {
    min-height: 68px;
  }
  .nav-link.optional {
    display: none;
  }
  .hero-copy, .side-card, .content-card {
    padding: 22px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .logo {
    font-size: 21px;
  }
  .sticky-mobile-cta {
    display: block;
  }
  .footer {
    padding-bottom: 94px;
  }
}
