/*
 * IntelCit public brand layer — 2026 presentation direction.
 * This file is intentionally loaded only by the public marketing routes.
 */
.ic-public-brand {
  --pub-ink: #04264a;
  --pub-ink-deep: #021a33;
  --pub-blue: #176ab2;
  --pub-cyan: #12a8bd;
  --pub-gold: #d0a35b;
  --pub-gold-deep: #9a6d2e;
  --pub-paper: #fffefa;
  --pub-wash: #f5f7f5;
  --pub-line: #dce4e6;
  --pub-muted: #526875;
  background: var(--pub-paper);
  color: var(--pub-ink);
}

.ic-public-brand :where(a, button):focus-visible {
  outline-color: var(--pub-cyan);
  box-shadow: 0 0 0 4px rgb(18 168 189 / 18%);
}

.ic-public-brand .ic-public-header {
  border-bottom-color: rgb(4 38 74 / 12%);
  background: rgb(255 254 250 / 94%);
  box-shadow: 0 8px 30px rgb(2 26 51 / 5%);
}

.ic-public-brand .ic-public-bar { min-height: 5.25rem; }
.ic-public-brand-lockup {
  width: clamp(12.5rem, 19vw, 16rem);
  min-height: 3.75rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
}
.ic-public-brand-emblem {
  width: 3.75rem;
  height: 3.75rem;
  display: grid;
  place-items: center;
  overflow: visible;
  flex: 0 0 auto;
  background: transparent;
}
.ic-public-brand-emblem img {
  display: block;
  width: 96%;
  height: 96%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 .28rem .48rem rgb(4 38 74 / 16%));
}
.ic-public-brand-copy { display: grid; gap: .12rem; line-height: 1; }
.ic-public-brand-copy strong { color: var(--pub-ink-deep); font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.045em; }
.ic-public-brand-copy strong span { color: var(--pub-gold-deep); }
.ic-public-brand-copy small { color: var(--pub-muted); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ic-public-brand-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 3.25rem;
  object-fit: contain;
  object-position: left center;
}
[dir="rtl"] .ic-public-brand-image { object-position: right center; }

.ic-public-brand .ic-public-nav a {
  border-radius: 999px;
  color: var(--pub-muted);
  letter-spacing: .005em;
}
.ic-public-brand .ic-public-nav a:hover,
.ic-public-brand .ic-public-nav a.active {
  color: var(--pub-ink);
  background: rgb(208 163 91 / 13%);
}
.ic-public-brand .ic-public-nav a.active {
  box-shadow: inset 0 -2px 0 var(--pub-gold);
}
.ic-public-brand .ic-public-action.primary {
  border-color: var(--pub-ink);
  border-radius: 999px;
  background: var(--pub-ink);
}
.ic-public-brand .ic-public-action.primary:hover {
  border-color: var(--pub-blue);
  background: var(--pub-blue);
}

.ic-public-brand .pub-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--pub-paper);
}
.ic-public-brand .pub-section-muted {
  background:
    linear-gradient(90deg, rgb(4 38 74 / 3%) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgb(4 38 74 / 3%) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--pub-wash);
}
.ic-public-brand .pub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--pub-gold-deep);
}
.ic-public-brand .pub-eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--pub-gold);
}
.ic-public-brand .pub-section h2,
.ic-public-brand .pub-card h3,
.ic-public-brand .pub-service-card h3,
.ic-public-brand .pub-stack-item strong,
.ic-public-brand .pub-path strong { color: var(--pub-ink); }
.ic-public-brand .pub-section-lead,
.ic-public-brand .pub-card p,
.ic-public-brand .pub-service-card p,
.ic-public-brand .pub-stack-item span,
.ic-public-brand .pub-path span { color: var(--pub-muted); }

.ic-public-brand .pub-hero {
  box-sizing: border-box;
  min-height: min(48rem, calc(100svh - 5.25rem));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--pub-ink-deep);
}
.ic-public-brand .pub-hero::before,
.ic-public-brand .pub-hero::after { display: none; }

