:root {
  --bg: #f6f8fc;
  --panel: #ffffff;
  --text: #102033;
  --muted: #5d6b82;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --navy: #0f172a;
  --border: #dbe4f0;
  --soft: #eef4ff;
  --green: #0f766e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  padding-top: 82px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: #0f172a;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-weight: 800; letter-spacing: .02em; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand-text { font-size: 1.55rem; line-height: 1; }
.brand-text span { color: var(--blue); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .65rem;
  color: #fff;
  background: #2563eb;
  box-shadow: 0 10px 28px rgba(37, 99, 235, .35);
}
.brand-mark svg { width: 1.35rem; height: 1.35rem; }
.primary-nav { display: flex; gap: clamp(.75rem, 2vw, 1.5rem); align-items: center; }
.primary-nav a { color: #cbd5e1; font-weight: 650; font-size: .94rem; transition: color .2s ease; }
.primary-nav a[aria-current="page"], .primary-nav a:hover { color: #3b82f6; }
.header-actions { display: flex; align-items: center; gap: .85rem; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}
.phone-link svg { width: 1rem; height: 1rem; color: #60a5fa; }
.language-switcher { position: relative; }
.language-switcher button {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: .45rem .2rem;
}
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .8rem);
  display: none;
  min-width: 210px;
  padding: .5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .85rem;
  box-shadow: 0 24px 70px rgba(15,23,42,.2);
}
.language-switcher:hover .language-menu,
.language-switcher:focus-within .language-menu { display: grid; }
.language-menu a {
  color: #334155;
  padding: .55rem .75rem;
  border-radius: .55rem;
  font-weight: 650;
}
.language-menu a:hover { background: #f1f5f9; color: #0f172a; }
.client-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .55rem 1rem;
  border-radius: .45rem;
  color: #fff !important;
  background: #2563eb;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(37,99,235,.25);
  white-space: nowrap;
}
.client-button:hover { background: #1d4ed8; color: #fff; }
.blog-shell, .article-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 2.25rem 0 4rem; }
.blog-hero, .article-hero {
  margin: 2rem 0;
  padding: clamp(2rem, 6vw, 4.5rem);
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(96,165,250,.35), transparent 34rem),
    linear-gradient(135deg, #0f172a, #172554 55%, #1e3a8a);
  border-radius: 2rem;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .2);
  overflow: hidden;
}
.blog-hero.compact { padding: clamp(1.5rem, 4vw, 3rem); }
.blog-hero h1, .article-hero h1 { margin: .4rem 0 1rem; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.045em; }
.blog-hero p, .article-hero p { max-width: 820px; color: #dbeafe; font-size: clamp(1rem, 2vw, 1.2rem); }
.blog-hero a, .article-hero a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.section-eyebrow, .article-kicker { color: #93c5fd; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .78rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.15rem;
  border-radius: .8rem;
  font-weight: 800;
  text-decoration: none !important;
}
.button-primary { background: var(--blue); color: #fff !important; box-shadow: 0 14px 30px rgba(37, 99, 235, .25); }
.button-secondary { background: #fff; color: var(--blue) !important; border: 1px solid var(--border); }
.editorial-panel {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .05);
}
.editorial-panel h2 { margin: .35rem 0 0; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.03em; }
.editorial-panel p { margin: 0; color: #475569; }
.blog-tools {
  display: grid;
  gap: .8rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
}
.blog-tools label { font-weight: 800; }
.blog-tools input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: .9rem;
  padding: .95rem 1rem;
  font: inherit;
  outline: none;
}
.blog-tools input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.keyword-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.keyword-links a, .tag-row span {
  display: inline-flex;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: var(--soft);
  color: #1e40af;
  font-size: .82rem;
  font-weight: 750;
}
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}
.post-image { min-height: 170px; display: grid; place-items: center; background: linear-gradient(135deg, #eff6ff, #f8fafc); }
.post-image img { max-width: 46%; max-height: 140px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(15,23,42,.18)); }
.post-card-body { padding: 1.1rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.post-card h2 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.post-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card-meta, .article-meta { color: var(--muted); font-size: .84rem; font-weight: 700; }
.tag-row { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: auto; }
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}
.pagination a, .pagination span {
  padding: .7rem 1rem;
  border-radius: .8rem;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 800;
}
.breadcrumbs { display: flex; gap: .55rem; flex-wrap: wrap; color: var(--muted); margin: 1rem 0; font-size: .92rem; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1.5rem;
  align-items: start;
}
.article-layout > header, .article-layout > section { min-width: 0; }
.article-hero { grid-column: 1 / -1; margin-bottom: 0; }
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: #bfdbfe; margin-top: 1.2rem; }
.hero-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
  padding: 1rem;
  width: min(640px, 100%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 1.2rem;
}
.hero-card img { width: 96px; max-height: 90px; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(0,0,0,.25)); }
.hero-card p { margin: .1rem 0 0; font-size: .95rem; }
.toc {
  position: sticky;
  top: 5.5rem;
  grid-column: 2;
  grid-row: 2 / span 9;
  display: grid;
  gap: .55rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.06);
}
.toc a { font-weight: 700; font-size: .93rem; }
.article-layout section {
  grid-column: 1;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.05);
}
.article-layout h2 { margin-top: 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
.article-layout p { color: #334155; }
.keyword-box, .recommendation, .pricing-note {
  padding: 1rem;
  border-radius: 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.recommendation { background: #ecfdf5; border-color: #99f6e4; }
.check-list, .numbered { padding-left: 1.2rem; }
.check-list li, .numbered li { margin-bottom: .55rem; }
.pricing-panel { border: 2px solid #bfdbfe !important; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
.pricing-table, .decision-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.pricing-table th, .pricing-table td,
.decision-table th, .decision-table td {
  padding: .85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.pricing-table thead th, .decision-table thead th { color: #0f172a; background: #f8fafc; }
.decision-table tbody th { color: #0f172a; width: 24%; }
.table-link {
  display: inline-flex;
  padding: .5rem .7rem;
  border-radius: .65rem;
  color: #fff !important;
  background: var(--blue);
  font-weight: 800;
}
.mistake-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.mistake-grid article {
  padding: 1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border);
}
.mistake-grid strong { display: block; color: #0f172a; margin-bottom: .35rem; }
.mistake-grid p { margin: 0; font-size: .95rem; }
.expert-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, #0f172a, #1e3a8a) !important;
  color: #fff;
  border: 0 !important;
}
.expert-panel h2 { color: #fff; }
.expert-panel p { color: #dbeafe; }
.expert-panel .button-primary { flex-shrink: 0; }
.faq-section details {
  padding: 1rem;
  margin: .75rem 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #f8fafc;
}
.faq-section summary { cursor: pointer; font-weight: 800; }
.related ul { display: grid; gap: .65rem; padding-left: 1.2rem; }
.final-cta {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #0f172a) !important;
  border: 0 !important;
}
.final-cta p { color: #dbeafe; }
.site-footer {
  color: #cbd5e1;
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 5rem clamp(1rem, 4vw, 3rem) 2rem;
}
.footer-grid {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
.site-footer h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.site-footer p { max-width: 620px; margin: .5rem 0 0; color: #94a3b8; font-size: .94rem; }
.site-footer a:not(.brand) {
  display: block;
  color: #cbd5e1;
  font-weight: 650;
  margin: .7rem 0;
}
.site-footer a:not(.brand):hover { color: #60a5fa; }
.footer-logo { margin-bottom: 1.2rem; }
.footer-bottom {
  width: min(1280px, calc(100% - 2rem));
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
}
.footer-bottom p { max-width: none; color: #64748b; }
.hidden-by-search { display: none !important; }
@media (max-width: 980px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; grid-column: 1; grid-row: auto; }
  .article-layout section { grid-column: 1; }
  .editorial-panel { grid-template-columns: 1fr; }
  .mistake-grid { grid-template-columns: 1fr; }
  .expert-panel { align-items: flex-start; flex-direction: column; }
  .site-header-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  body { padding-top: 166px; }
  .primary-nav, .header-actions { flex-wrap: wrap; justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { padding-top: 218px; }
  .phone-link, .language-switcher { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .primary-nav { gap: .85rem; }
  .hero-card { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}
