:root {
  --brand: #0057d9;
  --brand-dark: #003b95;
  --ink: #0f172a;
  --copy: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(15, 23, 42, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--copy);
  background: var(--white);
  font: 400 16px/1.72 "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--brand); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-shell { width: min(1216px, calc(100% - 32px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); border-bottom: 1px solid #f1f5f9; backdrop-filter: blur(12px); }
.nav-wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex-shrink: 0; }
.brand img { width: auto; height: 48px; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); color: #475569; font-size: .875rem; font-weight: 500; white-space: nowrap; }
.main-nav > a, .products-menu > button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.main-nav > a:hover, .products-menu > button:hover, .main-nav > a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.main-nav > a[aria-current="page"] { font-weight: 600; }
.products-menu { position: relative; }
.products-menu > button { gap: 5px; }
.products-menu > button svg { width: 16px; height: 16px; transition: transform .2s ease; }
.products-menu:hover > button svg, .products-menu:focus-within > button svg, .products-menu.open > button svg { transform: rotate(180deg); }
.products-list { position: absolute; top: 100%; left: 0; width: 288px; padding: 8px 0; border: 1px solid #f1f5f9; border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(15,23,42,.14); opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .2s, transform .2s, visibility .2s; white-space: normal; }
.products-menu:hover .products-list, .products-menu:focus-within .products-list, .products-menu.open .products-list { opacity: 1; visibility: visible; transform: translateY(0); }
.products-list a { display: block; padding: 11px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid #f1f5f9; }
.products-list a:last-child { border-bottom: 0; }
.products-list a:hover { background: #f8fafc; color: var(--brand); }
.products-list strong { display: block; font-size: .84rem; }
.products-list small { display: block; margin-top: 2px; color: #64748b; font-size: .72rem; line-height: 1.4; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.phone-link { display: inline-flex; align-items: center; gap: 6px; color: #475569; font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.phone-link:hover { color: var(--brand); }
.phone-link svg { width: 17px; height: 17px; color: var(--brand); }
.header-quote, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 10px 19px; border-radius: 9px; text-decoration: none; font-weight: 700; transition: .2s ease; }
.header-quote { color: #fff; background: var(--brand); box-shadow: 0 8px 20px rgba(0,87,217,.16); font-size: .82rem; text-transform: uppercase; white-space: nowrap; }
.header-quote:hover, .button.primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--brand); box-shadow: 0 8px 22px rgba(0,87,217,.22); }
.button.secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 9px; background: transparent; color: #334155; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle:hover { color: var(--brand); background: #f8fafc; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(15,23,42,.6); backdrop-filter: blur(4px); }
.drawer-backdrop[hidden] { display: none; }
.mobile-drawer { position: absolute; top: 0; right: 0; width: min(384px, 80vw); height: 100%; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px; background: #fff; box-shadow: -14px 0 35px rgba(15,23,42,.2); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.drawer-top strong { color: var(--ink); font-size: 1.1rem; }
.drawer-close { width: 40px; height: 40px; border: 0; border-radius: 8px; background: #f8fafc; color: #475569; font-size: 1.5rem; cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.drawer-nav a { display: block; padding: 10px 0; border-bottom: 1px solid #f1f5f9; color: #334155; font-weight: 500; text-decoration: none; }
.drawer-nav a:hover, .drawer-nav a[aria-current="page"] { color: var(--brand); }
.drawer-nav small { display: block; margin: 14px 0 3px; color: #94a3b8; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.drawer-nav .product-link { padding-left: 10px; font-size: .86rem; }
.drawer-bottom { padding-top: 24px; border-top: 1px solid #f1f5f9; text-align: center; }
.drawer-bottom .header-quote { display: flex; width: 100%; }
.drawer-bottom a:not(.header-quote) { display: block; margin-top: 12px; color: #64748b; font-size: .75rem; text-decoration: none; }

.hero { position: relative; overflow: hidden; padding: 88px 0 72px; color: #fff; background: linear-gradient(120deg, #071b3b, #003b95 62%, #0057d9); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -280px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: #bfdbfe; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.15rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -.035em; }
.hero p { max-width: 720px; margin: 22px 0 0; color: #dbeafe; font-size: clamp(1rem, 1.8vw, 1.16rem); }
.breadcrumbs { margin-bottom: 22px; color: #bfdbfe; font-size: .85rem; }
.breadcrumbs a { color: #fff; text-decoration: none; }

.section { padding: 78px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-head h2 { margin: 0; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.2; }
.section-head p { max-width: 620px; margin: 10px 0 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(15,23,42,.06); transition: .25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bfdbfe; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-image-link { display: block; overflow: hidden; }
.post-card-image-link img { transition: transform .3s ease; }
.post-card:hover .post-card-image-link img { transform: scale(1.035); }
.article-featured-image { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin: 0 0 34px; }
.article-content { max-width: 920px; }
.article-copy { max-width: 780px; margin: 0 auto; }
.article-copy h2 { margin: 2.2em 0 .7em; color: var(--ink); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.25; }
.article-copy h3 { margin: 1.6em 0 .55em; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.35; }
.article-copy p, .article-copy li { line-height: 1.8; }
.article-copy a { color: var(--brand); font-weight: 600; }
.article-copy .faq-item { padding: 8px 0 18px; border-bottom: 1px solid var(--line); }
.article-copy .faq-item h3 { margin-top: 1.2em; }
.article-copy .faq-item p { margin-bottom: 0; }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.tag { align-self: flex-start; padding: 5px 10px; color: var(--brand-dark); background: #eff6ff; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin: 15px 0 10px; color: var(--ink); font-size: 1.35rem; line-height: 1.35; }
.post-card p { margin: 0 0 20px; }
.read-more { margin-top: auto; color: var(--brand); font-weight: 700; text-decoration: none; }
.read-more:hover { color: var(--brand-dark); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; }
.article { min-width: 0; }
.article .featured { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-content { margin-top: 42px; }
.article-content h2 { margin: 48px 0 14px; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.28; }
.article-content h3 { margin: 30px 0 10px; color: var(--ink); font-size: 1.2rem; }
.article-content p, .article-content li { color: #334155; }
.article-content ul, .article-content ol { padding-left: 24px; }
.article-content li + li { margin-top: 9px; }
.callout { margin: 30px 0; padding: 22px 24px; background: #eff6ff; border-left: 4px solid var(--brand); border-radius: 10px; }
.callout strong { color: var(--ink); }
.toc { position: sticky; top: 102px; padding: 24px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
.toc h2 { margin: 0 0 14px; color: var(--ink); font-size: 1rem; }
.toc ol { margin: 0; padding-left: 20px; font-size: .88rem; }
.toc li + li { margin-top: 9px; }
.toc a { color: var(--copy); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.related-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0; }
.related-products a { padding: 18px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 700; }
.related-products a:hover { border-color: var(--brand); color: var(--brand); }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-nav a { color: var(--brand); font-weight: 700; text-decoration: none; }

.cta { padding: 54px 0; color: #fff; background: #0f172a; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.cta h2 { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.cta p { margin: 0; color: #cbd5e1; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.site-footer { padding: 64px 0 32px; border-top: 1px solid #1e293b; color: #94a3b8; background: #0f172a; }
.footer-grid { display: grid; grid-template-columns: 3fr 2fr 4fr 3fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 4px; color: #fff; background: var(--brand); font-weight: 700; }
.footer-brand-name { color: #fff; font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.footer-brand-name span { color: #64748b; font-size: .75rem; font-weight: 400; text-transform: lowercase; }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { margin: 0; font-size: .85rem; line-height: 1.7; }
.footer-note { margin-top: 16px !important; color: #64748b; font-size: .75rem !important; }
.site-footer ul { margin: 0; padding: 0; list-style: none; font-size: .84rem; line-height: 1.5; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; border-top: 1px solid #1e293b; color: #64748b; font-size: .75rem; }
.footer-bottom p { font-size: inherit; }
.social-links { display: flex; align-items: center; gap: 16px; color: #94a3b8; }
.social-links a { display: inline-flex; }
.social-links svg { width: 16px; height: 16px; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 940px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-shell { width: min(100% - 28px, 1216px); }
  .nav-wrap { min-height: 72px; }
  .brand img { height: 40px; }
  .header-actions { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 58px 0; }
  .card-grid, .related-products { grid-template-columns: 1fr; }
  .section-head, .cta-inner { align-items: stretch; flex-direction: column; }
  .cta-actions { flex-direction: column; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-nav { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
