/* ProAxis Preview 6 — brand contrast + warm-ivory light palette.
 * Preserve the dark globe hero and avoid universal link-hover color inheritance
 * on gold primary CTAs. Marketing pages only; portal/backend unchanged. */

/* Cool slate had overtaken the brand's original ivory warmth.
   Warm neutral surfaces, restrained antique gold and readable navy copy. */
[data-theme="light"] {
  --bg: #f8f4ec;
  --bg-tint: #f2eadf;
  --surface: #fffdf8;
  --surface-2: #f6eee2;
  --surface-3: #ebe0d0;
  --line: #ded3c3;
  --line-strong: #b7a78f;
  --text: #18283b;
  --text-soft: #334456;
  --muted: #566575;
  --faint: #627181;
  --gold: #956526;
  --gold-soft: #22364b;
  --gold-deep: #6f4a1d;
  --btn-default-bg: #fffdf8;
  --btn-primary-text: #fffaf1;
  --dropdown-bg: #fffdf8;
  --header-bg: rgba(255,253,248,.95);
  --header-scrolled-bg: rgba(255,253,248,.98);
  --mobile-nav-bg: #fffdf8;
  --body-bg-gradient:
    radial-gradient(1050px 520px at 85% -15%,rgba(192,149,82,.11),transparent 65%),
    radial-gradient(950px 550px at -10% 20%,rgba(209,188,150,.13),transparent 60%),
    var(--bg);
}

/* Gold CTA: dark readable type in every interactive state.
   Anchor's global a:hover must never replace the button-label contrast. */
