@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-ext-v32.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-v32.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-ext-v40.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-v40.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #04489b;
  --blue-dark: #032f68;
  --blue-mid: #1f66b8;
  --blue-light: #5e8fd1;
  --blue-pale: #eef5fd;
  --cream: #f8f9fc;
  --text: #12233a;
  --text-mid: #405673;
  --text-muted: #7086a1;
  --white: #fff;
  --border: rgba(4, 72, 155, .15);
  --shadow: 0 18px 50px rgba(4, 72, 155, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text);
  font-family: "Nunito", Arial, sans-serif;
  font-size-adjust: .52;
  font-size: 16px;
  line-height: 1.7;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 82px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  width: min(1180px, 90%);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { flex: 0 0 auto; text-decoration: none; }
.brand img { width: clamp(170px, 17vw, 225px); height: auto; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
}
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
  width: 22px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s;
}
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -7px; }
.nav-toggle-lines::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-group { position: relative; }
.nav-link, .nav-trigger {
  min-height: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--text-mid);
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover, .nav-link:focus-visible, .nav-trigger:hover, .nav-trigger:focus-visible { color: var(--blue); }
.nav-trigger::after { content: "⌄"; font-size: .8rem; }
.nav-menu {
  min-width: 245px;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-group.is-open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a {
  min-height: 44px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  border-radius: 9px;
  color: var(--text-mid);
  font-weight: 700;
  text-decoration: none;
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--blue-pale); color: var(--blue); }

.page-hero {
  padding: 84px 5% 92px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 62%, var(--blue-mid));
  color: var(--white);
  text-align: center;
}
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
}
.page-hero::before { width: 420px; height: 420px; top: -270px; left: -110px; }
.page-hero::after { width: 520px; height: 520px; right: -290px; bottom: -360px; }
.hero-inner { width: min(860px, 100%); margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 14px;
  color: #c5daf5;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
h1, .section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size-adjust: .5;
}
h1 { margin: 0; font-size: clamp(2.25rem, 6vw, 4.3rem); line-height: 1.08; letter-spacing: -.035em; }
.hero-lead { max-width: 720px; margin: 22px auto 0; color: rgba(255, 255, 255, .8); font-size: clamp(1rem, 2vw, 1.18rem); }
.breadcrumbs { margin: 22px 0 0; color: rgba(255, 255, 255, .7); font-size: .86rem; }
.breadcrumbs a { color: var(--white); }

.section { padding: 76px 5%; }
.section.white { background: var(--white); }
.section.blue-pale { background: var(--blue-pale); }
.container { width: min(1120px, 100%); margin: 0 auto; }
.narrow { width: min(780px, 100%); margin: 0 auto; }
.section-label { margin: 0 0 10px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-title { margin: 0 0 18px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; color: var(--text); }
.section-intro { max-width: 760px; margin: 0; color: var(--text-mid); font-size: 1.06rem; }
.center { text-align: center; }
.center .section-intro { margin-inline: auto; }
.grid-2, .grid-3 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(4, 72, 155, .08);
}
.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale);
  border-radius: 14px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}
.card h2, .card h3 { margin: 0 0 10px; line-height: 1.3; }
.card p { margin: 0; color: var(--text-mid); }
.feature-list { margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { margin: 12px 0; padding-left: 30px; position: relative; color: var(--text-mid); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.cta {
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 24px;
  color: var(--white);
}
.cta h2 { margin: 0 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; }
.cta p { max-width: 650px; margin: 0; color: rgba(255, 255, 255, .75); }
.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 12px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-item summary {
  min-height: 56px;
  padding: 16px 54px 16px 20px;
  position: relative;
  list-style: none;
  font-weight: 900;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; color: var(--blue); font-size: 1.5rem; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 20px; color: var(--text-mid); }
.faq-answer p { margin: 0; }

.blog-card { padding: 0; overflow: hidden; }
.blog-card-top { min-height: 150px; padding: 24px; display: flex; align-items: flex-end; background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); color: var(--white); }
.blog-card-top span { font-size: 2rem; }
.blog-card-body { padding: 26px; }
.blog-meta { margin: 0 0 10px; color: var(--text-muted); font-size: .82rem; font-weight: 800; }
.blog-card h2 { margin: 0 0 12px; font-size: 1.28rem; }
.blog-card p { color: var(--text-mid); }
.read-more { min-height: 44px; margin-top: 18px; display: inline-flex; align-items: center; color: var(--blue); font-weight: 900; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

.article-layout { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 44px; align-items: start; }
.article { min-width: 0; padding: 38px; background: var(--white); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.article h2 { margin: 42px 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.2; }
.article h3 { margin: 28px 0 10px; font-size: 1.22rem; line-height: 1.35; }
.article p { margin: 0 0 18px; color: var(--text-mid); }
.article ul, .article ol { margin: 0 0 22px; padding-left: 24px; color: var(--text-mid); }
.article li { margin: 8px 0; }
.article a { color: var(--blue); font-weight: 800; }
.article-note { margin: 26px 0; padding: 20px; background: var(--blue-pale); border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; }
.article-note p { margin: 0; }
.toc { padding: 22px; position: sticky; top: 106px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; }
.toc h2 { margin: 0 0 12px; font-size: 1rem; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 8px 0; color: var(--text-mid); }
.toc a { color: inherit; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.article-date { margin-top: 18px; color: rgba(255, 255, 255, .7); font-size: .86rem; }
.related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.related-links a { min-height: 72px; padding: 16px; display: flex; align-items: center; background: var(--blue-pale); border-radius: 12px; text-decoration: none; }

.site-footer { padding: 50px 5% 28px; background: var(--white); border-top: 1px solid var(--border); }
.footer-logo { width: 240px; height: auto; margin: 0 auto 34px; }
.footer-grid { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: center; }
.footer-col h2 { margin: 0 0 12px; font-size: .98rem; }
.footer-col a { min-height: 38px; display: block; padding: 6px; color: var(--text-mid); font-size: .9rem; text-decoration: none; }
.footer-col a:hover { color: var(--blue); }
.footer-copy { margin: 32px 0 0; color: var(--text-muted); font-size: .82rem; text-align: center; }

@media (hover: hover) and (min-width: 901px) {
  .nav-group:hover .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

@media (max-width: 900px) {
  .nav-wrap { width: min(92%, 720px); }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    width: 100%;
    max-height: calc(100vh - 82px);
    padding: 16px 4% 28px;
    display: none;
    position: fixed;
    top: 82px;
    left: 0;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-link, .nav-trigger { width: 100%; min-height: 48px; justify-content: space-between; }
  .nav-menu { min-width: 0; padding: 4px 8px 10px 18px; display: none; position: static; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-group.is-open .nav-menu { display: block; }
  .page-hero { padding-top: 66px; padding-bottom: 74px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .brand img { width: 165px; }
  .page-hero { padding: 54px 5% 62px; }
  .section { padding: 56px 5%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card, .article { padding: 22px; border-radius: 17px; }
  .cta { padding: 28px 22px; align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .related-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-logo { width: 205px; }
}

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