@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #102033;
  --muted: #586879;
  --line: #dce4eb;
  --ice: #edf5fb;
  --frost: #f5f8fb;
  --blue: #155bb5;
  --blue-dark: #104886;
  --aqua: #29a7c7;
  --navy: #071d30;
  --white: #ffffff;
  --shadow: 0 16px 48px rgba(7, 29, 48, 0.08);
  --radius: 8px;
  --max: 1280px;
  --gutter: clamp(22px, 4vw, 40px);
  --page-inset: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #1674cc;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

img,
svg {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
  padding: 20px var(--page-inset);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 190px;
}

.brand-logo {
  display: block;
  width: 184px;
  height: auto;
  aspect-ratio: 230 / 49;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  color: #22364d;
  font-size: 0.85rem;
  font-weight: 600;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

.nav-cta {
  gap: 12px;
  padding: 12px 20px;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: none;
}

.nav-cta::after {
  content: "\2197";
  font-size: 1.1rem;
  line-height: 1;
}

.site-nav .nav-cta:hover {
  background: var(--blue-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
  padding: clamp(48px, 5.5vw, 80px) var(--page-inset);
  background: var(--frost);
  border-bottom: 1px solid var(--line);
}

.section,
.cta-section,
.page-hero,
.site-footer {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero h1,
.page-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 4.25vw, 3.5rem);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(2.8rem, 4.75vw, 4.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

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

.hero-lede,
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.hero-lede {
  max-width: 500px;
  margin: 24px 0 0;
  line-height: 1.8;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  flex-shrink: 0;
}

.button span[aria-hidden] {
  font-size: 1.15rem;
  line-height: 1;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.primary.light {
  color: var(--blue-dark);
  background: var(--white);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.primary.light:hover {
  color: var(--navy);
  background: var(--ice);
}

.button.secondary {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--ice);
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.hero-platforms span {
  color: #a9b5c0;
}

.hero-artwork {
  position: relative;
  min-width: 0;
  margin: 0;
  color: var(--white);
  background: var(--navy);
  border: 1px solid #17384e;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.artwork-heading {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 6px 10px;
  color: #dbe9f5;
  background: rgba(7, 29, 48, 0.88);
  border: 1px solid #375064;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artwork-heading span {
  width: 5px;
  height: 5px;
  background: #8ac9fa;
  border-radius: 50%;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.13;
  object-fit: cover;
  object-position: center 43%;
}

.artwork-caption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #304656;
  font-size: 0.72rem;
  font-weight: 600;
}

.artwork-caption span {
  display: grid;
  gap: 4px;
}

.artwork-caption small {
  color: #a1bbd0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.section,
.page-hero {
  padding: clamp(56px, 7vw, 88px) var(--gutter);
}

.section.tight {
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.intro-grid,
.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.split h2,
.feature-strip h2,
.cta-section h2,
.service-detail h2,
.solution-card h2,
.about-panel h3,
.contact-card h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.intro-grid p,
.split p,
.feature-list p,
.proof-grid p,
.service-card p,
.solution-card p,
.service-detail p,
.contact-card p {
  color: var(--muted);
}

.service-band {
  background: var(--frost);
  width: 100%;
  max-width: none;
  padding-inline: var(--page-inset);
}

.service-band > * {
  width: 100%;
  margin-inline: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.solution-card,
.proof-grid article,
.about-panel,
.contact-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(14, 54, 92, 0.08);
}

.service-card,
.solution-card,
.proof-grid article {
  padding: 24px;
}

.service-card h3,
.proof-grid h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
}

.service-card a,
.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--blue-dark);
  background: var(--ice);
  border: 1px solid #ccecff;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 900;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.journey {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--ice);
  border: 1px solid #ccecff;
  border-radius: var(--radius);
}

.journey div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.journey strong {
  color: var(--blue-dark);
}

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

.system-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 420px;
  padding: 22px;
  background: linear-gradient(145deg, #f9fdff, #edf8ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.system-map span,
.system-core {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 14px;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 800;
}

.system-map span {
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.system-core {
  grid-column: 1 / -1;
  color: var(--white);
  background: var(--navy);
}

.feature-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 36px;
  background: var(--navy);
  width: 100%;
  max-width: none;
  padding-inline: var(--page-inset);
}

.feature-strip > * {
  width: 100%;
}

.feature-strip h2,
.feature-strip .eyebrow {
  color: var(--white);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list p {
  margin: 0;
  padding: 18px;
  color: #d9ecff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-block: clamp(48px, 7vw, 86px);
  padding: clamp(34px, 5vw, 58px) var(--gutter);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-section h2,
.cta-section .eyebrow {
  color: var(--white);
}

.cta-section p {
  max-width: 760px;
  color: #d9ecff;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 0%, rgba(41, 167, 199, 0.16), transparent 32%),
    linear-gradient(180deg, #f8fcff, #ffffff);
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 32px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-number {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

.solution-card h2 {
  font-size: 1.45rem;
}

.about-panel,
.contact-card,
.contact-form {
  padding: 28px;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 40px var(--page-inset);
  color: #d2e6f7;
  background: var(--navy);
  width: 100%;
  max-width: none;
}

.site-footer > * {
  width: min(100%, calc(var(--max) / 2));
}

.site-footer p {
  margin: 6px 0 0;
  color: #9db7cc;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d2e6f7;
  text-decoration: none;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 80px;
    padding-block: 16px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
  }

  .site-nav a {
    padding: 10px 14px;
    min-height: 48px;
  }

  .site-nav a[aria-current="page"]:not(.nav-cta) {
    background: var(--ice);
    border-radius: 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .intro-grid,
  .split,
  .split.reverse,
  .feature-strip,
  .service-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 7vw, 4rem);
  }

  .hero-lede {
    max-width: 580px;
  }

  .hero-artwork {
    width: 100%;
    max-width: 680px;
    justify-self: center;
  }

  .hero-image {
    aspect-ratio: 1.35;
    object-position: center 35%;
  }

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

  .feature-strip > *,
  .site-footer > * {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 76px;
    padding-block: 14px;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 158px;
    height: auto;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 7.5vw, 2.45rem);
  }

  .hero {
    gap: 32px;
    padding-block: 40px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 9.5vw, 3.4rem);
  }

  .hero-eyebrow {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .hero .button-row {
    gap: 10px;
    margin-top: 24px;
  }

  .hero .button {
    padding-inline: 16px;
    font-size: 0.76rem;
  }

  .hero-platforms {
    margin-top: 24px;
    font-size: 0.65rem;
    column-gap: 7px;
  }

  .hero-artwork {
    border-radius: 10px;
  }

  .hero-image {
    aspect-ratio: 1.18;
  }

  .artwork-heading {
    top: 16px;
    left: 16px;
    font-size: 0.53rem;
  }

  .artwork-caption {
    gap: 8px;
    padding: 16px;
    font-size: 0.63rem;
  }

  .card-grid.three,
  .card-grid.two,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .journey div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
