@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/poppins-400-latin.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/poppins-500-latin.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/poppins-600-latin.woff2') format('woff2'); }

:root {
  --site-bg: #ffffff;
  --site-surface: #ffffff;
  --site-soft: #f2f6fc;
  --site-ink: #142c4b;
  --site-muted: #53647c;
  --site-line: #d9e3f2;
  --site-blue: #2155e8;
  --site-blue-hover: #1942b9;
  --site-link: #2155e8;
  --site-blue-soft: #eaf1ff;
  --font: Poppins, Arial, sans-serif;
  --co-blue: var(--site-blue);
  --co-blue-hover: var(--site-blue-hover);
  --co-ink: var(--site-ink);
  --co-muted: var(--site-muted);
  --co-pale: var(--site-blue-soft);
  --co-surface: var(--site-soft);
  --co-border: var(--site-line);
  --bg: var(--site-bg);
  --surface: var(--site-surface);
  --surface-raised: var(--site-soft);
  --text: var(--site-ink);
  --muted: var(--site-muted);
  --border: var(--site-line);
  --accent: var(--site-link);
  --brand: var(--site-blue);
  --brand-hover: var(--site-blue-hover);
  --action: var(--site-blue);
  --inner-blue: var(--site-link);
  --inner-navy: var(--site-ink);
  --inner-muted: var(--site-muted);
  --inner-surface: var(--site-soft);
  --inner-pale: var(--site-blue-soft);
  --inner-line: var(--site-line);
  --ma-surface: var(--site-soft);
  --ma-border: var(--site-line);
  --premium-orange: var(--site-blue);
  --premium-orange-hover: var(--site-blue-hover);
  --premium-ink: var(--site-ink);
  --premium-muted: var(--site-muted);
  --premium-soft: var(--site-soft);
  --premium-tint: var(--site-blue-soft);
  --premium-border: var(--site-line);
  color-scheme: light;
  scroll-padding-top: 96px;
}
:root[data-site-theme='dark'] {
  --site-bg: #121e30;
  --site-surface: #121e30;
  --site-soft: #1a2940;
  --site-ink: #edf3ff;
  --site-muted: #b3c2d8;
  --site-line: #34455e;
  --site-blue: #356cf7;
  --site-blue-hover: #2d5fe0;
  --site-link: #9bb7ff;
  --site-blue-soft: #1d355e;
  color-scheme: dark;
}
html body { background: var(--site-bg); color: var(--site-ink); font-family: var(--font); line-height: 1.6; }
.site-home .container { width: min(1140px, calc(100% - 32px)); margin-inline: auto; }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--site-link); outline-offset: 4px; }
.skip-link { background: var(--site-ink); color: var(--site-bg); }
.site-shell.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  /* Secondary pages still load the legacy 1500px header cap. */
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--site-line);
  border-radius: 0;
  background: var(--site-bg);
  box-shadow: none;
  backdrop-filter: none;
}
.site-shell .header-inner {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: min(1200px, calc(100% - 32px));
  max-width: none;
  min-height: 72px;
  height: auto;
  padding: 12px 0;
  gap: 8px;
}
.site-brand { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--site-ink); text-decoration: none; }
.site-brand-symbol { display: flex; flex: none; }
.site-shell .site-brand img, .site-shell-footer .site-brand img { display: block; width: 38px; height: 38px; filter: none; }
.site-brand-name { font-size: 14px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.site-shell .header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; order: 2; }
.site-shell .header-actions .login-link, .site-shell .header-actions > .site-signup { display: none; }
.site-shell .site-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  background: var(--site-surface);
  color: var(--site-ink);
  cursor: pointer;
}
.site-theme-toggle svg { width: 22px; height: 22px; }
.site-theme-toggle .site-theme-sun { display: none; }
[data-site-theme='dark'] .site-theme-toggle .site-theme-moon { display: none; }
[data-site-theme='dark'] .site-theme-toggle .site-theme-sun { display: block; }
.site-shell .menu-button {
  display: none;
  order: 3;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  background: var(--site-soft);
  color: var(--site-ink);
}
.site-shell .menu-button span { background: currentColor; }
.site-shell .menu-button:hover, .site-shell .site-theme-toggle:hover { background: var(--site-blue-soft); }
.site-shell nav {
  display: flex;
  position: static;
  flex-basis: 100%;
  flex-direction: column;
  align-items: stretch;
  order: 4;
  gap: 0;
  padding: 12px 0 0;
  border: 0;
  border-radius: 0;
  background: var(--site-bg);
  box-shadow: none;
}
.site-shell nav > a, .site-shell nav > a:nth-child(3) { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 400; color: var(--site-ink); }
.site-shell nav > a:hover, .site-shell nav > a[aria-current='page'] { color: var(--site-link); background: var(--site-blue-soft); }
.site-shell .mobile-auth { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--site-line); }
.site-shell nav .mobile-auth a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px; font-size: 14px; }
.site-shell nav .mobile-auth .site-signup { color: #fff; }
.site-shell .site-signup { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 10px; background: var(--site-blue); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.5; }
.site-shell .site-signup:hover { background: var(--site-blue-hover); color: #fff; }
.site-shell.site-menu-ready .menu-button { display: flex; }
.site-shell.site-menu-ready nav {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 12px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  box-shadow: 0 14px 30px #0812201a;
}
.site-shell.site-menu-ready nav.is-open { display: flex; }
.site-shell-footer { margin-top: 0; padding: 56px 0 0; border-top: 1px solid var(--site-line); background: var(--site-soft); color: var(--site-ink); }
.site-shell-footer .container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.site-shell-footer .footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 0 0 40px; }
.site-shell-footer .footer-grid h3 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--site-ink); }
.site-shell-footer .footer-grid > div > a:not(.brand) { display: flex; align-items: center; width: fit-content; max-width: 100%; padding: 8px 0; min-height: 44px; font-size: 13px; line-height: 1.6; color: var(--site-muted); overflow-wrap: anywhere; }
.site-shell-footer .footer-grid > div > a:not(.brand):hover { color: var(--site-link); text-decoration: underline; text-underline-offset: 4px; }
.site-shell-footer .footer-brand p { margin-top: 18px; font-size: 13px; line-height: 1.8; color: var(--site-muted); }
.site-shell-footer .footer-preview { margin-top: 14px; font-size: 13px; line-height: 1.8; color: var(--site-muted); }
.site-shell-footer .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 20px 0; border-top: 1px solid var(--site-line); font-size: 12px; color: var(--site-muted); }
.site-shell-footer .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--site-link); }
.blog-teaser .text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--site-link); font-size: 14px; font-weight: 500; }
.blog-teaser .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Page location sits on the content grid, between the site header and the title. */
.site-internal :is(main, section):has(> .container > .breadcrumbs) {
  padding-block-start: clamp(12px, 2vw, 28px);
}
.site-internal main .breadcrumbs {
  display: block;
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  padding: 0 0 6px;
  border-bottom: 1px solid var(--site-line);
  font-size: .875rem;
  line-height: 1.45;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  column-gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.breadcrumbs svg { flex: none; color: var(--site-muted); }
.site-internal main .breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--site-muted);
  text-decoration: none;
}
.site-internal main .breadcrumbs a:is(:hover, :focus-visible) {
  color: var(--site-link);
  text-decoration: underline;
  text-underline-offset: .22em;
}
.site-internal main .breadcrumbs [aria-current='page'] { color: var(--site-ink); font-weight: 600; }