.ic-public-brand .pub-hero-motion {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ic-public-brand .pub-hero-motion::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(2 26 51 / 98%) 0%, rgb(2 26 51 / 92%) 26%, rgb(2 26 51 / 58%) 47%, transparent 72%),
    linear-gradient(0deg, rgb(2 26 51 / 54%) 0%, transparent 34%);
}
.ic-public-brand .pub-hero-motion img,
.ic-public-brand .pub-hero-motion svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.ic-public-brand .pub-hero-motion img {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}
.ic-public-brand .pub-hero-motion svg {
  z-index: 2;
  overflow: visible;
}
[dir="rtl"] .ic-public-brand .pub-hero-motion { transform: scaleX(-1); }

.ic-public-brand .pub-hero-copy {
  position: relative;
  z-index: 4;
}
.ic-public-brand .pub-hero-copy > :is(p, h1, .pub-actions) {
  max-width: min(58rem, 58%);
}
.ic-public-brand .pub-hero h1 {
  width: min(36rem, 100%);
  max-width: min(36rem, 58%);
  font-size: clamp(3.25rem, 5.65vw, 4.5rem);
  text-wrap: balance;
}
[dir="rtl"] .ic-public-brand .pub-hero h1 {
  width: min(40rem, 100%);
  max-width: min(40rem, 62%);
  font-size: clamp(3rem, 5.2vw, 4.15rem);
}
.ic-public-brand .pub-hero .pub-eyebrow { color: #f0c986; }
.ic-public-brand .pub-hero .pub-eyebrow::before { background: #f0c986; }
.ic-public-brand .pub-hero-audience { color: rgb(255 255 255 / 72%); }

.ic-public-brand :is(.pub-flow, .pub-surge, .pub-aurora) {
  fill: none;
  stroke-linecap: round;
}
.ic-public-brand .pub-flow {
  stroke: url(#home-cyan-flow);
  stroke-width: 2.2;
  stroke-dasharray: .055 .16;
  animation:
    pub-data-flow 3.8s linear infinite,
    pub-route-breathe 2.8s ease-in-out infinite;
}
.ic-public-brand :is(.pub-flow-b, .pub-flow-f, .pub-flow-i) { animation-duration: 4.7s, 3.4s; }
.ic-public-brand :is(.pub-flow-c, .pub-flow-e, .pub-flow-h) { animation-duration: 3.15s, 2.2s; }
.ic-public-brand :is(.pub-flow-d, .pub-flow-g, .pub-flow-j) { animation-duration: 5.2s, 3.8s; }
.ic-public-brand .pub-flow-b { animation-delay: -.8s, -.4s; }
.ic-public-brand .pub-flow-c { animation-delay: -1.7s, -1.1s; }
.ic-public-brand .pub-flow-d { animation-delay: -2.2s, -.6s; }
.ic-public-brand .pub-flow-e { animation-delay: -.4s, -1.6s; }
.ic-public-brand .pub-flow-f { animation-delay: -3.1s, -2.2s; }
.ic-public-brand .pub-flow-g { animation-delay: -1.1s, -.8s; }
.ic-public-brand .pub-flow-h { animation-delay: -2.7s, -1.4s; }
.ic-public-brand .pub-flow-i { animation-delay: -1.9s, -.2s; }
.ic-public-brand .pub-flow-j { animation-delay: -3.8s, -2s; }
.ic-public-brand .pub-flow-green {
  stroke: url(#home-green-flow);
  stroke-width: 3;
  animation-duration: 3.2s, 2.6s;
}
.ic-public-brand .pub-surge {
  stroke: #e9fdff;
  stroke-width: 5;
  stroke-dasharray: .045 .955;
  opacity: 0;
  animation: pub-data-surge 5.8s cubic-bezier(.2,.7,.2,1) infinite;
}
.ic-public-brand .pub-surge-b { animation-delay: -1.2s; animation-duration: 6.7s; }
.ic-public-brand .pub-surge-c { animation-delay: -3.6s; animation-duration: 7.3s; }
.ic-public-brand .pub-surge-d { animation-delay: -2.4s; animation-duration: 5.4s; }
.ic-public-brand .pub-surge-e { animation-delay: -4.6s; animation-duration: 6.2s; }
.ic-public-brand .pub-surge-f { animation-delay: -.7s; animation-duration: 7.8s; }
.ic-public-brand .pub-surge-green {
  stroke: #b9ffd8;
  stroke-width: 6;
  animation-delay: -2.8s;
  animation-duration: 5s;
}
.ic-public-brand .pub-aurora {
  stroke: #38d9f3;
  stroke-width: 10;
  stroke-dasharray: .14 .28;
  opacity: .12;
  animation:
    pub-aurora-flow 8s linear infinite,
    pub-aurora-breathe 4.8s ease-in-out infinite;
}
.ic-public-brand .pub-aurora-two {
  stroke: #176ab2;
  stroke-width: 7;
  animation-delay: -3.4s, -1.6s;
  animation-duration: 10s, 5.6s;
}
.ic-public-brand .pub-hub-pulse circle {
  fill: none;
  stroke: #bdefff;
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: pub-hub-wave 2.7s ease-out infinite;
}
.ic-public-brand .pub-hub-pulse circle:nth-child(2) { animation-delay: -1.35s; }
.ic-public-brand .pub-hub-pulse .pub-completion-pulse {
  stroke: #73eba9;
  animation-duration: 3.2s;
}

@keyframes pub-data-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -1; }
}
@keyframes pub-route-breathe {
  0%, 100% { opacity: .18; stroke-width: 1.8; }
  45% { opacity: .88; stroke-width: 3.4; }
  62% { opacity: .4; stroke-width: 2.2; }
}
@keyframes pub-data-surge {
  0%, 12% { stroke-dashoffset: 1; opacity: 0; }
  18% { opacity: .95; }
  72% { opacity: .8; }
  84%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes pub-aurora-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -1; }
}
@keyframes pub-aurora-breathe {
  0%, 100% { opacity: .05; stroke-width: 5; }
  45% { opacity: .3; stroke-width: 14; }
  70% { opacity: .12; stroke-width: 8; }
}
@keyframes pub-hub-wave {
  0% { opacity: .75; transform: scale(.65); }
  75%, 100% { opacity: 0; transform: scale(3.1); }
}

.ic-public-brand .pub-platform-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgb(4 38 74 / 10%);
  background:
    linear-gradient(90deg, rgb(4 38 74 / 4%) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgb(4 38 74 / 4%) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #fffefa 0%, #f2f6f5 62%, #edf4f5 100%);
}
.ic-public-brand .pub-platform-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(35vw, 28rem);
  aspect-ratio: 1;
  inset-inline-end: 4%;
  inset-block-start: 14%;
  border: 1px solid rgb(208 163 91 / 45%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3.5rem rgb(23 106 178 / 4%);
}
.ic-public-brand .pub-platform-hero h1 {
  color: var(--pub-ink);
  text-wrap: balance;
}

.ic-public-brand .pub-button {
  border-radius: 999px;
  border-color: rgb(4 38 74 / 18%);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.ic-public-brand .pub-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgb(2 26 51 / 12%);
}
.ic-public-brand .pub-button-hero {
  border-color: var(--pub-ink);
  background: var(--pub-ink);
  color: #fff;
}
.ic-public-brand .pub-button-hero:hover {
  border-color: var(--pub-blue);
  background: var(--pub-blue);
}
.ic-public-brand .pub-hero .pub-button-hero {
  border-color: var(--pub-gold);
  background: var(--pub-gold);
  color: var(--pub-ink-deep);
}
.ic-public-brand .pub-hero .pub-button-hero:hover { background: #dfb873; }

.ic-public-brand :is(.pub-card, .pub-service-card, .pub-catalog-card, .pub-stack-item, .pub-path li, .pub-dash-panel) {
  border-color: var(--pub-line);
  border-radius: .45rem;
  box-shadow: 0 12px 34px rgb(2 26 51 / 6%);
}
.ic-public-brand :is(.pub-card, .pub-service-card, .pub-catalog-card, .pub-stack-item, .pub-path li) {
  position: relative;
}
.ic-public-brand :is(.pub-card, .pub-service-card, .pub-catalog-card, .pub-stack-item, .pub-path li)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pub-gold) 0 18%, var(--pub-cyan) 18% 32%, transparent 32%);
  opacity: .8;
}
.ic-public-brand .pub-catalog-card h3 a,
.ic-public-brand .pub-text-link,
.ic-public-brand .pub-back-link { color: var(--pub-blue); }
.ic-public-brand .pub-catalog-index,
.ic-public-brand .pub-detail-step,
.ic-public-brand .pub-path li::before,
.ic-public-brand .pub-step::before { color: var(--pub-gold-deep); }
.ic-public-brand .pub-now-note {
  border-inline-start-color: var(--pub-gold);
  background: rgb(208 163 91 / 10%);
}

