/* November 2026 identity. Keep this after the component styles and supplied tokens. */
:root {
  --paper: var(--fc-ground);
  --ink: var(--fc-ink);
  --forest: var(--fc-ink);
  --blue: #2463D6;
  --mint: #E6F3FC;
  --lilac: #F0EDF9;
  --coral: #FBECE3;
  --citron: var(--fc-sky);
  --muted: var(--fc-slate);
  --line: var(--fc-line);
  --max: var(--fc-max-width);
  --ink-2: var(--fc-ink-2);
  --ink-3: var(--fc-ink-line);
  --paper-2: #EDF0EB;
  --surface: var(--fc-white);
  --sans: var(--fc-font-body);
  --display: var(--fc-font-display);
  --t-90: var(--fc-ink);
  --t-70: var(--fc-slate);
  --t-50: var(--fc-slate);
  --p-64: var(--fc-mist);
  --p-44: var(--fc-mist);
  --radius: var(--fc-radius-card);
  --radius-sm: var(--fc-radius-sm);
  --radius-lg: var(--fc-radius-panel);
  --brand-primary: #2463D6;
  --brand-primary-hover: #194EAF;
}

body.fc-branded { font-family: var(--fc-font-body); font-size: 17px; line-height: 1.55; }
body.fc-branded :is(h1,h2,h3,h4) { font-family: var(--fc-font-display); font-weight: 500; letter-spacing: -.012em; line-height: 1.25; }
body.fc-branded :is(h1,h2) { font-weight: 400; }
body.fc-branded :is(h1,h2,h3) em { font: inherit; color: inherit; }
body.fc-branded h1 em { color: var(--brand-module,var(--brand-primary)); text-decoration: none; }
body.fc-branded h2 { line-height: 1.18; font-size: clamp(32px,3.1vw,44px); }
body.fc-branded :is(.eyebrow,.fc-label) { font-family: var(--fc-font-body); font-weight: 600; letter-spacing: .12em; }
body.fc-branded :is(.hero-copy > .eyebrow,.section-head .eyebrow) { font-size: 13px; color: var(--fc-slate); }
body.fc-branded .hero-copy > .lead { font-size: 20px; line-height: 1.55; color: var(--fc-slate); }
body.fc-branded :is(.family-tile h3,.cadence-board h3,.bc-content h3,.vantage-depth h3,.vantage-cycle h3) { font-size: 27px; }
body.fc-branded :is(.family-tile h3,.bc-choice h3,.bot-role h3) { font-weight: 400; }
body.fc-branded :is(.enquiry-body blockquote,.coverage-stat strong,.brief-metrics strong,.brief-receivable > span,.brief-decision > span,.people-overlay p,.human-cadence b,.vantage-metrics strong,.vantage-depth article > span,.vantage-teaser p) { font-family: var(--fc-font-display); font-weight: 500; }
body.fc-branded :focus-visible { outline: 3px solid var(--fc-sky); outline-offset: 3px; }
body.fc-branded a { color: inherit; }
body.fc-branded a:hover { color: inherit; }
body.fc-branded a.skip,body.fc-branded a.skip-link { background: var(--fc-ink); color: var(--fc-ground); z-index: 1000; }
::selection { background: var(--fc-sky); color: var(--fc-ink); }

