:root {
  --navy-950: #06182d;
  --navy-900: #08213d;
  --navy-800: #0b2c50;
  --blue-600: #0877cc;
  --blue-500: #1593e6;
  --blue-100: #eaf5fd;
  --grey-950: #17202a;
  --grey-700: #4c5968;
  --grey-500: #718096;
  --grey-300: #d6dde5;
  --grey-200: #e8edf2;
  --grey-100: #f4f7f9;
  --white: #ffffff;
  --success: #0f7a52;
  --danger: #a83232;
  --shadow: 0 18px 50px rgba(6, 24, 45, 0.10);
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--grey-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 9999;
  background: var(--white);
  color: var(--navy-900);
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(214, 221, 229, 0.85);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 235px;
  height: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  position: relative;
  color: var(--navy-900);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(8, 33, 61, 0.18);
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--grey-300);
  background: var(--white);
  color: var(--navy-900);
}

.btn-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
  background:
    linear-gradient(90deg, rgba(6, 24, 45, 0.98) 0%, rgba(8, 33, 61, 0.96) 56%, rgba(11, 44, 80, 0.92) 100%);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.hero::before {
  width: 440px;
  height: 440px;
  right: -90px;
  top: -160px;
}

.hero::after {
  width: 290px;
  height: 290px;
  right: 140px;
  bottom: -210px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue-500);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--blue-500);
}

.hero .lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #d7e2ed;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.hero-panel {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
}

.tech-stack {
  position: relative;
  display: grid;
  gap: 20px;
  width: 100%;
  padding: 16px 0;
}

.tech-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, 88%);
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
  backdrop-filter: blur(10px);
}

.tech-card:nth-child(1) { justify-self: start; }
.tech-card:nth-child(2) { justify-self: end; }
.tech-card:nth-child(3) { justify-self: start; margin-left: 42px; }

.tech-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-500);
  color: var(--white);
  font-weight: 900;
}

.tech-card strong {
  display: block;
  font-size: 1rem;
}

.tech-card span {
  display: block;
  margin-top: 3px;
  color: #c9d8e6;
  font-size: 0.88rem;
}

.trust-strip {
  border-bottom: 1px solid var(--grey-200);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 26px 22px;
  text-align: center;
  border-right: 1px solid var(--grey-200);
}

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

.trust-item strong {
  display: block;
  color: var(--navy-900);
  font-size: 1.06rem;
}

.trust-item span {
  color: var(--grey-700);
  font-size: 0.88rem;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--grey-100);
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--grey-700);
  font-size: 1.06rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.info-panel {
  padding: 34px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-panel h3 {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-size: 1.45rem;
}

.info-panel p {
  margin: 0;
  color: var(--grey-700);
}

.highlight-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.highlight-list li {
  position: relative;
  padding-left: 30px;
  color: var(--grey-700);
}

.highlight-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 900;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.industry-card,
.value-card {
  padding: 28px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.service-card:hover,
.industry-card:hover,
.value-card:hover {
  transform: translateY(-5px);
  border-color: #bddcf3;
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.service-card:nth-child(even) .card-icon {
  background: var(--blue-600);
}

.service-card h3,
.industry-card h3,
.value-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.25rem;
}

.service-card p,
.industry-card p,
.value-card p {
  margin: 12px 0 0;
  color: var(--grey-700);
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--grey-700);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue-600);
  font-weight: 750;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.vendor-cloud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.vendor {
  display: grid;
  min-height: 88px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  text-align: center;
}

.vendor-note {
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--grey-700);
  text-align: center;
}

.process {
  counter-reset: steps;
  display: grid;
  gap: 18px;
}

.process-step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.process-step::before {
  content: counter(steps, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 900;
}

.process-step h3 {
  margin: 4px 0 6px;
  color: var(--navy-900);
}

.process-step p {
  margin: 0;
  color: var(--grey-700);
}

.cta-band {
  padding: 48px 0;
  background: var(--navy-900);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.15;
}

.cta-inner p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #cbd8e5;
}

.page-hero {
  padding: 74px 0;
  background: var(--navy-900);
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #cfdae5;
  font-size: 1.08rem;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--blue-500);
  font-size: 0.9rem;
  font-weight: 700;
}

.content-prose {
  max-width: 820px;
}

.content-prose h2,
.content-prose h3 {
  color: var(--navy-900);
}

.content-prose h2 {
  margin-top: 42px;
  font-size: 2rem;
}

.content-prose h3 {
  margin-top: 30px;
}

.content-prose p,
.content-prose li {
  color: var(--grey-700);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card p {
  color: #d6e1eb;
}

.contact-detail {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.contact-detail strong {
  display: block;
  margin-bottom: 5px;
}

.contact-detail a {
  color: var(--blue-500);
  font-weight: 750;
}

.form-card {
  padding: 34px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy-900);
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  background: var(--white);
  color: var(--grey-950);
  padding: 13px 14px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(8,119,204,0.12);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form-note {
  margin-top: 16px;
  color: var(--grey-500);
  font-size: 0.85rem;
}

.alert {
  margin-bottom: 22px;
  padding: 15px 18px;
  border-radius: 10px;
  font-weight: 650;
}

.alert.success {
  background: #eaf7f1;
  color: var(--success);
}

.alert.error {
  background: #fbecec;
  color: var(--danger);
}

.site-footer {
  padding: 58px 0 24px;
  background: var(--navy-950);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 52px;
}

.footer-brand img {
  width: 260px;
  padding: 12px;
  border-radius: 12px;
  background: var(--white);
}

.footer-brand p {
  max-width: 530px;
  margin: 22px 0 0;
  color: #b9c8d7;
}

.footer-title {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #b9c8d7;
}

.footer-links a:hover {
  color: var(--blue-500);
}

.footer-meta {
  color: #b9c8d7;
  font-size: 0.9rem;
}

.footer-meta strong {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #9fb1c2;
  font-size: 0.84rem;
}

.legal-note {
  margin-top: 18px;
  color: var(--grey-500);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    padding: 20px;
    border-bottom: 1px solid var(--grey-200);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(6,24,45,0.12);
  }

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

  .site-nav a {
    padding: 8px 0;
  }

  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vendor-cloud {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--grey-200);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 660px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 185px;
  }

  .site-nav {
    top: 72px;
  }

  .hero {
    padding: 66px 0 54px;
  }

  .hero-panel {
    min-height: auto;
  }

  .tech-stack {
    gap: 14px;
    padding-top: 28px;
  }

  .tech-card {
    width: 100%;
  }

  .tech-card:nth-child(1),
  .tech-card:nth-child(2),
  .tech-card:nth-child(3) {
    justify-self: stretch;
    margin-left: 0;
  }

  .section {
    padding: 66px 0;
  }

  .card-grid,
  .vendor-cloud,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 52px 1fr;
  }

  .process-step::before {
    width: 52px;
    height: 52px;
  }

  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--grey-200);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }
}
