/* ==========================================================================
   ICL website refresh: one consolidated design layer, loaded after styles.css
   and icl-app.css on every page. Brand colours only:
   navy #1e4d9d, blue #1E4D9D, gold #D4A017, plus neutrals.
   ========================================================================== */

:root {
  --blue: #1e4d9d;
  --navy:#1e4d9d;
  --gold: #d4a017;
  --gold-soft: #fbf5e3;
  --blue-soft: #eef3fb;
  --soft: #f5f7fa;
  --line: #e4e8ee;
  --line-strong: #d5dbe5;
  --muted: #5b6780;
  --text: #2b3646;
  --max: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(30 77 157 / 0.04);
  --shadow: 0 1px 2px rgb(30 77 157 / 0.04), 0 8px 24px rgb(30 77 157 / 0.06);
  --shadow-lg: 0 2px 4px rgb(30 77 157 / 0.04), 0 18px 44px rgb(30 77 157 / 0.1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { -webkit-text-size-adjust: 100%; }
body { color: var(--text); font-size: 16.5px; line-height: 1.7; background: #fff; overflow-x: clip; }
::selection { background: rgb(30 77 157 / 0.14); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.container, .nav, .footer-grid, .copyright, .hero-inner { max-width: var(--max) !important; }
.section { padding: 96px 32px; }
.section.alt { background: var(--soft); }
@media (max-width: 760px) { .section { padding: 64px 20px; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { color: var(--blue); letter-spacing: -0.015em; }
h1 { font-size: clamp(36px, 4.6vw, 58px) !important; line-height: 1.08 !important; font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.14; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; }
p { color: inherit; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue); font: 700 12px/1 var(--display) !important; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); flex: none; }
.lede { font-size: 18px !important; line-height: 1.7; }

/* section heads: one calm size everywhere */
.section-head { margin-bottom: 44px !important; }
.section-head h2, .section-head.full-head h2 { font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.14 !important; max-width: 820px !important; }
.section-head p:not(.eyebrow), .section-head.full-head > p:not(.eyebrow) { color: var(--muted) !important; font-size: 17px !important; max-width: 760px !important; margin-top: 16px; text-align: left !important; }

/* ---------- header ---------- */
.site-header { background: rgb(255 255 255 / 0.9) !important; border-bottom: 1px solid var(--line) !important; backdrop-filter: saturate(1.4) blur(14px); }
.nav { padding: 14px 32px !important; }
.logo img { width: 150px !important; }
.nav-link, .nav-links > a { font: 600 14px/1 var(--display) !important; color: var(--blue) !important; padding: 10px 13px !important; border-radius: 8px !important; }
.nav-link:hover, .nav-links > a:hover { background: var(--soft) !important; color: var(--blue) !important; }
.nav-link.active, .nav-links > a.active { background: transparent !important; color: var(--blue) !important; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0 !important; }
.nav-links > a.nav-cta { background: var(--blue) !important; color: #fff !important; border: 0 !important; margin-left: 8px; padding: 11px 18px !important; border-radius: 10px !important; box-shadow: none; }
.nav-links > a.nav-cta:hover { background: var(--blue) !important; }
.dropdown { border-radius: 14px !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow-lg) !important; padding: 8px !important; }
.dropdown a { border-radius: 10px !important; padding: 11px 13px !important; font: 600 14px/1.3 var(--display) !important; color: var(--blue) !important; }
.dropdown a:hover { background: var(--soft) !important; }
.dropdown a span { display: block; margin-top: 3px; font: 400 12.5px/1.4 var(--body) !important; color: var(--muted) !important; }
.menu-toggle { border-radius: 10px !important; border-color: var(--line) !important; }
@media (max-width: 960px) {
  .nav { padding: 12px 20px !important; }
  .nav-links { border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav-links > a.nav-cta { margin: 10px 0 0; justify-content: center; }
  .nav-link.active, .nav-links > a.active { box-shadow: inset 3px 0 0 var(--gold); padding-left: 16px !important; }
}

/* ---------- buttons ---------- */
.btn {
  min-height: 48px !important; padding: 13px 22px !important; border-radius: 10px !important;
  font: 700 14px/1 var(--display) !important; letter-spacing: 0; gap: 8px;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn.primary { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
.btn.primary:hover { background: var(--blue) !important; border-color: var(--blue) !important; transform: translateY(-1px); box-shadow: 0 10px 22px rgb(30 77 157 / 0.18); }
.btn.secondary { background: #fff !important; border: 1px solid var(--line-strong) !important; color: var(--blue) !important; }
.btn.secondary:hover { border-color: var(--blue) !important; color: var(--blue) !important; transform: translateY(-1px); }

/* ---------- page heroes (inner pages) ---------- */
.page-hero, .faq-hero, .insights-index-hero, .services-clean-hero, .team-page-hero, .about-hero, .insight-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgb(30 77 157 / 0.08), transparent 42%),
    radial-gradient(circle at 8% 100%, rgb(212 160 23 / 0.08), transparent 38%),
    #fbfcfe !important;
  border-bottom: 1px solid var(--line) !important;
  padding-top: 88px !important; padding-bottom: 72px !important;
}
.page-hero::after, .faq-hero::after, .insights-index-hero::after, .services-clean-hero::after, .team-page-hero::after, .about-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(30 77 157 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(30 77 157 / 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.page-hero > *, .faq-hero > *, .insights-index-hero > *, .services-clean-hero > *, .team-page-hero > *, .about-hero > * { position: relative; z-index: 1; }
.page-hero p:not(.eyebrow), .faq-hero p:not(.eyebrow), .insights-index-hero p:not(.eyebrow), .services-clean-hero p:not(.eyebrow), .team-page-hero p:not(.eyebrow) { color: var(--muted) !important; font-size: 18px !important; max-width: 760px; }
.page-hero.dark { background: var(--blue) !important; }
.page-hero.dark::after { background-image: linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px); }
.page-hero.dark h1, .page-hero.dark p { color: #fff !important; }
.page-hero.dark p:not(.eyebrow) { color: rgb(255 255 255 / 0.78) !important; }
.page-hero.dark .eyebrow { color: #fff !important; }
@media (max-width: 760px) {
  .page-hero, .faq-hero, .insights-index-hero, .services-clean-hero, .team-page-hero, .about-hero, .insight-hero { padding: 56px 20px 48px !important; }
}

/* ---------- home hero ---------- */
.refined-hero { background: linear-gradient(90deg, #fff 0%, #fff 56%, var(--soft) 56%) !important; }
.refined-hero h1 { font-size: clamp(38px, 4.8vw, 60px) !important; }
.refined-hero .lede { font-size: 18px !important; }
.hero-visual { border-radius: 22px !important; box-shadow: 0 30px 60px -20px rgb(30 77 157 / 0.45); }
@media (max-width: 960px) { .refined-hero { background: #fff !important; } }

/* ---------- cards ---------- */
.card, .member-card, .recon-feature-card, .cohort-card, .payment-card, .cfo-price-card, .titl-pillar-card, .insight-card {
  border-radius: var(--radius) !important; border-color: var(--line); box-shadow: var(--shadow-sm) !important;
}
.card { padding: 28px !important; }
.card p, .card li { color: var(--muted); }
.card.link-card, .insight-card, .member-card, .recon-feature-card { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease) !important; }
.card.link-card:hover, .insight-card:hover, .member-card:hover, .recon-feature-card:hover { transform: translateY(-4px) !important; border-color: rgb(30 77 157 / 0.3) !important; box-shadow: var(--shadow-lg) !important; }
.kicker {
  display: inline-flex !important; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue) !important; font: 700 11.5px/1 var(--display) !important; letter-spacing: 0.04em; margin-bottom: 16px !important;
}
.grid-3 { gap: 22px !important; }

/* icon tiles on service/product cards */
.card.link-card::before, .service-box::before, .product-home-card::before, .cfo-fit-grid .card::before, .cohort-card::before, .learning-list div::before {
  border-radius: 12px !important; box-shadow: none !important; background: var(--blue-soft) !important; border: 1px solid rgb(30 77 157 / 0.1) !important;
}
.product-home-card strong { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--blue); font: 700 14px/1 var(--display); }
.product-home-card strong::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s var(--ease); }
.product-home-card:hover strong::after { transform: translateX(3px); }

/* services CTA panel */
.services-cta-box { border-radius: 20px !important; border: 1px solid var(--line) !important; background: linear-gradient(120deg, #fff, var(--blue-soft)) !important; box-shadow: none !important; }

/* ---------- testimonials ---------- */
.quote-card { border-top: 1px solid var(--line) !important; min-height: 0 !important; position: relative; padding-top: 64px !important; }
.quote-card::before {
  content: ""; position: absolute; left: 28px; top: 26px; width: 30px; height: 24px; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Cpath d='M0 24V13.6C0 5.9 4.3 1.2 12.6 0l1.3 3.3C9.5 4.6 7.2 7.3 7 11h6v13H0zm16 0V13.6C16 5.9 20.3 1.2 28.6 0l1.3 3.3c-4.4 1.3-6.7 4-6.9 7.7h6v13H16z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Cpath d='M0 24V13.6C0 5.9 4.3 1.2 12.6 0l1.3 3.3C9.5 4.6 7.2 7.3 7 11h6v13H0zm16 0V13.6C16 5.9 20.3 1.2 28.6 0l1.3 3.3c-4.4 1.3-6.7 4-6.9 7.7h6v13H16z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.quote-card p:first-child { font-size: 17px !important; color: var(--text) !important; line-height: 1.7; }
.quote-card h3 { color: var(--blue) !important; font-size: 16px !important; margin-top: 22px !important; }

/* ---------- team ---------- */
.team-card, .member-card { border-radius: var(--radius) !important; overflow: hidden; }
.team-card img, .member-card img { transition: transform .5s var(--ease); }
.team-card:hover img, .member-card:hover img { transform: scale(1.03); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line) !important; border-radius: 14px; padding: 0 !important; margin-bottom: 12px; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item.open { border-color: rgb(30 77 157 / 0.3) !important; box-shadow: var(--shadow); }
.faq-item button { padding: 20px 22px !important; font: 600 16px/1.4 var(--display) !important; align-items: center; }
.faq-item button span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--soft); color: var(--blue); font-size: 18px; line-height: 1; }
.faq-item.open button span { background: var(--blue); color: #fff; }
.faq-item > div { padding: 0 22px 20px !important; color: var(--muted) !important; }

/* ---------- forms ---------- */
.input, .icl-field input, .icl-field select, .icl-field textarea, input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  border-radius: var(--radius-sm) !important; border: 1px solid var(--line-strong) !important; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .icl-field input:focus, .icl-field select:focus, .icl-field textarea:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue) !important; box-shadow: 0 0 0 4px rgb(30 77 157 / 0.12) !important;
}

/* ---------- CTA band (inner pages) ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--blue) !important; padding: 72px 32px !important; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.08); box-shadow: 0 0 0 60px rgb(255 255 255 / 0.025); }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 70%); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff !important; font-size: clamp(26px, 3vw, 38px) !important; max-width: 720px; }
.cta-band .eyebrow { color: #fff !important; }
.cta-band .btn.secondary { background: #fff !important; color: var(--blue) !important; border-color: #fff !important; }
.cta-band .btn.secondary:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--blue) !important; }
@media (max-width: 760px) { .cta-band { padding: 56px 20px !important; } }

/* ---------- newsletter band ---------- */
.icl-newsletter { scroll-margin-top: 90px; }

/* ---------- articles ---------- */
.insight-body-section .article-body, .article-body { font-size: 18px; line-height: 1.85; color: var(--text); }
.article-body h2 { font-size: clamp(24px, 2.4vw, 30px) !important; margin: 44px 0 14px !important; }
.article-body h3 { font-size: 20px; margin: 32px 0 10px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin: 8px 0; }
.article-body li::marker { color: var(--gold); }
.article-body blockquote { margin: 28px 0; padding: 18px 24px; border-left: 3px solid var(--gold); background: var(--soft); border-radius: 0 12px 12px 0; color: var(--blue); font-size: 19px; }
.article-body a { color: var(--blue); text-decoration: underline; text-decoration-color: rgb(30 77 157 / 0.3); text-underline-offset: 3px; }
.insight-cover { border-radius: 20px !important; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--display); color: var(--blue); }

/* ---------- legal pages ---------- */
.legal-page .container { max-width: 820px !important; }
.legal-page h2 { font-size: 24px !important; margin: 40px 0 12px !important; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue) !important; color: rgb(255 255 255 / 0.72) !important; border-top: 0 !important; padding: 72px 32px 28px !important; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.site-footer p, .site-footer a { color: rgb(255 255 255 / 0.72) !important; }
.site-footer a { transition: color .15s; }
.site-footer a:hover { color: #fff !important; }
.footer-grid { gap: 40px !important; }
.footer-grid h3 { color: #fff !important; font: 700 13px/1 var(--display) !important; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px !important; }
.footer-grid a { margin: 10px 0 !important; font-size: 15px; }
.site-footer .footer-logo { width: 176px !important; }
.copyright { border-top: 1px solid rgb(255 255 255 / 0.12) !important; color: rgb(255 255 255 / 0.55) !important; margin-top: 48px !important; }
.footer-social { display: flex !important; gap: 10px; margin-top: 20px; }
.footer-social a { display: grid !important; place-items: center; width: 38px; height: 38px; margin: 0 !important; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.18); color: #fff !important; font: 700 12px/1 var(--display); transition: background .2s, border-color .2s; }
.footer-social a:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.4); }
.footer-social a svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .site-footer { padding: 56px 20px 24px !important; } }

/* ---------- floating buttons ---------- */
.floating-whatsapp { box-shadow: 0 10px 24px rgb(30 77 157 / 0.25) !important; }
.page-jump { border: 1px solid var(--line) !important; box-shadow: var(--shadow) !important; }

/* ---------- gentle reveal on scroll (only when JS has marked the page) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .card.link-card:hover, .insight-card:hover, .member-card:hover, .recon-feature-card:hover, .btn:hover { transform: none !important; }
}

/* ---------- home hero panel ---------- */
.hero-visual.refined-panel::after { display: none !important; }
/* The older load-in animation is replaced by the scroll reveal above. */
.section .container, .card, .service-box, .member-card, .team-card, .payment-card, .faq-grid .faq-item { animation: none !important; }
.service-box::after, .product-home-card::after, .quote-card::after, .faq-grid .faq-item::after { display: none !important; }
.trusted-single h2, .full-trust .section-head h2 { color: var(--blue) !important; }
.trusted-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }

/* ---------- contrast fixes ---------- */
.hero-visual .eyebrow, .icl-newsletter .eyebrow, .service-box-blue .eyebrow, .cohort-card.highlight .eyebrow { color: #fff !important; }
.product-home-card strong { background: transparent !important; color: var(--blue) !important; padding: 0 !important; min-height: 0 !important; border-radius: 0 !important; }
.insights-track time { color: #8a6608 !important; }
.service-box-gold { background: var(--gold-soft) !important; border-color: rgb(212 160 23 / 0.45) !important; color: var(--blue) !important; }
.service-box-gold h3 { color: var(--blue) !important; }
.service-box-gold p { color: var(--text) !important; }
.service-box-gold span { color: #8a6608 !important; }
.service-box-gold::before { filter: none !important; background: #fff !important; border-color: rgb(212 160 23 / 0.35) !important; }
.footer-grid .social-links a, .social-links.footer-social a { background: transparent !important; border: 1px solid rgb(255 255 255 / 0.2) !important; width: 38px !important; height: 38px !important; }
.footer-grid .social-links a:hover { background: rgb(255 255 255 / 0.1) !important; border-color: rgb(255 255 255 / 0.45) !important; transform: none !important; }
.insight-card time { color: #8a6608 !important; letter-spacing: 0.06em; }
.faq-hero { text-align: left !important; }
.faq-hero h1 { color: var(--blue) !important; margin: 0 !important; }
.faq-hero h2 { color: var(--muted) !important; font-size: 18px !important; font-weight: 400 !important; font-family: var(--body) !important; letter-spacing: 0; margin-top: 14px; max-width: 760px; line-height: 1.6 !important; }

/* dark sections keep light labels and text */
.recon-hero .eyebrow, .masterclass-hero .eyebrow, .cfo-hero .eyebrow, .titl-hero .eyebrow, .payment-hero .eyebrow, .cfo-blue-card .eyebrow,
.service-box-blue .eyebrow, .page-hero.dark .eyebrow, .cta-band .eyebrow, .icl-newsletter .eyebrow, .hero-visual .eyebrow { color: var(--gold) !important; }
.payment-card.featured.gold { background: var(--gold-soft) !important; border-color: rgb(212 160 23 / 0.45) !important; }
.payment-card.featured.gold, .payment-card.featured.gold * { color: var(--blue) !important; }
.payment-card.featured.gold p, .payment-card.featured.gold li { color: var(--text) !important; }
.result-badge { color: var(--blue) !important; }
.cfo-price-card strong { color: #8a6608 !important; }
.cfo-price-card.accent strong { color: #8a6608 !important; }
.service-box-blue::before, .cohort-card.highlight::before { background: rgb(255 255 255 / 0.14) !important; border-color: rgb(255 255 255 / 0.25) !important; }

/* ---------- product pages ---------- */
/* Primary buttons on dark heroes: gold, so they never disappear into the blue. */
.recon-hero .btn.primary, .masterclass-hero .btn.primary, .titl-hero .btn.primary, .payment-hero .btn.primary, .page-hero.dark .btn.primary {
  background: var(--gold) !important; border-color: var(--gold) !important; color: var(--blue) !important;
}
.recon-hero .btn.primary:hover, .masterclass-hero .btn.primary:hover, .titl-hero .btn.primary:hover, .payment-hero .btn.primary:hover, .page-hero.dark .btn.primary:hover {
  background: #fff !important; border-color: #fff !important; color: var(--blue) !important;
}
.recon-note-card { background: linear-gradient(140deg, var(--gold-soft), #fff) !important; border: 1px solid rgb(212 160 23 / 0.35) !important; border-radius: 20px !important; box-shadow: none !important; }
.recon-note-card p { color: var(--blue) !important; }
/* Feature cards: calm white cards, numbers carry the accent. */
.recon-feature-card { background: #fff !important; color: var(--text) !important; min-height: 230px !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow-sm) !important; }
.recon-feature-card span { color: var(--blue) !important; background: var(--blue-soft); width: 36px; height: 36px; border-radius: 10px; display: grid !important; place-items: center; }
.recon-feature-card h3 { color: var(--blue) !important; margin-top: 36px !important; }
.recon-feature-card p { color: var(--muted) !important; }
.cfo-hero-panel::before, .cfo-hero-panel::after, .masterclass-ledger-card::after { display: none !important; }
.cfo-hero-panel { border-radius: 20px !important; }

/* readable paragraphs: no full justification (uneven word gaps) */
.section-head.full-head > p:not(.eyebrow), .member-body p:not(.eyebrow), .profile-text-card p:not(.eyebrow), .principle-panel p,
.service-group-intro p:not(.eyebrow), .facilitator-grid p, .cfo-context .compact-head p:not(.eyebrow) { text-align: left !important; text-align-last: auto !important; }

/* ---------- article reading column ---------- */
.article-shell { max-width: 800px !important; }
.article-shell .article-body { padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; }
.article-body p, .article-body li { font-size: 18px !important; line-height: 1.85 !important; color: var(--text) !important; }
.insight-hero .back-link { display: flex !important; width: max-content; margin-bottom: 22px; }
.insight-hero .back-link::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; }
.insight-hero time { color: #8a6608 !important; }

/* ---------- contact ---------- */
.contact-grid > aside::after { display: none !important; }
.contact-grid > aside, .contact-grid > form, .contact-grid > div { border-radius: 20px !important; }
main .social-links:not(.footer-social) a { background: var(--blue-soft) !important; border: 1px solid rgb(30 77 157 / 0.15) !important; color: var(--blue) !important; }
main .social-links:not(.footer-social) a:hover { background: var(--blue) !important; color: #fff !important; }
main .social-links:not(.footer-social) a svg { width: 18px; height: 18px; }
.faq-content h2 { color: var(--blue) !important; }

/* Single brand blue everywhere: hovers deepen with a light shade instead of a second colour. */
.btn.primary:hover, .nav-links > a.nav-cta:hover { filter: brightness(0.9); }

/* Desktop: the whole site renders at 80%, matching the app. */
@media (min-width: 1024px) {
  html { zoom: 0.8; }
}

/* Newsletter band: light, so it stands apart from the blue footer below it. */
.icl-newsletter { background: var(--blue-soft) !important; color: var(--text) !important; border-top: 1px solid var(--line); }
.icl-newsletter::after { display: none !important; }
.icl-newsletter h2 { color: var(--blue) !important; }
.icl-newsletter p { color: var(--muted) !important; }
.icl-newsletter .eyebrow { color: var(--blue) !important; }
.icl-newsletter .icl-ring { border-color: rgb(30 77 157 / 0.1) !important; }
.icl-nl-form input[type=email], .icl-nl-form input[type=text] { background: #fff !important; color: var(--text) !important; border: 1px solid var(--line-strong) !important; border-radius: 10px !important; }
.icl-nl-form input::placeholder { color: #8a94a6 !important; }
.icl-nl-form button { background: var(--blue) !important; color: #fff !important; border-radius: 10px !important; }
.icl-nl-note { color: var(--muted) !important; }
.icl-nl-msg.ok { color: var(--blue) !important; }
.icl-nl-msg.err { color: var(--text) !important; }

/* gold text on white uses the deeper gold so it stays readable */
.refined-hero .eyebrow, .cfo-hero .eyebrow, .cfo-price-card .eyebrow, .payment-card.dollar strong, .payment-card:not(.featured) strong { color: #8a6608 !important; }
.refined-hero .hero-visual .eyebrow { color: var(--gold) !important; }

/* No dash before section labels anywhere (including the Masterclass pop-up). */
.eyebrow::before, .eyebrow::after { display: none !important; content: none !important; }
.eyebrow { gap: 0 !important; }

/* Home hero headline: two lines, no more. */
.refined-hero h1 { font-size: clamp(36px, 4.2vw, 54px) !important; }
.refined-hero h1 .typing-word { white-space: nowrap !important; }

/* ---------- console-written articles (post.html) ---------- */
.post-meta { margin-top: 18px; color: var(--muted); font: 600 13px/1.5 var(--display); }
.post-meta time { color: #8a6608; display: inline !important; }
.post-cover { width: 100%; height: auto; border-radius: 20px; margin: 0 0 36px; border: 1px solid var(--line); }
.insight-card-placeholder { height: 220px; display: grid; place-items: center; background: var(--blue); }
.insight-card-placeholder img { width: 140px !important; height: auto !important; object-fit: contain !important; background: transparent !important; opacity: .9; }
.post-comments h2 { font-size: clamp(24px, 2.4vw, 30px) !important; margin-bottom: 24px; }
.post-comments h2 span { color: var(--muted); font-weight: 600; }
.comment-list, .comment-replies { list-style: none; margin: 0; padding: 0; }
.comment { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--display); font-size: 14px; color: var(--blue); }
.comment-head time { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.comment-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 13px; }
.comment-body { margin: 0; white-space: pre-line; color: var(--text); overflow-wrap: anywhere; }
.comment-replies { margin-top: 14px; padding-left: 16px; border-left: 2px solid var(--line); }
.comment.reply { border: 0; padding: 10px 0 4px; margin: 0; background: transparent; }
.comment.reply.staff .comment-head strong { color: var(--blue); }
.staff-tag { padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: #8a6608; font-size: 11px; font-weight: 700; }
.comment-empty { color: var(--muted); padding: 8px 0 16px; }
.comment-form { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 14px; }
.comment-form h3 { margin: 0; }
.comment-form label { display: grid; gap: 6px; font: 600 13px/1.4 var(--display); color: var(--blue); }
.comment-form label small { color: var(--muted); font-weight: 500; }
.comment-form .input { font: 15px/1.5 var(--body); color: var(--text); }
.comment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form .btn { justify-self: start; }
.comment-msg { margin: 0; min-height: 1em; font: 600 14px/1.4 var(--display); color: var(--muted); }
.comment-msg.ok { color: var(--blue); }
.comment-msg.err { color: var(--text); }
.icl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .comment-grid { grid-template-columns: 1fr; } .comment-form { padding: 18px; } }

/* ---------- contact form ---------- */
.contact-form label small { color: var(--muted); font-weight: 500; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-msg { margin: 0; min-height: 1.2em; font: 600 14px/1.4 var(--display); color: var(--muted); }
.contact-msg.ok { color: var(--blue); }
.contact-msg.err { color: var(--text); }
.contact-form .btn[disabled] { opacity: .65; cursor: wait; }
@media (max-width: 640px) { .contact-row { grid-template-columns: 1fr; } }

/* Insights topic filters */
.insight-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.insight-filter { border: 1px solid var(--line-strong); background: #fff; color: var(--blue); border-radius: 999px; padding: 8px 14px; font: 600 13px/1 var(--display); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.insight-filter:hover { border-color: var(--blue); }
.insight-filter.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.insight-card[hidden] { display: none !important; }

/* TITL page: same side margins as every other section */
.titl-hero, .titl-reg-section, .titl-cta-band { padding-left: 32px !important; padding-right: 32px !important; }
@media (max-width: 760px) {
  .titl-hero, .titl-reg-section, .titl-cta-band { padding-left: 20px !important; padding-right: 20px !important; }
}
