:root {
  color-scheme: light;
  --navy: #071524;
  --navy-2: #0d2135;
  --blue: #075aa5;
  --blue-bright: #1785d1;
  --red: #e31b23;
  --ink: #142130;
  --ink-soft: #5d6975;
  --paper: #f3f6f8;
  --white: #ffffff;
  --line: rgba(7, 21, 36, 0.14);
  --max-width: 1240px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.page-width {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 0 clamp(24px, 4vw, 64px);
  color: var(--white);
  background: rgba(3, 12, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  color: #fff;
}

.brand-accent {
  width: 3px;
  height: 38px;
  background: linear-gradient(180deg, var(--red) 0 43%, rgba(255,255,255,.28) 43% 54%, var(--blue-bright) 54% 100%);
}

.brand-wordmark {
  display: grid;
  gap: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand-wordmark strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .19em;
}

.brand-wordmark span {
  margin-top: 6px;
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .44em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.6vw, 25px);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.desktop-nav a { position: relative; padding-block: 9px; }
.desktop-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 18px !important; border: 1px solid rgba(255,255,255,.75); }
.nav-remote {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px !important;
  color: #fff;
  background: var(--red);
}
.nav-remote span { font-size: 16px; line-height: 0; }
.nav-remote:hover, .nav-remote:focus-visible { background: #f02830; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: 900px;
  color: var(--white);
  background: var(--navy);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { z-index: -2; object-fit: cover; object-position: center; }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,12,22,.96) 0%, rgba(3,15,29,.86) 37%, rgba(4,17,31,.28) 72%),
    linear-gradient(0deg, rgba(3,12,22,.88) 0%, transparent 42%);
}