header.nav,.site-header { background: var(--fc-white); }
header.nav { padding: 20px 0; border-top: 3px solid var(--brand-primary); }
header.nav .logo { padding: 0 18px; margin-left: -18px; }
header.nav .logo img,.site-header .brand img { width: auto; height: 36px; max-width: none; }
.footer img,.site-footer .brand img { width: auto; height: 36px; }
.site-header .brand,.site-footer .brand { padding: 18px 0; }
.brand-module-lockup { width: auto; height: 54px; max-width: 100%; margin: 0 0 28px; object-fit: contain; object-position: left; }
.hero,.hero:has(.daily-brief) { background: linear-gradient(110deg,#FFFFFF 30%,#F0F6FC); }
body[data-brand-module] .hero { background: linear-gradient(110deg,#FFFFFF 35%,var(--brand-module-soft)); }
.hero:has(.daily-brief) { padding-top: 56px; padding-bottom: 32px; }
.hero:has(.daily-brief) .hero-grid { grid-template-columns: .92fr 1.08fr; gap: 48px; }
.hero:has(.daily-brief) h1,.hero h1 { font-size: clamp(44px,4.35vw,64px); line-height: 1.12; letter-spacing: -.015em; }
.hero-copy .buyer-audience { color: var(--fc-slate); margin-bottom: 22px; }
.hero-art:before { background: var(--mint); transform: none; border-radius: var(--fc-radius-panel); }
.soft,.countries { background: #F2F6FA; }
.section:not(.soft):not(.ai-section):not(.band-ink):not(.cfo-section):not(.close-section) { background: var(--fc-white); }
#products.soft { background: #F7F9FC; }
#operating-loop.soft { background: #EDF6F6; }
#customise.soft { background: #F2F1F8; }
.section { padding: 88px 0; }
.section-head { margin-bottom: 36px; }

body.fc-branded .button,body.fc-branded .bc-content .bc-action,body.fc-branded .btn-primary {
  background: var(--brand-primary); border-color: var(--brand-primary); color: var(--fc-white);
  border-radius: var(--fc-radius-pill); min-height: 46px; font-family: var(--fc-font-body);
}
body.fc-branded .button:hover,body.fc-branded .bc-content .bc-action:hover,body.fc-branded .btn-primary:hover { background: var(--brand-primary-hover); color: var(--fc-white); }
body.fc-branded .button.light { background: transparent; color: var(--fc-ink); border-color: var(--fc-line); }
body.fc-branded .button.mint { background: var(--fc-sky); color: var(--fc-ink); border-color: var(--fc-sky); }
.menu,.nav-dropdown { border-radius: var(--fc-radius-sm); }
.nav-dropdown { background: var(--fc-white); }
.nav-dropdown a:hover,.nav-dropdown a[aria-current] { background: var(--mint); }
body.fc-branded :where(.bot-role,.family-tile,.tier,.country-card,.tailored-card,.enquiry-form,.journal,.bc-choice,.bc-comparison > article) {
  background: var(--fc-white); border: 1px solid var(--fc-line); border-radius: var(--fc-radius-card);
}
body.fc-branded .family-tile { position: relative; padding: 30px; border-top: 3px solid var(--brand-module,var(--fc-sky)); background: linear-gradient(155deg,var(--fc-white) 32%,var(--brand-module-soft,#F2F6FA)); }
.family-grid .family-tile img { height: 51px; width: auto; max-width: 100%; margin: 18px 0 22px; }
.family-tile .eyebrow { color: var(--fc-slate); }
.family-tile h3 { margin-top: 0; line-height: 1.3; }
.family-tile[data-brand-module="vantage"] { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px; }
.family-tile[data-brand-module="vantage"] .brand-diagram { width: 100%; margin: 0; }
.family-tile .product-copy { min-width: 0; }
.family-tile[data-brand-module="vantage"] p:not(.eyebrow) { max-width: 540px; }
.family-tile .text-link { color: var(--brand-module,var(--fc-ink)); }
[data-brand-module="accounting"] { --brand-module: var(--fc-accounting-text); --brand-module-soft: #F9F0DB; }
[data-brand-module="apar"] { --brand-module: var(--fc-apar); --brand-module-soft: #E4F4F3; }
[data-brand-module="payroll"] { --brand-module: var(--fc-payroll); --brand-module-soft: #ECF4E6; }
[data-brand-module="vantage"] { --brand-module: var(--fc-vantage); --brand-module-soft: #F9EAF2; }
[data-brand-module="advisory"] { --brand-module: var(--fc-advisory); --brand-module-soft: #FBECE3; }
[data-brand-module="transform"] { --brand-module: var(--fc-transform); --brand-module-soft: #F0EDF9; }
.product-switcher [aria-current] { color: var(--brand-module,var(--fc-ink)); font-weight: 600; }
.tier.featured { border-color: var(--brand-primary); box-shadow: inset 0 3px var(--brand-primary); background: #F1F6FF; }
.feature-grid .bot-role:nth-child(n) { background: linear-gradient(180deg,var(--brand-module-soft),var(--fc-white) 64%); border-color: var(--fc-line); }
body.fc-branded .bc-choice:nth-child(1) { background: #F1F6FF; border-top: 3px solid #2463D6; }
body.fc-branded .bc-choice:nth-child(2) { background: #EFF8F6; border-top: 3px solid #0E7C86; }
body.fc-branded .bc-choice:nth-child(3) { background: #FBF4EE; border-top: 3px solid #C2410C; }
.bc-choice .bc-kicker { color: var(--brand-primary); }
.bc-choice:nth-child(2) .bc-kicker { color: var(--fc-apar); }
.bc-choice:nth-child(3) .bc-kicker { color: var(--fc-advisory); }

/* Dark areas use Ink and its elevated surface, with Sky reserved for accents. */
.ai-section,.cfo-section,.operating-canvas,.human-strip,.floating-receipt,.footer,.site-footer,.brief-top,.bc-pay-workspace > header { background: var(--fc-ink); color: var(--fc-ground); }
.ai-section,.cfo-section { background: #123F4C; }
.ai-section h2 em,.cfo-section h2 em { color: #8CD7E2; }
.ai-section .note,.cfo-section .note { color: #BBD5DA; }
.footer p,.loop-caption .eyebrow,.loop-stages li:not(:last-child):after { color: var(--fc-mist); }
.ai-section .section-head .eyebrow,.cfo-section .section-head .eyebrow { color: var(--fc-mist); }
.loop-step { background: var(--fc-ink-2); border-color: var(--fc-ink-line); }
.loop-step[aria-pressed=true] { background: var(--fc-sky); border-color: var(--fc-sky); color: var(--fc-ink); }
.people-visual { background: var(--fc-ink); border-radius: var(--fc-radius-panel); }
.people-visual:after { background: linear-gradient(transparent 35%,#0F1B2DEB); }
.close-section { background: #16458C; color: var(--fc-white); padding: 88px 0; }
.close-section .eyebrow,.close-section .lead,.close-section .note { color: #D7E7FE; }
.close-section .text-link,.footer a,.site-footer a { color: var(--fc-ground); }
body.fc-branded .ai-section .button,body.fc-branded .cfo-section .button { background: var(--fc-ground); border-color: var(--fc-ground); color: var(--fc-ink); }
body.fc-branded .ai-section .button:hover,body.fc-branded .cfo-section .button:hover { background: var(--fc-sky); border-color: var(--fc-sky); color: var(--fc-ink); }
body.fc-branded .close-section .button { background: var(--fc-sky); border-color: var(--fc-sky); color: var(--fc-ink); }
body.fc-branded .close-section .button:hover { background: #75C8FF; }
.footer { border-top: 3px solid #3AB0FF; padding: 48px 0; }
.footer a:hover,.site-footer a:hover { color: var(--fc-sky); }

/* Keep the interactive evidence readable while matching the surrounding identity. */
.daily-brief { font-family: var(--fc-font-body); color: var(--fc-ink); border-color: #CDDCEC; border-radius: 16px; box-shadow: 0 20px 50px #173B6414; }
.brief-top { padding: 20px 22px; background: #174B91; }
.brief-demo { color: #E6F1FF; border-color: #93B8E8; }
.brief-toolbar,.brief-bottom,.brief-metrics > div,.brief-bridge { background: var(--fc-ground); border-color: var(--fc-line); }
.brief-metrics { background: var(--fc-line); border-color: var(--fc-line); border-radius: var(--fc-radius-sm); }
.brief-metrics > div:nth-child(1) { background: #EDF4FF; }
.brief-metrics > div:nth-child(2) { background: #ECF7F3; }
.brief-metrics > div:nth-child(3) { background: #FAF0F5; }
.brief-metrics strong { color: #174B91; }
.brief-metrics > div:nth-child(2) strong { color: #0F685E; }
.brief-metrics > div:nth-child(3) strong { color: #99345D; }
.brief-tabs [aria-selected=true] { color: var(--fc-ink); border-color: var(--fc-line); box-shadow: 0 2px 5px #0F1B2D0A; }
.brief-tabs button:hover,.brief-expand:hover,.brief-avatar { background: var(--mint); }
.brief-scenarios [aria-pressed=true] { background: #174B91; border-color: #174B91; }
.brief-letter h3 { max-width: 460px; }
.brief-progress { background: var(--fc-line); }
.brief-progress span { background: var(--fc-sky); }
.brief-insight { background: #F9F0DB; border-left-color: var(--fc-accounting); }
.vantage-hero-art,.vantage-model-head,.vantage-cycle .vantage-cycle-core { background: var(--fc-ink); color: var(--fc-ground); }
.vantage-orbit-core { background: var(--fc-vantage-on-dark); color: var(--fc-ink); }
.vantage-model,.vantage-metrics > div,.vantage-action-grid a { border-color: var(--fc-line); }
.vantage-presets,.vantage-ai-note,.vantage-teaser,.vantage-cycle > div { background: #F9EAF2; color: var(--fc-ink); }
.vantage-presets [aria-pressed=true] { background: var(--fc-vantage); border-color: var(--fc-vantage); color: white; }
.vantage-drivers { background: var(--fc-ground); }
.vantage-depth article > span { color: var(--fc-vantage); }
.bc-plan:nth-child(2),.bc-plan:nth-child(3),.bc-choice { background: var(--fc-ground); }
.bc-content .bc-action { box-shadow: none; }

/* Technical schematics reinforce the product story without inventing metrics. */
.brand-diagram { --diagram-accent: var(--brand-module,#2463D6); margin: 12px 0 24px; }
.brand-diagram svg { display: block; width: 100%; height: auto; max-height: 220px; overflow: visible; }
.brand-diagram text { font: 500 12px var(--fc-font-body); fill: #43536A; letter-spacing: .02em; }
.brand-diagram[data-brand-graphic="vantage"] text { font-size: 10px; }
.diagram-panel { fill: #FFFFFF; stroke: #D1DCE7; stroke-width: 1.2; }
.diagram-accent-panel { fill: var(--brand-module-soft,#EDF4FF); stroke: var(--diagram-accent); stroke-opacity: .6; stroke-width: 1.2; }
.diagram-rule,.diagram-grid { stroke: #DCE4EC; stroke-width: 1; }
.diagram-grid { stroke-dasharray: 2 4; }
.diagram-muted { stroke: #B1BFCE; stroke-width: 2.5; stroke-linecap: round; }
.diagram-connection,.diagram-accent { stroke: var(--diagram-accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.diagram-dashed { stroke: var(--diagram-accent); stroke-width: 1; stroke-dasharray: 3 5; opacity: .55; }
.diagram-axis { stroke: #9DAEC0; stroke-width: 1.2; }
.diagram-area { fill: var(--diagram-accent); opacity: .07; }
.diagram-series { stroke: var(--diagram-accent); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.diagram-series.secondary { stroke: #2463D6; }
.diagram-series.downside { stroke: #C58D3D; stroke-dasharray: 5 4; }
.diagram-bar { fill: var(--diagram-accent); fill-opacity: .45; }
#outcomes .brand-diagram { margin: -4px -7px 22px; }
#outcomes .brand-diagram svg { max-height: 164px; }
#outcomes .bot-role h3 { margin-top: 14px; }

.finance-route { grid-column: 1/-1; display: flex; align-items: center; gap: 17px; padding: 26px 0 0; border-top: 1px solid #D6E1EC; }
.finance-route-label { flex: 0 0 150px; color: var(--fc-slate); font-size: 12px; line-height: 1.5; }
.finance-route a { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; white-space: nowrap; }
.route-number { color: var(--fc-apar); font: 500 12px var(--fc-font-body); border: 1px solid #A9CBCB; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 5px; flex-shrink: 0; }
.finance-route a:nth-of-type(2) .route-number { color: var(--fc-accounting-text); border-color: #DCC6A0; }
.finance-route a:nth-of-type(3) .route-number { color: var(--fc-vantage); border-color: #DDB1C5; }
.finance-route a:nth-of-type(4) .route-number { color: var(--fc-advisory); border-color: #E7BCA4; }
.route-connector { height: 1px; min-width: 14px; flex: 1; background: #BCCCDC; position: relative; }
.route-connector:after { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-top: 1px solid #8DA4BC; border-right: 1px solid #8DA4BC; transform: rotate(45deg); }

@media(prefers-reduced-motion:no-preference) {
  body.fc-branded .button,.family-tile,.bc-choice { transition: border-color 180ms ease,box-shadow 180ms ease,background-color 180ms ease; }
  .family-tile:hover { border-color: var(--brand-module,#AABBD0); box-shadow: 0 8px 26px #1838580D; }
  .button > span,.text-link > span,.bc-link > span { transition: transform 180ms ease; }
  .button:hover > span,.text-link:hover > span,.bc-link:hover > span { transform: translate(2px,-2px); }
}

@media(max-width:1050px) {
  header.nav .wrap { gap: 16px; }
  header.nav .logo img { height: 32px; }
  .hero:has(.daily-brief) .hero-grid { gap: 28px; }
  .finance-route { flex-wrap: wrap; gap: 10px; }
  .finance-route-label { flex-basis: 100%; }
}
@media(max-width:800px) {
  header.nav { padding: 16px 0; }
  header.nav .logo img,.site-header .brand img { height: 30px; }
  header.nav .nav-links { background: var(--fc-white); }
  .hero:has(.daily-brief) .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero,.hero:has(.daily-brief) { padding: 44px 0 48px; }
  .hero:has(.daily-brief) h1,.hero h1 { font-size: clamp(42px,8vw,60px); }
  .hero-copy > .lead { font-size: 18px; }
  .section,.close-section { padding: 64px 0; }
  .family-tile { padding: 26px; }
  .family-grid .family-tile img { height: 52px; }
  .brand-module-lockup { height: 48px; margin-bottom: 24px; }
  .family-tile[data-brand-module="vantage"] { grid-template-columns: 1fr; gap: 12px; }
  .finance-route { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
  .finance-route-label { grid-column: 1/-1; }
  .finance-route a { white-space: normal; font-size: 12px; }
  .route-connector { display: none; }
}
@media(max-width:480px) {
  body.fc-branded .btn { max-width: 100%; white-space: normal; text-align: center; }
  .btn .arw { flex-shrink: 0; }
  .hero:has(.daily-brief) h1,.hero h1 { font-size: 43px; line-height: 1.14; }
  body.fc-branded .hero-copy > .lead { font-size: 18px; line-height: 1.65; }
  body.fc-branded .family-tile { padding: 24px; }
  body.fc-branded .family-tile h3 { font-size: 25px; }
  .brand-diagram svg { max-height: 180px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  body.fc-branded .button,.family-tile,.bc-choice,.button > span,.text-link > span,.bc-link > span { transition: none; }
}
