/* theme-roles.css: each palette drawn in its demo's ROLES, not only its hues (the owner, 2026-11-29: "AI Support Agent" promises
   that demo's look - an ink main button, a lime and a lilac glow, a marker bar). Linked only beside a palette's sheet
   (css/themes/<name>.css), which holds the palette's recipe as --tr-* values, light and dark (PrimeCommerce.Home.Design/
   theme-recipes.json, written by palettes.mjs): a visitor on the blue fetches neither. Our own blue, Harbour, Teal, Green, Rose,
   Graphite, A and the AI Agency's own are left out: their roles are the AI Agency demo's, which our pages copy already, so nothing here may move them;
   "framo-default" has no demo. Colours only, unlayered so it stands over the template's layers; never a layout rule. */
html[data-theme]:not([data-theme="blue"], [data-theme="harbour"], [data-theme="teal"], [data-theme="green"], [data-theme="rose"], [data-theme="graphite"], [data-theme="agency"], [data-theme="ai-agency-1"], [data-theme="framo-default"]) {
    /* the palette's own label colour, kept before a stage below takes another */
    --tr-on-primary: var(--tr-on);
    /* the label on the main colour, black or white; the quieter words, held to 4.5 on the page, the band and the surface */
    --color-on-primary: var(--tr-on);
    --color-text-muted: var(--tr-muted);
    --color-text-soft: var(--tr-soft);
    /* links and the readable main colour, held to 4.5 on the palette's page and soft band */
    --color-primary-ink: var(--tr-ink);

    /* The roles of pc-roles.css: the filled gradient is the palette's stage; what is on (a switch, a box) its main colour, as the demos
       draw it; emphasis and highlight its second and third hue (--tr-second, --tr-third: many demos' third colour is a tint too pale
       to be seen as a tick, a meter or a disc, then it is the attention colour, else the main one). */
    --role-grad: var(--tr-stage);
    --role-grad-from: var(--tr-stage-fill);
    --role-grad-via: var(--tr-stage-fill);
    --role-grad-to: var(--tr-stage-to);
    --role-control: var(--color-primary);
    --role-control-on: var(--color-on-primary);
    --role-emphasis: var(--tr-second);
    --role-emphasis-ink: var(--tr-second-ink);
    --role-highlight: var(--tr-third);
    --role-highlight-ink: var(--tr-third-ink);
    --role-focus: var(--tr-ink);
    --role-glow-cool: transparent;
    --role-glow-warm: transparent;

    /* The page: its ground, and the demo's hero glows behind the first screen (the hero's own sections are see-through). */
    body {
        background-color: var(--tr-page);
        background-image: var(--tr-glow);
        background-repeat: no-repeat;
        background-size: 100% 1080px;
    }
    /* A palette that is dark in its light scheme too (Gym, AI Studio, Photographer ...): the header's words and the logo follow. */
    .site-header { --color-dark: var(--tr-nav); --nav-style-bg: var(--tr-nav-bg); --nav-style-color: var(--tr-nav-on); }
    .site-header .brand-logo { content: var(--tr-logo); }
    .site-header .nav-link.active { background: var(--tr-nav-bg); color: var(--tr-nav-on); }
    a.skip { color: var(--tr-page); }
    main .badge.b-color-dark-soft { color: var(--tr-nav); }
    .custom-soft.bg-soft { background-color: var(--tr-band); }
    .custom-stage-wrap--from-soft { background: linear-gradient(var(--tr-band) 50%, transparent); }
    .custom-stage-wrap--to-soft { background: linear-gradient(transparent, var(--tr-band) 50%); }

    /* The headings' second tone, a step darker in light: the template's share read 2.7 to 2.99 in a third of the palettes (dark has its own). */
    &[data-demo="ai-agency-1"]:not([data-scheme="dark"]), &[data-demo="ai-agency-1"]:not([data-scheme="dark"]) :is(.bg-soft, .custom-soft) {
        --custom-mute: color-mix(in srgb, var(--color-text) 57%, var(--pc-ground));
        --custom-mute-sm: color-mix(in srgb, var(--color-text) 72%, var(--pc-ground));
    }

    /* The main button, on the page's light (or dark) ground; on a dark or filled stage, and in the AI Support Agent demo's own
       sections (.pc-cb, .pc-ai), the palette's main colour stays, as the demos keep it there. */
    .btn-primary:not(:is(.custom-stage, .custom-glass, .dark-section, .pc-cb, .pc-ai, .pc-st, .pc-au, .pricing-card--filled, .compare-table-featured, .pricing-table-featured, .site-footer) *) {
        --btn-tint: var(--tr-btn);
        background: var(--tr-btn);
        border-color: var(--tr-btn);
        color: var(--tr-btn-on);
        &:hover {
            background: color-mix(in oklab, var(--tr-btn) 86%, var(--tr-btn-on));
            border-color: color-mix(in oklab, var(--tr-btn) 86%, var(--tr-btn-on));
        }
    }

    .btn-white:not(:hover) { color: var(--tr-white-on); }

    /* The second button. */
    .btn-outline-dark:not(:is(.custom-stage, .custom-glass, .dark-section, .pc-cb, .pc-ai, .pc-st, .pc-au, .pricing-card--filled, .site-footer) *):not(:hover) {
        background: var(--tr-btn2);
        color: var(--tr-btn2-on);
        border-color: var(--tr-btn2-line);
    }

    /* The hero's highlighted word: a marker bar, a pill, a gradient or a colour (--tr-mark paints its ground, --tr-mark-size and
       --tr-mark-clip say how; --tr-mark-ink its letters, transparent for a gradient). */
    .custom-hero-word .word-rotator-word {
        background: var(--tr-mark);
        background-size: var(--tr-mark-size);
        background-position: 0 var(--tr-mark-y);
        background-repeat: no-repeat;
        background-clip: var(--tr-mark-clip);
        -webkit-text-fill-color: var(--tr-mark-ink);
        border-radius: var(--tr-mark-round);
    }
    .custom-hero-word .word-rotator-word.is-active::after { background-color: var(--tr-mark-caret); }
    /* A Bangla conjunct reaches past its line, where a clipped gradient cuts it: the gradient's first hue instead. */
    &[lang="bn"] .custom-hero-word .word-rotator-word { -webkit-text-fill-color: var(--tr-mark-ink-bn); background-image: var(--tr-mark-bn); }

    /* The step bars' words in the text colour: the demo's main colour on a tint of another hue read under 2 in many palettes. */
    .custom-ruler-item:not(.custom-ruler-item--solid) { --bar-ink: var(--color-text); }
    &[data-scheme="dark"] .custom-ruler-item:not(.custom-ruler-item--solid) { --bar-ink: #fff; }

    /* Tags and the hero's chip. */
    .tag:not(.tag--light, .custom-build-tint *, .custom-note-cover > *) { background: var(--tr-tag); color: var(--tr-tag-on); box-shadow: inset 0 0 0 1px var(--tr-tag-line); }
    .custom-hero-chip.chip--light { background: var(--tr-chip); color: var(--tr-chip-on); border-color: var(--tr-chip-line); }
    .custom-hero-chip.chip--light b { color: var(--tr-chip-soft); }

    /* The filled stages (the strong platform cards, the featured plan, the figures band): the demo's two gradient hues, or its solid
       band where it draws no gradient. Their label colour follows. */
    :is(.custom-stage--grad, .custom-stage--featured, .pc-plan--raised) {
        --custom-grad: var(--tr-stage);
        --stage-fill: var(--tr-stage-fill);
        --stage-on: var(--tr-stage-on);
        --color-on-primary: var(--tr-stage-on);
    }
    :is(.custom-sv-node--core, .custom-tr-orb, .custom-ab-cover-bar--solid) { --custom-grad: var(--tr-stage); --color-on-primary: var(--tr-stage-on); }
    :is(.custom-stage--grad, .custom-stage--featured, .pc-plan--raised) .btn-primary { color: var(--tr-on-primary); }

    /* The featured plan and the numbers band: the stage as it is. The AI Agency's lights over it are its own two hues. */
    &[data-demo="ai-agency-1"] :is(.custom-stage--featured, .custom-start-offers .pricing-card--filled) { --featured-ground: var(--tr-stage); background: var(--tr-stage); }
    &[data-demo="ai-agency-1"] .custom-proof-stage::before { background: none; }

    /* The order flow and the closing stage: their ground and their veil (the tab bar's too) in the stage's own colour. Mixed round the colour wheel with the second
       hue, as our blue's is, a lime and a lilac gave teal. */
    :is(.custom-agent-stage, .custom-cta-stage) { --stage-fill: var(--tr-stage-fill); background-color: var(--tr-stage-fill); --custom-ink: var(--tr-stage-fill); --stage-shade: var(--tr-stage-fill); }

    /* The AI Agency sections' second and third hue, wherever they name them. On main, never on html: many demos draw their page and soft
       band in their third colour (Yoga Studio, AI Studio), and those are worked out on html. */
    &[data-demo="ai-agency-1"] main {
        --color-tertiary-base: var(--tr-second);
        --color-tertiary: var(--tr-second);
        --color-tertiary-ink: var(--tr-second-ink);
        --color-on-tertiary: var(--tr-second-on);
        --color-accent-base: var(--tr-third);
        --color-accent: var(--tr-third);
        --color-accent-ink: var(--tr-third-ink);
        --color-on-accent: var(--tr-third-on);
        .custom-faq .accordion-trigger.is-open .accordion-icon-circle { color: var(--tr-second-on); }
        .pricing-card:not(.pricing-card--filled) .pricing-feature:not(.pricing-feature--muted) .pricing-feature-icon { color: var(--tr-second-ink); }
        .form-toggle > input:checked ~ .form-toggle-track .form-toggle-thumb { background: var(--color-on-primary); }
    }
    /* The platform cards' grounds and their live parts' hue, the step bars: one hue each, never a mix round the wheel. */
    &[data-page="home"] .stack-cards--deck > .pc-tint-5 { --tint: var(--tr-t5); --tint-ink: var(--tr-t5-ink); --tint-on: var(--tr-t5-on); }
    &[data-page="home"] .stack-cards--deck > .pc-tint-7 { --tint: var(--tr-t7); --tint-ink: var(--tr-t7-ink); --tint-on: var(--tr-t7-on); }
    &[data-scheme="dark"] .stack-cards--deck > .custom-build-tint {   /* the dark sheet's own mix, but in oklab: coral into a green-black gave green */
        --stack-card-bg: color-mix(in oklab, color(from var(--tint) xyz-d65 calc(x * min(1, 0.34 / y)) calc(y * min(1, 0.34 / y)) calc(z * min(1, 0.34 / y))) 15%, var(--color-surface));
    }
    /* the soft bars' grounds in oklab: round the wheel a lime into a warm white is pink */
    &[data-page="home"] .custom-ruler-item:is(:nth-child(1), :nth-child(2), :nth-child(5)) { --bar-bg: color-mix(in oklab, var(--stage-fill) var(--tone), var(--color-bg)); }
    &[data-page="home"] .custom-ruler-item:nth-child(2) { --stage-fill: color-mix(in oklab, var(--color-primary) 70%, var(--tr-second)); }
    &[data-page="home"] .custom-ruler-item:nth-child(4) { --stage-fill: oklch(from color-mix(in oklab, var(--tr-second) 55%, var(--tr-third)) min(l, 0.5) c h); }
    @media (width >= 1024px) { &[data-page="home"] .custom-ruler-item:is(:nth-child(3), :nth-child(4)) .custom-ruler-name { color: #fff; } }
    main .custom-note .tag { color: var(--color-text); }

    /* A tick on the featured column's white disc: the main colour, readable on white. */
    .plan-compare-card--featured .pricing-table-check { color: var(--tr-white-on); }

    /* ---- The module pages' families (M3), on their own roles: only where a palette's colour could not be read ---- */
    &:is([data-demo="ai-chatbot-1"], [data-demo="analytics-1"]), :is(.pc-cb, .pc-ai, .pc-st, .pc-au) { --custom-meta: var(--tr-muted); }
    .custom-section--ink :is(.custom-panel, .custom-insights-dash, .custom-chat) { --custom-meta: var(--tr-muted); }
    :is(.pc-cb, .pc-ai) { --color-primary-ink: var(--tr-scope-ink); --color-on-primary: var(--tr-scope-on); }
    --custom-on-ink-soft: rgb(255 255 255 / 0.82);
    &[data-demo="analytics-1"] :is(.custom-section--ink, .custom-ui--ink, .custom-security-card, .custom-cta-card) { --custom-meta: rgb(244 246 251 / 0.82); --custom-up: oklch(from var(--color-accent-base) max(l, 0.8) min(c, 0.16) h); }
    --pc-grad-safe: var(--tr-stage);
    &[data-demo="ai-chatbot-1"] { --custom-accent-ink: var(--color-primary-ink); }
    &[data-demo="analytics-1"] { --custom-up: var(--tr-third-ink); }
    &[data-demo="analytics-1"] main .custom-flags-list li .custom-flags-on { color: var(--color-text); }
    &[data-demo="analytics-1"] main .custom-analyst-conf { color: oklch(from var(--color-accent-base) max(l, 0.76) min(c, 0.17) h); }
    &[data-demo="analytics-1"] main .btn-primary { --pc-btn-on: oklch(from var(--custom-pop, var(--color-primary)) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
    /* an eyebrow or a figure on an ink ground: the main colour lifted to read there */
    :is(.custom-band, .custom-section--ink, .custom-ui--ink, .custom-dark, .dark-section, [class*="[--custom-meta:var(--custom-on-ink"]) :is(.eyebrow, dt b, dd b, li b.text-primary) { color: oklch(from var(--color-primary-base) max(l, 0.84) min(c, 0.13) h); }
    &[data-demo="ai-chatbot-1"] .pricing-card--filled :is(.pricing-desc, .pricing-period) { color: rgb(255 255 255 / 0.92); }
    .btn-white .btn-chip { color: oklch(from var(--color-primary) clamp(0, (0.6 - l) * 1000, 1) 0 0); }
    .custom-sd-rules li.is-hit .custom-vig-chip { color: oklch(from var(--vig-accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
    /* the small icons on an ink or a filled card: the attention colour lifted, as the eyebrows are */
    :is(.pricing-card--filled, .custom-section--ink) :is(.pricing-feature-icon, i)[class*="text-(--color-accent-base)"] { color: oklch(from var(--color-accent-base) max(l, 0.82) min(c, 0.15) h); }
    /* an avatar's disc is pale on every palette, as the blue's is: its initial is near black */
    .custom-approval-avatar { background-image: linear-gradient(160deg, color-mix(in oklch, var(--aurora-2) 30%, #fff), color-mix(in oklch, var(--aurora-3) 30%, #fff)); }
    &[data-demo="analytics-1"] main .custom-ui--ink .custom-analyst-conf { color: rgb(255 255 255 / 0.92); }
    &:not([data-scheme="dark"]) .custom-section--tint .eyebrow { color: oklch(from var(--color-primary-ink) min(l, 0.44) c h); }
    [class~="bg-(--custom-accent-tint)"] .eyebrow { color: var(--color-text); }
    &[data-scheme="dark"] .custom-handoff-joined > span { color: var(--color-text); }
    .custom-ruler-note { background: var(--tr-page); }
    &[data-scheme="dark"] :is(.pc-cb, .pc-ai) { --color-text-soft: var(--tr-soft); }
    --risk-main: var(--tr-hue-1);
    --risk-second: var(--tr-hue-2);
    --risk-third: var(--tr-hue-3);
    &[data-scheme="dark"] { --risk-light: var(--color-surface); }
    .custom-cases-plus { background: rgb(8 12 26 / 0.5); }
    &[data-demo="logistics-1"] .custom-step-icon { color: var(--tr-stage-on); }
    main [class~="bg-(--custom-accent)"][class~="text-(--custom-ink)"] { color: oklch(from var(--custom-accent) clamp(0, (0.66 - l) * 1000, 1) 0 0); }
    .chatdemo__beat:not(.is-active) .chatdemo__icon { color: var(--color-primary-ink); }
    &[data-demo="ai-chatbot-1"] .custom-tiles > :nth-child(3n+2) .custom-tile-icon { color: oklch(from var(--role-control) clamp(0, (0.66 - l) * 1000, 1) 0 0); }
    &[data-demo="ai-chatbot-1"] .custom-tiles > :nth-child(3n) .custom-tile-icon { color: oklch(from var(--role-highlight) clamp(0, (0.66 - l) * 1000, 1) 0 0); }
    &[data-demo="agency-2"] .mini-ui-flow-step > .ph { --mini-ui-on-accent: oklch(from var(--mini-ui-accent) clamp(0, (0.66 - l) * 1000, 1) 0 0); }
    .custom-data-mark { color: oklch(from var(--color-primary) clamp(0, (0.6 - l) * 1000, 1) 0 0); }
    :is(.custom-problem-chat, .custom-problem-post) :is(span, small):not(.custom-vote, .custom-status) { color: var(--tr-muted); }
    .custom-problem-post .custom-status { color: var(--color-text); }
    .custom-sv-node--core :is(small, .custom-index) { color: var(--tr-stage-on); }
    &[data-scheme="dark"][data-page="home"] .custom-ruler-item:not(.custom-ruler-item--solid) { --tone: 16%; }
    &[data-demo="agency-2"] main :is(.custom-pm-deliver-num, [class~="text-(--custom-accent)"]) { color: var(--color-primary-ink); }
    &[data-demo="agency-2"] main :is(.dark-section, .custom-dark, .custom-pm-deliver-lead) :is(.custom-pm-deliver-num, [class~="text-(--custom-accent)"]) { color: oklch(from var(--color-primary-base) max(l, 0.76) min(c, 0.17) h); }
    .custom-story-mark { color: var(--color-on-primary); }

    /* The aurora tiles and fields: the same two hues. */
    .aurora-field, .custom-tile {
        --aurora-1: var(--tr-hue-1);
        --aurora-2: var(--tr-hue-2);
        --aurora-3: var(--tr-hue-3);
    }
    .custom-tile, .custom-tile .aurora-field { --aurora-0: var(--tr-hue-1); }
    /* An aurora behind words (the order flow, the closing stage): the same hues laid into the stage's dark, so white words read. */
    .custom-stage:not(.custom-tile) > .aurora-field, .custom-stage:not(.custom-tile) .aurora-field:not(.custom-tile *) {
        --aurora-0: var(--tr-stage-fill);
        --aurora-1: color-mix(in oklab, var(--tr-hue-1) 26%, var(--tr-stage-fill));
        --aurora-2: color-mix(in oklab, var(--tr-hue-2) 40%, var(--tr-stage-fill));
        --aurora-3: color-mix(in oklab, var(--tr-hue-3) 40%, var(--tr-stage-fill));
        --aurora-4: color-mix(in oklab, var(--tr-hue-2) 62%, var(--tr-stage-fill));
    }
}

/* A and the AI Agency's own palette: the demo's filled gradient is its violet, lighter and deeper (our roles would run it into the sky),
   its controls, ticks and open question the violet, its strong cards violet, its typed word violet into the sky. */
html:is([data-theme="agency"], [data-theme="ai-agency-1"]) {
    --role-grad-from: oklch(from var(--color-primary) calc(l + 0.04) c calc(h + 7));
    --role-grad-via: var(--color-primary);
    --role-grad-to: oklch(from var(--color-primary) calc(l - 0.045) c calc(h - 9));
    --role-emphasis: var(--color-primary);
    --role-emphasis-ink: var(--color-primary-ink);
    --role-control: var(--color-primary);
    --role-focus: var(--color-primary-ink);
    &[data-page="home"] .stack-cards--deck > .pc-tint-2 { --stage-fill: var(--color-primary); --custom-grad: var(--role-grad); }
    &[data-demo="ai-agency-1"]:not([lang="bn"]) .custom-hero-word .word-rotator-word { background-image: linear-gradient(100deg, var(--color-primary-ink) 12%, var(--color-tertiary) 88%); }
    &:not([data-scheme="dark"]) main { --color-tertiary-ink: oklch(from var(--color-tertiary-base) min(l, 0.5) min(c, 0.18) h); }
    &[data-demo="ai-agency-1"] .custom-proof-stage::before {
        background:
            radial-gradient(55% 90% at 0% 0%, oklch(from var(--color-primary) calc(l + 0.1) c calc(h + 16) / 0.6), transparent 72%),
            radial-gradient(60% 110% at 100% 100%, oklch(from var(--color-primary) calc(l - 0.14) calc(c - 0.02) calc(h - 14) / 0.75), transparent 72%);
    }
}

/* The AI Agency's own: its muted text (2.6 on white) its grey, as A's. The second hue as a word in four palettes without a recipe (a
   note's tag, a card's link): 3.3 to 4.1 before. */
html[data-theme="ai-agency-1"] { --color-text-muted: var(--color-quaternary-base); }
html:is([data-theme="teal"], [data-theme="green"], [data-theme="rose"], [data-theme="framo-default"]):not([data-scheme="dark"]) { --color-tertiary-ink: oklch(from var(--color-tertiary-base) min(l, 0.46) c h); --role-emphasis-ink: var(--color-tertiary-ink); }
/* "Framo default" has no demo and no recipe: its quieter words, 2.4 to 4.2 in light, a step darker. */
html[data-theme="framo-default"]:not([data-scheme="dark"]) { --color-text-muted: var(--color-text-soft); --custom-meta: var(--color-text-soft); }
html[data-theme="framo-default"]:not([data-scheme="dark"])[data-demo="ai-agency-1"], html[data-theme="framo-default"]:not([data-scheme="dark"])[data-demo="ai-agency-1"] :is(.bg-soft, .custom-soft) {
    --custom-mute: color-mix(in srgb, var(--color-text) 57%, var(--pc-ground));
    --custom-mute-sm: color-mix(in srgb, var(--color-text) 68%, var(--pc-ground));
}
/* Graphite, Green and Teal fill their stages with their own light middle tones: white words read 2.8 to 4.4 on them, so a step darker */
html:is([data-theme="graphite"], [data-theme="green"], [data-theme="teal"]) {
    --role-grad-from: oklch(from var(--color-primary) min(l, 0.42) c h);
    --role-grad-via: oklch(from var(--color-tertiary-base) min(l, 0.4) min(c, 0.2) h);
    --role-grad-to: oklch(from color-mix(in oklch, var(--color-tertiary-base) 58%, var(--color-accent-base)) min(l, 0.42) min(c, 0.2) h);
    &[data-page="home"] .stack-cards--deck > .pc-tint-2 { --stage-fill: oklch(from var(--color-tertiary-base) min(l, 0.38) min(c, 0.2) h); }
}
html[data-theme="framo-default"] { --custom-on-ink-soft: rgb(255 255 255 / 0.9); }
html[data-theme="framo-default"][data-demo="analytics-1"] :is(.custom-section--ink, .custom-ui--ink, .custom-security-card, .custom-cta-card) { --custom-meta: rgb(244 246 251 / 0.86); }
/* The eight palettes drawn with the dark sheets: their own sheet names the dark colour their ground, the words on it need the dark sheets' light one */
html:is([data-theme="ai-studio-1"], [data-theme="architecture-firm-1"], [data-theme="cloud-hosting-1"], [data-theme="cybersecurity-1"], [data-theme="gym-1"], [data-theme="meditation-app-1"], [data-theme="photographer-1"], [data-theme="tech-blog-1"]) { --color-dark: var(--color-dark-ink); --color-on-dark: var(--color-bg); }
/* The glass cards on a home stage lighten it: a thin dark veil under them keeps their small words readable (the blue's own stages are darker) */
html:not([data-theme="blue"]) .stack-cards--deck .custom-stage .custom-vig { background-color: rgb(8 12 26 / 0.24); }
/* The three light ink grounds of Framo's own palette, and the small words on them */
html[data-theme="framo-default"] :is(.custom-band, .custom-section--ink, .custom-ui--ink, .custom-dark, .dark-section) :is(.eyebrow, dt b, dd b, li b, .custom-flags-on) { color: oklch(from var(--color-accent-base) max(l, 0.84) min(c, 0.1) h); }
html[data-theme="framo-default"] :is(main .custom-ui--ink .custom-analyst-conf, .custom-growth-chart-chip, .custom-band .custom-small, .custom-node-meta, .custom-pm-deliver-lead .custom-pm-deliver-num, .mini-ui-flow:not(.ui-card-visual) > .mini-ui-flow-foot) { color: rgb(255 255 255 / 0.92); }
html[data-theme="framo-default"] :is(.custom-section--ink .ph, .mini-ui-chip--ink .ph) { color: #fff; }
html[data-theme="framo-default"] .custom-section--ink i[class*="text-"] { color: #fff; }
html[data-theme="framo-default"]:not([data-scheme="dark"]) .stack-card:not(.custom-stage) .pc-build-tick { color: oklch(from var(--color-accent-base) min(l, 0.5) c h); }
html[data-theme="framo-default"] :is(.custom-section--ink, .pricing-card--filled) .pricing-feature-icon { color: #fff; }
html[data-theme="framo-default"] main .custom-flags-list li .custom-flags-on { color: oklch(from var(--color-accent-base) max(l, 0.72) min(c, 0.15) h); }
html:not([data-theme="blue"]) .pc-au .custom-node-meta { color: rgb(255 255 255 / 0.84); }
html[data-theme="green"][data-scheme="dark"] main .custom-ruler-item .custom-ruler-bar .custom-ruler-name { color: #fff; }
html[data-theme="framo-default"] .custom-cta-panel [class~="text-(--custom-accent)"] { color: #fff; }
html[data-theme="framo-default"]:not([data-scheme="dark"]) .custom-disc--soft i { color: oklch(from currentColor min(l, 0.6) c h); }
html[data-theme="framo-default"][data-demo="ai-chatbot-1"] .custom-tiles > :nth-child(3n) .custom-tile-icon { color: #fff; }
html:not([data-theme="blue"])[data-scheme="dark"] .chatdemo__beat:not(.is-active) .chatdemo__icon { color: var(--color-primary-ink); }
html:not([data-theme="blue"])[data-demo="agency-2"] main .btn-primary .btn-chip { background: oklch(from currentColor calc(1 - l) 0 0 / 0.18); }
html[data-theme="framo-default"] main [class~="bg-(--custom-accent)"][class~="text-(--custom-ink)"] { color: #fff; }
/* On a phone the closed case tiles are one line, their label on the stage's bright end */
@media (max-width: 1023.98px) {
    html:not([data-theme="blue"])[data-page="home"] .custom-cases .sliding-box:not(.is-active) .sliding-box-overlay::after { background: oklch(from var(--custom-scrim) l c h / 0.62); opacity: 1; }
    html:not([data-theme="blue"])[data-page="home"] .sliding-boxes.custom-cases .custom-cases-sector { color: #fff; }
}
