:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #121826;
  --subtext: #4f5d77;
  --line: #d6dfec;
  --brand: #e23e57;
  --brand-dark: #c62a44;
  --accent: #315fdb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(900px 400px at -10% -15%, #eaf0ff 0%, transparent 68%), radial-gradient(820px 360px at 110% -15%, #ffeef2 0%, transparent 70%), var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
a { color: #2b4e9f; text-underline-offset: 3px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 8px 18px;
  color: #fff;
  background: #1e2f4a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f6f8ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.site-header-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.site-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.site-header-nav a {
  color: #e5ecfb;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.site-header-link {
  opacity: 0.96;
}
.site-header-nav a:hover {
  color: #ffffff;
}
.site-header-call {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff !important;
  font-weight: 800 !important;
}
.blog-wrap { width: min(980px, 100%); margin: 0 auto; padding: 24px 20px 70px; }
.blog-nav { display: flex; gap: 9px; align-items: center; font-weight: 700; color: #415271; margin-bottom: 16px; }
.blog-nav a { text-decoration: none; color: #2e4e8a; }
.blog-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
  font-weight: 800;
  color: #273f6f !important;
}
.blog-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.post-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(25, 39, 67, 0.08);
  padding: 28px;
}
.post-header h1 { margin: 8px 0 8px; line-height: 1.18; letter-spacing: -0.02em; font-size: clamp(1.5rem, 3.6vw, 2.35rem); }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; font-size: 0.78rem; color: #35579f; }
.meta { color: #697892; font-weight: 600; font-size: 0.92rem; }
.post-content h2 { margin: 28px 0 10px; font-size: clamp(1.22rem, 2.7vw, 1.62rem); color: #1e2f53; }
.post-content h3 { margin: 20px 0 8px; font-size: clamp(1.04rem, 2.2vw, 1.24rem); color: #2a3f6d; }
.post-content p { margin: 12px 0; color: var(--subtext); }
.post-content strong { color: var(--ink); }
.post-content ul { margin: 10px 0 12px 22px; padding: 0; }
.post-content li { margin: 5px 0; color: var(--subtext); }
hr { border: 0; border-top: 1px solid #e1e8f4; margin: 24px 0; }
pre {
  background: #0f172a;
  color: #dbe7ff;
  border: 1px solid #1f2d48;
  border-radius: 14px;
  overflow-x: auto;
  padding: 14px;
  margin: 14px 0;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.post-content p code, .post-content li code {
  background: #eef3ff;
  border: 1px solid #d8e2f4;
  padding: 1px 6px;
  border-radius: 7px;
  color: #243d70;
}
.table-wrap { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; min-width: 600px; width: 100%; }
th, td { border: 1px solid #d8e1ef; padding: 10px 12px; text-align: left; }
th { background: #f4f7fd; color: #2a3c65; font-weight: 800; }
td { color: var(--subtext); }
.related-posts {
  margin-top: 30px;
  border-top: 1px solid #e0e8f4;
  padding-top: 20px;
}
.related-posts h2 { margin: 0 0 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: #2f4676; }
.related-posts ul { margin: 0; padding-left: 20px; }
.post-cta {
  margin-top: 26px;
  border-top: 1px solid #e0e8f4;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  padding: 0 18px;
}
.primary-btn {
  color: #fff;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
}
.secondary-btn {
  color: #274376;
  border: 1px solid #ccd8ed;
  background: #f7faff;
}
.index-layout { padding-bottom: 22px; }
.index-snippet {
  margin: 0 0 10px;
  padding: 9px 11px;
  border-left: 3px solid #35579f;
  border-radius: 8px;
  background: #edf3ff;
  color: #30456f;
  font-weight: 650;
}
.index-intro { margin: 0; color: var(--subtext); }
.index-grid { margin-top: 18px; display: grid; gap: 12px; }
.index-card { border: 1px solid #d7e0ef; border-radius: 16px; background: #fff; padding: 18px; }
.index-card h2 { margin: 0 0 6px; font-size: clamp(1.06rem, 2.1vw, 1.24rem); line-height: 1.35; }
.index-card h2 a { color: #1e3361; text-decoration: none; }
.index-card p { margin: 0; color: var(--subtext); }
.meta-row { margin-top: 8px; display: flex; gap: 8px; align-items: center; color: #687992; font-size: 0.92rem; }
.read-more { margin-top: 10px; display: inline-block; font-weight: 800; color: #2f4f90; text-decoration: none; }
.index-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.global-site-footer {
  margin-top: 20px;
  border: 1px solid #d6dfec;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
}
.global-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.global-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #243d6f;
  text-decoration: none;
  font-weight: 800;
}
.global-footer-brand img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.global-footer-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 12px;
  background: #1f3460;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
}
.global-footer-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.global-footer-grid h3 {
  margin: 0 0 7px;
  color: #2a3f6d;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}
.global-footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.global-footer-grid li {
  margin-top: 6px;
}
.global-footer-grid a {
  color: #596a88;
  text-decoration: none;
  font-size: 0.9rem;
}
.global-footer-grid a:hover {
  color: #223e72;
}

.lead-inline-block {
  margin: 18px 0;
  border: 1px solid #d6e2f6;
  border-radius: 14px;
  background: #f8fbff;
  padding: 14px;
}

.lead-inline-badge {
  margin: 0;
  color: #20468d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-inline-block h3 {
  margin: 6px 0 0;
  color: #1b345f;
  font-size: 1.1rem;
  line-height: 1.3;
}

.lead-inline-block p {
  margin: 8px 0 0;
  color: #46597c;
}

.lead-inline-links {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lead-inline-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #ccdaef;
  border-radius: 999px;
  color: #254173;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.lead-inline-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}

.lead-inline-form input {
  min-height: 40px;
  border: 1px solid #cfddef;
  border-radius: 9px;
  padding: 0 12px;
  color: #1a2d4d;
  background: #fff;
  outline: none;
}

.lead-inline-form input:focus {
  border-color: #3d67bf;
  box-shadow: 0 0 0 3px rgba(61, 103, 191, 0.16);
}

.lead-inline-form button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  padding: 0 12px;
  background: #1f3460;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.lead-inline-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lead-inline-status {
  margin: 8px 0 0;
  font-size: 0.87rem;
}

.lead-inline-status.is-success {
  color: #117857;
}

.lead-inline-status.is-error {
  color: #c43f3f;
}

.lead-inline-note {
  margin-top: 6px !important;
  color: #7283a4 !important;
  font-size: 0.76rem !important;
}

.footer-marketplace-fomo {
  margin: 10px 0 0;
  border: 1px solid #d5e1f2;
  border-radius: 10px;
  background: #f6f9ff;
  padding: 9px 11px;
  color: #314a79;
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-marketplace-fomo a {
  color: #244a92;
}

@media (max-width: 760px) {
  .site-header {
    padding: 8px 12px;
  }
  .site-header-nav {
    gap: 6px;
  }
  .site-header-nav a {
    font-size: 0.84rem;
  }
  .blog-wrap { padding: 16px 14px 48px; }
  .post-card { border-radius: 16px; padding: 18px; }
  pre { font-size: 0.86rem; }
  table { min-width: 540px; }
  .blog-nav { flex-wrap: wrap; gap: 7px; }
  .global-footer-grid { grid-template-columns: 1fr; gap: 10px; }
  .index-actions {
    flex-direction: column;
  }
  .lead-inline-form {
    grid-template-columns: 1fr;
  }
}
