:root {
  --navy: #06111d;
  --navy-2: #0a1b2a;
  --blue: #00a4e4;
  --blue-dark: #0077b6;
  --blue-soft: #e1f3fa;
  --surface: #f4f7f9;
  --white: #ffffff;
  --text: #0a1722;
  --muted: #68747e;
  --line: #dce4e9;
  --line-dark: rgba(255, 255, 255, 0.13);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --sans: "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --container: 1180px;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #006da8;
}

::selection {
  background: var(--blue);
  color: var(--navy);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 14px;
}

.kicker {
  margin: 0;
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.kicker::before {
  display: inline-block;
  width: 20px;
  height: 2px;
  margin: 0 10px 3px 0;
  background: var(--blue);
  content: "";
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 17, 29, 0.76);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.site-header.is-sticky {
  background: rgba(6, 17, 29, 0.96);
  box-shadow: 0 8px 28px rgba(0, 11, 20, 0.2);
}

.nav-shell {
  display: flex;
  height: 76px;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

.brand__accent {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-width: 3;
}

.brand__type {
  display: grid;
  font-family: var(--mono);
  line-height: 1;
  text-transform: uppercase;
}

.brand__type small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.brand__type strong {
  margin-top: 3px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.primary-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  transition: color 150ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="true"] {
  color: var(--white);
}

.header-call {
  display: inline-flex;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  background: var(--blue);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  transition: background-color 150ms ease, transform 150ms ease;
}

.header-call:hover {
  background: #27b7ed;
  transform: translateY(-1px);
}

.header-call svg,
.button svg,
.mobile-call svg,
.contact-cell svg,
.icon-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 150ms ease, opacity 150ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(800px, 100svh);
  overflow: hidden;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  filter: hue-rotate(168deg) saturate(0.78) contrast(1.08);
}

.hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 12, 21, 0.99) 0%, rgba(3, 12, 21, 0.9) 41%, rgba(3, 12, 21, 0.25) 78%, rgba(3, 12, 21, 0.14) 100%);
}

.hero__content {
  padding: 140px 0 100px;
}

