/* ─────────────────────────────────────────────────────────────────
   /utelogy/ — CybrIQ × Utelogy partnership site overlay.
   Inherits from ../assets/styles.css. Palette: Utelogy-leaning
   partnership navy with sky-blue operational accent and a reserved
   gold accent only for the sum-greater-than-parts callouts.
   ───────────────────────────────────────────────────────────────── */

:root {
  --ute-navy:        #0B2545;
  --ute-navy-deep:   #061B36;
  --ute-navy-soft:   #E7EDF6;
  --ute-blue:        #1E5AA8;     /* Utelogy-leaning operational blue */
  --ute-blue-deep:   #163F76;
  --ute-sky:         #5E9EE5;     /* AV-monitoring sky accent */
  --ute-sky-soft:    #DCE9F7;
  --ute-gold:        #D4A435;     /* reserved for "sum greater" callouts */
  --ute-gold-soft:   #FBF1D4;
  --ute-slate:       #3A4858;
  --ute-rule:        #D5DCE7;
  --ute-bg-soft:     #F2F6FB;
}

/* Header — Utelogy-leaning navy with a subtle gradient seam. */
.ute-eyebrow-bar {
  background: linear-gradient(90deg, var(--ute-navy) 0%, var(--ute-blue-deep) 100%);
  color: white;
  padding: 9px 0;
  font-size: 13px;
}
.ute-eyebrow-bar a { color: rgba(255,255,255,0.92); text-decoration: underline; }
.ute-eyebrow-bar a:hover { color: white; }

.ute-breadcrumb {
  padding: 10px 0;
  font-size: 12.5px;
  color: var(--ute-slate);
  background: var(--ute-bg-soft);
  border-bottom: 1px solid var(--ute-rule);
}
.ute-breadcrumb a { color: var(--ute-blue-deep); text-decoration: none; }
.ute-breadcrumb a:hover { text-decoration: underline; }
.ute-breadcrumb-sep { color: var(--ute-rule); margin: 0 8px; }

/* Hero — soft gradient backdrop matching Utelogy's solid-block style. */
.ute-hero {
  padding: 64px 0 56px;
  background: linear-gradient(160deg, var(--ute-navy) 0%, var(--ute-blue-deep) 70%, var(--ute-blue) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.ute-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -50%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(94, 158, 229, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.ute-hero .wrap { position: relative; z-index: 1; }
.ute-hero h1 {
  font-size: 38px;
  line-height: 1.15;
  color: white;
  margin: 14px 0 16px;
  max-width: 820px;
  letter-spacing: -0.01em;
}
.ute-hero .lede {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  max-width: 740px;
}
.ute-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ute-sky);
}
.ute-hero .ute-eyebrow { color: var(--ute-sky); }

/* Partnership lockup pattern — both brand wordmarks side by side. */
.ute-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95);
}
.ute-lockup-x {
  font-size: 18px;
  color: var(--ute-gold);
  font-weight: 400;
}
.ute-lockup img { height: 22px; width: auto; }

/* Trust strip mirrors the gov-trust-strip but in Utelogy palette. */
.ute-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--ute-rule);
  border: 1px solid var(--ute-rule);
  margin: -22px auto 0;
  position: relative;
  z-index: 2;
  max-width: 1180px;
  border-radius: 4px;
  overflow: hidden;
}
.ute-trust-item {
  background: white;
  padding: 16px 20px;
}
.ute-trust-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ute-blue-deep);
  margin-bottom: 4px;
}
.ute-trust-value {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ute-slate);
}

/* Typography for body content within utelogy pages. */
.ute-body h2.ute-h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ute-navy);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.ute-body h3.ute-h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ute-navy);
  margin: 0 0 8px;
}
.ute-body p {
  color: var(--ute-slate);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.ute-body ul, .ute-body ol {
  color: var(--ute-slate);
  font-size: 15.5px;
  line-height: 1.7;
}

/* Three-column problem / value grid. */
.ute-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.ute-card {
  background: white;
  border: 1px solid var(--ute-rule);
  border-radius: 6px;
  padding: 24px 26px;
  border-top: 3px solid var(--ute-blue);
}
.ute-card.gold-top { border-top-color: var(--ute-gold); }
.ute-card .tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ute-blue-deep);
  background: var(--ute-sky-soft);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.ute-card.gold-top .tag { color: #8E6B11; background: var(--ute-gold-soft); }
.ute-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ute-navy);
}
.ute-card p {
  font-size: 14.5px;
  color: var(--ute-slate);
  line-height: 1.6;
  margin: 0;
}

