/* ============================================================
   Treasury — light-first brand prototype (homepage only)
   Scoped under html[data-brand="treasury"] so it overrides
   styles.css without touching any other page. Remove the
   <link> + data-brand attribute to fully revert.
   Palette: statement-paper light / ink-green dark.
   Emerald = reclaimed · Amber = waste · Brick = over budget.
   ============================================================ */

/* ---- Tokens: LIGHT (default, light-first) ---- */
html[data-brand="treasury"] {
  --bg: #f4f3ee;
  --bg-soft: #faf9f4;
  --surface: #ffffff;
  --surface-2: #f1efe7;
  --border: #e2e1d7;
  --text: #12211b;
  /* Descriptions must stay readable on the DARKER alternating bands, not just on
     paper. At #5b6b62 muted text scored only 4.27:1 on --band-deep (#e4e0d4) —
     below AA — which is why descriptions looked washed out in those sections.
     #516057 clears 4.5:1 on every light surface (worst case 5.03:1 on band-deep,
     5.47 on band, 6.64 on white) while staying clearly lighter than body ink.
     Dark theme already passed everywhere (5.74–7.39) and is left alone. */
  --text-muted: #516057;
  --accent: #0c7a52;
  --accent-2: #17936a;
  --accent-strong: #0a6142;
  --warn: #b4671a;
  --danger: #b23a2e;
  --on-accent: #ffffff;
  --hair-strong: #d3d2c6;
  --band: #ece9df;
  --band-deep: #e4e0d4;
  --ink-shadow: 24, 40, 32;
  --shadow: 0 22px 48px -26px rgba(18, 33, 27, 0.28);
  --elev: 0 1px 0 rgba(255,255,255,.7) inset, 0 2px 5px -2px rgba(var(--ink-shadow), .14), 0 20px 44px -26px rgba(var(--ink-shadow), .34);
  --elev-hi: 0 1px 0 rgba(255,255,255,.75) inset, 0 4px 10px -3px rgba(var(--ink-shadow), .18), 0 30px 60px -28px rgba(var(--ink-shadow), .44);
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

/* ---- Tokens: DARK (via toggle) ---- */
html[data-brand="treasury"][data-theme="dark"] {
  --bg: #0c1411;
  --bg-soft: #101a15;
  --surface: #17231d;
  --surface-2: #1d2b23;
  --border: #263528;
  --text: #e9efe9;
  --text-muted: #93a69b;
  --accent: #34c88e;
  --accent-2: #5fd6a5;
  --accent-strong: #57d6a3;
  --warn: #e39a3c;
  --danger: #e86a57;
  --on-accent: #06251a;
  --hair-strong: #34483b;
  --band: #101c16;
  --band-deep: #0a120e;
  --ink-shadow: 0, 0, 0;
  --shadow: 0 26px 56px -26px rgba(0, 0, 0, 0.7);
  --elev: 0 1px 0 rgba(255,255,255,.04) inset, 0 2px 6px -2px rgba(0,0,0,.5), 0 22px 48px -26px rgba(0,0,0,.7);
  --elev-hi: 0 1px 0 rgba(255,255,255,.06) inset, 0 4px 12px -3px rgba(0,0,0,.55), 0 32px 64px -28px rgba(0,0,0,.8);
  color-scheme: dark;
}

/* ---- Page ground: clean statement paper, no AI aurora wash ---- */
html[data-brand="treasury"] body {
  background:
    radial-gradient(1100px 560px at 88% -12%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
    var(--bg);
}

/* ---- Header: light hairline glass ---- */
html[data-brand="treasury"] .site-header {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

/* ---- Eyebrow: mono ledger label in emerald ---- */
html[data-brand="treasury"] .eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
}

/* ---- Kill the aurora glow (AI atmosphere) on light; keep a faint one on dark ---- */
html[data-brand="treasury"] .hero-aurora { display: none; }
html[data-brand="treasury"][data-theme="dark"] .hero-aurora {
  display: block;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 66%);
  filter: blur(26px);
}

/* ---- Headlines: solid ink; flatten every gradient-clipped word to solid emerald ---- */
html[data-brand="treasury"] h1,
html[data-brand="treasury"] h2 { letter-spacing: -0.03em; }
html[data-brand="treasury"] .grad,
html[data-brand="treasury"] .finops-hero .grad,
html[data-brand="treasury"] .suite-hero .grad {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}
html[data-brand="treasury"] .ai-lead-title {
  background: none;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
}

/* ---- Primary buttons: solid emerald, no blue→mint gradient ---- */
html[data-brand="treasury"] .btn-primary,
html[data-brand="treasury"] .hero .hero-cta .btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--accent) 80%, transparent);
}
html[data-brand="treasury"] .btn-primary:hover,
html[data-brand="treasury"] .hero .hero-cta .btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--accent) 85%, transparent);
}
html[data-brand="treasury"] .hero-cta .btn-ghost {
  background: color-mix(in srgb, var(--text) 3%, transparent);
}
html[data-brand="treasury"] .hero-cta .btn-ghost .play { color: var(--accent); }

