/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · genre: corporate-reference · macrostructure: Intelligence Dashboard · tone: exacting · anchor hue: blue · theme: screenshot-match · enrichment: Tier-C generated AI hero · nav: N5 · footer: Ft2 · contrast: pass · mobile: pass */
@import url("./services.css");

.ai-page .page {
  background: var(--color-surface);
}

.ai-page .nav-links a[aria-current="page"] {
  position: relative;
  color: var(--color-blue);
}

.ai-page .nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -33px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--color-blue);
}

.ai-hero {
  position: relative;
  min-height: 404px;
  overflow: clip;
  color: var(--color-surface);
  background: var(--color-navy);
}

.ai-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--color-navy) 0%, color-mix(in oklch, var(--color-navy) 88%, transparent) 32%, transparent 66%),
    linear-gradient(180deg, color-mix(in oklch, var(--color-navy) 10%, transparent), color-mix(in oklch, var(--color-navy) 20%, transparent));
}

.ai-hero__inner {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  min-height: 404px;
}

.ai-hero__copy h1 {
  margin: 0;
  max-width: 680px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.ai-hero__copy h1 span {
  display: block;
  color: var(--color-blue);
}

.ai-hero__copy strong {
  display: block;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
}

.ai-hero__copy p {
  max-width: 64ch;
  margin: var(--space-md) 0 0;
  color: var(--color-hero-muted);
  font-size: var(--text-sm);
  font-weight: 650;
}

.ai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.ai-hero__labels {
  position: relative;
  min-height: 320px;
}

.ai-label {
  position: absolute;
  display: grid;
  grid-template-columns: 58px 120px;
  gap: var(--space-sm);
  align-items: center;
  color: var(--color-surface);
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1.15;
}

.ai-label svg {
  width: 58px;
  height: 58px;
  padding: var(--space-sm);
  border: var(--rule-hair) solid color-mix(in oklch, var(--color-cyan) 65%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in oklch, var(--color-navy-2) 74%, transparent);
  color: var(--color-cyan);
  box-shadow: 0 0 24px color-mix(in oklch, var(--color-cyan) 24%, transparent);
}

.ai-label--one { left: 8%; top: 2%; }
.ai-label--two { left: 0; top: 35%; }
.ai-label--three { left: 7%; bottom: 0; }
.ai-label--four { right: 0; top: 7%; }
.ai-label--five { right: 0; top: 42%; }
.ai-label--six { right: 0; bottom: 4%; }
.ai-label--five svg { color: var(--color-green-strong); }

.ai-benefits,
.ai-work {
  padding-block: var(--space-lg);
}

.ai-benefits h2,
.ai-features h2,
.ai-timeline h2 {
  margin: 0 0 var(--space-lg);
  text-align: center;
  color: var(--color-blue-strong);
  font-size: var(--text-xl);
  line-height: 1.12;
}

.ai-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-md);
}

.ai-benefit-grid article,
.ai-feature-grid article {
  display: grid;
  align-content: start;
  min-height: 174px;
  padding: var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 10px 24px color-mix(in oklch, var(--color-shadow) 34%, transparent);
}

.ai-benefit-grid svg,
.ai-feature-grid svg {
  width: 54px;
  height: 54px;
  color: var(--color-blue);
  margin-bottom: var(--space-sm);
}

.ai-feature-grid article:first-child svg {
  color: var(--color-green-strong);
}

.ai-benefit-grid h3,
.ai-feature-grid h3 {
  margin: 0 0 var(--space-sm);
  color: var(--color-ink);
  font-size: var(--text-sm);
  line-height: 1.25;
}

.ai-benefit-grid p,
.ai-feature-grid p {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--text-xs);
  font-weight: 650;
}

.ai-work {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: var(--space-2xl);
  align-items: start;
}

.ai-timeline h2 {
  text-align: left;
}

.ai-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  column-gap: var(--space-md);
  align-items: start;
  padding-bottom: var(--space-lg);
}

.ai-timeline article:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 76px;
  bottom: 0;
  border-left: var(--rule-bold) dashed var(--color-blue);
  opacity: 0.65;
}

.ai-timeline article div {
  grid-row: span 2;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: var(--rule-hair) solid var(--color-blue);
  color: var(--color-blue);
  background: var(--color-surface);
}

.ai-timeline article div.green {
  color: var(--color-green-strong);
  border-color: var(--color-green-strong);
}

.ai-timeline svg {
  width: 48px;
  height: 48px;
}

.ai-timeline h3 {
  margin: var(--space-xs) 0 var(--space-2xs);
  font-size: var(--text-sm);
}

.ai-timeline p {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--text-xs);
  font-weight: 650;
}

.ai-dashboard {
  padding: var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--color-surface), var(--color-blue-soft));
  box-shadow: 0 18px 40px color-mix(in oklch, var(--color-shadow) 36%, transparent);
}

.ai-dashboard h2 {
  margin: 0 0 var(--space-md);
  font-size: var(--text-md);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
}

.dash-kpis div,
.dash-grid section {
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: var(--space-md);
}

.dash-kpis span {
  display: block;
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 800;
}

.dash-kpis strong {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-lg);
  font-variant-numeric: tabular-nums;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.dash-grid h3 {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-xs);
}

.dash-donut {
  width: 120px;
  aspect-ratio: 1;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: conic-gradient(var(--color-blue) 0 34%, var(--color-cyan) 34% 52%, var(--color-red) 52% 64%, var(--color-amber) 64% 100%);
  position: relative;
}