/* Buttons — Utelogy-style rounded rectangles, solid colors. */
.btn-ute {
  background: var(--ute-blue);
  color: white;
  border: 0;
  padding: 13px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-ute:hover { background: var(--ute-blue-deep); color: white; }
.btn-ute-ghost {
  background: transparent;
  color: var(--ute-blue);
  border: 1px solid var(--ute-blue);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-block;
}
.btn-ute-ghost:hover { background: var(--ute-bg-soft); }
.site-nav a.btn-ute,
.site-nav a.btn-ute:hover { color: white; }

/* Site-nav button stripping for inline links. */
.site-nav .nav-dropdown-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.site-nav .nav-dropdown-toggle::after { content: "\25BE"; font-size: 10px; color: var(--ink-faint); }
.site-nav .nav-dropdown-toggle:hover { color: var(--ute-navy); }
.nav-dropdown-menu,
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu { padding-inline-start: 0; margin: 14px 0 0; }
.nav-dropdown-menu li { margin: 0; }

/* The synergy callout — gold accent reserved for sum-greater moments. */
.ute-synergy {
  background: linear-gradient(120deg, var(--ute-gold-soft) 0%, white 80%);
  border-left: 4px solid var(--ute-gold);
  padding: 22px 26px;
  border-radius: 0 4px 4px 0;
  margin: 28px 0;
}
.ute-synergy .ute-eyebrow { color: #8E6B11; }
.ute-synergy h3 {
  color: var(--ute-navy);
  font-size: 19px;
  margin: 6px 0 10px;
}
.ute-synergy p {
  color: var(--ute-slate);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* Calculator-specific styling. */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.calc-section {
  background: white;
  border: 1px solid var(--ute-rule);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 22px;
  position: relative;
}
.calc-section h3 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ute-blue-deep);
  margin: 0 0 14px;
  padding-right: 32px;
}
.calc-field {
  display: block;
  margin-bottom: 14px;
  position: relative;
}
.calc-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ute-navy);
  margin-bottom: 4px;
  padding-right: 26px;
}
.calc-field input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ute-rule);
  border-radius: 4px;
  font-size: 15px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ute-navy);
  background: white;
}
.calc-field input[type="number"]:focus {
  outline: none;
  border-color: var(--ute-blue);
  box-shadow: 0 0 0 3px var(--ute-sky-soft);
}
.calc-field .unit {
  font-size: 11.5px;
  color: var(--ute-slate);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 6px;
}

/* The ? tooltip pattern (top-right of each field). */
.calc-help {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ute-sky-soft);
  color: var(--ute-blue-deep);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--ute-sky);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  text-decoration: none;
}
.calc-help:hover { background: var(--ute-sky); color: white; }
.calc-help-text {
  display: none;
  position: absolute;
  top: 28px;
  right: 0;
  width: 280px;
  background: var(--ute-navy);
  color: white;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 6px 20px -8px rgba(11, 37, 69, 0.4);
  letter-spacing: 0;
  text-transform: none;
}
.calc-help-text::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 8px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--ute-navy);
}
.calc-help:focus + .calc-help-text,
.calc-help:hover + .calc-help-text,
.calc-help-text:hover { display: block; }

/* Section-level ? (positioned in section heading) */
.calc-section .calc-help {
  position: absolute;
  top: 22px;
  right: 22px;
}

.calc-results {
  background: var(--ute-navy);
  color: white;
  border-radius: 6px;
  padding: 28px 32px;
  margin-top: 22px;
}
.calc-results h3 {
  color: var(--ute-sky);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
}
.calc-result {
  padding-right: 8px;
}
.calc-result .label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  display: block;
}
.calc-result .value {
  font-size: 28px;
  font-weight: 700;
  color: white;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.calc-result .value.gold { color: var(--ute-gold); }
.calc-result .sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* Sum-greater diagrams: simple Venn / fusion layouts. */
.ute-fusion {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin: 26px 0;
}
.ute-fusion-card {
  background: white;
  border: 1px solid var(--ute-rule);
  border-radius: 6px;
  padding: 22px 24px;
}
.ute-fusion-card.utelogy { border-top: 3px solid var(--ute-blue); }
.ute-fusion-card.cybriq { border-top: 3px solid var(--ute-sky); }
.ute-fusion-plus {
  font-size: 28px;
  font-weight: 700;
  color: var(--ute-gold);
}
.ute-fusion-result {
  background: linear-gradient(120deg, var(--ute-navy) 0%, var(--ute-blue-deep) 100%);
  color: white;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 14px 0 0;
  text-align: center;
}
.ute-fusion-result h3 { color: white; margin: 0 0 8px; font-size: 18px; }
.ute-fusion-result p { color: rgba(255,255,255,0.9); margin: 0; font-size: 14.5px; line-height: 1.55; }

/* CTA band. */
.ute-cta-band {
  background: var(--ute-navy);
  color: white;
  padding: 44px 0;
}
.ute-cta-band h2 {
  color: white;
  font-size: 26px;
  margin: 0 0 12px;
}
.ute-cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
}

/* Footer. */
.ute-footer {
  background: var(--ute-navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 28px 0 16px;
}
.ute-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
  margin-bottom: 20px;
}
.ute-footer h4 {
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.ute-footer ul { list-style: none; padding: 0; margin: 0; }
.ute-footer li { padding: 3px 0; }
.ute-footer a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13.5px; }
.ute-footer a:hover { color: white; text-decoration: underline; }
.ute-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12.5px;
  gap: 10px;
}
.ute-footer-bottom a { color: rgba(255,255,255,0.85); text-decoration: underline; }

@media (max-width: 720px) {
  .calc-grid { grid-template-columns: 1fr; }
  .ute-fusion { grid-template-columns: 1fr; }
  .ute-fusion-plus { text-align: center; }
  .ute-hero h1 { font-size: 28px; }
}

/* Team page — re-skin the shared leader-card styling in the utelogy palette. */
body.ute-team .leader-photo { border-color: var(--ute-sky-soft); }
body.ute-team .leader-card h3 { color: var(--ute-navy); }
body.ute-team .leader-title { color: var(--ute-blue); }
body.ute-team .leader-card { border-color: var(--ute-rule); }
