:root {
  --navy: #0b1930;
  --navy-2: #102643;
  --navy-3: #193451;
  --teal: #19c6b3;
  --teal-dark: #087f75;
  --ink: #101b2b;
  --muted: #5e6b7b;
  --line: #dce5e8;
  --pale: #f3f7f8;
  --white: #ffffff;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(11, 25, 48, 0.11);
  --radius: 4px;
  --container: 1200px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
summary,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(2.65rem, 4.5vw, 4.5rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.no-break {
  white-space: nowrap;
}

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

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

.section {
  padding-block: 120px;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: var(--navy);
  background: var(--teal);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.section-label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-label::before,
.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--teal);
  content: "";
}

.section-label--light {
  color: var(--teal);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--teal);
  border-radius: 2px;
  color: var(--navy);
  background: var(--teal);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.2;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 11px 17px;
  font-size: 0.82rem;
}

.button--dark {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.button--dark:hover {
  border-color: var(--teal);
  color: var(--navy);
  background: var(--teal);
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 750;
}

.text-link span,
.card-link span {
  color: var(--teal-dark);
  transition: transform 180ms ease;
}

.text-link:hover span,
.card-link:hover span {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(220, 229, 232, 0.85);
  background: rgba(255, 255, 255, 0.96);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(11, 25, 48, 0.08);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  width: 139px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 650;
}

.site-nav > a:not(.button),
.nav-dropdown__trigger {
  position: relative;
  padding-block: 27px;
  border: 0;
  background: transparent;
  line-height: 1.4;
}

.site-nav > a:not(.button)::after,
.nav-dropdown__trigger::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after,
.nav-dropdown__trigger:hover::after,
.nav-dropdown__trigger:focus-visible::after,
.nav-dropdown.is-open .nav-dropdown__trigger::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown__trigger svg {
  width: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.nav-dropdown.is-open .nav-dropdown__trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% - 5px);
  left: -22px;
  display: grid;
  visibility: hidden;
  width: 255px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.nav-dropdown__panel--wide {
  width: 280px;
}

.nav-dropdown__panel a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  padding: 10px;
  color: var(--navy);
  font-size: 0.83rem;
  line-height: 1.35;
}

.nav-dropdown__panel a span {
  color: var(--teal-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-dropdown__panel a:hover,
.nav-dropdown__panel a:focus-visible {
  background: var(--pale);
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] > span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 158px 0 80px;
  background: var(--pale);
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(25, 198, 179, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 110px;
  left: -330px;
  width: 520px;
  height: 520px;
}

.hero::after {
  right: -90px;
  bottom: -170px;
  width: 340px;
  height: 340px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(500px, 0.98fr);
  gap: 54px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.55rem, 3.5vw, 3.65rem);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-bottom: 46px;
}

.hero-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-contacts svg {
  width: 19px;
  fill: none;
  stroke: var(--teal-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.hero-visual {
  position: relative;
  padding: 22px 24px 18px;
  border: 1px solid var(--navy-3);
  background: var(--navy);
  box-shadow: 18px 18px 0 rgba(25, 198, 179, 0.18);
}

.diagram-topline,
.diagram-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.62);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagram-topline {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.system-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
}

.system-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 198, 179, 0.12);
}

.infra-diagram {
  width: 100%;
  margin: 8px auto 0;
}

.diagram-line {
  stroke: var(--teal);
  stroke-width: 2;
}

.diagram-line--muted {
  stroke: #5b7893;
}

.diagram-line--core {
  stroke-width: 3;
}

.diagram-junction {
  fill: var(--teal);
}

.diagram-node rect {
  fill: #102643;
  stroke: #365069;
  stroke-width: 1.2;
}

.diagram-node--top rect:first-child {
  stroke: var(--teal);
}

.server-rack rect,
.phone-icon path {
  fill: none;
  stroke: #86a3b8;
  stroke-width: 1.7;
}

.server-rack circle {
  fill: var(--teal);
}