/* ---- Hero banner: paper tint, not blue/mint gradient ---- */
html[data-brand="treasury"] .hero-banner {
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border));
}
html[data-brand="treasury"] .hero-banner strong { color: var(--accent); }
html[data-brand="treasury"] .hero-microline a { color: var(--accent); }

/* ---- Living product card: white statement surface with faint ledger rules ---- */
html[data-brand="treasury"] .hcard {
  position: relative;
  background: var(--surface);
  background-image: repeating-linear-gradient(color-mix(in srgb, var(--text) 4%, transparent) 0 1px, transparent 1px 26px);
  border: 1px solid var(--border);
  box-shadow: var(--elev-hi);
}
html[data-brand="treasury"] .hcard::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  border-radius: 16px 16px 0 0; background: var(--accent); opacity: 0.9;
}
html[data-brand="treasury"] .hcard-title { color: var(--text); }
html[data-brand="treasury"] .hcard-tag {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
html[data-brand="treasury"] .hcard-stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
html[data-brand="treasury"] .hcard-stat span { color: var(--text-muted); }
html[data-brand="treasury"] .hcard-stat strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
html[data-brand="treasury"] .hcard-stat strong.warn { color: var(--warn); }
html[data-brand="treasury"] .hcard-stat strong.good { color: var(--accent); }
html[data-brand="treasury"] .hcard-alert {
  color: var(--warn);
  background: color-mix(in srgb, var(--warn) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--warn) 26%, transparent);
  border-left: 3px solid var(--warn);
}
html[data-brand="treasury"] .hcard-alert .ic { color: var(--warn); }

/* ---- Ledger figures: tabular mono anywhere numbers stack ---- */
html[data-brand="treasury"] .stat strong,
html[data-brand="treasury"] .stat-num,
html[data-brand="treasury"] .price,
html[data-brand="treasury"] .price-amt,
html[data-brand="treasury"] .demo-stat strong,
html[data-brand="treasury"] .roi-num,
html[data-brand="treasury"] .mat-score {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---- Section grounds that hardcoded dark navy tints ---- */
html[data-brand="treasury"] .finops-teaser {
  background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--accent) 7%, var(--bg)) 0%, transparent 60%);
}
html[data-brand="treasury"] .spend-banner,
html[data-brand="treasury"] .signup {
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

/* ---- Cards that hardcoded #2a3656 borders → hairline token ---- */
html[data-brand="treasury"] .crew-card,
html[data-brand="treasury"] .rem-step,
html[data-brand="treasury"] .po-row,
html[data-brand="treasury"] .contrast-card {
  border-color: var(--border);
}
html[data-brand="treasury"] .contrast-card--crew {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--border));
}
/* These headings kept their dark-theme colours, which are unreadable on paper:
   the crew mint (#8fe6d4) scores 1.31:1 and the gas salmon (#ff9f7a) 1.80:1.
   Map both onto the brand's semantic tokens so they follow light AND dark. */
