@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #122b3c;
  --ink-soft: #355267;
  --muted: #627a89;
  --blue: #147db4;
  --blue-deep: #075b8d;
  --blue-pale: #e8f4f8;
  --aqua: #c4e7e7;
  --paper: #f4f8f8;
  --surface: #ffffff;
  --line: #d9e5e8;
  --navy: #0e2b3d;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Manrope', sans-serif;
  --header-height: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.75; }
body::before { position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 75% 12%, rgba(196,231,231,.28), transparent 36%), var(--paper); content: ""; }
a { color: var(--blue-deep); text-decoration-thickness: .08em; text-underline-offset: .18em; transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
a:hover { color: #083d60; }
a:focus-visible, button:focus-visible, .table-scroll:focus-visible { outline: 3px solid #e09b3d; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 15px; transform: translateY(-150%); color: #fff; background: var(--navy); border-radius: 5px; }
.skip-link:focus { transform: translateY(0); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248,251,251,.94); border-bottom: 1px solid rgba(18,43,60,.1); backdrop-filter: blur(14px); }
.header-inner { width: min(1320px, calc(100% - 64px)); min-height: var(--header-height); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header-logo img { display: block; width: auto; height: 39px; }
.header-right, .header-nav { display: flex; align-items: center; }
.header-right { gap: 18px; }
.header-nav { gap: 3px; }
.header-nav > a, .nav-dropdown > a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; color: var(--ink-soft); border-radius: 5px; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-nav > a:hover, .nav-dropdown > a:hover, .nav-dropdown > a.active { color: var(--blue-deep); background: var(--blue-pale); }
.nav-dropdown { position: relative; }
.dropdown-arrow { width: 11px; height: 11px; transition: transform .18s ease; }
.nav-dropdown:hover .dropdown-arrow, .nav-dropdown:focus-within .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 7px); left: 50%; min-width: 222px; padding: 8px; visibility: hidden; opacity: 0; transform: translate(-50%, 7px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 15px 35px rgba(15,45,63,.13); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.dropdown-menu a { display: block; padding: 10px 12px; color: var(--ink-soft); border-radius: 4px; text-decoration: none; font-size: 13px; }
.dropdown-menu a:hover { color: var(--blue-deep); background: var(--blue-pale); }
.nav-free-badge { margin-left: 5px; padding: 2px 6px; color: #fff; background: var(--blue); border-radius: 3px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; color: #fff; background: var(--blue-deep); border: 1px solid var(--blue-deep); border-radius: 4px; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.header-cta:hover, .header-cta:focus-visible { color: #fff; background: #06456c; border-color: #06456c; transform: translateY(-1px); }
.header-hamburger { display: none; width: 42px; height: 42px; padding: 9px; background: transparent; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.header-hamburger span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .18s ease, opacity .18s ease; }
.mobile-menu { display: none; }

.knowledge-page { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 29px 0 92px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 25px; color: #778c97; font-size: 12px; font-weight: 600; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-deep); text-decoration: underline; }
.knowledge-page article { overflow: hidden; background: var(--surface); border: 1px solid #e0e9eb; box-shadow: 0 18px 50px rgba(22,59,77,.055); }
.article-hero { position: relative; padding: clamp(38px, 7vw, 82px) clamp(25px, 8vw, 100px) 49px; background: linear-gradient(115deg, #f0f8f9 0%, #fff 73%); border-bottom: 1px solid var(--line); }
.article-hero::after { position: absolute; right: 0; bottom: 0; width: min(35%, 360px); height: 4px; background: linear-gradient(90deg, var(--aqua), var(--blue)); content: ""; }
.eyebrow { margin: 0 0 16px; color: var(--blue-deep); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.article-hero h1 { max-width: 870px; margin: 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(38px, 6.7vw, 72px); font-weight: 800; letter-spacing: -.065em; line-height: 1.08; }
.article-meta { margin: 22px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.answer-lead { max-width: 830px; margin: 27px 0 0; color: #294a5d; font-size: clamp(17px, 2vw, 20px); line-height: 1.67; }
.editorial-note { max-width: 830px; margin: 22px 0 0; padding: 12px 16px; color: #526d7c; background: rgba(226,241,242,.75); border-left: 3px solid #78b8c4; font-size: 12px; line-height: 1.65; }
.article-toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 17px clamp(22px, 5.5vw, 70px); background: #f8fbfb; border-bottom: 1px solid var(--line); }
.article-toc a { padding: 7px 11px; color: #426273; background: #edf4f5; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: 11px; font-weight: 700; line-height: 1.35; }
.article-toc a:hover, .article-toc a:focus-visible { color: var(--blue-deep); background: #fff; border-color: #a9d1d9; transform: translateY(-1px); }
.knowledge-page section { padding: 49px clamp(25px, 8vw, 100px); border-bottom: 1px solid #e7edef; scroll-margin-top: calc(var(--header-height) + 18px); }
.knowledge-page section:nth-of-type(even) { background: #fcfdfd; }
.knowledge-page section h2, .article-cta h2 { max-width: 820px; margin: 0 0 20px; color: var(--navy); font-family: var(--font-display); font-size: clamp(25px, 3.3vw, 37px); font-weight: 800; letter-spacing: -.045em; line-height: 1.2; }
.knowledge-page section h3 { margin: 31px 0 9px; color: #1d4054; font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -.025em; line-height: 1.35; }
.knowledge-page section h2 + h3 { margin-top: 27px; }
.knowledge-page section p { max-width: 820px; margin: 0 0 17px; color: #425d6c; font-size: 15px; line-height: 1.8; }
.knowledge-page section p:last-child { margin-bottom: 0; }
.knowledge-page section ol, .knowledge-page section ul { max-width: 820px; margin: 14px 0 20px; padding-left: 24px; color: #425d6c; }
.knowledge-page section li { padding: 5px 0 5px 4px; font-size: 14px; line-height: 1.7; }
.knowledge-page section strong { color: #24485c; }
.table-scroll { max-width: 100%; margin: 25px 0 20px; overflow-x: auto; overscroll-behavior-inline: contain; background: #fff; border: 1px solid #d5e3e6; border-radius: 5px; box-shadow: 0 7px 20px rgba(20,60,80,.045); scrollbar-color: #79b5c2 #edf4f5; }
.table-scroll table { width: 100%; min-width: 710px; border-collapse: collapse; color: #355365; font-size: 13px; line-height: 1.55; }
.table-scroll caption { padding: 14px 16px; color: #577281; background: #f4f9f9; border-bottom: 1px solid #dce8ea; text-align: left; font-size: 12px; font-weight: 700; }
.table-scroll th, .table-scroll td { padding: 14px 15px; border-bottom: 1px solid #e3ebed; border-right: 1px solid #edf1f2; text-align: left; vertical-align: top; }
.table-scroll thead th { color: #fff; background: #164e6d; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.table-scroll tbody th { width: 19%; color: #1d4358; background: #f4f9f9; font-weight: 800; }
.table-scroll tbody tr:last-child th, .table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tr:hover td { background: #f7fbfb; }
.table-scroll td:last-child, .table-scroll th:last-child { border-right: 0; }
.table-scroll td a { font-weight: 700; }
.article-faq h3 { margin-top: 27px; }
.article-sources ul { margin-top: 20px; }
.article-sources li { padding: 8px 0 8px 4px; }
.article-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin: 35px clamp(25px, 8vw, 100px) 55px; padding: 31px 34px; background: linear-gradient(110deg, #e8f4f5, #f5f9f9); border: 1px solid #c8e0e4; border-left: 4px solid var(--blue); }
.article-cta h2 { margin: 0 0 7px; font-size: clamp(22px, 2.7vw, 29px); }
.article-cta p { margin: 0; color: #4f6c7b; font-size: 14px; }
.guide-button { display: inline-flex; justify-content: center; align-items: center; padding: 13px 19px; color: #fff; background: var(--blue-deep); border: 1px solid var(--blue-deep); border-radius: 3px; text-decoration: none; font-size: 12px; font-weight: 800; white-space: nowrap; }
.guide-button:hover { color: #fff; background: #06456c; transform: translateY(-2px); }

.footer { padding: 54px 24px 22px; color: #d5e2e9; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: .9fr 1.5fr; gap: 65px; width: min(1120px, 100%); margin: 0 auto; }
.footer-brand img { width: auto; height: 38px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 290px; margin: 14px 0 0; color: #9cb1bd; font-size: 13px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h2 { margin: 0 0 12px; color: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: 8px 0; color: #a9bec9; text-decoration: none; font-size: 12px; }
.footer-col a:hover { color: #d2f1f1; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; width: min(1120px, 100%); margin: 38px auto 0; padding-top: 16px; color: #829ba9; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b4c9d3; text-decoration: none; }

@media (max-width: 930px) {
  :root { --header-height: 68px; }
  .header-inner { width: calc(100% - 36px); }
  .header-nav, .header-right > .header-cta { display: none; }
  .header-hamburger { display: block; }
  .mobile-menu:not([hidden]) { position: fixed; inset: var(--header-height) 0 auto; z-index: 19; display: flex; max-height: calc(100dvh - var(--header-height)); flex-direction: column; align-items: stretch; gap: 4px; padding: 17px 22px 24px; overflow-y: auto; background: #f8fbfb; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(15,45,63,.14); }
  .mobile-menu > a, .mobile-dropdown-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 8px; color: var(--ink-soft); background: transparent; border: 0; border-bottom: 1px solid #e7edef; text-align: left; text-decoration: none; font: 700 14px var(--font-body); cursor: pointer; }
  .mobile-menu > a:hover, .mobile-dropdown-toggle:hover { color: var(--blue-deep); }
  .mobile-menu .header-cta { align-self: flex-start; width: auto; margin-top: 12px; color: #fff; }
  .mobile-dropdown-items:not([hidden]) { display: flex; flex-direction: column; padding: 3px 0 5px 15px; border-bottom: 1px solid #e7edef; }
  .mobile-dropdown-items a { padding: 8px; color: #58717f; text-decoration: none; font-size: 13px; }
  .mobile-dropdown-items a:hover { color: var(--blue-deep); }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .header-inner { width: calc(100% - 28px); }
  .header-logo img { height: 33px; }
  .knowledge-page { width: calc(100% - 24px); padding: 20px 0 58px; }
  .breadcrumbs { margin-bottom: 16px; font-size: 11px; }
  .article-hero { padding: 39px 23px 35px; }
  .article-hero h1 { font-size: clamp(36px, 10vw, 53px); letter-spacing: -.055em; }
  .answer-lead { margin-top: 22px; font-size: 17px; }
  .article-toc { flex-wrap: nowrap; padding: 12px 16px; overflow-x: auto; }
  .article-toc a { flex: 0 0 auto; }
  .knowledge-page section { padding: 36px 23px; }
  .knowledge-page section h2 { font-size: 27px; }
  .knowledge-page section h3 { font-size: 18px; }
  .knowledge-page section p { font-size: 14px; }
  .table-scroll { margin-right: -5px; }
  .table-scroll table { min-width: 680px; }
  .table-scroll th, .table-scroll td { padding: 12px; }
  .article-cta { grid-template-columns: 1fr; margin: 25px 20px 35px; padding: 24px 21px; }
  .article-cta .guide-button { justify-self: start; }
  .footer { padding: 40px 22px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
