:root {
    --charcoal: #1B1E22;
    --steel: #3E5C6E;
    --steel-dark: #2A4150;
    --aluminum-light: #E7E9EA;
    --aluminum-mid: #C8CCCF;
    --paper: #F6F5F2;
    --accent: #C9722A;
    --line: #D8D9D6;
    --text-body: #35393D;
    --text-muted: #6B7075;
    --radius: 3px;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--text-body);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  a { color: var(--steel); text-decoration: underline; text-decoration-color: rgba(62,92,110,0.35); }
  a:hover { color: var(--charcoal); text-decoration-color: var(--accent); }

  h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--charcoal);
    letter-spacing: 0.01em;
    line-height: 1.15;
  }

  .brushed-band {
    height: 6px;
    width: 100%;
    background: repeating-linear-gradient(
      90deg,
      var(--aluminum-mid) 0px,
      var(--aluminum-light) 2px,
      var(--aluminum-mid) 4px
    );
  }

  header.hero {
    background: var(--charcoal);
    color: var(--aluminum-light);
    padding: 64px 24px 56px;
    position: relative;
    overflow: hidden;
  }

  header.hero::before {
    content: "";
    position: absolute;
    top: 0; right: -10%;
    width: 60%;
    height: 100%;
    background: linear-gradient(115deg, transparent 40%, rgba(200,204,207,0.06) 41%, rgba(200,204,207,0.06) 43%, transparent 44%),
                linear-gradient(115deg, transparent 55%, rgba(200,204,207,0.05) 56%, rgba(200,204,207,0.05) 58%, transparent 59%);
    pointer-events: none;
  }

  .hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
  }

  .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--accent);
  }

  h1.title {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 20px;
    max-width: 20ch;
  }

  .hero-dek {
    font-size: 18px;
    color: var(--aluminum-mid);
    max-width: 62ch;
    margin: 0 0 28px;
    font-weight: 400;
  }

  .meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--aluminum-mid);
    border-top: 1px solid rgba(231,233,234,0.15);
    padding-top: 18px;
  }

  .meta-row span b {
    color: var(--aluminum-light);
    font-weight: 500;
  }

  .breadcrumb-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 14px 24px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .breadcrumb-wrap a { color: var(--steel); text-decoration: none; }
  .breadcrumb-wrap a:hover { text-decoration: underline; }
  .breadcrumb-wrap span.sep { margin: 0 8px; color: var(--aluminum-mid); }

  main {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 24px;
  }

  .lede {
    font-size: 19px;
    color: var(--charcoal);
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 0 0 40px;
  }

  .quick-answer {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 8px 0 26px;
    font-size: 16px;
  }
  .quick-answer h3 {
    font-size: 17px;
    margin: 0 0 10px;
    color: var(--charcoal);
  }
  .quick-answer p { margin: 0; }

  .toc {display: block;
      background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 0 0 32px;
  }
  .toc h3 {
    font-size: 17px;
    margin: 0 0 14px;
    color: var(--charcoal);; margin-top: 0}
  .toc ol {
    margin: 0;
    padding-left: 22px;
    color: var(--steel);
  }
  .toc li { margin-bottom: 6px; }
  .toc a { color: var(--steel); text-decoration: none; }
  .toc a:hover { color: var(--accent); text-decoration: underline; }

  h2 {
    font-size: 25px;
    font-weight: 600;
    margin: 52px 0 18px;
    padding-top: 4px;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  h2 .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--steel);
    font-weight: 500;
  }

  h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 12px;
  }

  p { margin: 0 0 18px; }

  ul, ol {
    margin: 0 0 20px;
    padding-left: 22px;
  }
  li { margin-bottom: 8px; }

  strong { color: var(--charcoal); font-weight: 600; }

  .callout {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--steel);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 8px 0 26px;
    font-size: 16px;
  }

  .callout p:last-child { margin-bottom: 0; }

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 28px;
    font-size: 15px;
    background: #fff;
  }

  caption {
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
  }

  th, td {
    text-align: left;
    padding: 12px 14px;
    border: 1px solid var(--line);
    vertical-align: top;
  }

  th {
    background: var(--charcoal);
    color: var(--aluminum-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
  }

  tr:nth-child(even) td { background: #FBFAF8; }

  .faq-item {
    border-top: 1px solid var(--line);
    padding: 22px 0;
  }
  .faq-item:last-child { border-bottom: 1px solid var(--line); }

  .faq-q {
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--charcoal);
    margin: 0 0 8px;
  }

  .faq-a { margin: 0; color: var(--text-body); }

  .divider {
    height: 1px;
    background: var(--line);
    margin: 48px 0;
  }

  .ai-summary {
    background: #fff;
    border: 1px dashed var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 40px 0 26px;
    font-size: 15px;
    color: var(--text-muted);
  }
  .ai-summary h3 {
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin: 0 0 10px;
  }
  .ai-summary p { margin: 0; }

  .article-cta {
    background: var(--steel-dark);
    color: var(--aluminum-light);
    border-radius: var(--radius);
    padding: 32px 30px;
    margin: 40px 0 8px;
  }

  .article-cta h3 {
    font-size: 22px;
    color: #fff;
    margin: 0 0 14px;
  }

  .article-cta p {
    margin: 0 0 18px;
    font-size: 16px;
    color: var(--aluminum-light);
  }

  .article-cta strong { color: #fff; }

  .cta-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--aluminum-light);
  }

  .article-cta a {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 13px 24px;
    border-radius: var(--radius);
    font-weight: 500;
  }

  .article-cta a:hover { background: #b5641e; color: #fff; }

  .cta-box {
    background: var(--steel-dark);
    color: var(--aluminum-light);
    border-radius: var(--radius);
    padding: 32px 30px;
    margin: 40px 0 8px;
  }

  .cta-box p {
    margin: 0 0 20px;
    font-size: 17px;
    color: var(--aluminum-light);
  }

  .cta-box strong { color: #fff; }

  .cta-button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 13px 24px;
    border-radius: var(--radius);
    font-weight: 500;
  }

  .cta-button:hover { background: #b5641e; }

  .related-posts {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
  }
  .related-posts h2 {
    font-size: 22px;
    margin: 0 0 24px;
  }
  .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  .related-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
  }
  .related-card h3 {
    font-size: 16px;
    margin: 0 0 10px;
  }
  .related-card h3 a { color: var(--charcoal); text-decoration: none; }
  .related-card h3 a:hover { color: var(--accent); }
  .related-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
  }

  footer.site-footer {
    max-width: 780px;
    margin: 0 auto;
    padding: 20px 24px 60px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.03em;
  }

  @media (max-width: 600px) {
    h1.title { font-size: 30px; }
    header.hero { padding: 44px 20px 40px; }
    main { padding: 36px 20px 12px; }
    h2 { font-size: 21px; }
    .meta-row { gap: 14px 18px; }
    .cta-contact { flex-direction: column; gap: 8px; }
  }




/* Unified header styles */
body > header {
  background: #1e3a5f !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
}
header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
header .logo::before {
  content: 'A';
  width: 44px;
  height: 44px;
  background: #d4a84b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #1e3a5f;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #d4a84b;
  border-radius: 1px;
}
.nav-cta {
  background: #d4a84b;
  color: #1e3a5f !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
}
.nav-cta:hover { background: #d49010; transform: translateY(-2px); }
/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.lang-switcher a {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
  text-decoration: none;
}
.lang-switcher a.active {
  background: rgba(255,255,255,0.25);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.lang-switcher a:hover:not(.active) { color: #fff; }
/* Resources dropdown nav */
.dropdown { position: relative; display: inline-block; }
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 8px;
  background: transparent;
  z-index: 199;
}

.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  z-index: 1100;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; z-index: 1100}
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #2d3748;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-menu a:hover { background: #f7fafc; color: #2b6cb0; }
.dropdown-menu a.active { color: #2b6cb0; font-weight: 600; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
}

/* ===== Author Byline ===== */
.author-byline { font-size: 0.95rem; color: #4a5568; margin: 8px 0 24px; }
.author-byline a { color: #2c5282; text-decoration: underline; }
.author-byline a:hover { color: #d4a84b; }