html[data-brand="treasury"] .contrast-card--crew h3 { color: var(--accent); }
html[data-brand="treasury"] .contrast-card--gas {
  background: color-mix(in srgb, var(--warn) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--warn) 22%, var(--border));
}
html[data-brand="treasury"] .contrast-card--gas h3 { color: var(--warn); }
/* Error note: #ff8a8a is 2.04:1 on paper — an error message you can't read. */
html[data-brand="treasury"] .signup-note--error { color: var(--danger); }

/* ---- Featured / badges / bands → emerald semantic ---- */
html[data-brand="treasury"] .product-card.featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--accent) 40%, transparent);
}
html[data-brand="treasury"] .product-card.featured .product-badge,
html[data-brand="treasury"] .mat-band,
html[data-brand="treasury"] .compare-badge {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

/* ---- Reel: a dark "screen" inside the light page — keep it dark, recolor accents ---- */
html[data-brand="treasury"] .cfk-reel .stage {
  background: #0c1411;
  border: 1px solid var(--hair-strong);
}
html[data-brand="treasury"] .cfk-reel .k { color: #4fd3a0; }
html[data-brand="treasury"] .cfk-reel .tg { color: #4fd3a0; }
html[data-brand="treasury"] .cfk-reel .big { color: #4fd3a0; }

/* ---- Theme toggle (injected on the homepage) ---- */
html[data-brand="treasury"] .cfk-theme-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--hair-strong); border-radius: 999px;
  padding: 7px 13px; cursor: pointer; white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}
html[data-brand="treasury"] .cfk-theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
html[data-brand="treasury"] .cfk-theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Product badges / pretrust: hardcoded mint & blue → emerald ---- */
html[data-brand="treasury"] .product-badge {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent) 26%, transparent);
}
html[data-brand="treasury"] .product-pretrust {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
}
html[data-brand="treasury"] .product-pretrust span[aria-hidden] { color: var(--accent); }
html[data-brand="treasury"] .product-pretrust a {
  color: var(--accent);
  border-bottom-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

/* ---- "Live" pulse dot: emerald ring, not mint ---- */
html[data-brand="treasury"] .ai-pulse {
  background: var(--accent);
  animation-name: cfkPulse;
}
@keyframes cfkPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---- Hero card SVG chart: recolor the blue trend line/band/point to emerald ---- */
html[data-brand="treasury"] .hcard-svg polyline[fill="none"] { stroke: var(--accent); }
html[data-brand="treasury"] .hcard-svg polyline[stroke="none"] { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
html[data-brand="treasury"] .hcard-svg circle[fill="#5b8cff"] { fill: var(--accent); }

/* ---- AI section: retint the whole blue/mint block to emerald ---- */
html[data-brand="treasury"] .ai-section {
  background: radial-gradient(900px 420px at 78% 6%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%), var(--bg);
}
html[data-brand="treasury"] .ai-aura {
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 68%);
}
html[data-brand="treasury"] .ai-pillar {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
}
html[data-brand="treasury"] .ai-pillar--alt {
  background: color-mix(in srgb, var(--accent-2) 6%, var(--surface));
}
html[data-brand="treasury"] .ai-pillar-tag,
html[data-brand="treasury"] .ai-pillar-tag--alt,
html[data-brand="treasury"] .ai-badge-soon {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}
html[data-brand="treasury"] .ai-card--soon {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
html[data-brand="treasury"] .ai-card:hover {
  box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--accent) 45%, transparent);
}

/* ---- Promo reel: emerald CTA, progress, ring ---- */
html[data-brand="treasury"] .cfk-reel .rcta { background: var(--accent); color: var(--on-accent); }
html[data-brand="treasury"] .cfk-reel .pfill { background: var(--accent); }
html[data-brand="treasury"] .cfk-reel .ringfg { stroke: var(--accent); }

