: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: 190px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

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

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

.workflow-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  padding: 28px;
  color: #fff;
}

.workflow-label span {
  margin-bottom: 16px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.workflow-label strong {
  font-size: 16px;
  line-height: 1.35;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.workflow li {
  position: relative;
  display: flex;
  min-height: 174px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding: 20px;
}

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

.workflow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 2;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  content: "›";
  font-size: 13px;
  translate: 0 -50%;
}

.workflow li > span {
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-family: Georgia, serif;
  font-size: 12px;
}

.workflow strong {
  font-size: 14px;
  line-height: 1.25;
}

.workflow small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

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

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

.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-brand .brand-logo-wrap {
  width: 40px;
  height: 40px;
}

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

@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: 150px minmax(0, 1fr);
  }

  .workflow-label {
    padding: 20px;
  }

  .workflow li {
    padding: 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 {
    padding: 22px;
  }

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

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

  .workflow li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 22px;
  }

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

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

  .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 {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