.hero-content {
  align-self: center;
  padding-top: 156px;
  padding-bottom: 180px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::after { width: 44px; height: 2px; background: var(--red); content: ""; }
.eyebrow.light { color: #b9dcf5; }

h1, h2 { font-weight: 620; letter-spacing: -.045em; }
h1 { max-width: 12ch; margin-bottom: 28px; font-size: clamp(54px, 6.6vw, 98px); line-height: .98; }
h2 { max-width: 13ch; margin-bottom: 28px; font-size: clamp(42px, 4.7vw, 70px); line-height: 1; }

.hero-lead { max-width: 650px; margin-bottom: 42px; color: rgba(255,255,255,.78); font-size: clamp(17px,1.4vw,21px); }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 24px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border 180ms ease;
}
.button-primary { color: #fff; background: var(--red); border-color: var(--red); }
.button-primary:hover, .button-primary:focus-visible { background: #b90f16; border-color: #b90f16; }
.button-light { color: var(--navy); background: #fff; border-color: #fff; }
.button-light:hover, .button-light:focus-visible { color: #fff; background: transparent; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.text-link span { font-size: 17px; transition: transform 180ms ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translate(3px,-3px); }
.text-link.light { color: #fff; }

.hero-proof {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-proof p { display: grid; gap: 2px; margin: 0; padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.2); }
.hero-proof p:first-child { padding-left: 0; }
.hero-proof p:last-child { border-right: 0; }
.hero-proof strong { font-size: 15px; }
.hero-proof span { color: rgba(255,255,255,.6); font-size: 12px; }

.intro {
  display: grid;
  grid-template-columns: 70px 1.05fr .95fr;
  gap: clamp(28px,5vw,82px);
  padding-block: clamp(100px,12vw,180px);
}
.section-index { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.intro-heading h2 { color: var(--navy); }
.intro-copy { padding-top: 42px; color: var(--ink-soft); }
.large-copy { color: var(--ink); font-size: clamp(20px,2vw,28px); line-height: 1.42; }
.intro-copy .text-link { margin-top: 18px; color: var(--blue); }

.services {
  padding-block: clamp(96px,10vw,150px);
  color: #fff;
  background:
    radial-gradient(circle at 86% 8%, rgba(23, 133, 209, .13), transparent 32%),
    linear-gradient(145deg, #071524 0%, #0a1b2d 100%);
}
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px,8vw,120px); align-items: end; margin-bottom: 68px; }
.services .eyebrow { color: #9cc9e9; }
.section-head > p { max-width: 540px; margin-bottom: 16px; color: rgba(255,255,255,.62); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.service-card { min-height: 270px; padding: 32px; background: rgba(255,255,255,.025); border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); transition: transform 180ms ease, background 180ms ease; }
.service-card:hover { position: relative; z-index: 2; background: rgba(23,133,209,.12); transform: translateY(-5px); }
.service-card > span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { margin: 54px 0 16px; color: #fff; font-size: 23px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: rgba(255,255,255,.6); font-size: 14px; }

.approach { padding-block: clamp(100px,12vw,170px); color: #fff; background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.1); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px,9vw,140px); }
.approach h2 { max-width: 11ch; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.process-list li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.process-list li > span { color: #71b9ea; font-size: 11px; font-weight: 800; }
.process-list strong { display: block; margin-bottom: 6px; font-size: 19px; }
.process-list p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.audiences { padding-block: clamp(110px,13vw,180px); }
.audiences-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px,9vw,140px); align-items: end; margin-bottom: 70px; }
.audiences-head h2 { max-width: 12ch; }
.audiences-head > p { max-width: 560px; margin-bottom: 22px; color: var(--ink-soft); font-size: 18px; }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience-card { min-height: 240px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-card > span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.audience-card h3 { max-width: 18ch; margin: 48px 0 14px; color: var(--navy); font-size: 25px; letter-spacing: -.025em; }
.audience-card p { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 14px; }

.software-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px clamp(48px, 7vw, 100px);
  margin-top: 54px;
  padding: clamp(38px, 5vw, 66px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(23,133,209,.18), transparent 34%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.software-copy h3 { max-width: 18ch; margin: 0 0 22px; font-size: clamp(30px,3.5vw,48px); line-height: 1.05; letter-spacing: -.04em; }
.software-copy > p:last-child { max-width: 650px; margin: 0; color: rgba(255,255,255,.68); }
.software-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}
.software-list li {
  min-height: 76px;
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
  font-weight: 750;
}
.software-note {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 0;
  padding-top: 24px;
  color: rgba(255,255,255,.56);
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
}

.contact {
  padding-block: clamp(100px,12vw,170px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(23, 133, 209, .16), transparent 36%),
    linear-gradient(135deg, #071524 0%, #0d2135 100%);
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(60px,8vw,120px); align-items: start; }
.contact h2 { max-width: 12ch; }
.contact-heading > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.7); font-size: 17px; }
.contact-details { display: grid; gap: 6px; margin-top: 38px; font-size: 15px; }
.contact-details span { margin-bottom: 5px; color: rgba(255,255,255,.48); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-details a:hover { text-decoration: underline; }

.contact-copy {
  padding: clamp(28px, 4vw, 50px);
  color: var(--navy);
  background: rgba(255,255,255,.97);
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
}
.contact-form { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-field { display: grid; gap: 8px; }
.form-field-full { grid-column: 1 / -1; }
.form-field > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(7,21,36,.24);
  border-radius: 0;
  font: inherit;
}
.form-field textarea { min-height: 142px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--blue-bright); outline-offset: 2px; border-color: transparent; }
.contact-hint { margin: -12px 0 0; color: var(--ink-soft); font-size: 12px; }
.form-privacy { margin: 22px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.form-privacy a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .button { border: 0; cursor: pointer; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 18px 0 0; padding: 12px 14px; color: var(--ink); background: #eaf4fb; border-left: 3px solid var(--blue-bright); font-size: 14px; }
.form-status.is-error { background: #fff0f0; border-left-color: var(--red); }

.site-footer { padding-block: 42px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center; }
.footer-grid img { width: 180px; }
.footer-grid p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.footer-grid > div { text-align: right; }
.footer-grid a { color: var(--blue); font-size: 12px; }

.legal-shell {
  min-height: 100vh;
  padding: clamp(28px, 6vw, 84px) 20px;
  background:
    radial-gradient(circle at 8% 4%, rgba(23, 133, 209, .13), transparent 28%),
    linear-gradient(145deg, #071524 0%, #0d2135 38%, #eaf0f4 38%, #f7f9fa 100%);
}

.legal-card {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 68px);
  background: rgba(255, 255, 255, .98);
  border-top: 5px solid var(--red);
  box-shadow: 0 28px 90px rgba(3, 12, 22, .22);
}

.legal-brand {
  min-height: 0;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .08em;
  place-items: center;
}

.brand-name {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.legal-header {
  margin: clamp(42px, 7vw, 74px) 0 46px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  max-width: 16ch;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.legal-header .lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
}

.legal-content {
  display: grid;
  gap: 36px;
}

.legal-content section {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.legal-content p,
.legal-content li { color: #344252; }
.legal-content ul { margin: 0; padding-left: 22px; }
.legal-content li + li { margin-top: 12px; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.legal-footer span { color: var(--navy); font-weight: 800; }
.legal-footer a { color: var(--blue); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: grid; gap: 7px; width: 46px; height: 46px; place-content: center; border: 1px solid rgba(255,255,255,.5); cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 22px; height: 2px; background: #fff; }
  .mobile-nav nav { position: absolute; top: 56px; right: 0; display: grid; min-width: 250px; padding: 14px; color: var(--navy); background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
  .mobile-nav nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .mobile-nav nav .mobile-remote { margin-top: 8px; color: #fff; background: var(--red); border-bottom: 0; }
  .intro { grid-template-columns: 50px 1fr; }
  .intro-copy { grid-column: 2; padding-top: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .audiences-head { grid-template-columns: 1fr; align-items: start; }
  .software-band { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .page-width { width: min(calc(100% - 36px), var(--max-width)); }
  .site-header { min-height: 82px; padding: 0 18px; }
  .brand { min-height: 82px; }
  .brand-accent { height: 34px; }
  .brand-wordmark strong { font-size: 15px; }
  .brand-wordmark span { font-size: 8px; }
  .hero { min-height: 860px; }
  .hero-image { object-position: 66% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,12,22,.96), rgba(3,15,29,.75)), linear-gradient(0deg, rgba(3,12,22,.9), transparent); }
  .hero-content { align-self: start; padding-top: 170px; padding-bottom: 250px; }
  h1 { font-size: clamp(46px,14vw,66px); }
  h2 { font-size: clamp(38px,11vw,54px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof p { display: none; }
  .hero-proof p:first-child { display: grid; padding: 20px 0; border-right: 0; }
  .intro { grid-template-columns: 1fr; }
  .section-index { display: none; }
  .intro-copy { grid-column: auto; }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 220px; }
  .software-band { margin-top: 36px; padding: 32px 22px; }
  .software-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .contact-copy { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid > div { text-align: left; }
  .legal-shell { padding: 0; background: var(--white); }
  .legal-card { padding: 28px 22px 42px; border-top-width: 4px; box-shadow: none; }
  .legal-header { margin-top: 42px; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
