:root {
  --navy-950: #0b1120;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --white: #fff;
  --shadow: 0 18px 45px rgba(15, 23, 42, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy-900);
  background: var(--slate-50);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; color: white; background: var(--blue-600); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--slate-300); background: rgba(15, 23, 42, .97);
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  backdrop-filter: blur(14px);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 23px; font-weight: 800; letter-spacing: -.04em; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-600); }
.logo-mark svg { width: 23px; }
.logo em { color: var(--blue-500); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-500); }
.nav-cta { padding: 10px 18px; color: white !important; background: var(--blue-600); border-radius: 7px; }
.nav-cta:hover { background: var(--blue-700); }
.menu-button {
  display: none; padding: 8px; color: white; background: none; border: 0; cursor: pointer;
}
.menu-button svg { width: 28px; height: 28px; }

.hero {
  position: relative; overflow: hidden; padding: 82px 0 74px; color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, .28), transparent 32%),
    radial-gradient(circle at 5% 95%, rgba(99, 102, 241, .14), transparent 26%),
    var(--navy-950);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent);
}
.hero-inner { position: relative; z-index: 1; max-width: 790px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 5px 12px;
  color: #60a5fa; background: rgba(30, 58, 138, .35); border: 1px solid rgba(59, 130, 246, .35);
  border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 0 5px rgba(96,165,250,.1); }
.hero h1 { max-width: 820px; margin: 0 0 20px; font-size: clamp(38px, 6vw, 65px); line-height: 1.06; letter-spacing: -.045em; }
.hero p { max-width: 710px; margin: 0; color: #94a3b8; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px;
  color: white; background: var(--blue-600); border: 1px solid var(--blue-600); border-radius: 10px; font-weight: 750;
}
.button:hover { background: var(--blue-700); border-color: var(--blue-700); transform: translateY(-1px); }
.button-secondary { background: var(--navy-800); border-color: var(--slate-700); }