.hero h1 {
  max-width: 830px;
  margin: 24px 0 0;
  font-family: var(--mono);
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

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

.hero__claim {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero__actions {
  display: flex;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 750;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

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

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

.button--primary:hover {
  background: #27b7ed;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.symbol-note {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services {
  padding: clamp(88px, 10vw, 136px) 0;
  background: var(--surface);
}

.section-title {
  margin-bottom: 56px;
}

.section-title h2,
.contact__title h2 {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.section-title h2 span {
  color: var(--blue-dark);
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid #cce1ec;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  place-items: center;
}

.service-listing {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  grid-template-columns: 52px minmax(250px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(24px, 4vw, 58px);
}

.service-row__number {
  align-self: start;
  padding-top: 7px;
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.service-row__copy .icon-box {
  margin-bottom: 34px;
}

.service-row__copy h3 {
  max-width: 410px;
  margin: 0 0 17px;
  font-family: var(--mono);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.service-row__copy ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px 0;
  list-style: none;
}

.service-row__copy li {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
}

.service-row__copy li:not(:last-child)::after {
  margin: 0 10px;
  color: #a6b4bd;
  content: "/";
}

.service-row__media {
  position: relative;
  height: 290px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-2);
}

.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: scale 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row:nth-child(-n + 2) .service-row__media img {
  filter: hue-rotate(168deg) saturate(0.78) contrast(1.05);
}

.service-row:hover .service-row__media img {
  scale: 1.025;
}

.service-row__media figcaption {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(3, 12, 21, 0.62);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.service-row__link {
  display: inline-flex;
  min-height: 42px;
  margin-top: 24px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  align-items: center;
  gap: 9px;
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 700;
}

.service-row__link:hover {
  border-color: #a9c7d7;
  background: var(--white);
}

.service-row__link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.contact {
  padding: clamp(88px, 10vw, 132px) 0;
  background: var(--navy);
  color: var(--white);
}

.contact__title {
  margin-bottom: 50px;
}

.contact__title .kicker {
  color: rgba(255, 255, 255, 0.58);
}

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

.contact-cell {
  position: relative;
  display: grid;
  min-height: 170px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  align-items: center;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  transition: background-color 150ms ease;
}

a.contact-cell:hover {
  background: rgba(255, 255, 255, 0.045);
}

.contact-cell .icon-box {
  border-color: rgba(0, 164, 228, 0.28);
  background: rgba(0, 164, 228, 0.1);
  color: var(--blue);
}

.contact-cell > span:not(.icon-box) {
  display: grid;
  gap: 7px;
}

.contact-cell small {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-cell strong {
  color: var(--white);
  font-family: var(--mono);
  font-size: clamp(0.95rem, 2vw, 1.22rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.5;
}

.contact-cell .cell-arrow {
  width: 21px;
  height: 21px;
  color: var(--blue);
}

.site-footer {
  padding: 58px 0 0;
  background: #030a11;
  color: var(--white);
}

.footer-main {
  display: grid;
  padding-bottom: 48px;
  align-items: center;
  grid-template-columns: 1fr auto auto;
  gap: 42px;
}

.footer-main > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.43);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  min-height: 66px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.footer-bottom > span:last-child {
  display: flex;
  gap: 20px;
}

.mobile-call {
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: 16px;
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--blue);
  box-shadow: 0 12px 32px rgba(0, 18, 30, 0.25);
  color: var(--navy);
  place-items: center;
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  background: var(--surface);
}

.legal-header {
  padding: 18px 0;
  background: var(--navy);
  color: var(--white);
}

.legal-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-back {
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.legal-back:hover {
  color: var(--blue);
}

.legal-content {
  width: min(calc(100% - 48px), 780px);
  margin-inline: auto;
  padding: 90px 0 120px;
}

.legal-content .eyebrow {
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-content .eyebrow span {
  display: inline-block;
  width: 20px;
  height: 2px;
  margin: 0 10px 3px 0;
  background: var(--blue);
}

.legal-content h1 {
  margin: 22px 0 48px;
  font-family: var(--mono);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}

.legal-content h2 {
  margin: 42px 0 13px;
  font-family: var(--mono);
  font-size: 1.05rem;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: #56636d;
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-content a {
  color: #006da8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content .button {
  color: var(--white);
  text-decoration: none;
}

.legal-note {
  padding: 19px 21px;
  border-left: 3px solid var(--blue);
  background: var(--white);
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 42px minmax(210px, 0.72fr) minmax(300px, 1fr);
    gap: 24px;
  }

  .service-row__media {
    height: 240px;
  }

  .service-row__copy .icon-box {
    margin-bottom: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr auto;
  }

  .footer-main > p {
    display: none;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-shell {
    height: 68px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__type strong {
    font-size: 1.05rem;
  }

  .header-call {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 28px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 17, 29, 0.99);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 20px 4px;
    border-bottom: 1px solid var(--line-dark);
    color: var(--white);
    font-size: 1rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero__image {
    object-position: 69% center;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(3, 12, 21, 0.97), rgba(3, 12, 21, 0.64) 72%, rgba(3, 12, 21, 0.34));
  }

  .hero__content {
    padding: 112px 0 80px;
  }

  .hero h1 {
    margin-top: 19px;
    font-size: clamp(2.85rem, 14vw, 4.3rem);
    letter-spacing: -0.075em;
  }

  .hero__claim {
    margin-top: 20px;
    font-size: 0.78rem;
  }

  .hero__actions {
    margin-top: 30px;
  }

  .hero__actions .button {
    flex: 1 1 auto;
  }

  .symbol-note {
    right: 12px;
    bottom: 10px;
  }

  .services,
  .contact {
    padding: 82px 0;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h2,
  .contact__title h2 {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
  }

  .service-row {
    padding: 24px 0 30px;
    align-items: start;
    grid-template-columns: 40px 1fr;
    gap: 20px 14px;
  }

  .service-row__media {
    height: auto;
    aspect-ratio: 16 / 10;
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .service-row__number {
    padding-top: 5px;
    grid-column: 1;
    grid-row: 2;
  }

  .service-row__copy {
    grid-column: 2;
    grid-row: 2;
  }

  .service-row__copy .icon-box {
    margin-bottom: 22px;
  }

  .service-row__copy h3 {
    margin-bottom: 13px;
    font-size: clamp(1.4rem, 7vw, 1.85rem);
  }

  .service-row__copy ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .service-row__copy li:not(:last-child)::after {
    display: none;
  }

  .service-row__link {
    margin-top: 18px;
  }

  .contact__title {
    margin-bottom: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-cell {
    min-height: 138px;
    padding: 23px 20px;
    grid-template-columns: 48px 1fr auto;
    gap: 15px;
  }

  .contact-cell strong {
    font-size: 0.92rem;
  }

  .footer-main {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    padding: 20px 0 82px;
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-call {
    display: grid;
  }

  .legal-content {
    width: min(calc(100% - 32px), 780px);
    padding: 65px 0 90px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
