/* AKBAN 5.29 — final content contrast, finance wording, and responsive polish.
   Loaded last on every public page to make colours predictable across old theme layers. */
:root {
  --akban-ink-strong: #102b3e;
  --akban-copy-strong: #344f61;
  --akban-muted-readable: #566d7b;
  --akban-paper: #f4f7f6;
  --akban-gold-bright: #ffda7e;
  --akban-dark-panel: #062b3b;
}

/* FRANCHISE LANDING — preserve the navy / emerald / gold identity while keeping every line legible. */
main.fx-page { color: var(--akban-ink-strong) !important; }
main.fx-page .fx-hero h1,
main.fx-page .fx-hero h1 em,
main.fx-page .fx-hero-lead,
main.fx-page .fx-hero-income span,
main.fx-page .fx-hero-income strong,
main.fx-page .fx-hero-income small,
main.fx-page .fx-hero-points li,
main.fx-page .fx-hero-note,
main.fx-page .fx-hero-promo p,
main.fx-page .fx-hero-promo .fx-promo-fee span,
main.fx-page .fx-hero-promo .fx-promo-instead,
main.fx-page .fx-hero-promo .fx-countdown,
main.fx-page .fx-hero-promo .fx-deadline-copy {
  text-shadow: 0 1px 5px rgba(0,0,0,.26) !important;
}
main.fx-page .fx-hero h1 { color:#fff !important; -webkit-text-fill-color:#fff !important; }
main.fx-page .fx-hero h1 em,
main.fx-page .fx-hero-income strong { color:#ffda7e !important; -webkit-text-fill-color:#ffda7e !important; }
main.fx-page .fx-hero-income span,
main.fx-page .fx-hero-income small,
main.fx-page .fx-hero-lead,
main.fx-page .fx-hero-points li,
main.fx-page .fx-hero-note { color:#e6eef2 !important; -webkit-text-fill-color:#e6eef2 !important; }
main.fx-page .fx-hero-note {
  display:block !important;
  max-width:620px !important;
  margin-top:12px !important;
  font-size:11px !important;
  line-height:1.55 !important;
  opacity:1 !important;
}
/* Gold pills need dark ink — pale lettering on gold was the weak-contrast issue in the supplied screenshots. */
main.fx-page .fx-promo-label {
  color:#173246 !important;
  -webkit-text-fill-color:#173246 !important;
  background:linear-gradient(180deg,#ffe8aa 0%,#f3cc69 100%) !important;
  text-shadow:none !important;
  font-weight:900 !important;
}
main.fx-page .fx-promo-expired { color:#ffe6a8 !important; -webkit-text-fill-color:#ffe6a8 !important; }
main.fx-page .fx-section:not(.fx-section-calculator) :is(h2,h3,h4) {
  color:#142f43 !important;
  -webkit-text-fill-color:#142f43 !important;
}
main.fx-page .fx-section:not(.fx-section-calculator) :is(p,li,dd,summary,label) {
  color:#40596b !important;
  -webkit-text-fill-color:#40596b !important;
}
main.fx-page .fx-section-calculator :is(h2,h3,h4) { color:#fff !important; -webkit-text-fill-color:#fff !important; }
main.fx-page .fx-section-calculator :is(p,li,label,.fx-calc-overline,.subresult span,.fx-model-example span,.fx-model-example p) {
  color:#e5eef2 !important;
  -webkit-text-fill-color:#e5eef2 !important;
}
main.fx-page .fx-section-calculator .fx-model-example > b,
main.fx-page .fx-section-calculator .fx-calc-result .subresult b {
  color:#ffda7e !important;
  -webkit-text-fill-color:#ffda7e !important;
}
main.fx-page .fx-calc-input label,
main.fx-page .fx-calc-input label span { color:#29465a !important; -webkit-text-fill-color:#29465a !important; }
main.fx-page .fx-calc-input output { color:#08743c !important; -webkit-text-fill-color:#08743c !important; }
main.fx-page .fx-calc-callout p { color:#e3edf1 !important; -webkit-text-fill-color:#e3edf1 !important; }
main.fx-page .fx-fit-card h3,
main.fx-page .fx-why-card h3,
main.fx-page .fx-process-grid h3,
main.fx-page .fx-steps-grid h3,
main.fx-page .fx-faq-list summary { color:#17364b !important; -webkit-text-fill-color:#17364b !important; }
main.fx-page .fx-quick-form label > span,
main.fx-page .fx-final-form label > span { color:#344f61 !important; -webkit-text-fill-color:#344f61 !important; }
main.fx-page .fx-consent,
main.fx-page .fx-consent span,
main.fx-page .fx-final-form > small,
main.fx-page .fx-form-status { color:#3f596b !important; -webkit-text-fill-color:#3f596b !important; }
main.fx-page .fx-final .fx-final-copy h2,
main.fx-page .fx-final .fx-final-copy h2 > span { color:#fff !important; -webkit-text-fill-color:#fff !important; }
main.fx-page .fx-final .fx-final-copy > p,
main.fx-page .fx-final .fx-final-copy .fx-deadline-copy { color:#e3edf1 !important; -webkit-text-fill-color:#e3edf1 !important; }
main.fx-page .fx-final .fx-final-copy h2 em,
main.fx-page .fx-final .fx-final-price strong { color:#ffda7e !important; -webkit-text-fill-color:#ffda7e !important; }
main.fx-page .fx-table-wrap { overflow-x:auto !important; -webkit-overflow-scrolling:touch; }
main.fx-page .fx-compare-table th,
main.fx-page .fx-compare-table td { color:#304b5e !important; }
main.fx-page .fx-compare-table .fx-table-us { color:#123d31 !important; }
main.fx-page a:focus-visible,
main.fx-page button:focus-visible,
main.fx-page input:focus-visible,
main.fx-page select:focus-visible,
main.fx-page textarea:focus-visible { outline:3px solid #0b9852 !important; outline-offset:3px !important; }

/* JOURNAL ARCHIVE — hero and offer card from the provided screenshots. */
body.journal-body { color:#102b3e !important; background:#f4f7f6 !important; }
body.journal-body .journal-hero { color:#f5f8f9 !important; }
body.journal-body .journal-hero h1,
body.journal-body .journal-hero h1:not(em),
body.journal-body .journal-hero-copy h1 { color:#fff !important; -webkit-text-fill-color:#fff !important; text-shadow:0 2px 12px rgba(0,0,0,.25) !important; }
body.journal-body .journal-hero h1 em { color:#ffda7e !important; -webkit-text-fill-color:#ffda7e !important; }
body.journal-body .journal-hero-copy > p,
body.journal-body .journal-hero-points { color:#e8f0f3 !important; -webkit-text-fill-color:#e8f0f3 !important; }
body.journal-body .journal-hero-kicker,
body.journal-body .journal-kicker { color:#ffda7e !important; -webkit-text-fill-color:#ffda7e !important; }
body.journal-body .journal-hero-offer {
  color:#f5f8f9 !important;
  background:linear-gradient(145deg,#062b3b 0%,#052331 100%) !important;
  border:1px solid #e4c56e !important;
  box-shadow:0 16px 42px rgba(0,0,0,.24) !important;
}
body.journal-body .journal-hero-offer > span {
  display:inline-flex !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#ffe9af 0%,#f0cb70 100%) !important;
  color:#173247 !important;
  -webkit-text-fill-color:#173247 !important;
  font-weight:900 !important;
  text-shadow:none !important;
}
body.journal-body .journal-hero-offer h2 { color:#fff !important; -webkit-text-fill-color:#fff !important; text-shadow:0 1px 8px rgba(0,0,0,.2) !important; }
body.journal-body .journal-hero-offer li { color:#e9f1f3 !important; -webkit-text-fill-color:#e9f1f3 !important; }
body.journal-body .journal-hero-offer .journal-btn,
body.journal-body .journal-side-promo .journal-btn,
body.journal-body .journal-inline-cta .journal-btn,
body.journal-body .journal-final-cta .journal-btn,
body.journal-body .journal-conversion-wide .journal-btn { color:#fff !important; -webkit-text-fill-color:#fff !important; }
body.journal-body .journal-download { background:linear-gradient(145deg,#062b3b,#064b4b) !important; }
body.journal-body .journal-download h3 { color:#fff !important; -webkit-text-fill-color:#fff !important; }
body.journal-body .journal-download p { color:#e6eff1 !important; -webkit-text-fill-color:#e6eff1 !important; }
body.journal-body .journal-download > a { color:#173247 !important; -webkit-text-fill-color:#173247 !important; }
body.journal-body .journal-right .journal-side-promo { background:linear-gradient(145deg,#fff 0%,#edf4f1 100%) !important; }
body.journal-body .journal-right .journal-side-promo h2 { color:#102b3e !important; -webkit-text-fill-color:#102b3e !important; }
body.journal-body .journal-right .journal-side-promo li,
body.journal-body .journal-right .journal-side-promo p { color:#344f61 !important; -webkit-text-fill-color:#344f61 !important; }
body.journal-body .journal-aside .journal-side-promo { background:linear-gradient(145deg,#062b3b,#0a4550) !important; }
body.journal-body .journal-aside .journal-side-promo h2 { color:#fff !important; -webkit-text-fill-color:#fff !important; }
body.journal-body .journal-aside .journal-side-promo li { color:#e7f0f2 !important; -webkit-text-fill-color:#e7f0f2 !important; }
body.journal-body .journal-aside .journal-side-promo > span { color:#ffdf88 !important; -webkit-text-fill-color:#ffdf88 !important; }
body.journal-body .journal-card h3,
body.journal-body .journal-tool-card strong,
body.journal-body .journal-related-card strong { color:#173247 !important; -webkit-text-fill-color:#173247 !important; }
body.journal-body .journal-card p,
body.journal-body .journal-side-check p,
body.journal-body .journal-check-section p,
body.journal-body .journal-article-head .journal-deck,
body.journal-body .journal-section p,
body.journal-body .journal-faq details p { color:#344f61 !important; -webkit-text-fill-color:#344f61 !important; }
body.journal-body .journal-section h2,
body.journal-body .journal-article-head h1,
body.journal-body .journal-side-check h3,
body.journal-body .journal-side-nav h3,
body.journal-body .journal-check-section h2,
body.journal-body .journal-section-top h2 { color:#102b3e !important; -webkit-text-fill-color:#102b3e !important; }
body.journal-body .journal-article-tags a,
body.journal-body .journal-toc a,
body.journal-body .journal-side-nav a,
body.journal-body .journal-side-check > a,
body.journal-body .journal-card-bottom > a { color:#08753f !important; -webkit-text-fill-color:#08753f !important; }
body.journal-body .journal-tag,
body.journal-body .journal-category:not(.is-active) { color:#173247 !important; -webkit-text-fill-color:#173247 !important; }
body.journal-body .journal-category.is-active,
body.journal-body .journal-category.is-active span,
body.journal-body .journal-category.is-active b { color:#fff !important; -webkit-text-fill-color:#fff !important; }
body.journal-body .journal-card-image > span { color:#173247 !important; -webkit-text-fill-color:#173247 !important; background:#ffe19a !important; }
body.journal-body .journal-byline,
body.journal-body .journal-article-image figcaption,
body.journal-body .journal-related-card small { color:#566d7b !important; -webkit-text-fill-color:#566d7b !important; }
body.journal-body .journal-inline-cta,
body.journal-body .journal-final-cta,
body.journal-body .journal-conversion-wide { background:linear-gradient(115deg,#062b3b,#0b4b4b) !important; color:#fff !important; }
body.journal-body .journal-inline-cta h2,
body.journal-body .journal-final-cta h2,
body.journal-body .journal-conversion-wide h2 { color:#fff !important; -webkit-text-fill-color:#fff !important; }
body.journal-body .journal-inline-cta p,
body.journal-body .journal-final-cta p,
body.journal-body .journal-conversion-wide p { color:#e6eff1 !important; -webkit-text-fill-color:#e6eff1 !important; }
body.journal-body .journal-inline-cta > span,
body.journal-body .journal-final-cta > div > span,
body.journal-body .journal-conversion-wide > div > span { color:#ffdf88 !important; -webkit-text-fill-color:#ffdf88 !important; }
body.journal-body .journal-article-image img,
body.journal-body .journal-card-image img { display:block; }

/* Shared site chrome, legal text and mobile controls. */
.site-header.akban-header .akban-main-nav a,
.site-header.akban-header .akban-phone,
.site-header.akban-header .akban-city,
.site-header.akban-header .akban-header-cta { color:#f4f8fa !important; -webkit-text-fill-color:#f4f8fa !important; }
.akban-footer .akban-footer-col h3 { color:#fff !important; -webkit-text-fill-color:#fff !important; }
.akban-footer .akban-footer-col a,
.akban-footer .akban-footer-col span,
.akban-footer .akban-footer-brand p,
.akban-footer .akban-footer-legalnote,
.akban-footer .akban-footer-bottom { color:#d9e6eb !important; -webkit-text-fill-color:#d9e6eb !important; }
.akban-law-notice p { color:#344f61 !important; -webkit-text-fill-color:#344f61 !important; }
.mobilecall a { color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Remove clipping from long Russian headings and guarantee sensible mobile flow. */
.fx-page, .fx-page :where(section,article,div),
.journal-body .journal-shell,
.journal-body .journal-main-grid,
.journal-body .journal-article-layout,
.journal-body .journal-article,
.journal-body .journal-aside { min-width:0; }
.fx-page :where(h1,h2,h3,p,li,small,label,summary),
.journal-body :where(h1,h2,h3,p,li,small,a,summary) { overflow-wrap:break-word; hyphens:auto; }
.fx-page img, .journal-body img { max-width:100%; height:auto; }
@media(max-width:760px) {
  main.fx-page .fx-hero-note { display:block !important; font-size:10.5px !important; }
  main.fx-page .fx-hero-income strong { font-size:clamp(21px,5.7vw,27px) !important; }
  main.fx-page .fx-fit-grid,
  main.fx-page .fx-final-grid { grid-template-columns:minmax(0,1fr) !important; }
  main.fx-page .fx-model-example { align-items:flex-start !important; }
  main.fx-page .fx-model-example > p { font-size:11px !important; line-height:1.55 !important; }
  body.journal-body .journal-hero-offer { width:100% !important; max-width:100% !important; }
  body.journal-body .journal-hero-offer h2 { font-size:clamp(23px,6vw,30px) !important; line-height:1.14 !important; }
  body.journal-body .journal-hero-offer > span { font-size:10px !important; line-height:1.35 !important; white-space:normal !important; }
  body.journal-body .journal-hero h1 { font-size:clamp(30px,8vw,40px) !important; line-height:1.08 !important; }
  body.journal-body .journal-hero-copy > p { font-size:15px !important; line-height:1.55 !important; }
  body.journal-body .journal-card p,
  body.journal-body .journal-section p { font-size:14px !important; line-height:1.65 !important; }
}

/* Final contrast corrections verified against the rendered franchise hero and footer. */
main.fx-page .fx-hero-note { font-size:12px !important; line-height:1.58 !important; }
main.fx-page .fx-button-green,
main.fx-page .fx-quick-form > .fx-button,
main.fx-page .fx-final-form .fx-button,
main.fx-page .fx-hero-promo .fx-promo-link {
  background:linear-gradient(180deg,#087d43 0%,#066d3a 100%) !important;
  border-color:#0a8a4c !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
body.journal-body .journal-btn,
body.journal-body .journal-search-btn {
  background:linear-gradient(180deg,#087d43 0%,#066d3a 100%) !important;
  border-color:#087d43 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.site-header.akban-header .akban-header-cta,
.akban-footer .akban-footer-cta {
  background:linear-gradient(180deg,#087d43 0%,#066d3a 100%) !important;
  border-color:#0a8a4c !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.mobilecall a:nth-child(2) {
  background:#087a42 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
/* The shared legal note sits on a dark footer, not on a white card. */
.akban-law-notice,
.akban-law-notice p,
.akban-law-notice p strong {
  color:#f0e5d0 !important;
  -webkit-text-fill-color:#f0e5d0 !important;
}
.akban-law-notice p strong { color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Larger editorial text in cards and side navigation. */
body.journal-body .journal-card p { font-size:12.5px !important; line-height:1.5 !important; }
body.journal-body .journal-card-bottom > a,
body.journal-body .journal-side-promo li,
body.journal-body .journal-side-check p,
body.journal-body .journal-side-nav a { font-size:12px !important; line-height:1.5 !important; }
body.journal-body .journal-category { font-size:12.5px !important; }
body.journal-body .journal-tag { font-size:11px !important; }
body.journal-body .journal-download p { font-size:13px !important; line-height:1.55 !important; }
@media(max-width:760px) {
  main.fx-page .fx-hero-note { font-size:11.5px !important; }
  body.journal-body .journal-card p { font-size:13px !important; line-height:1.55 !important; }
  body.journal-body .journal-category { font-size:12px !important; min-height:39px !important; }
  body.journal-body .journal-download p { font-size:13px !important; }
}


/* Mobile article reading room: keep the last paragraphs and related links reachable above the fixed contact bar. */
@media(max-width:760px) {
  body.journal-body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* The legal warning is a dark translucent strip; the round amber icon keeps dark ink. */
.akban-law-notice .akban-law-icon {
  color:#173247 !important;
  -webkit-text-fill-color:#173247 !important;
}
@media(max-width:760px) {
  main.fx-page .fx-hero-note { font-size:12px !important; }
}
