*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #004aad;
  --navy:        #002d6e;
  --surface:     #ffffff;
  --surface2:    #f0f5ff;
  --text:        #ffffff;
  --text-blue:   #004aad;
  --muted:       rgba(255,255,255,0.62);
  --muted-blue:  #6b7a8d;
  --border:      rgba(255,255,255,0.16);
  --border-blue: #d5e3f7;
  --body:        #1a1a2e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background:
    radial-gradient(900px circle at 90% 5%, rgba(120,200,255,0.35), transparent 55%),
    radial-gradient(700px circle at 0% 40%, rgba(0,178,255,0.22), transparent 60%),
    radial-gradient(800px circle at 100% 100%, rgba(0,20,70,0.5), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(0,74,173,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 56px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; }

.nav-cta {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-blue);
  background: linear-gradient(135deg, #ffffff 0%, #e8f2ff 100%);
  padding: 11px 24px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow:
    0 4px 12px rgba(0,30,80,0.25),
    0 0 0 1px rgba(255,255,255,0.5) inset;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #ffffff 0%, #c9def5 100%);
  box-shadow:
    0 6px 18px rgba(120,200,255,0.4),
    0 0 20px rgba(120,200,255,0.3);
  transform: translateY(-1px);
}

/* ── HERO (with gradient blobs) ──────────────────────────── */
.post-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 80px;
  background:
    radial-gradient(900px circle at 100% 0%, rgba(120,200,255,0.45), transparent 55%),
    radial-gradient(700px circle at 0% 100%, rgba(0,90,210,0.5), transparent 60%),
    radial-gradient(500px circle at 50% 50%, rgba(60,140,255,0.15), transparent 65%),
    var(--navy);
}

.post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}

.back-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s;
}

.back-link:hover { color: #ffffff; }

.post-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-blue);
  background: linear-gradient(135deg, #ffffff 0%, #e8f2ff 100%);
  padding: 6px 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0,30,80,0.25);
}

.post-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
}

.post-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

/* ── ARTICLE — WHITE CARD ON BLUE PAGE ────────────────────── */
main {
  padding: 60px 0 100px;
  position: relative;
}

article {
  max-width: 820px;
  margin: -50px auto 0;
  padding: 64px 56px 72px;
  background: #ffffff;
  position: relative;
  z-index: 2;
  box-shadow:
    0 24px 80px rgba(0,20,70,0.45),
    0 0 0 1px rgba(255,255,255,0.4) inset;
  border-radius: 4px;
}

article p {
  font-size: 17px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.85;
  margin-bottom: 24px;
}

article h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-blue);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-blue);
  display: inline-block;
}

article h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-blue);
  margin: 32px 0 10px;
}

article ul, article ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

article ul li, article ol li {
  font-size: 17px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 8px;
}

article strong { color: var(--text-blue); font-weight: 700; }
article em { font-style: italic; }

article a {
  color: var(--text-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--text-blue);
  text-underline-offset: 3px;
}

article a:hover { color: var(--navy); }

article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 32px auto;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,30,80,0.2);
}

/* ── CALLOUT ──────────────────────────────────────────────── */
.callout {
  border-left: 4px solid var(--text-blue);
  background: linear-gradient(135deg, var(--surface2) 0%, rgba(120,200,255,0.08) 100%);
  padding: 24px 28px;
  margin: 36px 0;
}

.callout p {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-blue);
  margin-bottom: 0;
  line-height: 1.7;
}

.callout p + p { margin-top: 12px; margin-bottom: 0; }

/* ── NUMBERED LIST ────────────────────────────────────────── */
.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0;
  border-top: 1px solid var(--border-blue);
}

.numbered-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-blue);
}

.num {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #004aad 0%, #0066d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 36px;
  line-height: 1.4;
  flex-shrink: 0;
}

.numbered-item > div strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-blue);
  display: block;
  margin-bottom: 4px;
}

.numbered-item > div p {
  font-size: 14px;
  color: var(--muted-blue);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── PODCAST CARD ─────────────────────────────────────────── */
.podcast-card {
  background: linear-gradient(135deg, var(--surface2) 0%, rgba(120,200,255,0.08) 100%);
  border-left: 3px solid var(--text-blue);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.podcast-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-blue);
  margin-bottom: 6px;
}

.podcast-card p {
  font-size: 14px;
  color: var(--muted-blue);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px circle at 50% 0%, rgba(120,200,255,0.4), transparent 55%),
    radial-gradient(500px circle at 0% 100%, rgba(0,100,230,0.25), transparent 60%),
    var(--navy);
  padding: 36px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer > * { position: relative; z-index: 1; }

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.footer-copy {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .post-hero { padding: 110px 0 60px; }
  .post-hero-inner { padding: 0 24px; }
  article { padding: 40px 24px 56px; margin: -28px 16px 0; max-width: calc(100% - 32px); }
  footer { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
}