body.sol-landing a.sol-primary-cta:is(:link,:visited,:hover,:focus-visible,:active) {
  color:#121e2d;
  background:#c5a06a;
  border:1px solid #c5a06a;
  box-shadow:0 5px 16px rgba(5,12,22,.13);
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.sol-landing a.sol-primary-cta:is(:hover,:focus-visible) {
  color:#121e2d;
  background:#e5bd81;
  border-color:#e5bd81;
  box-shadow:0 8px 20px rgba(5,12,22,.19);
  transform:translateY(-1px);
}
body.sol-landing a.sol-primary-cta:active {
  color:#121e2d;
  background:#bc935a;
  border-color:#bc935a;
  transform:none;
}

/* Dark-theme primary buttons remain antique-gold on dark-navy. */
[data-theme="dark"] body.site-root .btn-primary,
body.site-root[data-theme="dark"] .btn-primary {
  color:#101b2a;
}
[data-theme="dark"] body.site-root .btn-primary:is(:hover,:focus-visible,:active),
body.site-root[data-theme="dark"] .btn-primary:is(:hover,:focus-visible,:active) {
  color:#101b2a;
}

/* On ivory, use a genuinely dark navy CTA, never cream text on medium gold. */
[data-theme="light"] body.site-root .btn-primary,
body.site-root[data-theme="light"] .btn-primary {
  background:linear-gradient(115deg,#20394f,#29485f);
  color:#fffaf1;
  border-color:#20394f;
  box-shadow:0 7px 19px rgba(29,48,67,.18);
}
[data-theme="light"] body.site-root .btn-primary:is(:hover,:focus-visible),
body.site-root[data-theme="light"] .btn-primary:is(:hover,:focus-visible) {
  background:linear-gradient(115deg,#294961,#345771);
  color:#fffaf1;
  border-color:#294961;
  box-shadow:0 9px 22px rgba(29,48,67,.25);
}
[data-theme="light"] body.site-root .btn-primary:active,
body.site-root[data-theme="light"] .btn-primary:active {
  background:#1b3146;
  color:#fffaf1;
}

/* Individual gold CTAs still work on the warmer light surfaces. */
[data-theme="light"] body.sol-landing a.sol-primary-cta:is(:link,:visited,:hover,:focus-visible,:active),
body.sol-landing[data-theme="light"] a.sol-primary-cta:is(:link,:visited,:hover,:focus-visible,:active) {
  color:#fffaf1;
  background:#234057;
  border-color:#234057;
}
[data-theme="light"] body.sol-landing a.sol-primary-cta:is(:hover,:focus-visible),
body.sol-landing[data-theme="light"] a.sol-primary-cta:is(:hover,:focus-visible) {
  color:#fffaf1;
  background:#305570;
  border-color:#305570;
}
[data-theme="light"] body.sol-landing a.sol-primary-cta:active,
body.sol-landing[data-theme="light"] a.sol-primary-cta:active {
  color:#fffaf1;
  background:#192f42;
  border-color:#192f42;
}

/* Outline/quiet CTAs and category jump links also retain legibility. */
body.sol-landing .sol-other-link:is(:hover,:focus-visible),
body.sol-landing .ux-service-action:is(:hover,:focus-visible) {
  color:#f1d1a0;
}
[data-theme="light"] body.sol-landing .sol-other-link:is(:hover,:focus-visible),
[data-theme="light"] body.sol-landing .ux-service-action:is(:hover,:focus-visible),
body.sol-landing[data-theme="light"] .sol-other-link:is(:hover,:focus-visible) {
  color:#70481a;
  background:#f1e4ce;
  border-color:#b99a6c;
}
body.sol-landing .sol-toggle:hover{
  background:rgba(201,161,90,.13);
  color:#f7dfb5;
  border-color:rgba(218,176,113,.7);
}
[data-theme="light"] body.sol-landing .sol-toggle:hover,
body.sol-landing[data-theme="light"] .sol-toggle:hover{
  background:#ede0cd;
  color:#24384d;
  border-color:#bb9c72;
}

/* Light-mode warmth is carried by alternating surfaces, not washed-out type. */
[data-theme="light"] body.site-root .section-tint,
body.site-root[data-theme="light"] .section-tint{
  background:var(--bg-tint);
}
[data-theme="light"] body.site-root .sol-gateway,
body.site-root[data-theme="light"] .sol-gateway{
  background:#f3ebdf;
  color:#172b40;
}
[data-theme="light"] body.site-root .sol-sector,
body.site-root[data-theme="light"] .sol-sector{
  background:#fffdf8;
  border-color:#d9cbb6;
}
[data-theme="light"] body.site-root .sol-gateway-head>p,
body.site-root[data-theme="light"] .sol-gateway-head>p{color:#4b5e70;}
[data-theme="light"] body.site-root .sol-sector-lead,
body.site-root[data-theme="light"] .sol-sector-lead{color:#526273;}
[data-theme="light"] body.site-root .sol-sector-links a,
body.site-root[data-theme="light"] .sol-sector-links a{color:#273b50;border-bottom-color:#e8dccb;}

[data-theme="light"] body.sol-landing,
body.sol-landing[data-theme="light"]{
  color:#203347;
  background:var(--bg);
}
[data-theme="light"] body.sol-landing .sol-top,
body.sol-landing[data-theme="light"] .sol-top {
  background:rgba(255,253,248,.96);
  border-color:#e1d5c5;
}
[data-theme="light"] body.sol-landing .sol-detail-card,
[data-theme="light"] body.sol-landing .sol-service-what,
[data-theme="light"] body.sol-landing .sol-service-aside,
body.sol-landing[data-theme="light"] .sol-detail-card{
  background:#fffdf9;
  border-color:#e0d3c2;
}
[data-theme="light"] body.sol-landing .ux-industry-jump,
[data-theme="light"] body.sol-landing .ux-service-directory a{
  background:#f1e8db;
  border-color:#ddceb9;
}
[data-theme="light"] body.sol-landing .ux-service-directory a,
[data-theme="light"] body.sol-landing .ux-industry-jump a {
  color:#23394e;
}
[data-theme="light"] body.sol-landing .ux-service-directory a:hover,
[data-theme="light"] body.sol-landing .ux-industry-jump a:hover{
  background:#e8d9c2;
  color:#23394e;
}
[data-theme="light"] body.sol-landing .sol-industry-final {
  background:linear-gradient(110deg,#f9f0e2,#efe5d5);
  border-color:#d7bd96;
}
[data-theme="light"] body.sol-landing .sol-scope-notice {background:#f5ebdb;}
[data-theme="light"] body.sol-landing .sol-industry-output-item {border-color:#dbc8ad;}
[data-theme="light"] body.sol-landing .sol-other-link {border-color:#cabbab;}
[data-theme="light"] body.sol-landing .ux-service-group {border-color:#d8cbb8;}
[data-theme="light"] body.sol-landing .ux-service-row {border-color:#e2d8c9;}

/* Keyboard indication remains visible independently of hover. */
body.site-root .btn:focus-visible,
body.site-root .sol-primary-cta:focus-visible{
  outline:3px solid #c89a4d;
  outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
 body.sol-landing a.sol-primary-cta:is(:hover,:focus-visible){transform:none;}
}