.ic-public-brand .pub-cta {
  position: relative;
  background:
    linear-gradient(90deg, transparent 0 70%, rgb(208 163 91 / 12%) 70% 71%, transparent 71%),
    var(--pub-ink-deep);
}
.ic-public-brand .pub-cta h2 { color: #fff; }
.ic-public-brand .pub-cta .pub-section-lead { color: rgb(255 255 255 / 82%); }
.ic-public-brand .pub-cta :is(.pub-cta-note, .pub-demo-help) { color: rgb(255 255 255 / 70%); }
.ic-public-brand .pub-cta::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pub-gold) 0 22%, var(--pub-cyan) 22% 35%, transparent 35%);
}
.ic-public-brand footer.site {
  position: relative;
  border-top: 0;
  background: #edf7fa;
  color: var(--pub-ink);
}
.ic-public-brand footer.site::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--pub-gold) 0 28%, var(--pub-cyan) 28% 46%, var(--pub-blue) 46% 100%);
}
.ic-public-brand footer.site .foot { color: #2e556c; font-size: .78rem; font-weight: 700; }

@media (max-width: 760px) {
  .ic-public-brand-lockup { width: auto; min-height: 3.25rem; }
  .ic-public-brand-emblem { width: 3.25rem; height: 3.25rem; }
  .ic-public-brand-copy small { display: none; }
  .ic-public-brand .pub-hero {
    min-height: min(48rem, calc(100svh - 4.5rem));
    background: var(--pub-ink-deep);
  }
  .ic-public-brand .pub-hero-motion::after {
    background:
      linear-gradient(180deg, rgb(2 26 51 / 96%) 0%, rgb(2 26 51 / 76%) 54%, rgb(2 26 51 / 44%) 100%),
      linear-gradient(90deg, rgb(2 26 51 / 84%), transparent 88%);
  }
  .ic-public-brand .pub-hero-motion img {
    object-position: 58% center;
    opacity: .78;
  }
  [dir="rtl"] .ic-public-brand .pub-hero-motion img { object-position: 42% center; }
  .ic-public-brand .pub-hero-copy > :is(p, h1, .pub-actions) {
    max-width: 100%;
  }
  .ic-public-brand .pub-hero h1,
  [dir="rtl"] .ic-public-brand .pub-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.5rem, 12.8vw, 3rem);
  }
  .ic-public-brand .pub-platform-hero::after {
    opacity: .42;
    inline-size: 18rem;
    inset-inline-end: -7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ic-public-brand .pub-button { transition: none; }
  .ic-public-brand .pub-button:hover { transform: none; }
  .ic-public-brand .pub-hero-motion svg { display: block; }
  .ic-public-brand .pub-flow {
    animation-duration: 7.6s, 5.6s !important;
    animation-iteration-count: infinite !important;
  }
  .ic-public-brand :is(.pub-flow-b, .pub-flow-f, .pub-flow-i) { animation-duration: 9.4s, 6.8s !important; }
  .ic-public-brand :is(.pub-flow-c, .pub-flow-e, .pub-flow-h) { animation-duration: 6.3s, 4.8s !important; }
  .ic-public-brand :is(.pub-flow-d, .pub-flow-g, .pub-flow-j) { animation-duration: 10.4s, 7.6s !important; }
  .ic-public-brand .pub-flow-green { animation-duration: 6.4s, 5.2s !important; }
  .ic-public-brand .pub-surge {
    animation-duration: 11.6s !important;
    animation-iteration-count: infinite !important;
  }
  .ic-public-brand .pub-aurora {
    animation-duration: 16s, 9.6s !important;
    animation-iteration-count: infinite !important;
  }
  .ic-public-brand .pub-aurora-two { animation-duration: 20s, 11.2s !important; }
  .ic-public-brand .pub-hub-pulse circle {
    animation-duration: 5.4s !important;
    animation-iteration-count: infinite !important;
  }
}
