:root {
  --navy: #07162c;
  --navy-2: #0b213c;
  --blue: #0c67c7;
  --blue-2: #1f80e0;
  --blue-soft: #eaf4ff;
  --ink: #0a1a33;
  --text: #263b58;
  --muted: #64748b;
  --line: #dbe6f2;
  --panel: #f4f8fc;
  --white: #fff;
  --shadow: 0 18px 50px rgba(11, 33, 60, .1);
  --radius: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.btn, .nav-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  transition: .2s;
}
.btn:hover, .nav-cta:hover { border-color: #0859ad; background: #0859ad; transform: translateY(-1px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(10, 26, 51, .08);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; min-width: max-content; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { position: relative; display: grid; width: 44px; height: 44px; place-items: center; }
.brand-mark img, .brand-mark svg { width: 44px; height: 44px; object-fit: contain; }
.brand-mark svg { display: none; }
.brand-mark.fallback img { display: none; }
.brand-mark.fallback svg { display: block; }
.brand-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.brand-name { display: block; font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif; font-size: 19px; font-weight: 700; letter-spacing: .04em; line-height: 1; }
.brand-name span { color: var(--blue); font-weight: 600; }
.brand-sub { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.brand .brand-name, .brand .brand-name span, .brand .brand-mark { transition: color .2s ease, opacity .2s ease; }
.brand:hover .brand-name { color: var(--blue); }
.brand:hover .brand-name span { color: var(--blue-2); }
.brand:hover .brand-mark { opacity: .88; }
.brand:focus-visible { border-radius: 4px; outline: 2px solid var(--blue); outline-offset: 7px; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: var(--text); font-size: 14px; font-weight: 600; transition: .2s; }
.nav-links a:hover { color: var(--blue); }
.menu-btn { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.drawer { position: fixed; inset: 68px 0 0; z-index: 999; display: none; padding: 28px 24px; border-top: 1px solid var(--line); background: var(--white); }
.drawer.open { display: block; }
.drawer a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.drawer .btn { width: 100%; margin-top: 24px; border-bottom: 0; }

.articles-hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 85% 10%, rgba(31, 128, 224, .15), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; background: var(--blue); content: ""; }
.articles-hero h1 { max-width: 900px; font-size: clamp(44px, 7vw, 84px); line-height: .98; letter-spacing: -.04em; }
.articles-hero p { max-width: 760px; margin-top: 24px; color: var(--text); font-size: 20px; line-height: 1.65; }
.articles-section { min-height: 420px; padding: 56px 0 112px; }
.article-grid { display: flex; max-width: 1100px; flex-direction: column; gap: 28px; }
.article-card { display: grid; min-height: 0; grid-template-columns: minmax(340px, 44%) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); transition: .2s; }
.article-card:hover { border-color: #b8d0e7; box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; align-self: center; object-fit: cover; background: var(--panel); }
.article-card-body { display: flex; min-width: 0; flex-direction: column; padding: 32px 36px; }
.article-card-meta { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-card h2 { margin-top: 14px; font-size: 30px; line-height: 1.16; }
.article-card p { margin-top: 14px; color: var(--text); font-size: 16px; line-height: 1.6; }
.article-card-link { margin-top: auto; padding-top: 22px; color: var(--blue); font-size: 14px; font-weight: 800; }
.articles-empty { padding: 54px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); text-align: center; }
.articles-empty h2 { font-size: 30px; }
.articles-empty p { max-width: 620px; margin: 16px auto 0; color: var(--text); font-size: 17px; line-height: 1.65; }
.articles-empty .btn { margin-top: 26px; }

.article-shell { padding: 72px 24px 112px; }
.article-hero { max-width: 1040px; margin: 0 auto; }
.article-breadcrumbs { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.article-breadcrumbs a:hover { color: var(--blue); }
.article-category { margin-top: 44px; color: var(--blue); font-family: Consolas, "Courier New", monospace; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.article-hero h1 { max-width: 980px; margin-top: 16px; font-size: clamp(42px, 5.5vw, 68px); line-height: 1.03; letter-spacing: -.04em; }
.article-lede { max-width: 820px; margin-top: 24px; color: var(--text); font-size: 21px; line-height: 1.6; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.article-cover { margin: 44px 0 0; overflow: hidden; border-radius: 24px; background: var(--panel); box-shadow: var(--shadow); }
.article-cover img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.article-layout { display: grid; max-width: 1040px; grid-template-columns: minmax(0, 720px) 240px; gap: 72px; margin: 56px auto 0; align-items: start; }
.article-content { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.82; }
.article-content > * + * { margin-top: 1.35em; }
.article-content h2, .article-content h3 { color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.18; letter-spacing: -.025em; }
.article-content h2 { margin-top: 2.1em; font-size: 34px; }
.article-content h3 { margin-top: 1.8em; font-size: 26px; }
.article-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin-left: 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--blue); color: var(--ink); font-size: 22px; line-height: 1.55; }
.article-content img { width: 100%; height: auto; margin: 42px 0 12px; border-radius: 16px; }
.article-content figcaption { margin-top: -2px; color: var(--muted); font-family: "Segoe UI", Arial, sans-serif; font-size: 13px; line-height: 1.5; text-align: center; }
.article-aside { position: sticky; top: 108px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.article-aside strong { font-size: 18px; }
.article-aside p { margin-top: 10px; color: var(--text); font-size: 14px; line-height: 1.55; }
.article-aside a { display: inline-block; margin-top: 18px; color: var(--blue); font-size: 14px; font-weight: 800; }

footer { padding: 36px 0; background: #061225; color: #a9bad0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { font-size: 13px; }
.footer-brand strong { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { font-size: 13px; transition: .2s; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 820px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .articles-hero { padding: 64px 0 54px; }
  .articles-section { padding: 48px 0 80px; }
  .article-card { grid-template-columns: 1fr; }
  .article-card-body { padding: 26px; }
  .article-card h2 { font-size: 26px; }
  .article-layout { grid-template-columns: 1fr; gap: 44px; }
  .article-aside { position: static; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .nav { height: 68px; }
  .brand-mark, .brand-mark img, .brand-mark svg { width: 38px; height: 38px; }
  .brand-name { font-size: 16px; letter-spacing: .04em; }
  .brand-sub { display: none; }
  .articles-empty { padding: 36px 22px; }
  .article-shell { padding: 48px 16px 80px; }
  .article-category { margin-top: 34px; }
  .article-lede { font-size: 18px; }
  .article-cover { margin-top: 36px; border-radius: 16px; }
  .article-layout { margin-top: 48px; }
  .article-content { font-size: 18px; line-height: 1.75; }
  .article-content h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
