:root {
  --navy: #07151d;
  --navy-soft: #0d222d;
  --ink: #10242c;
  --muted: #5b7078;
  --paper: #f4f6f3;
  --surface: #ffffff;
  --line: #d9e1df;
  --teal: #00a99d;
  --teal-dark: #007f77;
  --lime: #b9e64a;
  --ice: #d9f4ef;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(7, 21, 29, 0.12);
  --page-x: clamp(20px, 5vw, 76px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  translate: 0 -150%;
  background: var(--lime);
  color: var(--navy);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px var(--page-x);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 21, 29, 0.88);
  color: #fff;
  backdrop-filter: blur(18px);
}

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

.brand-logo-wrap {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: var(--paper);
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name strong,
.brand-name small {
  display: block;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 15px;
  letter-spacing: 0.11em;
}

.brand-name small {
  margin-top: 5px;
  color: #9cb0b7;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  color: #c5d2d6;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--lime);
}

.site-nav .nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
}

.site-nav .nav-cta:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: transparent;
  color: #fff;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.84fr);
  align-items: center;
  gap: clamp(38px, 6vw, 96px);
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(128px, 13vw, 174px) var(--page-x) clamp(76px, 8vw, 112px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--navy);
  background-size: 52px 52px;
  color: #fff;
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: 22%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(0, 169, 157, 0.17);
  filter: blur(90px);
  pointer-events: none;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.eyebrow span {
  display: block;
  width: 25px;
  height: 2px;
  background: currentColor;
}