.dash-donut::after {
  content: "";
  position: absolute;
  inset: 27px;
  border-radius: 50%;
  background: var(--color-surface);
}

.dash-grid ul,
.dash-grid ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-xs);
  color: var(--color-ink);
  font-size: 0.68rem;
  font-weight: 650;
}

.dash-grid li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-xs);
}

.dash-grid li i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-blue);
  margin-top: 4px;
}

.dash-grid li:nth-child(2) i { background: var(--color-cyan); }
.dash-grid li:nth-child(3) i { background: var(--color-red); }
.dash-grid li:nth-child(4) i { background: var(--color-amber); }

.line-chart {
  min-height: 176px;
  position: relative;
  background:
    linear-gradient(var(--color-rule) var(--rule-hair), transparent var(--rule-hair)),
    linear-gradient(90deg, var(--color-rule) var(--rule-hair), transparent var(--rule-hair));
  background-size: 44px 44px, 44px 44px;
}

.conversion-line {
  position: absolute;
  inset: var(--space-lg) var(--space-sm) var(--space-md);
  width: calc(100% - var(--space-md));
  height: calc(100% - var(--space-xl));
  color: var(--color-blue);
}

.line-chart span {
  position: absolute;
  right: var(--space-md);
  top: var(--space-lg);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: var(--text-xl);
  font-weight: 900;
}

.line-chart small {
  display: block;
  font-size: 0.62rem;
  color: var(--color-muted);
}

.bars p {
  display: grid;
  grid-template-columns: 70px 1fr 32px;
  gap: var(--space-xs);
  align-items: center;
  margin: 0 0 var(--space-xs);
  font-size: 0.68rem;
  font-weight: 750;
}

.bars i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue) var(--w), var(--color-rule) var(--w));
}

.ai-features {
  padding-block: var(--space-lg);
  background: var(--color-paper-soft);
}

.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-md);
}

.ai-tech {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  overflow: hidden;
  margin-block: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: var(--color-surface);
}

.ai-tech > div,
.ai-tech aside {
  padding: var(--space-xl);
}

.ai-tech aside {
  background: var(--color-navy-2);
}

.ai-tech h2 {
  margin: 0 0 var(--space-md);
  font-size: var(--text-lg);
}

.ai-tech p {
  color: var(--color-hero-muted);
  font-size: var(--text-sm);
  font-weight: 650;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-md);
}

.tech-list span {
  display: grid;
  gap: var(--space-xs);
  justify-items: center;
  text-align: center;
  color: var(--color-hero-muted);
  font-size: var(--text-xs);
  font-weight: 850;
}

.tech-list svg {
  width: 42px;
  height: 42px;
  color: var(--color-cyan);
}

@media (max-width: 1180px) {
  .ai-page .nav-links a[aria-current="page"]::after {
    display: none;
  }

  .ai-hero__inner,
  .ai-work,
  .ai-tech {
    grid-template-columns: 1fr;
  }

  .ai-hero__labels {
    display: none;
  }

  .ai-benefit-grid,
  .ai-feature-grid,
  .tech-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ai-page .top-strip__group:first-child .tiny-link:nth-child(2) {
    display: none;
  }

  .ai-hero,
  .ai-hero__inner {
    min-height: 540px;
  }

  .ai-hero > img {
    object-position: 68% center;
  }

  .ai-hero::after {
    background:
      linear-gradient(180deg, color-mix(in oklch, var(--color-navy) 98%, transparent) 0%, color-mix(in oklch, var(--color-navy) 88%, transparent) 56%, color-mix(in oklch, var(--color-navy) 42%, transparent) 100%);
  }

  .ai-hero__inner {
    align-content: start;
    padding-block: var(--space-xl);
  }

  .ai-hero__copy,
  .ai-hero__copy h1,
  .ai-hero__copy p,
  .ai-benefits,
  .ai-work,
  .ai-dashboard,
  .dash-grid > *,
  .ai-tech,
  .ai-tech > *,
  .ai-feature-grid > * {
    min-width: 0;
  }

  .ai-hero__copy h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    overflow-wrap: anywhere;
  }

  .ai-hero__copy p,
  .ai-timeline p,
  .ai-benefit-grid p,
  .ai-feature-grid p,
  .ai-tech p {
    max-width: 31ch;
    overflow-wrap: anywhere;
  }

  .ai-hero__actions,
  .dash-kpis,
  .dash-grid,
  .ai-benefit-grid,
  .ai-feature-grid,
  .tech-list {
    grid-template-columns: 1fr;
  }

  .ai-hero__actions {
    display: grid;
  }

  .ai-benefits h2,
  .ai-features h2,
  .ai-timeline h2 {
    max-width: 22ch;
    margin-inline: auto;
    font-size: var(--text-lg);
  }

  .ai-timeline h2 {
    text-align: center;
  }

  .ai-timeline article {
    grid-template-columns: 62px 1fr;
  }

  .ai-timeline article div {
    width: 58px;
    height: 58px;
  }

  .ai-timeline article:not(:last-child)::after {
    left: 29px;
    top: 62px;
  }

  .ai-timeline svg {
    width: 40px;
    height: 40px;
  }

  .ai-tech > div,
  .ai-tech aside,
  .ai-dashboard {
    padding: var(--space-lg);
  }
}
