:root {
  --ink: #132d35;
  --ink-deep: #0b2026;
  --ink-soft: #526663;
  --accent: #16a17f;
  --accent-dark: #0b745d;
  --signal: #d7a65d;
  --surface: #f4f7f5;
  --surface-raised: #ffffff;
  --surface-muted: #e8eeeb;
  --surface-dark: #10272e;
  --line: #d7e1de;
  --line-dark: #365057;
  --focus: #0b6fcb;
  --content: 1180px;
  --header-height: 76px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface-raised);
  font-family: Aptos, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  color: #fff;
  background: var(--accent-dark);
}

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

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(215, 225, 222, 0.92);
  background: rgba(255, 255, 255, 0.96);
}

.site-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.nav-contact {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
  color: var(--ink-soft);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-contact:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.nav-contact:active,
.button:active {
  transform: scale(0.98);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle svg,
.button svg,
.service-icon,
.contact-direct svg,
.privacy-note svg,
.map-node svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.section {
  padding-block: 112px;
  scroll-margin-top: var(--header-height);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100svh - var(--header-height) - 160px);
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: calc(50% + 140px);
  width: 1px;
  content: "";
  background: var(--line);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 72px 52px;
}

.hero-brand {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Segoe UI Variable Display", Aptos Display, Aptos, sans-serif;
  font-size: 25px;
  font-weight: 760;
  line-height: 1;
}

.hero-brand span {
  color: var(--accent);
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: "Segoe UI Variable Display", Aptos Display, Aptos, sans-serif;
  font-size: 64px;
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 18px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button-primary {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: #a7b9b4;
}

.button-secondary:hover {
  background: #fff;
  border-color: var(--ink);
}

.button-light {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-light:hover {
  background: var(--surface);
  border-color: #a7b9b4;
}

.hero-principles {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  margin: 54px 0 0;
  padding: 0;
  gap: 0;
}

.hero-principles div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  padding: 0 24px;
  gap: 10px;
  border-left: 1px solid var(--line);
}

.hero-principles div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-principles dt {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-principles dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-scene {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  overflow: hidden;
  pointer-events: none;
}

.scene-rule {
  position: absolute;
  display: block;
  height: 1px;
  background: #b7c9c4;
  transform-origin: left;
}

.scene-rule::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.scene-rule-a {
  top: 28%;
  left: 2%;
  width: 78%;
  transform: rotate(-11deg);
}

.scene-rule-b {
  top: 56%;
  left: 12%;
  width: 88%;
  transform: rotate(8deg);
}

.scene-rule-c {
  top: 73%;
  left: 0;
  width: 66%;
  transform: rotate(-4deg);
}

.scene-module {
  position: absolute;
  display: block;
  width: 70px;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 4px;
  animation: module-drift 7s ease-in-out infinite alternate;
}

.module-a { top: 12%; left: 18%; width: 48px; background: #76a096; animation-delay: -1s; }
.module-b { top: 19%; left: 49%; width: 96px; background: var(--ink); animation-delay: -3s; }
.module-c { top: 35%; left: 73%; width: 44px; background: var(--accent); animation-delay: -5s; }
.module-d { top: 43%; left: 26%; width: 76px; background: #d0dedb; animation-delay: -2s; }
.module-e { top: 54%; left: 55%; width: 116px; background: var(--accent-dark); animation-delay: -4s; }
.module-f { top: 71%; left: 20%; width: 58px; background: var(--ink); animation-delay: -6s; }
.module-g { top: 77%; left: 70%; width: 78px; background: #76a096; animation-delay: -2.5s; }
.module-h { top: 8%; left: 82%; width: 34px; background: var(--signal); animation-delay: -4.5s; }
.module-i { top: 87%; left: 44%; width: 30px; background: var(--accent); animation-delay: -0.5s; }

.scene-caption {
  position: absolute;
  color: #70837f;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scene-caption-a { top: 21%; left: 8%; }
.scene-caption-b { top: 49%; left: 47%; }
.scene-caption-c { right: 12%; bottom: 10%; }

@keyframes module-drift {
  from { transform: translate3d(0, -5px, 0); }
  to { transform: translate3d(0, 7px, 0); }
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  padding-bottom: 56px;
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

.section-intro h2,
.process-heading h2,
.platform-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Segoe UI Variable Display", Aptos Display, Aptos, sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-intro p,
.process-heading > p,
.platform-copy > p,
.contact-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.service-item {
  min-width: 0;
  padding: 48px 36px 0;
  border-left: 1px solid var(--line);
}

.service-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.service-icon {
  width: 34px;
  height: 34px;
  color: var(--accent-dark);
}

.service-item h3 {
  max-width: 260px;
  margin: 28px 0 16px;
  font-size: 25px;
  line-height: 1.18;
}

.service-item p {
  margin: 0;
  color: var(--ink-soft);
}

.service-item ul {
  margin: 28px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-item li {
  position: relative;
  padding: 7px 0 7px 18px;
  font-size: 0.92rem;
  font-weight: 620;
}

.service-item li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
}

.process {
  color: #eef4f2;
  background: var(--surface-dark);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 96px;
}

.process-heading > p {
  max-width: 460px;
  margin-top: 24px;
  color: #a9bcb7;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.process-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  padding: 28px 0;
  gap: 22px;
  border-bottom: 1px solid var(--line-dark);
}

.step-index {
  color: var(--signal);
  font-size: 0.84rem;
  font-weight: 800;
}

.process-steps h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.process-steps p {
  margin: 0;
  color: #a9bcb7;
}

.platform {
  background: var(--surface);
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  align-items: center;
  gap: 88px;
}

.status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 26px;
  padding: 7px 11px;
  gap: 8px;
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status > span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.platform-copy > p {
  margin-top: 24px;
}

.platform-copy > p + p {
  margin-top: 14px;
}

.governance-map {
  display: grid;
  grid-template-columns:
    minmax(78px, 1fr) 26px minmax(78px, 1fr) 26px
    minmax(78px, 1fr) 26px minmax(78px, 1fr);
  align-items: center;
  min-height: 360px;
  padding: 38px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  aspect-ratio: 1;
  padding: 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
}

.map-node:nth-of-type(7) {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.map-node svg {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.map-node span {
  font-size: 0.83rem;
  font-weight: 750;
}

.map-connector {
  height: 1px;
  background: #abc0ba;
}

.map-connector span {
  display: block;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  margin-left: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  border-radius: 50%;
}

.contact {
  color: #fff;
  background: var(--ink-deep);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: start;
  gap: 84px;
}

.contact-copy > p {
  margin-top: 24px;
  color: #aec0bb;
}

.contact-direct {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--line-dark);
}

.contact-direct a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
}

.contact-direct a:hover {
  color: #73d3b9;
}

.contact-direct svg {
  width: 24px;
  height: 24px;
}

.contact-direct span {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.contact-direct small {
  display: block;
  color: #8fa7a1;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form {
  padding: 36px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #afbfbb;
  border-radius: 5px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--ink-soft);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--focus);
}

.field small {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  margin: 24px 0;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.privacy-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--accent-dark);
}

.form-actions .button {
  flex: 1 1 190px;
}

.site-footer {
  padding-block: 54px;
  color: #c4d1ce;
  background: #081a1f;
  border-top: 1px solid #29434a;
}

.footer-layout {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.footer-brand img {
  width: 172px;
}

.footer-layout p {
  max-width: 470px;
  margin: 0;
  color: #8fa7a1;
  font-size: 0.92rem;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  font-size: 0.82rem;
}

@media (max-width: 1080px) {
  .hero h1 {
    max-width: 720px;
    font-size: 56px;
  }

  .hero-scene {
    width: 43%;
    opacity: 0.68;
  }

  .service-item {
    padding-inline: 26px;
  }

  .process-layout,
  .platform-layout,
  .contact-layout {
    gap: 58px;
  }

  .governance-map {
    min-height: 310px;
    padding-inline: 20px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 20px 24px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 2px;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-contact {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 680px;
    padding-block: 64px 44px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: 50px;
  }

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

  .hero-scene {
    width: 62%;
    opacity: 0.2;
  }

  .section {
    padding-block: 88px;
  }

  .section-intro,
  .process-layout,
  .platform-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .process-layout,
  .platform-layout,
  .contact-layout {
    gap: 42px;
  }

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

  .service-item,
  .service-item:first-child {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 34px 0;
    column-gap: 22px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item h3,
  .service-item p,
  .service-item ul {
    grid-column: 2;
  }

  .service-item h3 {
    margin-top: 0;
  }

  .service-item ul {
    width: 100%;
  }

  .process-heading > p {
    max-width: 620px;
  }

  .platform-layout {
    align-items: stretch;
  }

  .governance-map {
    min-height: 330px;
  }

  .contact-copy > p {
    max-width: 620px;
  }

  .contact-direct {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border-top: 0;
  }

  .contact-direct a {
    border-top: 1px solid var(--line-dark);
  }

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

  .footer-meta {
    grid-column: 1 / -1;
    justify-items: start;
    grid-template-columns: auto auto;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

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

  .brand img {
    width: 156px;
  }

  .hero-inner {
    min-height: 660px;
    padding-block: 38px 28px;
  }

  .hero-brand {
    margin-bottom: 14px;
    font-size: 21px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 24px;
    flex-direction: column;
  }

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

  .hero-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 24px;
  }

  .hero-principles div,
  .hero-principles div:first-child {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 8px 10px;
    gap: 2px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .hero-principles div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .hero-principles dd {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .hero-scene {
    width: 100%;
    opacity: 0.13;
  }

  .section {
    padding-block: 72px;
  }

  .services {
    padding-top: 48px;
  }

  .section-intro {
    align-items: start;
    padding-bottom: 34px;
    gap: 22px;
  }

  .section-intro h2,
  .process-heading h2,
  .platform-copy h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .section-intro p,
  .process-heading > p,
  .platform-copy > p,
  .contact-copy > p {
    font-size: 16px;
  }

  .service-item,
  .service-item:first-child {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-block: 30px;
    column-gap: 16px;
  }

  .service-icon {
    width: 30px;
    height: 30px;
  }

  .service-item h3 {
    font-size: 22px;
  }

  .process-steps li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .governance-map {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px;
  }

  .map-node {
    width: 100%;
    max-width: none;
    min-height: 96px;
    aspect-ratio: auto;
    grid-template-columns: 30px auto;
    justify-content: start;
    justify-items: start;
    text-align: left;
    gap: 12px;
  }

  .map-node svg {
    margin: 0;
  }

  .map-connector {
    width: 1px;
    height: 34px;
    margin-inline: auto;
  }

  .map-connector span {
    margin-top: 12px;
    margin-left: -4px;
  }

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

  .contact-form {
    padding: 24px 18px;
  }

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

  .field-full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    flex-basis: auto;
    width: 100%;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-meta {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

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