/* GCCReady — skin override for prebuilt tools.
   Loaded after style.css to remap brand tokens to GCCReady navy + gold. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Remap CR tokens → GCCReady tokens */
  --cr-primary:      #F59E0B;        /* electric blue → gold */
  --cr-primary-dark: #B45309;
  --cr-navy:         #0D1B2A;
  --cr-dark:         #0D1B2A;
  --cr-text:         #0D1B2A;
  --cr-text-muted:   #64748B;
  --cr-border:       #E2E8F0;
  --cr-border-soft:  #F1F5F9;
  --cr-bg:           #F8FAFC;
  --cr-white:        #FFFFFF;
  --cr-success:      #059669;
  --cr-warning:      #F59E0B;
  --cr-danger:       #DC2626;
  --cr-font-heading: 'DM Sans', 'Inter', system-ui, sans-serif;
  --cr-font-body:    'Inter', system-ui, sans-serif;
}

html, body { font-family: var(--cr-font-body); }
h1, h2, h3, h4, h5 { font-family: var(--cr-font-heading); letter-spacing: -0.018em; }

/* Override the corpready hero gradient → GCCReady navy hero */
.cr-hero, .roi-hero, [class*="-hero"]:not(.gr-hero) {
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3551 60%, #0D1B2A 100%) !important;
}

/* Buttons — gold primary */
.cr-btn-primary, .cr-btn-cta,
button[type="submit"],
.cr-form-submit, .calc-submit-btn,
button[class*="calculate"], button[class*="submit"], button[class*="check"], button[class*="get-"] {
  background: linear-gradient(135deg, #FBBF24, #F59E0B) !important;
  color: #0D1B2A !important;
  border: none !important;
  box-shadow: 0 14px 28px -8px rgba(245, 158, 11, 0.35) !important;
}
.cr-btn-primary:hover, .cr-btn-cta:hover,
button[type="submit"]:hover { filter: brightness(0.98); }

/* Result/output blocks — soften the colors to match brand */
.result-card, .output-card, [class*="result"]:not(.gr-result), [class*="output"]:not(.gr-output) {
  border-radius: 18px !important;
}
[class*="-stat"], .cr-stat, .result-stat {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02)) !important;
  border: 1px solid rgba(245,158,11,0.18) !important;
}

/* Links inside tools → gold accent */
a:not(.cr-btn):not(.gr-brand):not(.gr-topbar-cta) { color: #B45309; }
a:not(.cr-btn):not(.gr-brand):not(.gr-topbar-cta):hover { color: #F59E0B; }

.cr-btn-white {
  background: #fff !important;
  color: #0D1B2A !important;
}

/* Logo box → GCCReady navy with gold dot */
.cr-logo-icon {
  background: #0D1B2A !important;
  color: #fff !important;
  position: relative;
}
.cr-logo-icon::after {
  content: '';
  position: absolute;
  top: -3px; right: -3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #F59E0B;
  border: 2px solid #fff;
}

/* GCCReady top bar — used by rebrand script */
.gr-topbar {
  background: #0D1B2A;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.gr-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.gr-topbar a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font: 600 13px/1 'Inter', sans-serif;
}
.gr-topbar a.gr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 17px/1 'DM Sans', sans-serif;
  color: #fff;
  letter-spacing: -0.02em;
}
.gr-topbar a.gr-brand .gr-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: #fff;
  color: #0D1B2A;
  display: grid; place-items: center;
  font: 800 16px/1 'DM Sans', sans-serif;
  position: relative;
}
.gr-topbar a.gr-brand .gr-mark::after {
  content: '';
  position: absolute;
  top: -3px; right: -3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #F59E0B;
  border: 2px solid #0D1B2A;
}
.gr-topbar a.gr-brand .gr-accent { color: #F59E0B; }
.gr-topbar-links { display: flex; gap: 22px; align-items: center; }
.gr-topbar-links a:hover { color: #fff; }
.gr-topbar-cta {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #0D1B2A !important;
  padding: 9px 16px;
  border-radius: 11px;
  font: 700 13px/1 'Inter', sans-serif;
}

/* Footer simplified */
.gr-toolfoot {
  margin-top: 40px;
  padding: 28px 0;
  background: #0D1B2A;
  color: rgba(255,255,255,.6);
  text-align: center;
  font: 500 13px/1.5 'Inter', sans-serif;
}
.gr-toolfoot a { color: #FBBF24; text-decoration: none; }
.gr-toolfoot a:hover { text-decoration: underline; }
