/* Curious Kaizer brand palette. Loaded last on every page.
   Blue #2563eb and the logo's pink #f78fc1 are the two brand colours. Text and dark surfaces are
   black #111111: no navy anywhere (owner, 2026-11-20: "dont use navy blue"); filled buttons and
   panels inside cards use brand blue. Contrast rules this file keeps:
     white text on blue (5.2:1) or on deep pink #c2477f (4.7:1);
     black text on logo pink (9.6:1), on soft pink #ffb3d8 (11.5:1) and on white (18.9:1).
   So pink buttons and pink cards always carry black text, never white. */

:root {
    --ck-blue: #2563eb; --ck-blue-deep: #1d4ed8; --ck-blue-soft: #dbeafe; --ck-blue-tint: #eff6ff;
    --ck-pink: #f78fc1; --ck-pink-soft: #ffb3d8; --ck-pink-tint: #fff1f7; --ck-pink-deep: #c2477f; --ck-pink-text: #a3346a;
    --ck-ink: #111111;
    --ck-pink-card: #f78fc1; /* flat: no pink gradients anywhere (2026-11-20) */
    --ck-blue-card: #2563eb;
}
::selection { background: #ffd1e7; color: #111111; }

/* ---------- Main buttons: logo pink with black text, blue on hover ---------- */
html body:not(#_b) .site-header .nav-cta-btn,
html body:not(#_b) a.cta-dark,
html body:not(#_b) .cta-button.cta-dark,
html body:not(#_b) .reserve-spot-btn,
html body:not(#_b) .pricing-btn-dark,
html body:not(#_b) .matrix-action-btn.dark,
html body:not(#_b) .ck-plan:not(.is-store) .ck-plan-btn,
html body:not(#_b) .ck-guide-panel a.ck-guide-cta,
html body:not(#_b) .ck-aside a[href="/contact"],
html body:not(#_b) .ck-nav .ck-links a[href="/contact"] {
    background: var(--ck-pink) !important; background-image: none !important; color: var(--ck-ink) !important;
    border-color: transparent !important; box-shadow: 0 10px 24px -14px rgba(222, 114, 166, .9) !important;
}
html body:not(#_b) .site-header .nav-cta-btn *,
html body:not(#_b) a.cta-dark *,
html body:not(#_b) .reserve-spot-btn *,
html body:not(#_b) .pricing-btn-dark *,
html body:not(#_b) .ck-plan:not(.is-store) .ck-plan-btn *,
html body:not(#_b) .ck-guide-panel a.ck-guide-cta * { color: inherit !important; }
html body:not(#_b) .site-header .nav-cta-btn:hover,
html body:not(#_b) a.cta-dark:hover,
html body:not(#_b) .cta-button.cta-dark:hover,
html body:not(#_b) .reserve-spot-btn:hover,
html body:not(#_b) .pricing-btn-dark:hover,
html body:not(#_b) .matrix-action-btn.dark:hover,
html body:not(#_b) .ck-plan:not(.is-store) .ck-plan-btn:hover,
html body:not(#_b) .ck-guide-panel a.ck-guide-cta:hover,
html body:not(#_b) .ck-aside a[href="/contact"]:hover,
html body:not(#_b) .ck-nav .ck-links a[href="/contact"]:hover {
    background: var(--ck-blue) !important; color: #fff !important; box-shadow: 0 10px 24px -14px rgba(37, 99, 235, .9) !important;
}

/* ---------- Homepage platforms bento ----------
   Every stage card is blue (numbers, outlines, hovers); pink is no longer used for small marks
   (owner, 2026-11-20: "pink touch not looking nice"). One card, "Automate", is the bento's single
   pink field, the way the design handbook keeps the supporting hue for mood areas, not details. */
html body:not(#_b) .cks-card.cks-s7 { background: var(--ck-pink-card); border-color: transparent; box-shadow: 0 30px 60px -40px rgba(222, 114, 166, .8); }
html body:not(#_b) .cks-card.cks-s7::before { display: none; }
html body:not(#_b) .cks-card.cks-s7 :is(.cks-title, .cks-name, .cks-n, .cks-n i, .cks-covers, .cks-use, .cks-use a) { color: var(--ck-ink) !important; }
html body:not(#_b) .cks-card.cks-s7 .cks-ghost { -webkit-text-stroke-color: rgba(255, 255, 255, .75); }
html body:not(#_b) .cks-card.cks-s7 .cks-logo { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .8); }
html body:not(#_b) .cks-card.cks-s7 .cks-card-head { border-color: rgba(17, 17, 17, .2); }

/* ---------- Calls to action on every page (2026-11-20) ----------
   Main action: logo pink with black text (about 9.6:1), blue with white text on hover.
   Second action: white with a blue outline and blue text, filled blue on hover.
   Flat colours only; this replaces the blue gradients, the teal article button and the
   dark About buttons. The homepage hero button keeps its own blue. */
html body:not(#_b) :is(.ck-button.primary, .cta-button.primary, a.ck-btn:not(.is-quiet), .btn.btn-p, .article-cta-btn, .ab-btn-dark, .comparison-cta-btn, .apc-cta-btn) {
    background: var(--ck-pink) !important; background-image: none !important; color: var(--ck-ink) !important;
    border-color: transparent !important; text-shadow: none !important;
    box-shadow: 0 10px 24px -14px rgba(222, 114, 166, .9) !important;
}
html body:not(#_b) :is(.ck-button.primary, .cta-button.primary, a.ck-btn:not(.is-quiet), .btn.btn-p, .article-cta-btn, .ab-btn-dark, .comparison-cta-btn, .apc-cta-btn) * { color: inherit !important; }
html body:not(#_b) :is(.ck-button.primary, .cta-button.primary, a.ck-btn:not(.is-quiet), .btn.btn-p, .article-cta-btn, .ab-btn-dark, .comparison-cta-btn, .apc-cta-btn):is(:hover, :focus-visible) {
    background: var(--ck-blue) !important; color: #fff !important; box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .9) !important;
}
html body:not(#_b) :is(.ck-button:not(.primary), .cta-button.secondary, .cta-button.outline, .ck-btn.is-quiet, .btn.btn-g, .ab-btn-light) {
    background: #fff !important; background-image: none !important; color: var(--ck-blue) !important;
    border: 1.5px solid var(--ck-blue) !important; text-shadow: none !important; box-shadow: none !important;
}
html body:not(#_b) :is(.ck-button:not(.primary), .cta-button.secondary, .cta-button.outline, .ck-btn.is-quiet, .btn.btn-g, .ab-btn-light) * { color: inherit !important; }
html body:not(#_b) :is(.ck-button:not(.primary), .cta-button.secondary, .cta-button.outline, .ck-btn.is-quiet, .btn.btn-g, .ab-btn-light):is(:hover, :focus-visible) {
    background: var(--ck-blue) !important; color: #fff !important; border-color: var(--ck-blue) !important;
}

/* ---------- Wordmark beside the logo (2026-11-20) ----------
   "Curious Kaizer" next to the mark wears the mark's own flat pink: main header, service-page
   nav, phone menu sheet and footer. Text that is part of a logo has no WCAG contrast minimum.
   Two :not(#id) guards outrank the black !important rules in nav.css, footer.css and site-motion.css. */
html body:not(#_ft):not(#_b) :is(.site-header .logo-text, .ck-nav .ck-brand, .ck-sheet-brand span, .footer-brand-logo .brand-name, .ckf-brand .brand-name) {
    color: var(--ck-pink) !important;
}