.hero .eyebrow,
.eyebrow.light {
  color: var(--lime);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(48px, 6.2vw, 90px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero h1 em {
  color: var(--lime);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

h3 {
  margin-bottom: 11px;
  font-size: 23px;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  color: #b8c8cd;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: translate 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  translate: 0 -2px;
}

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

.button.primary:hover {
  background: #caf662;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

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

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 30px;
  margin-top: 51px;
  color: #728a92;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.trust-line span::before {
  margin-right: 10px;
  color: var(--teal);
  content: "+";
}

.hero-visual {
  align-self: stretch;
  min-height: 510px;
}

.image-frame {
  position: absolute;
  inset: 0 0 56px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: #16313d;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.35);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 29, 0.1), rgba(7, 21, 29, 0.52));
  content: "";
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.system-card {
  position: absolute;
  right: -24px;
  bottom: 0;
  left: 34px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  background: rgba(13, 34, 45, 0.96);
  padding: 17px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.system-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9bb0b7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.system-card-head strong {
  margin-left: auto;
  color: var(--lime);
  font-size: 16px;
  letter-spacing: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(185, 230, 74, 0.1);
}

.mini-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}

.mini-flow span {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 7px 9px;
  color: #dce7e9;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mini-flow i {
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--lime));
}

.section {
  padding: clamp(76px, 9vw, 132px) var(--page-x);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 48px;
}

.section-heading > p:last-child,
.split-heading > p {
  color: var(--muted);
  font-size: 17px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: clamp(30px, 7vw, 100px);
  max-width: none;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading > p {
  margin-bottom: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
  padding: 26px;
  transition: background 180ms ease, translate 180ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--surface);
  box-shadow: var(--shadow);
  translate: 0 -5px;
}

.card-number {
  color: #94a4a9;
  font-family: Georgia, serif;
  font-size: 13px;
}

.card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 43px 0 25px;
  border-radius: 15px;
  background: var(--navy);
  color: var(--lime);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: inset -10px -10px 20px rgba(0, 169, 157, 0.22);
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

.card-link {
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solutions {
  background: #fff;
}

.centered-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.centered-heading .eyebrow {
  justify-content: center;
}

.centered-heading > p:last-child {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(7, 21, 29, 0.08);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.workflow-panel:focus-within,
.workflow-panel:hover {
  border-color: #b9cbc7;
  box-shadow: 0 22px 58px rgba(7, 21, 29, 0.12);
}

.workflow-panel + .workflow-panel {
  margin-top: 18px;
}

.workflow-panel-alt {
  background: #edf6f3;
}

.workflow-label {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(260px, 0.8fr) auto;
  align-items: center;
  gap: 18px 24px;
  background: var(--navy);
  padding: 22px 26px;
  color: #fff;
}

.workflow-kicker {
  margin: 0;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.workflow-label strong {
  font-size: 22px;
  line-height: 1.2;
}

.workflow-status {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 22px;
}

.workflow-status i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 0;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(185, 230, 74, 0.12);
  animation: workflow-pulse 1.5s ease-in-out infinite;
}

.workflow-panel.is-paused .workflow-status i {
  background: #81969d;
  box-shadow: none;
  animation: none;
}

.workflow-status small {
  color: #c8d6da;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.workflow-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.workflow-toggle:hover,
.workflow-toggle:focus-visible {
  border-color: var(--lime);
  background: rgba(185, 230, 74, 0.08);
  color: var(--lime);
  outline: none;
}

.workflow-toggle span:first-child {
  font-size: 9px;
  letter-spacing: -0.12em;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  background: linear-gradient(180deg, #f7faf9, #eef6f3);
  padding: 26px;
  list-style: none;
}

.workflow-short {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workflow li {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  border: 1px solid #c9d9d5;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.workflow li::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--lime));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease;
}

.workflow li:last-child {
  border-right: 1px solid #c9d9d5;
}

.workflow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -20px;
  z-index: 4;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #b7ccc7;
  background: var(--paper);
  color: var(--teal-dark);
  content: "→";
  font-size: 15px;
  font-weight: 900;
  translate: 0 -50%;
  transition: border-color 260ms ease, background 260ms ease, color 260ms ease, scale 260ms ease;
}

.workflow-step {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 0;
  background: transparent;
  padding: 24px 18px;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.workflow-step:focus-visible {
  position: relative;
  z-index: 3;
  outline: 3px solid rgba(0, 169, 157, 0.25);
  outline-offset: -4px;
}

.workflow-step > span {
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  transition: color 240ms ease;
}

.workflow-step strong {
  overflow-wrap: anywhere;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.2;
}

.workflow-step small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.workflow-step::after {
  min-height: 16px;
  margin-top: 16px;
  color: #80949a;
  content: "CHỜ XỬ LÝ";
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.workflow li.is-complete {
  background: rgba(217, 244, 239, 0.6);
}

.workflow li.is-complete::before,
.workflow li.is-active::before {
  transform: scaleX(1);
}

.workflow li.is-complete:not(:last-child)::after {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.workflow li.is-complete .workflow-step::after {
  color: var(--teal-dark);
  content: "✓ HOÀN TẤT";
}

.workflow li.is-active {
  z-index: 1;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--teal), 0 12px 32px rgba(0, 169, 157, 0.14);
}

.workflow li.is-active .workflow-step > span,
.workflow li.is-active .workflow-step strong {
  color: var(--teal-dark);
}

.workflow li.is-active .workflow-step::after {
  color: var(--teal-dark);
  content: "● ĐANG XỬ LÝ";
  animation: workflow-text-pulse 1.2s ease-in-out infinite;
}

.workflow .human-step {
  background: var(--ice);
}

.workflow .human-step.is-active {
  background: #f6ffe2;
  box-shadow: inset 0 0 0 2px #8eba28, 0 12px 32px rgba(142, 186, 40, 0.16);
}

@keyframes workflow-pulse {
  0%,
  100% {
    opacity: 0.55;
    scale: 0.85;
  }

  50% {
    opacity: 1;
    scale: 1.08;
  }
}

@keyframes workflow-text-pulse {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

.applications {
  background: var(--navy);
  color: #fff;
}

.applications .eyebrow {
  color: var(--lime);
}

.applications h2 em {
  color: var(--lime);
}

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

.application-card {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 8%, rgba(0, 169, 157, 0.22), transparent 31%),
    var(--navy-soft);
  padding: 27px;
}

.application-card::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(185, 230, 74, 0.15);
  border-radius: 50%;
  content: "";
}

.application-card.factory {
  background:
    radial-gradient(circle at 85% 8%, rgba(185, 230, 74, 0.15), transparent 31%),
    #0d292e;
}

.application-card.business {
  background:
    radial-gradient(circle at 85% 8%, rgba(29, 132, 159, 0.24), transparent 31%),
    #10232f;
}

.application-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 70px;
}

.application-code {
  color: #7f979f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.application-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 20px;
}

.application-card h3 {
  font-size: 31px;
}

.application-card > p {
  min-height: 76px;
  color: #9eb2b9;
  font-size: 14px;
}

.application-card ul {
  position: relative;
  z-index: 1;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.application-card li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 11px 0;
  color: #d4dfe2;
  font-size: 13px;
}

.application-card li::before {
  margin-right: 10px;
  color: var(--teal);
  content: "+";
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(45px, 10vw, 150px);
}

.about-statement h2 {
  position: sticky;
  top: 115px;
}

.about-copy {
  padding-top: 38px;
}

.about-copy > p {
  color: var(--muted);
  font-size: 16px;
}

.about-copy .lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
}

.principles {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.principles div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.principles strong {
  color: var(--teal-dark);
  font-family: Georgia, serif;
}

.principles span {
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(45px, 8vw, 112px);
  background: var(--teal-dark);
  color: #fff;
}

.contact h2 em {
  color: var(--lime);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: #c4dcda;
  font-size: 17px;
}

.contact-methods {
  display: grid;
  gap: 15px;
  margin-top: 44px;
}

.contact-methods > * {
  display: grid;
  max-width: 430px;
  grid-template-columns: 90px 1fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

.contact-methods small {
  color: #9ccac6;
}

.contact-methods strong {
  font-size: 18px;
}

.lead-form {
  display: grid;
  gap: 17px;
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.17);
}

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

label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8faf9;
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 169, 157, 0.14);
  border-color: var(--teal);
}

.light-button {
  width: 100%;
  margin-top: 4px;
  border-radius: 10px;
  background: var(--navy) !important;
  color: #fff !important;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.consent-field input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--teal-dark);
}

.consent-field a,
.privacy-note a,
.legal-links a,
.legal-copy a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-note,
.form-status {
  min-height: 20px;
  margin: -5px 0 0;
  color: #72868c;
  font-size: 11px;
  text-align: center;
}

.form-status {
  min-height: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 29px var(--page-x);
  background: var(--navy);
  color: #789098;
  font-size: 11px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-meta {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.legal-links a {
  color: #b6c7cc;
}

.footer-brand .brand-logo-wrap {
  width: 40px;
  height: 40px;
}

.back-top {
  justify-self: end;
  color: #b6c7cc;
  font-weight: 800;
}

.legal-page {
  min-height: 100vh;
  padding: clamp(126px, 13vw, 164px) var(--page-x) clamp(72px, 8vw, 112px);
  background:
    linear-gradient(rgba(7, 21, 29, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 21, 29, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
}

.legal-hero {
  max-width: 900px;
  margin: 0 auto 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
}

.legal-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-copy {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(26px, 5vw, 58px);
  box-shadow: var(--shadow);
}

.legal-copy section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
}

.legal-copy h3 {
  margin: 24px 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.legal-copy p,
.legal-copy li {
  color: #425a63;
}

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

.legal-copy li + li {
  margin-top: 8px;
}

.legal-callout {
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: var(--ice);
  padding: 18px 20px;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-contact {
  display: grid;
  gap: 5px;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  }

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

  .workflow-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-label {
    grid-template-columns: auto minmax(180px, 1fr) minmax(220px, 0.9fr) auto;
    gap: 16px;
    padding: 20px 22px;
  }

  .workflow-step {
    padding: 22px 14px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 21, 29, 0.98);
    padding: 8px var(--page-x) 22px;
  }

  .site-nav a,
  .site-nav .nav-cta {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 15px 0;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 510px;
  }

  .split-heading,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .split-heading {
    align-items: start;
  }

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

  .application-card {
    min-height: auto;
  }

  .application-card > p {
    min-height: auto;
  }

  .about-statement h2 {
    position: static;
  }

  .about-copy {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --page-x: 19px;
  }

  .brand-name strong {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(45px, 14vw, 66px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 49px);
  }

  .hero {
    padding-top: 126px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .image-frame {
    bottom: 78px;
  }

  .system-card {
    right: 10px;
    left: 10px;
  }

  .mini-flow {
    gap: 5px;
  }

  .mini-flow span {
    padding: 7px 5px;
    font-size: 7px;
  }

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

  .service-card {
    min-height: 340px;
  }

  .workflow-panel {
    grid-template-columns: 1fr;
  }

  .workflow-label {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    padding: 22px;
  }

  .workflow-kicker {
    margin: 0;
  }

  .workflow-status {
    min-height: auto;
    margin: 4px 0 0;
    border-left: 0;
    padding-left: 0;
  }

  .workflow-toggle {
    width: auto;
    align-self: flex-start;
    padding-right: 14px;
    padding-left: 14px;
  }

  .workflow,
  .workflow-short {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .workflow li {
    min-height: auto;
    border-right: 0;
    border: 1px solid #c9d9d5;
    padding: 0;
  }

  .workflow li::before {
    top: 0;
    right: auto;
    bottom: 0;
    width: 4px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .workflow li.is-complete::before,
  .workflow li.is-active::before {
    transform: scaleY(1);
  }

  .workflow-step {
    min-height: 126px;
    padding: 18px 22px 18px 26px;
  }

  .workflow li:not(:last-child)::after {
    top: auto;
    right: 24px;
    bottom: -21px;
    translate: 0;
    rotate: 90deg;
  }

  .workflow-step > span {
    margin-bottom: 7px;
  }

  .application-top {
    margin-bottom: 45px;
  }

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

  .contact-methods > * {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer p {
    text-align: left;
  }

  .footer-meta {
    justify-items: start;
  }

  .legal-links {
    justify-content: flex-start;
  }

  .back-top {
    justify-self: start;
  }
}

.not-found {
  min-height: 100vh;
  background: var(--navy);
  color: #fff;
}

.not-found > p:not(.eyebrow) {
  color: #b8c8cd;
  font-size: 18px;
}

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

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