:root {
  --navy: #101318;
  --ink: #171a20;
  --muted: #606874;
  --cream: #f4f6f8;
  --line: #e2e5ea;
  --blue: #003bb3;
  --green: #009052;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img { max-width: 100%; height: auto; }

.wrap { width: min(1160px, calc(100% - 48px)); margin: auto; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 60;
  background: #fff;
  color: var(--navy);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.skip:focus { top: 12px; }

.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;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav {
  position: relative;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: flex; align-items: center; color: var(--navy); }

.brand img { display: block; width: 190px; height: auto; }

.links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #405461;
}

.links a:hover { color: var(--green); }

.nav-end { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s;
}

.nav-cta:hover,
.button:hover { background: #002e8e; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
  padding: 94px 0 90px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 6px;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(var(--green) 0 42%, var(--blue) 42%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  right: -150px;
  top: -220px;
  box-shadow: 0 0 0 55px #ffffff08, 0 0 0 110px #ffffff06;
}

.hero-inner { position: relative; z-index: 1; max-width: 750px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  font-weight: 750;
  color: #65d29e;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--green);
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  font-size: clamp(42px, 6.2vw, 72px);
  line-height: 1.04;
  margin: 23px 0;
}

.hero p {
  font-size: 17px;
  line-height: 1.8;
  color: #d4dfe3;
  max-width: 620px;
  margin: 0 0 30px;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

.text-link { color: #c9d7ff; font-size: 13px; font-weight: 650; }

.hero-note {
  margin-top: 64px;
  color: #aebfc5;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section { padding: 88px 0; }
.section.tinted { background: var(--cream); }
.section-head { max-width: 700px; margin-bottom: 42px; }

.kicker {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 10px;
  font-weight: 800;
}

.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 49px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 13px 0 14px;
}

.lead { color: var(--muted); font-size: 16px; max-width: 670px; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  padding: 27px 26px 29px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 210px;
  background: #fff;
}

.service-num {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #5c6770;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.service-num span {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.service h3 {
  font-family: inherit;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--navy);
  margin: 14px 0 9px;
}
.service p { font-size: 13px; color: var(--muted); margin: 0; }

.software { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.software-panel {
  background: var(--navy);
  padding: 36px;
  color: white;
  min-height: 290px;
  position: relative;
  overflow: hidden;
}

.software-panel::after {
  content: "R";
  font-family: Georgia, serif;
  font-size: 250px;
  line-height: 1;
  color: #ffffff09;
  position: absolute;
  right: 8px;
  bottom: -80px;
}

.software-panel > * { position: relative; z-index: 1; }
.software-panel h3 { font-family: Georgia, serif; font-size: 29px; font-weight: 400; margin: 12px 0; }
.software-panel p { color: #cbd8dc; font-size: 14px; max-width: 420px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.chips span {
  border: 1px solid #ffffff3a;
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #e3e9e8;
}

.checklist { list-style: none; padding: 0; margin: 20px 0; }

.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #52636b;
}

.checklist li::before {
  content: "→";
  color: var(--green);
  font-weight: 800;
  margin-right: 12px;
}

.clients { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }

.client {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.client:last-child { border-right: 0; }
.client img { width: 88px; height: 90px; object-fit: contain; margin-bottom: 10px; }
.client small {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #839096;
  margin-top: 3px;
}

.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.person {
  padding: 29px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 19px;
  align-items: start;
}

.person-photo {
  width: 112px;
  height: 132px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 2px;
}

.person-avatar { object-position: center 35%; }

.person h3 {
  margin: 1px 0 3px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.role {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 750;
}

.person p { margin: 11px 0 0; color: var(--muted); font-size: 13px; }

.contact { background: var(--navy); color: white; padding: 65px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.contact h2 { color: white; font-size: 42px; margin: 10px 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.contact p { color: #c9d5d9; margin: 0; }
.contact .button { flex-shrink: 0; white-space: nowrap; }

.page-missing { padding: 88px 0 120px; }
.page-missing h1 { font-size: clamp(36px, 5vw, 56px); }

.foot { background: #080a0d; color: #a9b8be; padding: 28px 0; font-size: 11px; }
.foot-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.foot .brand img { filter: brightness(0) invert(1); width: 170px; }
.foot-contacts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.foot-contacts a:hover { color: #fff; }
.foot-address {
  grid-column: 1 / -1;
  border-top: 1px solid #ffffff20;
  padding-top: 16px;
  color: #e0e4ea;
  font-size: 12px;
}
.foot-address strong {
  color: #fff;
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.foot-address span { color: #a9b8be; }

@media (max-width: 960px) {
  .contact-inner { display: block; }
  .contact-inner .button { margin-top: 25px; white-space: normal; }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .links.is-open { display: flex; }
  .links a { padding: 14px 8px; font-size: 15px; }
  .hero { padding: 70px 0; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .software { grid-template-columns: 1fr; gap: 30px; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .client:nth-child(2) { border-right: 0; }
  .client:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .contact-inner { display: block; }
  .contact-inner .button { margin-top: 25px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 34px, 1160px); }
  .nav { height: 70px; }
  .brand img { width: 155px; }
  .nav-cta { padding: 10px 12px; font-size: 11px; }
  .hero { padding: 61px 0; }
  .hero p { font-size: 15px; }
  .hero-note { margin-top: 42px; }
  .section { padding: 66px 0; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: auto; }
  .founders { grid-template-columns: 1fr; }
  .person { grid-template-columns: 82px 1fr; padding: 20px; gap: 14px; }
  .person-photo { width: 82px; height: 106px; }
  .contact h2 { font-size: 34px; }
  .foot-inner { grid-template-columns: 1fr; align-items: flex-start; }
  .foot-address { grid-column: 1; }
  .foot-contacts { align-items: flex-start; }
  .client { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-cta,
  .button,
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { transition: none; }
}