.breadcrumbs { color: #94a3b8; background: var(--navy-800); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px 0; list-style: none; }
.breadcrumbs a:hover { color: #60a5fa; }
.breadcrumbs [aria-current="page"] { color: #60a5fa; }

.blog-section { padding: 70px 0 90px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head h2 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 39px); letter-spacing: -.035em; }
.section-head p { margin: 0; color: var(--slate-600); }
.search { position: relative; width: min(100%, 340px); flex: 0 0 auto; }
.search input {
  width: 100%; min-height: 48px; padding: 0 18px 0 45px; color: var(--navy-900); background: white;
  border: 1px solid var(--slate-200); border-radius: 11px; outline: none;
}
.search input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.search svg { position: absolute; left: 15px; top: 14px; width: 20px; color: var(--slate-500); }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.filter {
  padding: 7px 13px; color: var(--slate-600); background: white; border: 1px solid var(--slate-200); border-radius: 999px; cursor: pointer;
}
.filter:hover, .filter.active { color: white; background: var(--blue-600); border-color: var(--blue-600); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: white;
  border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: 0 4px 15px rgba(15,23,42,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: #bfdbfe; box-shadow: var(--shadow); }
.card-visual { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #0f172a, #1e3a8a); }
.card-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .35s ease; }
.post-card:hover .card-visual img { transform: scale(1.035); }
.card-icon { position: absolute; width: 58px; height: 58px; padding: 14px; color: white; background: rgba(37,99,235,.86); border: 1px solid rgba(255,255,255,.25); border-radius: 16px; backdrop-filter: blur(8px); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; color: var(--slate-500); font-size: 12px; }
.category { color: var(--blue-700); font-weight: 750; text-transform: uppercase; letter-spacing: .055em; }
.post-card h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.post-card h3 a:hover { color: var(--blue-600); }
.post-card p { margin: 0 0 22px; color: var(--slate-600); font-size: 15px; }
.read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue-600); font-weight: 750; font-size: 14px; }
.read-more span { transition: transform .2s ease; }
.read-more:hover span { transform: translateX(4px); }
.empty-state { display: none; padding: 30px; text-align: center; color: var(--slate-600); background: white; border: 1px dashed var(--slate-300); border-radius: var(--radius); }

.newsletter { margin-top: 70px; padding: 36px; color: white; background: linear-gradient(135deg, #172554, #1d4ed8); border-radius: 20px; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.newsletter h2 { margin: 0 0 6px; font-size: 26px; }
.newsletter p { margin: 0; color: #bfdbfe; }

.article-hero { padding: 58px 0 52px; }
.article-hero h1 { font-size: clamp(35px, 5.5vw, 59px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 25px; color: #94a3b8; font-size: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 55px; align-items: start; padding: 64px 0 90px; }
.article {
  padding: clamp(24px, 5vw, 54px); background: white; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: 0 6px 22px rgba(15,23,42,.045);
}
.article .lead { margin-top: 0; color: var(--slate-700); font-size: 20px; line-height: 1.7; }
.article h2, .article h3 { scroll-margin-top: 110px; color: var(--navy-900); line-height: 1.25; letter-spacing: -.025em; }
.article h2 { margin: 48px 0 18px; padding-top: 8px; font-size: 30px; }
.article h3 { margin: 31px 0 12px; font-size: 22px; }
.article p { margin: 0 0 22px; color: var(--slate-700); }
.article ul, .article ol { margin: 0 0 24px; padding-left: 24px; color: var(--slate-700); }
.article li { margin: 7px 0; padding-left: 4px; }
.article a { color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article strong { color: var(--navy-900); }
.article blockquote, .info-box {
  margin: 30px 0; padding: 23px 25px; color: var(--slate-700); background: #eff6ff; border-left: 4px solid var(--blue-600); border-radius: 0 12px 12px 0;
}
.article blockquote p, .info-box p { margin: 0; }
.article table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 14px; }
.article th, .article td { padding: 13px; text-align: left; border: 1px solid var(--slate-200); }
.article th { background: var(--slate-100); }
.article-offer {
  margin: 36px 0;
  padding: clamp(22px, 4vw, 32px);
  color: white;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  border-radius: 18px;
}
.article-offer h2, .article-offer h3, .article-offer p { color: inherit; }
.article-offer h2 { margin-top: 0; padding-top: 0; }
.article-offer p { color: #dbeafe; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.offer-plan { padding: 16px; background: rgba(15, 23, 42, .58); border: 1px solid rgba(219, 234, 254, .22); border-radius: 14px; }
.offer-plan strong { display: block; color: white; font-size: 16px; }
.offer-plan span { display: block; color: #bfdbfe; font-size: 13px; }
.offer-plan .price { margin-top: 8px; color: white; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.article .article-offer a { color: white; text-decoration: none; }
.article .article-offer .button-secondary { background: rgba(15, 23, 42, .68); border-color: rgba(219, 234, 254, .28); }
.article-offer table { margin: 22px 0; color: #dbeafe; border-collapse: collapse; }
.article-offer th, .article-offer td { border-color: rgba(219, 234, 254, .22); }
.article-offer th { color: white; background: rgba(15, 23, 42, .42); }
.article-offer td strong { color: white; }
.article-offer .offer-note { margin-top: 14px; color: #bfdbfe; font-size: 14px; }
.sidebar { position: sticky; top: 102px; display: grid; gap: 20px; }
.side-card { padding: 24px; background: white; border: 1px solid var(--slate-200); border-radius: 15px; }
.side-card h2 { margin: 0 0 15px; font-size: 18px; }
.toc { margin: 0; padding: 0; list-style: none; }
.toc li + li { margin-top: 10px; }
.toc a { color: var(--slate-600); font-size: 14px; }
.toc a:hover { color: var(--blue-600); }
.cta-card { color: white; background: var(--navy-900); border-color: var(--navy-800); }
.cta-card p { color: var(--slate-300); font-size: 14px; }
.cta-card .button { width: 100%; }
.article-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--slate-200);
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 4px 9px; color: var(--slate-600); background: var(--slate-100); border-radius: 7px; font-size: 12px; }

.site-footer { padding: 65px 0 28px; color: #94a3b8; background: var(--navy-900); border-top: 1px solid var(--navy-800); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .85fr 1fr 1fr; gap: 44px; margin-bottom: 45px; }
.site-footer h2 { margin: 0 0 15px; color: white; font-size: 17px; }
.site-footer p { max-width: 460px; font-size: 14px; }
.company-details { display: grid; gap: 8px; margin-top: 24px; font-size: 14px; line-height: 1.65; }
.company-details p { margin: 0; }
.company-details strong { color: white; }
.footer-links { display: grid; gap: 9px; font-size: 14px; }
.footer-links a:hover { color: #60a5fa; }
.footer-legal-note { padding-top: 24px; color: var(--slate-500); border-top: 1px solid var(--navy-800); font-size: 13px; line-height: 1.7; }

@media (max-width: 920px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { min-height: 68px; }
  .menu-button { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0;
    padding: 10px 16px 20px; background: var(--navy-900); border-top: 1px solid var(--navy-800);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding: 60px 0 56px; }
  .hero-actions, .section-head, .newsletter-inner, .article-footer { align-items: stretch; flex-direction: column; }
  .section-head { margin-bottom: 24px; }
  .search { width: 100%; }
  .post-grid { grid-template-columns: 1fr; }
  .blog-section { padding: 52px 0 65px; }
  .newsletter { margin-top: 48px; padding: 27px; }
  .article-layout { padding-top: 35px; }
  .article { padding: 25px 20px; }
  .article h2 { font-size: 26px; }
  .offer-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