/* Shared secondary pages keep their layout while using the site's color tokens. */
html[data-site-theme='dark'] .site-internal main,
html[data-site-theme='dark'] :is(.blog-main, .blog-teaser, .co-pricing, .co-checkout),
html[data-site-theme='dark'] .site-internal main :is(.page-hero, .resource-hero, .stage-section, .page-section, .page-faq, .faq-section) {
  background: var(--site-bg);
  color: var(--site-ink);
}
html[data-site-theme='dark'] .site-internal main :is(.related-section, .editorial-story, .stage-reverse, .closing-card, .finance-overview, .finance-preview, .finance-pillars > article, .guide-advice, .blog-card-featured, .blog-toc, .blog-callout, .blog-product) {
  background: var(--site-soft);
  border-color: var(--site-line);
  color: var(--site-ink);
}
html[data-site-theme='dark'] .site-internal main :is(.library-card.model-card, .resource-card, .benefit-card, .feature-large, .feature-small, .process-summary > a, .process-summary > div, .faq-list details, .comparison-table, .co-plan-option, .co-payment-option, .co-order-summary, .co-payment-state, .co-order-line) {
  background: var(--site-surface);
  border-color: var(--site-line);
  color: var(--site-ink);
}
html[data-site-theme='dark'] .site-internal main :is(h1, h2, h3, h4):not(:is(.document-example, .stage-document, .model-sheet, .finance-featured, .finance-balance) *) { color: var(--site-ink); }
html[data-site-theme='dark'] .site-internal main :is(p, li):not(:is(.document-example, .stage-document, .model-sheet, .finance-featured, .finance-balance, .cp-card) *) { color: var(--site-muted); }
html[data-site-theme='dark'] .site-internal main :is(.page-lead, .hero-facts, .editorial-photo figcaption, .launch-note, .guide-heading-meta, .library-meta, .model-card-copy p, .card-meta, .article-body p, .article-body li, .checklist-card li, .faq-list details p, .blog-meta, .blog-card p, .blog-section-heading p, .co-payment-explanation p, .co-option-main > span, .co-payment-option small, .co-order-note) { color: var(--site-muted); }
html[data-site-theme='dark'] .site-internal main :is(.text-link, .co-back-link, .co-pricing-intro h1 span, .blog-read, .blog-meta > span:first-child, .blog-card-link:hover h2, .blog-card-link:hover h3, .blog-toc a, .blog-sources a, .blog-article-body a, .co-feature-status) { color: var(--site-link); }
html[data-site-theme='dark'] .site-internal main :is(.resource-icon, .process-summary > a > span, .finance-pillars > article > span, .page-faq .faq-list summary > span, .co-option-main > strong > small) { background: var(--site-blue-soft); color: var(--site-link); }
html[data-site-theme='dark'] .site-internal main :is(.process-summary > a:hover, .resource-card:hover, .co-plan-option:has(input:checked), .co-payment-option:has(input:checked)) { background: var(--site-blue-soft); border-color: var(--site-link); }
html[data-site-theme='dark'] .site-internal main :is(.search-field input, .blog-search input, .filter-group button, .blog-filters button) { background: var(--site-surface); color: var(--site-ink); border-color: var(--site-line); }
html[data-site-theme='dark'] .site-internal main :is(.search-field input, .blog-search input)::placeholder { color: var(--site-muted); }
html[data-site-theme='dark'] .site-internal main :is(.filter-group button[aria-pressed='true'], .blog-filters button[aria-pressed='true']) { background: var(--site-blue-soft); color: var(--site-link); border-color: var(--site-link); }
html[data-site-theme='dark'] .site-internal main :is(.faq-list details, .reading-nav, .checklist-card, .finance-ledger, .finance-rows > div, .co-feature-list article, .co-order-total, .co-summary-features, .blog-table-scroll, .blog-table-scroll td, .blog-table-scroll th) { border-color: var(--site-line); }
html[data-site-theme='dark'] .site-internal main :is(.comparison-table th, .comparison-table tbody th, .blog-table-scroll caption, .blog-table-scroll thead, .blog-table-scroll tbody tr:last-child, .finance-metrics article, .finance-row-icon.expense, .finance-preview .finance-top > span:last-child) { background: var(--site-soft); color: var(--site-ink); }
html[data-site-theme='dark'] .site-internal main :is(.finance-metrics span, .finance-top, .finance-flow-legend, .finance-row p, .finance-row small, .finance-note, .finance-overview p) { color: var(--site-muted); }
html[data-site-theme='dark'] .site-internal main :is(.finance-metrics strong, .finance-row strong, .finance-row b, .finance-heading h2, .finance-heading h3) { color: var(--site-ink); }
html[data-site-theme='dark'] .site-internal main .finance-flow-track { background: var(--site-line); }
html[data-site-theme='dark'] .site-internal main :is(.blog-result, .blog-editorial-note, .blog-summary, .blog-byline, .blog-article-image figcaption, .blog-question p, .blog-sources) { color: var(--site-muted); }
html[data-site-theme='dark'] .site-internal main :is(.blog-editorial-note a, .blog-byline a, .blog-prose a, .premium-edition) { color: var(--site-link); }
html[data-site-theme='dark'] .site-internal main .blog-product .button { background: var(--site-blue); color: #fff; }
html[data-site-theme='dark'] .site-internal main .co-commerce-button:disabled { background: var(--site-soft); color: var(--site-muted); }
html[data-site-theme='dark'] .site-internal main :is(.search-field > span, .faq-list summary) { color: var(--site-ink); }
html[data-site-theme='dark'] .site-internal main .closing-card small { color: var(--site-muted); }
html .site-internal main .button-dark:not(:is(.document-example, .stage-document, .model-sheet) *) { color: #fff; }
html .site-internal main .button-dark:not(:is(.document-example, .stage-document, .model-sheet) *) * { color: inherit; }
html[data-site-theme='dark'] .site-internal main .co-payment-state.is-error { background: #43242d; color: #ffb7c0; border-color: #6b3542; }
html[data-site-theme='dark'] .blog-teaser { background: var(--site-bg); color: var(--site-ink); }
html[data-site-theme='dark'] .blog-teaser :is(.blog-meta, .blog-card p, .blog-section-heading p) { color: var(--site-muted); }
html[data-site-theme='dark'] .blog-teaser :is(.blog-meta > span:first-child, .blog-read, .text-link, .blog-card-link:hover h3) { color: var(--site-link); }

/* Filled blue panels must use the action color, never the lighter dark-theme link color. */
html .site-internal main :is(.finance-balance, .finance-featured) { background: var(--site-blue); color: #fff; }
html .site-internal main .finance-balance > :is(p, strong, small) { color: #fff; }
html .site-internal main .finance-featured :is(h2, p, .finance-featured-metrics span, .finance-featured-metrics strong) { color: #fff; }
html .site-internal main .finance-featured .text-link,
html[data-site-theme='dark'] .site-internal main .finance-featured a.text-link { background: #fff; color: #2155e8; }
html .site-internal main .finance-featured .text-link * { color: inherit; }
html .site-internal main .finance-featured .text-link:hover,
html[data-site-theme='dark'] .site-internal main .finance-featured a.text-link:hover { background: #eaf1ff; color: #1942b9; }

/* Paper is a light island, with its own ink, in either surrounding theme. */
.document-premium .premium-scope > section:last-child h3 { color: #53647c; }
:is(.document-example, .document-premium, .stage-document, .model-sheet) {
  --co-ink: #142c4b;
  --co-muted: #53647c;
  --co-blue: #2155e8;
  --co-pale: #e8f0ff;
  --co-surface: #f2f6fc;
  --co-border: #d9e3f2;
  --inner-blue: #2155e8;
  --inner-navy: #142c4b;
  --inner-muted: #53647c;
  --inner-surface: #f2f6fc;
  --inner-pale: #e8f0ff;
  --inner-line: #d9e3f2;
  --premium-ink: #142c4b;
  --premium-muted: #53647c;
  --premium-soft: #f2f6fc;
  --premium-tint: #e8f0ff;
  --premium-border: #d9e3f2;
  --text: #142c4b;
  --muted: #53647c;
  --border: #d9e3f2;
  background: #fff;
  color: #142c4b;
  color-scheme: light;
}
@media (min-width: 640px) {
  .site-shell .header-inner { width: min(1200px, calc(100% - 48px)); }
  .site-brand-name { font-size: 15px; }
  .site-shell .header-actions > .site-signup { display: inline-flex; }
  .site-shell .header-actions { gap: 12px; }
  .site-shell-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (min-width: 1120px) {
  .site-shell .header-inner { flex-wrap: nowrap; min-height: 82px; gap: 20px; }
  .site-shell .site-brand { margin-right: auto; }
  .site-shell nav, .site-shell.site-menu-ready nav, .site-shell.site-menu-ready nav.is-open { position: static; display: flex; flex-basis: auto; flex-direction: row; align-items: center; order: 1; gap: 2px; padding: 0; border: 0; border-radius: 0; overflow: visible; max-height: none; box-shadow: none; }
  .site-shell nav > a, .site-shell nav > a:nth-child(3) { padding: 10px 11px; font-size: 13px; }
  .site-shell .header-actions { margin-left: 0; }
  .site-shell .header-actions .login-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--site-ink); }
  .site-shell .mobile-auth, .site-shell .menu-button, .site-shell.site-menu-ready .menu-button { display: none; }
  .site-shell-footer { padding-top: 64px; }
  .site-shell-footer .footer-grid { grid-template-columns: 1.3fr 1fr 1.1fr .95fr; gap: 32px; padding-bottom: 56px; }
}
@media print {
  :root, html[data-site-theme='dark'] { color-scheme: light; --site-bg: #fff; --site-ink: #142c4b; --site-muted: #53647c; }
  .site-shell, .site-shell-footer { display: none !important; }
}
