:root {
  --blue: #27539b;
  --blue-deep: #173665;
  --blue-soft: #e9eff7;
  --slate: #5f6c7b;
  --ink: #182433;
  --muted: #657284;
  --line: #dce2e9;
  --paper: #ffffff;
  --wash: #f4f6f8;
  --max: 1180px;
  --shadow: 0 18px 55px rgba(13, 34, 61, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  transform: translateY(-150%);
  padding: .7rem 1rem;
  color: #fff;
  background: var(--blue-deep);
}
.skip-link:focus { transform: none; }

.topline {
  background: var(--blue-deep);
  color: #fff;
  font-size: .88rem;
  letter-spacing: .01em;
}
.topline__inner {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 36px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topline a { text-decoration: none; }
.topline a:hover { text-decoration: underline; }
.topline__since { opacity: .78; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(220, 226, 233, .9);
  backdrop-filter: blur(12px);
}
.nav-shell {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 94px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.brand { flex: 0 0 auto; }
.brand img { width: 270px; height: auto; }
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: .55rem .8rem;
  color: var(--blue-deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.site-nav { margin-left: auto; }
.site-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.55rem;
  list-style: none;
}
.site-nav a {
  position: relative;
  color: #283647;
  font-size: .93rem;
  font-weight: 650;
  letter-spacing: .025em;
  text-decoration: none;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -.55rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-contact {
  color: var(--blue-deep);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: min(620px, 72vh);
  overflow: hidden;
  color: #fff;
  background: #152132;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.is-active { z-index: 1; opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition: transform 7s ease;
}
.hero__slide.is-active img { transform: scale(1.055); }
.hero::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 21, 39, .88) 0%, rgba(8, 22, 41, .65) 34%, rgba(8, 22, 41, .08) 72%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 2rem), var(--max));
  min-height: min(620px, 72vh);
  margin: auto;
  display: flex;
  align-items: center;
}
.hero__copy { width: min(650px, 92%); padding: 4rem 0 5rem; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #cbdaf2; }
h1, h2, h3 { margin-top: 0; line-height: 1.1; }
h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  font-weight: 720;
  letter-spacing: -.045em;
}
.hero__lead {
  max-width: 610px;
  margin: 0 0 2rem;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.25rem;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { background: #1e4688; transform: translateY(-1px); }
.button--light { color: var(--blue-deep); background: #fff; border-color: #fff; }
.button--light:hover { background: #eef3f9; }
.hero__controls {
  position: absolute;
  z-index: 4;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 2rem;
  display: flex;
  gap: .45rem;
}
.hero__dot {
  width: 42px;
  height: 4px;
  padding: 0;
  background: rgba(255,255,255,.38);
  border: 0;
  cursor: pointer;
}
.hero__dot.is-active { background: #fff; }

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section--wash { background: var(--wash); }
.section--blue { color: #fff; background: var(--blue-deep); }
.container { width: min(calc(100% - 2rem), var(--max)); margin: auto; }
.section-head { max-width: 790px; margin-bottom: 3rem; }
.section-head h2,
.editorial h2,
.page-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -.035em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.13rem; }
.section--blue .section-head p { color: rgba(255,255,255,.75); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}
.intro-grid__statement {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 640;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.intro-grid__body p:first-child { margin-top: 0; }
.inline-link { color: var(--blue); font-weight: 700; text-underline-offset: .2em; }

.strata {
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
}
.strata__row {
  display: grid;
  grid-template-columns: 72px minmax(180px, .55fr) 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.strata__num { color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.strata h3 { margin: 0; font-size: 1.25rem; }
.strata p { margin: 0; color: var(--muted); }

.software-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.software-tease {
  min-height: 430px;
  padding: 2rem;
  display: grid;
  grid-template-rows: 290px auto;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,.2);
}
.software-tease:last-child { border-right: 0; }
.software-tease img { max-height: 285px; margin: auto; filter: drop-shadow(0 16px 22px rgba(0,0,0,.22)); }
.software-tease h3 { margin: 1.25rem 0 .35rem; font-size: 1.35rem; }
.software-tease p { margin: 0; color: rgba(255,255,255,.72); }
.section-actions { margin-top: 2.25rem; }

.trust-line {
  padding: 2rem 0;
  color: #465467;
  background: #eef2f6;
}
.trust-line__inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-weight: 650;
}

.page-hero {
  position: relative;
  min-height: 470px;
  color: #fff;
  background: #192535;
  overflow: hidden;
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(10,24,43,.9), rgba(10,24,43,.42)); }
.page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 470px;
  margin: auto;
  display: flex;
  align-items: end;
  padding: 4.5rem 0;
}
.page-hero__copy { max-width: 720px; }
.page-hero__copy p { max-width: 640px; margin: 0; color: rgba(255,255,255,.84); font-size: 1.15rem; }

.capability-list { border-top: 1px solid var(--line); }
.capability {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(2rem, 6vw, 7rem);
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--line);
}
.capability h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.025em; }
.capability p { margin: 0; color: var(--muted); }
.capability ul { margin: 1rem 0 0; padding-left: 1.15rem; color: #3e4c5e; }

.quote-band {
  padding: clamp(4rem, 9vw, 8rem) 0;
  color: #fff;
  background: linear-gradient(115deg, var(--blue-deep), #284f88);
}
.quote-band blockquote {
  max-width: 950px;
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.55rem);
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.quote-band p { margin: 1.5rem 0 0; color: rgba(255,255,255,.7); }

.software-page-head { padding: clamp(4rem, 8vw, 7rem) 0 2rem; }
.software-page-head h1 { margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -.045em; }
.software-page-head p { max-width: 730px; color: var(--muted); font-size: 1.15rem; }
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0 7rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.software-card {
  min-width: 0;
  padding: 2.5rem 2rem 2rem;
  color: var(--ink);
  background: #fff;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease;
}
.software-card:hover,
.software-card:focus-visible { background: #f7f9fc; outline: 3px solid var(--blue); outline-offset: -3px; }
.software-card__visual { height: 345px; display: grid; place-items: center; }
.software-card img { max-height: 330px; margin: auto; filter: drop-shadow(0 18px 18px rgba(18,35,56,.16)); }
.software-card__type { margin: 1.4rem 0 .35rem; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.software-card h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.software-card p { margin: 0; color: var(--muted); }
.software-card__more { display: inline-block; margin-top: 1.2rem; color: var(--blue-deep); font-weight: 750; }

.software-dialog {
  width: min(760px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.software-dialog::backdrop { background: rgba(8,20,36,.72); backdrop-filter: blur(4px); }
.dialog-inner { padding: clamp(1.5rem, 5vw, 3.5rem); }
.dialog-close {
  float: right;
  width: 44px;
  height: 44px;
  color: var(--blue-deep);
  background: var(--wash);
  border: 0;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
}
.dialog-kicker { margin: 0 0 .5rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.software-dialog h2 { margin-bottom: .85rem; padding-right: 3rem; font-size: clamp(2rem, 5vw, 3rem); }
.software-dialog .dialog-lead { color: var(--muted); font-size: 1.08rem; }
.software-dialog ul { padding-left: 1.2rem; }

.history-hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  color: #fff;
  background: linear-gradient(135deg, #142b50 0%, #29589f 58%, #6b7788 100%);
}
.history-hero h1 { max-width: 900px; margin-bottom: 1.25rem; font-size: clamp(2.7rem, 6vw, 5.8rem); letter-spacing: -.05em; }
.history-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: 1.18rem; }
.timeline { position: relative; }
.timeline::before { position: absolute; top: 0; bottom: 0; left: 155px; width: 1px; content: ""; background: var(--line); }
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 5rem;
  padding: 0 0 5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { color: var(--blue); font-size: 1.1rem; font-weight: 850; }
.timeline-year::after {
  position: absolute;
  top: .42rem;
  left: 149px;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--blue);
}
.timeline-copy { display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: 3rem; align-items: start; }
.timeline-copy h2 { margin-bottom: .7rem; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.timeline-copy p { max-width: 750px; margin-top: 0; color: var(--muted); }
.timeline-copy img {
  width: 100%;
  margin-top: .25rem;
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(21, 43, 77, .16);
}

.legal { padding: clamp(4rem, 8vw, 7rem) 0; }
.legal h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); letter-spacing: -.04em; }
.legal h2 { margin-top: 2.6rem; font-size: 1.4rem; }
.legal p, .legal li { color: #465467; }
.legal .notice { padding: 1rem 1.25rem; background: var(--blue-soft); border-left: 4px solid var(--blue); }

.contact-page {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, #f4f6f8 0%, #fff 58%, #e9eff7 100%);
}
.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.contact-intro { position: sticky; top: 150px; }
.contact-intro h1 { margin-bottom: 1.5rem; font-size: clamp(2.7rem, 5vw, 5rem); letter-spacing: -.045em; }
.contact-lead { max-width: 550px; margin: 0; color: var(--muted); font-size: 1.16rem; }
.contact-details { margin: 2.5rem 0; border-top: 1px solid var(--line); }
.contact-details > div { padding: 1.25rem 0; display: grid; grid-template-columns: 110px 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.contact-details span { color: var(--muted); font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-details a, .contact-details strong { color: var(--blue-deep); font-size: 1.06rem; text-decoration: none; }
.contact-assurance { max-width: 500px; padding-left: 1rem; color: #536174; border-left: 3px solid var(--blue); font-size: .95rem; }
.contact-form-panel { padding: clamp(2rem, 5vw, 3.5rem); background: #fff; border-top: 4px solid var(--blue); box-shadow: var(--shadow); }
.contact-form-panel h2 { margin-bottom: 2rem; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.form-preview { margin: 0 0 .65rem; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: grid; gap: .45rem; }
.form-field label { color: #334155; font-size: .92rem; font-weight: 700; }
.form-field label span[aria-hidden="true"] { color: var(--blue); }
.form-field .optional { color: var(--muted); font-size: .8rem; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: .72rem .85rem; color: var(--ink); background: #fff; border: 1px solid #cbd3dc; border-radius: 3px; font: inherit; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(39,83,155,.18); border-color: var(--blue); }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy, .form-status { margin: 0; color: var(--muted); font-size: .88rem; }
.form-status.is-success { padding: .8rem 1rem; color: #185c37; background: #e8f6ee; border-left: 4px solid #268653; }
.form-status.is-error { padding: .8rem 1rem; color: #84252b; background: #fff0f1; border-left: 4px solid #b63d46; }
.contact-submit { width: 100%; border-radius: 3px; }
.contact-submit:disabled { color: #fff; background: #6c7887; border-color: #6c7887; cursor: not-allowed; transform: none; }

.site-footer { color: rgba(255,255,255,.74); background: #111c2b; }
.footer-main {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 3rem;
}
.footer-main img { width: 205px; padding: .35rem; background: #fff; }
.footer-main h2 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-main p { max-width: 440px; }
.footer-main ul { margin: 0; padding: 0; list-style: none; }
.footer-main li + li { margin-top: .55rem; }
.footer-main a { text-decoration: none; }
.footer-main a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom__inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .86rem;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 900px) {
  .nav-shell { min-height: 74px; }
  .brand img { width: 220px; }
  .nav-toggle { display: inline-flex; }
  .header-contact { display: none; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(17, 35, 58, .1);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: 0; }
  .site-nav a { display: block; padding: .75rem .25rem; }
  .site-nav a::after { display: none; }
  .intro-grid, .capability { grid-template-columns: 1fr; gap: 1.5rem; }
  .software-grid { grid-template-columns: repeat(2, 1fr); }
  .software-strip { grid-template-columns: 1fr; }
  .software-tease { grid-template-columns: 170px 1fr; grid-template-rows: auto; min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .software-tease:last-child { border-bottom: 0; }
  .software-tease img { max-height: 230px; }
  .timeline-copy { grid-template-columns: 1fr; gap: 1rem; }
  .timeline-copy img { width: min(100%, 520px); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-intro { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .topline__since { display: none; }
  .topline__inner { justify-content: center; }
  .hero, .hero__content { min-height: 610px; }
  .hero::after { background: linear-gradient(90deg, rgba(8,21,39,.84), rgba(8,22,41,.34)); }
  .hero__copy { width: 100%; padding-bottom: 7rem; }
  .hero__controls { left: 1rem; right: auto; }
  .section { padding: 4.25rem 0; }
  .strata__row { grid-template-columns: 42px 1fr; gap: 1rem; }
  .strata__row p { grid-column: 2; }
  .software-grid { grid-template-columns: 1fr; }
  .software-card__visual { height: 315px; }
  .software-tease { grid-template-columns: 120px 1fr; padding: 1.5rem .5rem; }
  .software-tease img { max-height: 175px; }
  .trust-line__inner { display: grid; gap: .45rem; }
  .timeline::before { left: 18px; }
  .timeline-item { grid-template-columns: 1fr; gap: .65rem; padding-left: 3rem; }
  .timeline-year::after { left: 12px; }
  .timeline-copy { gap: .75rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 1.5rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom__inner { display: grid; }
}
