:root {
  --paper: #f7f8fb;
  --paper-strong: #ffffff;
  --ink: #11131b;
  --ink-soft: #34394a;
  --muted: #656d7f;
  --line: #dde3ed;
  --indigo: #3345d9;
  --indigo-dark: #2330a7;
  --teal: #0e9384;
  --amber: #f6a72a;
  --coral: #ec5d57;
  --night: #121524;
  --night-2: #1d2234;
  --focus: rgba(51, 69, 217, 0.28);
  --shadow: 0 24px 70px rgba(19, 24, 44, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: #ffffff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 227, 237, 0.9);
  box-shadow: 0 12px 34px rgba(17, 19, 27, 0.08);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: #ffffff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(51, 69, 217, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 18px;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.64;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-nav a {
  border-radius: var(--radius);
  padding: 10px 13px;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.72;
  transition: background 160ms ease, opacity 160ms ease;
}

.desktop-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.menu-active .desktop-nav a:hover {
  background: #eef1fa;
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.nav-action {
  padding: 0 16px;
  background: var(--amber);
  color: #261705;
  font-size: 14px;
}

.nav-action:hover {
  background: #ffbc4c;
}

.nav-action i,
.button i,
.eyebrow i,
.capability-list i,
.leader-points i,
.contact-lines i {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-active .menu-toggle {
  border-color: var(--line);
  background: var(--paper-strong);
}

.menu-toggle i {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  position: fixed;
  inset: 76px 14px auto;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--ink);
  font-weight: 800;
}

.mobile-nav a:hover {
  background: #eef1fa;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  padding: 136px clamp(18px, 5vw, 64px) 86px;
  isolation: isolate;
}

.hero-image,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 11, 16, 0.9) 0%, rgba(10, 11, 16, 0.64) 45%, rgba(10, 11, 16, 0.42) 100%),
    linear-gradient(180deg, rgba(10, 11, 16, 0.34) 0%, rgba(10, 11, 16, 0.9) 100%);
}

.hero-grid {
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 78%);
  opacity: 0.45;
}

.hero-content {
  width: min(760px, 100%);
  align-self: center;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 800;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  line-height: 0.98;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 9vw, 112px);
}

.hero-content p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

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

.button {
  padding: 0 18px;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--amber);
  color: #241704;
  box-shadow: 0 14px 36px rgba(246, 167, 42, 0.3);
}

.button.primary:hover {
  background: #ffbc4c;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button.secondary {
  width: fit-content;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(51, 69, 217, 0.35);
  color: var(--indigo);
}

.overview-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 36px));
  margin: -40px auto 0;
  overflow: hidden;
  border: 1px solid rgba(221, 227, 237, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.overview-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

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

.overview-strip strong {
  display: block;
  color: var(--indigo);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 24px;
}

.overview-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 64px);
}

.split-section,
.leadership-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-copy h2,
.section-heading h2,
.leader-copy h2,
.contact-copy h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.section-copy p,
.section-heading p,
.leader-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-copy p,
.leader-copy p,
.contact-copy p {
  margin: 22px 0 0;
}

.capability-list,
.leader-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.capability-list span,
.leader-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.capability-list i,
.leader-points i {
  color: var(--teal);
}

.light-band {
  background: #ffffff;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.section-heading p {
  margin: 20px auto 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 52px auto 0;
}

.solution-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 18px 46px rgba(17, 19, 27, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 69, 217, 0.32);
  box-shadow: 0 28px 70px rgba(17, 19, 27, 0.13);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.solution-card div {
  padding: 22px;
}

.solution-card i {
  width: 26px;
  height: 26px;
  color: var(--indigo);
}

.solution-card h3 {
  margin: 16px 0 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 23px;
  line-height: 1.1;
}

.solution-card p {
  min-height: 100px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.solution-card span {
  display: inline-flex;
  margin-top: 18px;
  border-radius: var(--radius);
  background: #edf4f3;
  color: var(--teal);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.technology-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--night);
  color: #ffffff;
}

.technology-band .section-heading p {
  color: rgba(255, 255, 255, 0.62);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 52px auto 0;
}

.tech-item {
  min-height: 238px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.tech-item i {
  width: 30px;
  height: 30px;
  color: var(--amber);
}

.tech-item h3 {
  margin: 24px 0 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 22px;
}

.tech-item p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}

.leadership-section {
  align-items: start;
}

.leader-badge {
  display: grid;
  width: min(360px, 100%);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(51, 69, 217, 0.95), rgba(14, 147, 132, 0.88)),
    var(--indigo);
  color: #ffffff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(82px, 14vw, 150px);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.leader-copy {
  max-width: 670px;
}

.contact-section {
  align-items: start;
  width: 100%;
  max-width: 1180px;
  border-top: 1px solid var(--line);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-lines a,
.contact-lines span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
}

.contact-lines i {
  color: var(--indigo);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: clamp(18px, 4vw, 32px);
  box-shadow: 0 18px 46px rgba(17, 19, 27, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcff;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(51, 69, 217, 0.62);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(51, 69, 217, 0.12);
}

.form-button {
  width: 100%;
  min-height: 50px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  background: var(--night);
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 40px));
  transform: translateY(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--night-2);
  color: #ffffff;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

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

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

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
  }

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

  .solution-card p {
    min-height: auto;
  }
}

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

  .desktop-nav,
  .nav-action {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    padding-top: 116px;
  }

  .overview-strip,
  .split-section,
  .leadership-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .overview-strip {
    margin-top: -24px;
  }

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

  .overview-strip div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    text-align: left;
  }

  .leader-badge {
    justify-self: start;
    width: min(260px, 100%);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  .mobile-nav {
    inset: 68px 10px auto;
  }

  .hero {
    padding: 100px 14px 58px;
  }

  .hero h1 {
    font-size: clamp(44px, 17vw, 72px);
  }

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

  .overview-strip {
    width: calc(100% - 28px);
  }

  .section {
    padding: 70px 14px;
  }

  .solution-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-item {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