/* ---- Demo report widgets: emerald fills, not blue→mint ---- */
html[data-brand="treasury"] .roi-card.roi-headline {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}
html[data-brand="treasury"] .demo-bar-fill,
html[data-brand="treasury"] .roi-ramp-fill,
html[data-brand="treasury"] .fc-seg-btn.is-active {
  background: var(--accent);
  color: var(--on-accent);
}

/* ---- Demo priority pills & plan tag: readable semantic text ---- */
html[data-brand="treasury"] .demo-pill.high { color: var(--danger); }
html[data-brand="treasury"] .demo-pill.med { color: var(--warn); }
html[data-brand="treasury"] .rem-tag.plan {
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 30%, transparent);
  background: color-mix(in srgb, var(--warn) 8%, transparent);
}

/* ---- Remediation "fixed" tag: emerald ---- */
html[data-brand="treasury"] .rem-tag.good {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

/* ---- Compare / pricing featured column ---- */
/* The "most popular" plan card kept its old dark-navy gradient
   (linear-gradient(165deg,#15243f,#101a33) in styles.css) while its heading, price
   and sub-text resolve from the theme tokens — so on paper it rendered dark ink on
   dark navy: the $15 price scored 1.08:1 and was effectively invisible.
   Re-tone it to an emerald-tinted surface so it still reads as "featured" via the
   accent border, and the text tokens work. Driven by tokens, so it is a light tint
   on paper and an elevated dark tint in the dark theme. */
html[data-brand="treasury"] .compare-card.featured {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  background-image: none;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--accent) 40%, transparent);
}
html[data-brand="treasury"] .compare-card.featured .compare-badge,
html[data-brand="treasury"] .compare-badge {
  background: var(--accent);
  background-image: none;
  color: var(--on-accent);
  border-color: var(--accent);
}

/* ---- Rescue light text that was tuned for the old dark ground ---- */
html[data-brand="treasury"] .crew-role { color: var(--accent); }
html[data-brand="treasury"] .roi { color: var(--accent); }

