:root {
  --navy: #071a36;
  --navy-2: #0b2349;
  --navy-3: #13335f;
  --orange: #ff6a00;
  --orange-2: #ff8a33;
  --teal: #0aa3a3;
  --ink: #10233f;
  --muted: #53657a;
  --line: #dfe5ec;
  --surface: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(6, 25, 54, .12);
  --container: 1180px;
  --article: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(255,106,0,.18); }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(7,26,54,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 36px rgba(0,0,0,.10);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; }
.brand-logo { display: block; width: 220px; max-height: 38px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 27px; color: rgba(255,255,255,.84); font-size: 14px; font-weight: 600; }
.main-nav > a:not(.button) { text-decoration: none; transition: color .2s ease; }
.main-nav > a:not(.button):hover, .main-nav > a[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 30px rgba(255,106,0,.25); }
.button-primary:hover { background: #f86400; box-shadow: 0 16px 38px rgba(255,106,0,.34); }
.button-small { min-height: 40px; padding: 0 17px; font-size: 13px; }
.button-large { min-height: 54px; padding: 0 24px; font-size: 15px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #c6d3e3; font-size: 11px; font-weight: 600; letter-spacing: 1.35px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange); }
.blog-hero, .article-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg,#06152d 0%,#071d3f 58%,#0e2d59 100%); }
.blog-hero::after, .article-hero::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -190px; top: -200px; background: radial-gradient(circle,rgba(255,106,0,.18),transparent 68%); pointer-events: none; }
.blog-hero-inner, .article-hero-inner { position: relative; z-index: 1; }
.blog-hero { padding: 154px 0 84px; }
.blog-hero h1 { max-width: 820px; margin: 20px 0 20px; font-size: clamp(42px,5vw,68px); line-height: 1.05; letter-spacing: -1.8px; font-weight: 500; }
.blog-hero h1 em, .article-hero h1 em { color: var(--orange); font-style: normal; }
.blog-hero p { max-width: 760px; margin: 0; color: #c8d5e5; font-size: 18px; line-height: 1.72; font-weight: 300; }
.blog-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.blog-hero-meta span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #bac9db; background: rgba(255,255,255,.04); font-size: 11px; }

.blog-main { padding: 82px 0 112px; background: #f7f9fb; }
.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 420px; overflow: hidden; margin-bottom: 64px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.featured-post-media { position: relative; display: block; min-height: 420px; overflow: hidden; background: linear-gradient(135deg,#0b2349,#13335f); text-decoration: none; }
.featured-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.featured-post-media:hover img { transform: scale(1.025); }
.featured-post-media:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.featured-post-media-empty { display: grid; place-items: center; color: rgba(255,255,255,.74); font-size: 13px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; }
.featured-post-copy { display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.post-kicker { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 18px; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.post-kicker time { color: #75869b; font-weight: 500; letter-spacing: 0; text-transform: none; }
.featured-post h2, .post-card h2 { margin: 0; color: var(--navy); font-weight: 500; letter-spacing: -.7px; }
.featured-post h2 { font-size: clamp(30px,3.4vw,44px); line-height: 1.08; }
.featured-post h2 a, .post-card h2 a { color: inherit; text-decoration: none; }
.featured-post h2 a:hover, .post-card h2 a:hover { color: #0b3970; }
.featured-post h2 a:focus-visible, .post-card h2 a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.featured-post p { margin: 18px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--navy); text-decoration: none; font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--orange); }
.blog-list-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.blog-list-head h2 { margin: 6px 0 0; font-size: clamp(28px,3vw,40px); line-height: 1.12; font-weight: 500; letter-spacing: -.8px; }
.blog-count { color: #7b899b; font-size: 12px; }
.post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.post-card:hover { transform: translateY(-4px); border-color: #d3dce6; box-shadow: 0 22px 60px rgba(6,25,54,.10); }
.post-card-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg,#edf2f7,#e5ebf2); text-decoration: none; box-shadow: inset 0 -1px 0 rgba(7,26,54,.07); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--thumb-position,50% 50%); display: block; transform: scale(var(--thumb-scale,1.08)); transition: transform .38s ease; }
.post-card:hover .post-card-media img, .post-card-media:hover img { transform: scale(var(--thumb-scale-hover,1.12)); }
.post-card-media:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.post-card-media-empty { display: grid; place-items: center; color: #60738b; font-size: 11px; font-weight: 600; letter-spacing: .65px; text-transform: uppercase; }
.post-card-media-empty::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 22%,rgba(255,106,0,.14),transparent 38%), linear-gradient(135deg,rgba(7,26,54,.02),rgba(7,26,54,.08)); }
.post-card-media-empty span { position: relative; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card h2 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 22px; line-height: 1.18; }
.post-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; margin: 14px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.post-card .text-link { margin-top: auto; }

.article-hero { padding: 148px 0 76px; }
.article-hero-inner { max-width: 960px; }
.article-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; color: #94a9c3; font-size: 11px; }
.article-breadcrumbs a { text-decoration: none; }
.article-breadcrumbs a:hover { color: #fff; }
.article-hero h1 { max-width: 980px; margin: 18px 0 22px; font-size: clamp(40px,5vw,66px); line-height: 1.06; letter-spacing: -1.7px; font-weight: 500; }
.article-lead { max-width: 820px; margin: 0; color: #ced9e6; font-size: 19px; line-height: 1.72; font-weight: 300; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; color: #9eb1c8; font-size: 11px; }
.article-category { color: #ff9b57; font-weight: 600; }

.article-shell { background: #fff; }
.article-cover { width: min(calc(100% - 40px), 1060px); margin: 0 auto; transform: translateY(44px); position: relative; z-index: 2; }
.article-cover figure { margin: 0; overflow: hidden; border-radius: 24px; background: #edf1f6; box-shadow: 0 28px 90px rgba(6,25,54,.18); }
.article-cover img { width: 100%; max-height: 620px; display: block; object-fit: cover; }
.article-content-wrap { padding: 112px 0 102px; }
.article-content { width: min(calc(100% - 40px), var(--article)); margin: 0 auto; }
.article-section { margin: 0 0 62px; scroll-margin-top: 105px; }
.article-section:last-child { margin-bottom: 0; }
.article-section h2 { margin: 0 0 24px; color: var(--navy); font-size: clamp(30px,3.2vw,42px); line-height: 1.12; font-weight: 500; letter-spacing: -.8px; }
.article-section p { margin: 0 0 20px; color: #42566f; font-size: 17px; line-height: 1.85; }
.article-section strong { color: #18314f; }
.article-list { margin: 6px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.article-list li { position: relative; padding-left: 24px; color: #42566f; font-size: 16px; line-height: 1.72; }
.article-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.article-figure { margin: 34px 0; }
.article-figure img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 50px rgba(6,25,54,.08); }
.article-figure figcaption, .article-video figcaption { margin-top: 10px; color: #75869a; font-size: 11px; text-align: center; }
.article-video { margin: 34px 0; }
.article-video video { width: 100%; display: block; border-radius: 20px; background: #06162e; box-shadow: 0 18px 50px rgba(6,25,54,.10); }
.article-callout { margin: 30px 0; padding: 24px 26px; border: 1px solid #e0e6ed; border-left: 3px solid var(--orange); border-radius: 17px; background: #f8fafc; }
.article-callout strong { display: block; margin-bottom: 7px; color: var(--navy); font-size: 15px; }
.article-callout p { margin: 0; font-size: 15px; line-height: 1.7; }
.steps { display: grid; gap: 18px; margin: 30px 0; }
.step { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(6,25,54,.055); }
.step-no { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff1e8; color: var(--orange); font-size: 11px; font-weight: 700; }
.step-body h3 { margin: 2px 0 7px; color: var(--navy); font-size: 19px; font-weight: 500; }
.step-body p { margin: 0; font-size: 14px; line-height: 1.7; }
.step-image { grid-column: 1 / -1; margin-top: 15px; }
.step-image img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 15px; }

.article-cta { padding: 74px 0; background: linear-gradient(135deg,#071a36,#0b2a57); color: #fff; }
.article-cta-inner { width: min(calc(100% - 40px), 900px); margin: 0 auto; text-align: center; }
.article-cta h2 { margin: 12px auto 18px; max-width: 720px; font-size: clamp(32px,4vw,48px); line-height: 1.08; font-weight: 500; letter-spacing: -1px; }
.article-cta h2 em { color: var(--orange); font-style: normal; }
.article-cta p { max-width: 700px; margin: 0 auto 28px; color: #becddd; font-size: 15px; line-height: 1.75; }

.related { padding: 88px 0 104px; background: #f7f9fb; }
.related-head { margin-bottom: 28px; }
.related-head h2 { margin: 7px 0 0; color: var(--navy); font-size: 34px; line-height: 1.14; font-weight: 500; letter-spacing: -.7px; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.related-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(6,25,54,.08); }
.related-card span { color: var(--teal); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.related-card strong { margin: 12px 0 16px; color: var(--navy); font-size: 18px; line-height: 1.25; font-weight: 500; }
.related-card small { margin-top: auto; color: #7b899a; font-size: 10px; }

.site-footer { background: #040f20; color: #a7b8cc; padding: 42px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 50px; align-items: start; }
.footer-brand .brand-logo { width: 220px; max-height: 38px; }
.footer-top p { max-width: 260px; font-size: 11px; }
.footer-links, .footer-contact { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: #c1cedc; text-decoration: none; font-size: 11px; }
.footer-contact span { color: #aebdd0; font-size: 10px; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; gap: 16px; font-size: 10px; }
.footer-legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.privacy-settings-link { appearance: none; border: 0; padding: 0; color: inherit; background: none; font: inherit; cursor: pointer; }

.consent-banner { position: fixed; inset: auto 18px 18px 18px; z-index: 3000; opacity: 0; transform: translateY(18px); transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.consent-banner.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.consent-inner { width: min(1100px,100%); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 20px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(5,18,39,.97); color: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.consent-copy strong { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 600; }
.consent-copy p { margin: 0; max-width: 720px; color: #c1cedd; font-size: 12px; line-height: 1.55; }
.consent-actions { display: flex; gap: 9px; align-items: center; }
.consent-actions .button { min-height: 43px; padding: 0 16px; font-size: 12px; white-space: nowrap; }
.consent-actions .button-ghost { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }

.media-placeholder { display: grid; place-items: center; min-height: 240px; padding: 24px; border: 1px dashed #cbd5e1; border-radius: 18px; color: #64748b; background: #f8fafc; text-align: center; font-size: 12px; }

@media (max-width: 1040px) {
  .main-nav { gap: 16px; }
  .main-nav > a:not(.button) { display: none; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 70px 18px auto 18px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #0a2145; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
  .main-nav.open { display: flex; }
  .main-nav.open > a:not(.button) { display: block; padding: 10px 12px; }
  .main-nav.open > .button { margin-top: 6px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-media { min-height: 330px; }
  .post-grid, .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-figure, .article-video { margin-left: 0; margin-right: 0; }
  .steps { margin-left: 0; margin-right: 0; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px),var(--container)); }
  .nav-wrap { height: 68px; }
  .brand-logo { width: 105px; max-height: 22px; }
  .main-nav { inset: 68px 12px auto 12px; }
  .blog-hero, .article-hero { padding-top: 116px; }
  .blog-hero { padding-bottom: 62px; }
  .blog-hero h1 { font-size: 39px; letter-spacing: -1px; }
  .blog-hero p { font-size: 15px; }
  .article-hero h1 { font-size: 39px; letter-spacing: -1px; }
  .article-lead { font-size: 16px; }
  .blog-main { padding: 58px 0 82px; }
  .featured-post { margin-bottom: 46px; border-radius: 20px; }
  .featured-post-media { min-height: 230px; }
  .featured-post-copy { padding: 26px 22px; }
  .post-grid, .related-grid { grid-template-columns: 1fr; }
  .blog-list-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .article-cover { width: min(calc(100% - 24px),1060px); transform: translateY(28px); }
  .article-cover figure { border-radius: 18px; }
  .article-content-wrap { padding: 78px 0 76px; }
  .article-content { width: min(calc(100% - 28px),var(--article)); }
  .article-section { margin-bottom: 48px; }
  .article-section h2 { font-size: 29px; }
  .article-section p { font-size: 16px; line-height: 1.78; }
  .article-figure, .article-video { margin: 26px 0; }
  .step { grid-template-columns: 38px minmax(0,1fr); gap: 13px; padding: 18px; }
  .step-no { width: 36px; height: 36px; }
  .step-image { grid-column: 1 / -1; }
  .article-cta { padding: 58px 0; }
  .related { padding: 64px 0 78px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-brand .brand-logo { width: 105px; max-height: 22px; }
  .consent-banner { inset: auto 10px 10px 10px; }
  .consent-inner { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .consent-actions { display: grid; grid-template-columns: 1fr; }
  .consent-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
