:root {
  color-scheme: light;
  --ink: #162644;
  --muted: #52617a;
  --navy: #101f3e;
  --blue: #2057a3;
  --blue-deep: #174681;
  --line: #dce4ef;
  --paper: #fff;
  --wash: #f6f8fc;
  --cyan: #a9e6f7;
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid #398ce2; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.026em; }
button, input { font: inherit; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 3; top: 12px; left: 12px; background: #fff; padding: 10px 16px; }
.site-header { background: var(--navy); color: #fff; border-bottom: 1px solid #ffffff26; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand, .header-nav, .button { display: inline-flex; align-items: center; }
.brand { color: #fff; text-decoration: none; gap: 16px; white-space: nowrap; }
.brand:hover { color: var(--cyan); }
.brand img { width: 126px; height: auto; }
.brand span { color: #d6e3f5; font-weight: 550; font-size: .86rem; padding-left: 16px; border-left: 1px solid #ffffff45; }
.header-nav { gap: 25px; }
.company-link { color: #d9e6f9; text-decoration: none; font-size: .88rem; font-weight: 550; }
.company-link:hover { color: var(--cyan); }
.company-link .icon, .footer .icon { width: 14px; height: 14px; }
.button { justify-content: center; gap: 9px; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.button-header { border-color: #b4d2ff69; color: #fff; }
.button-header:hover { color: #fff; background: #ffffff16; }
.button-primary { background: var(--blue-deep); color: #fff; }
.button-primary:hover { background: #123665; color: #fff; }
.hero { overflow: hidden; background: radial-gradient(ellipse at 80% 45%, #254e89 0%, transparent 58%), linear-gradient(116deg, #142b52, #142e5c 60%, #1c3b70); color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 26px; align-items: center; min-height: 366px; padding-block: 48px; }
.hero .eyebrow { color: var(--cyan); }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--blue-deep); font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); letter-spacing: -.052em; margin-top: 12px; }
.hero-copy > p:not(.eyebrow) { margin: 13px 0 25px; color: #d9e8fc; font-size: 1.07rem; }
.hero-art { width: 100%; height: auto; max-height: 295px; }
.search-form { display: flex; align-items: center; gap: 11px; width: min(100%, 610px); border-radius: 10px; background: #fff; color: var(--ink); padding: 6px 6px 6px 15px; border: 1px solid #cbd8eb; min-height: 54px; }
.hero .search-form { border-color: #d3e6fa; box-shadow: 0 10px 25px #0a1d3a55; }
.search-form:focus-within { outline: 3px solid #78b8fb; outline-offset: 2px; }
.search-form > .icon { color: var(--blue); }
.search-form input { flex: 1; min-width: 0; background: #fff; border: 0; color: var(--ink); padding: 7px 0; }
.search-form input:focus { outline: none; }
.search-form input::placeholder { color: #5b6980; }
.search-form button { color: #fff; background: var(--blue-deep); border: 0; border-radius: 7px; font-weight: 650; font-size: .86rem; padding: 9px 15px; cursor: pointer; }
.search-form button:hover { background: #123665; }
.quick-links { display: flex; gap: 6px 13px; flex-wrap: wrap; align-items: baseline; margin-top: 17px; color: #d9e8fc; font-size: .82rem; }
.quick-links a { color: #f3f8ff; text-decoration-color: #b1cef9a1; text-underline-offset: 3px; }
.quick-links a:hover { color: var(--cyan); }
.home-content { background: var(--wash); border-top: 1px solid #e0e8f3; }
.home-grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(270px, 1fr); gap: 30px; padding-top: 47px; align-items: start; }
.section-title { font-size: clamp(1.55rem, 3.2vw, 2.15rem); margin-top: 6px; }
.section-description { color: var(--muted); margin-top: 9px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 23px; }
.topic-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 11px; text-decoration: none; box-shadow: 0 2px 4px #14284a05; }
.topic-card:hover, .article-row:hover { border-color: #8db3e3; background: #f9fcff; color: var(--blue-deep); }
.badge { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #e9f1fc; color: #23578e; flex: 0 0 auto; }
.topic-card h3 { margin: 1px 0 4px; font-size: .97rem; font-weight: 730; }
.topic-card p { font-size: .81rem; color: var(--muted); line-height: 1.4; }
.topic-card .row-arrow { width: 15px; height: 15px; margin-top: 3px; }
.popular { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.popular h2 { font-size: 1.45rem; margin: 5px 0 10px; }
.popular .article-row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 11px 0; font-size: .87rem; }
.popular .article-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.popular .badge { background: transparent; width: 19px; height: 22px; }
.popular .badge .icon, .popular .row-arrow { width: 16px; height: 16px; }
.support-wrap { padding-block: 31px 44px; }
.support-banner { display: flex; gap: 15px; align-items: center; padding: 20px 23px; background: #eaf2ff; border: 1px solid #d5e4fb; border-radius: 12px; }
.support-banner > .badge { background: #d7e8ff; }
.support-banner h2 { font-size: 1.18rem; }
.support-banner p { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.support-banner .button { margin-left: auto; }
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; font-size: .86rem; padding-block: 17px; }
.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: var(--blue); text-decoration: underline; }
.footer .footer-brand { font-weight: 700; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.crumbs { padding-block: 18px; color: var(--muted); font-size: .86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; gap: 3px 7px; }
.crumbs li { display: inline-flex; gap: 7px; align-items: center; }
.crumbs .icon { width: 13px; height: 13px; }
.crumbs a { text-decoration: none; font-weight: 650; }
.crumbs a:hover { text-decoration: underline; }
.subhead { background: var(--wash); border-bottom: 1px solid var(--line); }
.subhead-inner { padding: 17px 0 33px; }
.subhead h1 { font-size: clamp(2rem, 5.5vw, 3.45rem); max-width: 840px; margin-top: 11px; }
.subhead p { color: var(--muted); max-width: 75ch; margin-top: 11px; }
.subhead .search-form { margin-top: 21px; }
.subhead .article-meta { color: var(--muted); font-size: .85rem; margin-top: 11px; }
.list-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(220px, 1fr); gap: 35px; padding-block: 30px 0; }
.list-layout h2, .side-panel h2 { font-size: 1.18rem; margin-bottom: 13px; }
.article-list { display: grid; gap: 9px; }
.article-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 12px 14px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
.article-row strong { font-weight: 650; line-height: 1.35; display: block; }
.row-arrow { color: var(--blue); width: 17px; height: 17px; }
.row-description { display: block; font-size: .86rem; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.side-panel { border: 1px solid var(--line); border-radius: 11px; background: var(--wash); padding: 18px; align-self: start; }
.side-panel nav { display: grid; gap: 2px; }
.side-panel nav a { padding: 5px 0; text-decoration: none; font-size: .88rem; }
.side-panel nav a:hover { text-decoration: underline; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(190px, 255px); gap: 40px; align-items: start; padding-top: 30px; }
.reading-layout .side-panel { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; }
.reading-layout .side-panel nav .toc-sub { padding-left: 13px; }
.prose { font-size: 1rem; overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin: 1.5em 0 .55em; scroll-margin-top: 18px; }
.prose h2 { font-size: 1.58rem; }
.prose h3 { font-size: 1.26rem; }
.prose p, .prose ul, .prose ol { margin: .78em 0; }
.prose li + li { margin-top: .27em; }
.prose a { text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: 5px; }
.prose figure { margin: 1.25rem 0; }
.prose figure img { border: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.prose iframe { width: min(100%, 710px); height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 9px; }
.prose details { background: var(--wash); border: 1px solid var(--line); border-radius: 9px; padding: 11px 14px; margin-block: 12px; }
.prose summary { cursor: pointer; font-weight: 650; }
.prose pre { overflow: auto; padding: 12px; border-radius: 7px; background: #eff4fc; }
.prose code { font-family: ui-monospace, Consolas, monospace; background: #eff4fc; }
.prose .table-scroll { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { padding: 7px; border: 1px solid var(--line); }
.prose blockquote { border-left: 3px solid #83aee0; margin: 1em 0; padding-left: 13px; }
.prose .archived-link { text-decoration: line-through; text-decoration-color: #a0adbd; }
.result-content { width: min(760px, 100%); min-height: 190px; }
#search-status { margin-bottom: 13px; color: var(--muted); }
.contact-card { border: 1px solid var(--line); border-radius: 11px; padding: 23px; max-width: 660px; margin-block: 30px 44px; }
.contact-card h2 { margin: 9px 0; font-size: 1.35rem; }
.contact-card p { margin: 8px 0 15px; color: var(--muted); }
.contact-card .button { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 940px) {
  .wrap { width: calc(100% - 48px); }
  .home-grid { grid-template-columns: minmax(0, 1.65fr) minmax(235px, 1fr); gap: 19px; }
  .topic-card { gap: 8px; padding: 12px; }
}
@media (max-width: 750px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 43px; }
  .hero-art { display: none; }
  .home-grid, .list-layout, .reading-layout { grid-template-columns: 1fr; }
  .reading-layout .side-panel { position: static; max-height: none; grid-row: 1; }
  .home-grid { padding-top: 32px; }
  .popular { margin-top: 7px; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 62px; }
  .company-link { display: none; }
  .brand { gap: 7px; }
  .brand img { width: 91px; }
  .brand span { padding-left: 7px; font-size: .71rem; }
  .button-header { font-size: .75rem; padding: 8px; }
  .hero-inner { padding-block: 36px; }
  .search-form { gap: 6px; padding-left: 9px; }
  .search-form input { font-size: .88rem; }
  .search-form button { padding-inline: 10px; }
  .topic-grid { grid-template-columns: 1fr; }
  .support-banner { align-items: flex-start; flex-wrap: wrap; }
  .support-banner .button { margin-left: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 7px; }
}
.more-topics { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 13px; font-size: .85rem; }
.more-topics a { text-underline-offset: 3px; }
.header-search { display: inline-grid; place-items: center; width: 30px; height: 32px; color: #d9e6f9; border-radius: 5px; }
.header-search:hover { background: #ffffff16; color: var(--cyan); }
@media (max-width: 460px) { .header-nav { gap: 5px; } }
#search-results .article-row { grid-template-columns: minmax(0, 1fr) auto; }
