:root {
  --ink: #243447;
  --muted: #64748b;
  --panel: #ffffff;
  --soft: #f3f9fd;
  --line: #dcebf2;
  --green: #e64f7a;
  --teal: #12a8d4;
  --amber: #4f6df5;
  --charcoal: #34465e;
  --tech-blue: #2563eb;
  --tech-cyan: #16c7e8;
  --font-body: "Segoe UI Variable Text", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(36, 52, 71, .13);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(225, 230, 234, .9);
  box-shadow: 0 10px 28px rgba(36, 52, 71, .07);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 248px;
}

.brand-logo {
  width: 238px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  border-radius: var(--radius);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  font-family: var(--font-display);
  padding: 10px 13px;
  border-radius: var(--radius);
  color: #313a42;
  font-weight: 700;
  font-size: 1.04rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: #eaf8ff;
}

.header-cta,
.button {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.1;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--tech-blue), var(--teal));
  box-shadow: 0 12px 26px rgba(37, 99, 235, .2);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  border-color: rgba(255, 255, 255, .55);
}

.button.ai-cta {
  color: #fff;
  background: linear-gradient(135deg, #e83264, var(--tech-cyan));
  border-color: rgba(255, 255, 255, .62);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18), 0 16px 34px rgba(232, 50, 100, .38);
  animation: ai-button-glow 2.4s ease-in-out infinite;
}

.button.ai-cta:hover {
  transform: translateY(-1px);
  animation-play-state: paused;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .24), 0 20px 40px rgba(32, 153, 198, .42);
}

.button.secondary.light {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .38);
}

@keyframes ai-button-glow {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .16), 0 16px 34px rgba(232, 50, 100, .34);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .26), 0 0 28px rgba(232, 50, 100, .58), 0 18px 42px rgba(32, 153, 198, .46);
  }
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 78px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.03);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(36, 52, 71, .8) 0%, rgba(36, 52, 71, .6) 39%, rgba(36, 52, 71, .12) 72%),
    linear-gradient(0deg, rgba(22, 199, 232, .18), rgba(79, 109, 245, .08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(800px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 88px);
  padding: 34px 0;
  color: #fff;
  animation: fade-rise .7s ease-out both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero .eyebrow,
.ai-hero .eyebrow {
  color: #8cecff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 930px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.24rem;
}

.hero-content p {
  max-width: 610px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nowrap {
  white-space: nowrap;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
  transition: background .25s ease, transform .25s ease;
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
}

.trust-strip span {
  color: var(--muted);
}

.trust-strip div:hover {
  background: #f0fbff;
  transform: translateY(-2px);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.intro-grid,
.split-band,
.cta-band,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.intro-grid p,
.split-band p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 246px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(36, 52, 71, .03);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.card.accent {
  color: #fff;
  background: linear-gradient(135deg, #34465e, #2563eb);
  border-color: rgba(37, 99, 235, .42);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 168, 212, .42);
  box-shadow: 0 20px 42px rgba(36, 52, 71, .14);
}

.card p {
  color: var(--muted);
}

.card.accent p {
  color: rgba(255, 255, 255, .78);
}

.icon {
  font-family: var(--font-display);
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--tech-blue), var(--teal));
  font-weight: 700;
  font-size: .92rem;
}

.card.accent .icon {
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.split-band {
  background: linear-gradient(135deg, #f3f9fd, #ffffff);
}

.compliance-band {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  color: #fff;
  background: linear-gradient(135deg, #34465e, #2563eb);
}

.compliance-band .eyebrow {
  color: #8cecff;
}

.compliance-band p {
  color: rgba(255, 255, 255, .78);
}

.compliance-band .check-list li::before {
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .16);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px #ffe0e7;
}

.cta-band {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(22, 199, 232, .28), transparent 30%),
    linear-gradient(135deg, #34465e, #2563eb);
}

.cta-band .eyebrow {
  color: #8cecff;
}

.cta-band .button {
  justify-self: end;
  background: #fff;
  color: var(--ink);
}

.page-hero {
  padding: clamp(72px, 11vw, 132px) clamp(18px, 4vw, 56px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(52, 70, 94, .94), rgba(37, 99, 235, .78), rgba(18, 168, 212, .66)),
    var(--ink);
}

.page-hero.compact {
  color: var(--ink);
  background: linear-gradient(135deg, #eaf8ff, #ffffff 54%, #fff1f5);
}

.page-hero h1,
.page-hero p {
  max-width: 930px;
}

.page-hero > p:last-child {
  max-width: 720px;
  color: inherit;
  opacity: .8;
  font-size: 1.12rem;
}

.ai-hero {
  background:
    linear-gradient(135deg, rgba(52, 70, 94, .86), rgba(37, 99, 235, .55), rgba(18, 168, 212, .35)),
    url("assets/technology-operations-hero.png") center right / cover;
}

.process {
  background: linear-gradient(135deg, #f3f9fd, #ffffff);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-steps article {
  min-height: 240px;
  padding: 26px;
  background: #fff;
  transition: transform .28s ease, box-shadow .28s ease;
}

.process-steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--tech-blue), var(--tech-cyan));
  font-weight: 850;
}

.process-steps article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(36, 52, 71, .12);
}

.contact-panel {
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #34465e, #2563eb);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-link {
  display: block;
  margin: 14px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 34px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, .78);
  background: #34465e;
}

.product-services {
  background:
    linear-gradient(180deg, #fff 0%, #fff 48%, #f3f9fd 48%, #f3f9fd 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-grid article {
  position: relative;
  min-height: 104px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(36, 52, 71, .06);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.product-grid article::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 20px;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.product-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 168, 212, .42);
  box-shadow: 0 18px 36px rgba(37, 99, 235, .12);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-12px, -4px, 0);
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer strong {
  font-family: var(--font-display);
  color: #fff;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer div:last-child {
  display: grid;
  gap: 8px;
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    justify-self: stretch;
    padding-top: 12px;
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .cards.three,
  .cards.two,
  .product-grid,
  .process-steps,
  .compliance-band,
  .intro-grid,
  .split-band,
  .cta-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cta-band .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 196px;
    height: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 36px, 680px);
    margin: 0 auto;
    padding: 80px 0;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(36, 52, 71, .88), rgba(36, 52, 71, .6));
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-actions,
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer div:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