/* ---- Cloud chips: keep brand hue but readable on paper (light) ---- */
html[data-brand="treasury"] .cloud-chip--azure {
  color: #2f5bd0;
  background: color-mix(in srgb, #2f5bd0 9%, transparent);
  border-color: color-mix(in srgb, #2f5bd0 30%, transparent);
}
html[data-brand="treasury"] .cloud-chip--aws {
  color: #9a5a12;
  background: color-mix(in srgb, #c8781e 11%, transparent);
  border-color: color-mix(in srgb, #c8781e 32%, transparent);
}
/* GCP chip lives on /agent, which joined the brand later. Its page-level colour is
   a light mint (#7fd3a0) that vanishes on paper — darken it for light, keep the
   mint for dark. */
html[data-brand="treasury"] .cloud-chip--gcp {
  color: #1e7a41;
  background: color-mix(in srgb, #34a853 10%, transparent);
  border-color: color-mix(in srgb, #34a853 30%, transparent);
}
html[data-brand="treasury"][data-theme="dark"] .cloud-chip--azure {
  color: #7aa2ff;
  background: rgba(91, 140, 255, 0.1);
  border-color: rgba(91, 140, 255, 0.3);
}
html[data-brand="treasury"][data-theme="dark"] .cloud-chip--aws {
  color: #f0ab5e;
  background: rgba(255, 153, 0, 0.1);
  border-color: rgba(255, 153, 0, 0.3);
}
html[data-brand="treasury"][data-theme="dark"] .cloud-chip--gcp {
  color: #7fd3a0;
  background: rgba(52, 168, 83, 0.1);
  border-color: rgba(52, 168, 83, 0.3);
}

/* ============================================================
   Richness layer — alternating statement bands + layered depth
   ============================================================ */

/* Alternating section bands (hero base → band → base → emerald band → ...) */
html[data-brand="treasury"] .trust-strip,
html[data-brand="treasury"] .products,
html[data-brand="treasury"] .why,
html[data-brand="treasury"] .bundle,
html[data-brand="treasury"] #faq {
  background: var(--band);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
html[data-brand="treasury"] #suite {
  background: color-mix(in srgb, var(--accent) 5%, var(--band));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
html[data-brand="treasury"] .remediate {
  background: var(--band-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Layered card depth + lift on hover (keeps each card's own transform) */
html[data-brand="treasury"] .product-card,
html[data-brand="treasury"] .suite-card,
html[data-brand="treasury"] .crew-card,
html[data-brand="treasury"] .rem-step,
html[data-brand="treasury"] .ai-card,
html[data-brand="treasury"] .contrast-card,
html[data-brand="treasury"] .po-row {
  box-shadow: var(--elev);
}
html[data-brand="treasury"] .product-card:hover,
html[data-brand="treasury"] .suite-card:hover,
html[data-brand="treasury"] .crew-card:hover,
html[data-brand="treasury"] .rem-step:hover,
html[data-brand="treasury"] .ai-card:hover {
  box-shadow: var(--elev-hi);
}

/* Emerald keyline on the "highlight" cards */
html[data-brand="treasury"] .crew-card--chief,
html[data-brand="treasury"] .product-card.featured {
  border-top: 3px solid var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  html[data-brand="treasury"] .cfk-theme-toggle { transition: none; }
}

/* ---- Mobile nav dropdown: same dark-on-dark bug as the featured plan card ----
   styles.css opens the mobile menu on `background:#0e1430` (old dark theme), but
   .nav a resolves from --text-muted, so on paper the menu was dark ink on dark
   navy — 2.72:1, an unreadable mobile menu on all 41 pages. Re-tone to the theme
   surface so the link tokens work in both themes.
   MUST stay inside the same 760px query as the rule it overrides — on desktop the
   nav is transparent inside the header, so an unscoped background would paint a
   white slab across the header bar. */
@media (max-width: 760px) {
  html[data-brand="treasury"] .nav {
    background: var(--surface);
    border-top-color: var(--border);
    border-bottom-color: var(--border);
    box-shadow: var(--elev);
  }
  html[data-brand="treasury"] .nav a:not(.btn):hover {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    color: var(--text);
  }
}

/* ---- Article code blocks: readable already (#cdd8f5 on #0d1330) but a navy slab
   on statement paper is the same jarring "dark tab" look. Re-tone to an ink-toned
   surface that belongs in the palette; dark theme keeps a deep block. ---- */
html[data-brand="treasury"] .article pre {
  background: var(--surface-2);
  border-color: var(--border);
}
html[data-brand="treasury"] .article pre code { color: var(--text); }

/* ---- /agent hero product mock ----
   The mock depicts the product dashboard, and that dashboard is now light-first
   Treasury — so a navy mock misrepresents what the customer actually gets. Its
   innards already follow the tokens (KPI tiles --surface-2, chat bubbles --surface,
   labels --text-muted); only the shell was hardcoded navy. Re-tone the three
   hardcoded parts so the whole mock resolves from the theme in both modes. */
html[data-brand="treasury"] .agentmock {
  background: var(--bg-soft);
  background-image: repeating-linear-gradient(
    color-mix(in srgb, var(--text) 3%, transparent) 0 1px, transparent 1px 28px);
  border-color: var(--border);
  box-shadow: var(--elev-hi);
}
html[data-brand="treasury"] .agentmock-bar {
  background: color-mix(in srgb, var(--text) 3%, transparent);
  border-bottom-color: var(--border);
}
html[data-brand="treasury"] .agentmock-bar i {
  background: color-mix(in srgb, var(--text) 20%, transparent);
}

/* ============================================================
   Rendered-audit fixes (2026-07-21) — surfaces the token sweep
   missed because they hardcode colours from the old navy theme.
   ============================================================ */

/* --- CHECKOUT: the whole page kept the old dark ground. Most important fix:
   this is where people pay. Re-tone the topbar + summary to statement paper. --- */
html[data-brand="treasury"] .checkout-topbar {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom-color: var(--border);
}
html[data-brand="treasury"] .checkout-summary,
html[data-brand="treasury"] .checkout-main { background: var(--surface); }
html[data-brand="treasury"] .mor-left,
html[data-brand="treasury"] .checkout-topbar .brand-name { color: var(--text); }
html[data-brand="treasury"] .checkout-topbar .brand-name .accent { color: var(--accent); }

/* --- "Ask Jeff" floating toggle: label inherited dark ink on a light pill --- */
html[data-brand="treasury"] .chat-toggle {
  background: var(--accent);
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent);
}
html[data-brand="treasury"] .chat-toggle-label,
html[data-brand="treasury"] .chat-toggle-icon { color: var(--on-accent); }

/* --- AWS insight-kicker: hardcoded pale orange #f0ab5e (1.96:1 on white).
   Use the readable AWS ink (#9a5a12 = 4.92:1 on paper), NOT --aws-orange
   (#ff9900, which fails). Dark theme keeps a light amber. --- */
html[data-brand="treasury"] .insight-kicker.aws {
  color: #9a5a12;
  background: color-mix(in srgb, #c8781e 12%, transparent);
}
html[data-brand="treasury"][data-theme="dark"] .insight-kicker.aws {
  color: #e39a3c;
  background: rgba(227, 154, 60, 0.12);
}

/* --- Green text-accents on paper: --accent-2 (#17936a) is only 3.49:1 as TEXT
   on paper — fine as a fill, fails as small labels. Point the flagged text uses
   at --accent (#0c7a52 = 4.82:1). Dark theme's --accent-2 already passes. --- */
html[data-brand="treasury"] .compare-tag,
html[data-brand="treasury"] .nav-ai,
html[data-brand="treasury"] .nav-finops,
html[data-brand="treasury"] .insight-kicker,
html[data-brand="treasury"] .amk .v.g,
html[data-brand="treasury"] .amsg.b b { color: var(--accent); }
html[data-brand="treasury"][data-theme="dark"] .compare-tag,
html[data-brand="treasury"][data-theme="dark"] .nav-ai,
html[data-brand="treasury"][data-theme="dark"] .nav-finops,
html[data-brand="treasury"][data-theme="dark"] .insight-kicker,
html[data-brand="treasury"][data-theme="dark"] .amk .v.g,
html[data-brand="treasury"][data-theme="dark"] .amsg.b b { color: var(--accent-2); }

/* --- Strikethrough old-price: too faint on the dark bands; nudge to muted so it
   reads as a struck price, not a ghost. --- */
html[data-brand="treasury"] .strike { color: var(--text-muted); opacity: 0.85; }

/* --- Checkout Merchant-of-Record footer kept a dark navy panel --- */
html[data-brand="treasury"] .checkout-mor-footer {
  background: var(--surface-2);
  border-top-color: var(--border);
}
html[data-brand="treasury"] .checkout-mor-footer .mor-left,
html[data-brand="treasury"] .checkout-mor-footer .mor-right { color: var(--text-muted); }

/* --- Eyebrow: --accent on its own 9% tint = 4.41:1 (just under AA). Darken to
   --accent-strong, which clears it on paper, tint and bands alike. --- */
html[data-brand="treasury"] .eyebrow,
html[data-brand="treasury"] .cfk-seclabel.is-service .l { color: var(--accent-strong); }

/* --- Billing toggle: the ACTIVE pill used dark #0b1020 on emerald (3.54:1).
   White-on-accent reads properly. --- */
html[data-brand="treasury"] #bm:checked ~ .billtoggle label[for="bm"],
html[data-brand="treasury"] #ba:checked ~ .billtoggle label[for="ba"] {
  background: var(--accent);
  color: var(--on-accent);
}
