:root {
  --navy-900: #0a1a33;
  --navy-800: #0f2747;
  --navy-700: #16355f;
  --blue-600: #1d5fd1;
  --blue-500: #2f74e6;
  --blue-100: #e7f0fd;
  --teal-500: #12a59c;
  --teal-100: #e3f6f4;
  --amber-500: #f0a429;
  --ink: #18212f;
  --muted: #5a6678;
  --line: #e3e8ef;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 26, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 26, 51, 0.14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: min(var(--container), 92%); margin: 0 auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #d6e0ef; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: #b8c6dc; }

/* Header */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-900); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue-600); }
.nav .btn { margin-left: 8px; color: var(--white); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 40px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-900); margin: 4px auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue-600); color: var(--white); box-shadow: 0 8px 20px rgba(29, 95, 209, 0.28); }
.btn--primary:hover { background: var(--blue-500); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--outline { border-color: var(--blue-600); color: var(--blue-600); background: var(--white); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(47, 116, 230, 0.45), transparent 60%),
              radial-gradient(800px 400px at 10% 110%, rgba(18, 165, 156, 0.30), transparent 60%),
              linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #d6e0ef;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 96px 0 104px; }
.hero h1 { color: var(--white); }
.hero .lead { color: #c5d3e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding: 0; list-style: none; font-size: 0.93rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); }
.hero-art { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35)); }

.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #c5d3e8; padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.4em; }
.page-hero .lead { color: #c5d3e8; max-width: 760px; }
.breadcrumb { font-size: 0.88rem; margin-bottom: 14px; color: #9fb2cf; }
.breadcrumb a { color: #cfe0ff; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { color: var(--muted); margin: 12px 0 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600);
}
.icon svg { width: 28px; height: 28px; }
.icon--teal { background: var(--teal-100); color: var(--teal-500); }

.platform-card { border-top: 4px solid var(--blue-600); }
.platform-card:nth-child(2) { border-top-color: var(--amber-500); }
.platform-card:nth-child(3) { border-top-color: var(--teal-500); }
.platform-name { font-size: 1.25rem; font-weight: 800; color: var(--navy-900); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.tag-list li { font-size: 0.8rem; font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--navy-700); }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split--reverse .split-media { order: 2; }
.split-media { background: var(--bg-soft); border-radius: 20px; padding: 28px; border: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2312a59c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.10); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-weight: 800; font-size: 0.9rem; color: var(--teal-500); letter-spacing: 0.1em;
}
.step h3 { margin-top: 10px; }
.step p { margin: 0; color: #b8c6dc; }

/* Stats-like facts (non-numeric claims) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.fact { padding: 26px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-size: 1.15rem; color: var(--navy-900); }
.fact span { color: var(--muted); font-size: 0.92rem; }

/* Insights */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-bar button {
  font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--navy-700);
  padding: 8px 16px; border-radius: 999px;
}
.filter-bar button[aria-pressed="true"] { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { background: var(--bg-soft); aspect-ratio: 16 / 9; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { margin: 8px 0 10px; font-size: 1.12rem; }
.post-card h3 a { color: var(--navy-900); }
.post-meta { font-size: 0.82rem; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.badge { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-600); background: var(--blue-100); padding: 3px 8px; border-radius: 6px; }
.read-more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 0.92rem; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.article-body { font-size: 1.05rem; }
.article-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.article-body h3 { margin-top: 1.4em; }
.article-body li { margin-bottom: 6px; }
.article-figure { margin: 0 0 32px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.callout { border-left: 4px solid var(--teal-500); background: var(--teal-100); padding: 16px 20px; border-radius: 8px; margin: 24px 0; }
.aside-box { position: sticky; top: 96px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-box h3 { font-size: 1.05rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.aside-box li:last-child { border-bottom: 0; }

/* Contact */
.contact-card { display: flex; gap: 18px; align-items: flex-start; }
.contact-card .value { font-size: 1.15rem; font-weight: 700; color: var(--navy-900); word-break: break-word; }
.contact-card .label { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue-600), var(--teal-500));
  color: var(--white); border-radius: 22px; padding: 52px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; color: #e8f1ff; max-width: 620px; }
.cta-band .btn { background: var(--white); color: var(--navy-900); }

/* Footer */
.site-footer { background: var(--navy-900); color: #9fb2cf; padding: 64px 0 28px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cfe0ff; }
.footer-brand .brand-name { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; }
.disclaimer { max-width: 760px; }

/* Utilities */
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.note { font-size: 0.92rem; color: var(--muted); }
.narrow { max-width: 760px; }
.prose { max-width: 820px; }
.post-meta--light { color: #b8c6dc; }

/* Responsive */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .aside-box { position: static; }
}
@media (max-width: 860px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 12px 4%;
  }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .grid--2, .grid--3, .grid--4, .steps, .facts, .footer-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-band { padding: 36px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