.network-icon circle,
.network-icon path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.7;
}

.network-icon circle:not(:first-child) {
  fill: var(--teal);
}

.diagram-kicker {
  fill: var(--teal);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.diagram-heading {
  fill: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.diagram-heading--small {
  font-size: 16px;
}

.diagram-copy {
  fill: #8ea5b9;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}

.diagram-core rect {
  fill: var(--teal);
}

.diagram-core path,
.diagram-core circle {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.5;
}

.diagram-core text {
  fill: #8ea5b9;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.diagram-caption {
  justify-content: center;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.diagram-caption i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--teal);
}

.scope-strip {
  color: var(--white);
  background: var(--navy);
}

.scope-strip__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scope-strip__inner i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 100px;
}

.about-copy .lead {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.45;
}

.about-copy > p:not(.lead) {
  max-width: 720px;
  color: var(--muted);
}

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

.principles div {
  min-height: 150px;
  padding: 24px 22px 16px 0;
  border-right: 1px solid var(--line);
}

.principles div + div {
  padding-left: 22px;
}

.principles div:last-child {
  border-right: 0;
}

.principles strong {
  display: block;
  margin-bottom: 30px;
  color: var(--teal-dark);
  font-family: Consolas, monospace;
  font-size: 0.72rem;
}

.principles span {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

/* Services */
.services {
  background: var(--pale);
}

.section-head,
.onec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 58px;
}

.section-head > p,
.onec-head > p {
  margin-bottom: 6px;
  color: var(--muted);
}

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

.service-card {
  display: flex;
  min-height: 332px;
  grid-column: span 3;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(25, 198, 179, 0.8);
  box-shadow: 0 18px 45px rgba(11, 25, 48, 0.08);
  transform: translateY(-4px);
}

.service-card--featured {
  grid-column: span 6;
  color: var(--white);
  background: var(--navy);
}

.service-card--featured h3,
.service-card--featured .card-link {
  color: var(--white);
}

.service-card--featured p {
  max-width: 630px;
  color: #b8c7d3;
}

.service-card--wide {
  grid-column: span 8;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 35px;
}

.service-number {
  color: var(--teal-dark);
  font-family: Consolas, monospace;
  font-size: 0.73rem;
  font-weight: 800;
}

.service-card--featured .service-number {
  color: var(--teal);
}

.service-icon {
  width: 44px;
  fill: none;
  stroke: var(--teal-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-card--featured .service-icon {
  stroke: var(--teal);
}

.service-card p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card .card-link {
  margin-top: auto;
  font-size: 0.85rem;
}

.service-card__wide-copy {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
}

.service-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  padding: 8px 0 8px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 650;
}

.service-tags li::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 2px -15px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

/* 1C */
.onec {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.onec::after {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(25, 198, 179, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.onec .container {
  position: relative;
  z-index: 1;
}

.onec h2,
.onec h3 {
  color: var(--white);
}

.onec-head > p {
  color: #a8bac8;
}

.onec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.onec-item {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 180ms ease;
}

.onec-item:hover {
  background: var(--navy-2);
}

.onec-item > span {
  display: block;
  margin-bottom: 54px;
  color: var(--teal);
  font-family: Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.onec-item h3 {
  font-size: 1.15rem;
}

.onec-item p {
  margin-bottom: 0;
  color: #a8bac8;
  font-size: 0.9rem;
}

.onec-item--accent {
  position: relative;
  display: grid;
  min-height: 220px;
  grid-column: 1 / -1;
  grid-template-columns: 70px minmax(220px, 0.8fr) minmax(300px, 1.2fr) auto;
  gap: 32px;
  align-items: center;
  background: var(--teal);
}

.onec-item--accent:hover {
  background: var(--teal);
}

.onec-item--accent > span,
.onec-item--accent h3,
.onec-item--accent p,
.onec-item--accent a {
  margin: 0;
  color: var(--navy);
}

.onec-item--accent p {
  max-width: 460px;
}

.onec-item--accent a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 800;
}

/* Process */
.process {
  background: var(--white);
}

.section-head--process {
  margin-bottom: 70px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 230px;
  padding: 32px 25px 10px 0;
  border-right: 1px solid var(--line);
}

.process-list li + li {
  padding-left: 25px;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
  content: "";
}

.process-list li + li::before {
  left: 25px;
}

.process-list li > span {
  display: block;
  margin-bottom: 64px;
  color: var(--teal-dark);
  font-family: Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 9px;
  font-size: 1.02rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* FAQ */
.faq {
  background: var(--pale);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 110px;
}

.faq-intro {
  align-self: start;
}

.faq-intro h2 {
  margin-bottom: 26px;
}

.faq-intro > p:not(.section-label) {
  margin-bottom: 26px;
  color: var(--muted);
}

.accordion {
  border-top: 1px solid #cddadd;
}

.accordion details {
  border-bottom: 1px solid #cddadd;
}

.accordion summary {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--navy);
  font-size: 1.04rem;
  font-weight: 700;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.accordion summary span::before,
.accordion summary span::after {
  position: absolute;
  top: 11px;
  left: 5px;
  width: 14px;
  height: 2px;
  background: var(--teal-dark);
  content: "";
  transition: transform 180ms ease;
}

.accordion summary span::after {
  transform: rotate(90deg);
}

.accordion details[open] summary span::after {
  transform: rotate(0);
}

.accordion details p {
  max-width: 650px;
  padding: 0 52px 26px 0;
  margin-bottom: 0;
  color: var(--muted);
}

/* Contact */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.contact-copy {
  position: relative;
  overflow: hidden;
  padding: 64px;
}

.contact-copy::after {
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(25, 198, 179, 0.28);
  border-radius: 50%;
  content: "";
}

.contact-copy h2 {
  max-width: 480px;
  margin-bottom: 25px;
  color: var(--white);
}

.contact-copy > p:not(.section-label) {
  max-width: 500px;
  color: #a8bac8;
}

.contact-methods {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin-top: 55px;
}

.contact-methods a {
  display: grid;
  gap: 3px;
  width: fit-content;
}

.contact-methods span {
  color: #7892a8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-methods strong {
  color: var(--white);
  font-size: 1.13rem;
}

.contact-methods a:hover strong {
  color: var(--teal);
}

.contact-form {
  padding: 58px 60px;
  background: var(--pale);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label:not(.checkbox) {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.contact-form label > span:first-child {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 750;
}

.contact-form label b {
  color: var(--teal-dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #ccd9dd;
  border-radius: 0;
  color: var(--navy);
  background: var(--white);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 126px;
  padding: 13px 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(25, 198, 179, 0.15);
}

.contact-form .was-invalid,
.contact-form.was-validated :invalid:not(.checkbox input) {
  border-color: var(--danger);
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 24px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal-dark);
}

.checkbox span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.checkbox a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-submit p {
  max-width: 270px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--danger);
}

/* Footer */
.site-footer {
  color: #b5c5d1;
  background: #071222;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-block: 72px;
}

.footer-brand img {
  width: 230px;
  height: auto;
  margin-bottom: 25px;
}

.footer-brand p {
  max-width: 390px;
  margin-bottom: 0;
  font-size: 0.88rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.footer-nav > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-nav h2 {
  margin-bottom: 12px;
  color: #7991a4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a {
  width: fit-content;
  color: var(--white);
  font-size: 0.88rem;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

/* Privacy page */
.legal-main {
  padding: 150px 0 100px;
  background: var(--pale);
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: 80px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 118px;
}

.legal-aside img {
  width: 74px;
  margin-bottom: 28px;
}

.legal-aside p {
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-content {
  padding: 60px;
  border: 1px solid var(--line);
  background: var(--white);
}

.legal-content h1 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.legal-content .legal-updated {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-content h2 {
  margin: 42px 0 14px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: #49596a;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  margin: 34px 0;
  background: var(--pale);
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-content a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 1120px) {
  .site-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 3.9vw, 3.1rem);
  }

  .contact-copy,
  .contact-form {
    padding: 50px 42px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding-block: 90px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    align-items: stretch;
    padding: 24px;
    background: var(--white);
  }

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

  .site-nav > a:not(.button),
  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .site-nav > a:not(.button)::after,
  .nav-dropdown__trigger::after {
    display: none;
  }

  .nav-dropdown__panel {
    position: static;
    display: none;
    visibility: visible;
    width: 100%;
    padding: 8px 0 12px 16px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown__panel,
  .nav-dropdown:focus-within .nav-dropdown__panel {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown__panel,
  .nav-dropdown.is-open:hover .nav-dropdown__panel,
  .nav-dropdown.is-open:focus-within .nav-dropdown__panel {
    display: grid;
  }

  .nav-cta {
    width: 100%;
    margin-top: 20px;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 700px);
    margin-inline: auto;
  }

  .about-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .service-card,
  .service-card--featured,
  .service-card--wide {
    grid-column: span 6;
  }

  .service-card--wide {
    grid-column: 1 / -1;
  }

  .onec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onec-item--accent {
    grid-template-columns: 52px minmax(220px, 0.8fr) minmax(240px, 1.2fr);
  }

  .onec-item--accent a {
    grid-column: 2 / -1;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list li {
    border-bottom: 1px solid var(--line);
  }

  .contact {
    padding: 70px 0;
  }

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

  .legal-shell {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding-block: 72px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.5vw, 2.7rem);
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.8rem, 7.5vw, 2.45rem);
  }

  .hero {
    min-height: auto;
    padding: 115px 0 62px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-visual {
    padding: 16px 14px 13px;
    box-shadow: 9px 9px 0 rgba(25, 198, 179, 0.18);
  }

  .diagram-topline,
  .diagram-caption {
    font-size: 0.55rem;
  }

  .scope-strip__inner {
    min-height: 72px;
    justify-content: flex-start;
    gap: 13px;
    overflow: hidden;
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .about-grid {
    gap: 30px;
  }

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

  .principles div,
  .principles div + div {
    display: grid;
    min-height: auto;
    grid-template-columns: 45px 1fr;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles strong {
    margin: 0;
  }

  .section-head,
  .onec-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .service-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card--featured,
  .service-card--wide {
    min-height: 300px;
    grid-column: auto;
  }

  .service-card__wide-copy {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-tags {
    margin-bottom: 28px;
  }

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

  .onec-item {
    min-height: 220px;
  }

  .onec-item > span {
    margin-bottom: 38px;
  }

  .onec-item--accent {
    display: block;
    grid-column: auto;
  }

  .onec-item--accent > span {
    margin-bottom: 38px;
  }

  .onec-item--accent h3,
  .onec-item--accent p {
    margin-bottom: 18px;
  }

  .process-list {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .process-list li,
  .process-list li + li {
    display: grid;
    min-height: 0;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .process-list li::before,
  .process-list li + li::before {
    display: none;
  }

  .process-list li > span {
    margin: 2px 0 0;
  }

  .faq-grid {
    gap: 36px;
  }

  .contact {
    padding: 0;
    background: var(--navy);
  }

  .contact .container {
    width: 100%;
  }

  .contact-copy,
  .contact-form {
    padding: 48px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .legal-main {
    padding: 118px 0 70px;
  }

  .legal-content {
    padding: 34px 24px;
  }
}

@media (max-width: 460px) {
  .brand img {
    width: 125px;
  }

  .hero-contacts {
    flex-direction: column;
  }

  .diagram-topline > span:first-child,
  .diagram-caption {
    display: none;
  }

  .diagram-topline {
    justify-content: flex-end;
  }

  .service-card {
    padding: 25px;
  }

  .accordion summary {
    min-height: 74px;
    font-size: 0.95rem;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}

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

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