/* Sections under the hero. Loaded last. */

body.site-arch section.bd-hero::after {
  background: linear-gradient(90deg, rgba(6, 17, 31, 0.92) 0%, rgba(6, 17, 31, 0.8) 30%, rgba(6, 17, 31, 0.32) 54%, rgba(6, 17, 31, 0) 70%);
}

html[dir="rtl"] body.site-arch section.bd-hero::after {
  background: linear-gradient(270deg, rgba(6, 17, 31, 0.92) 0%, rgba(6, 17, 31, 0.8) 30%, rgba(6, 17, 31, 0.32) 54%, rgba(6, 17, 31, 0) 70%);
}

body.site-arch .ar-ways,
body.site-arch .ar-flag,
body.site-arch .sx-arch,
body.site-arch .ar-cred,
body.site-arch .ar-method,
body.site-arch .ar-reach,
body.site-arch .ar-eng,
body.site-arch .ar-work,
body.site-arch .ar-close {
  padding: 112px 0;
}

body.site-arch .ar-ways .ar-wrap,
body.site-arch .ar-flag .ar-wrap,
body.site-arch .sx-arch .ar-wrap,
body.site-arch .ar-cred .ar-wrap,
body.site-arch .ar-method .ar-wrap,
body.site-arch .ar-reach .ar-wrap,
body.site-arch .ar-eng .ar-wrap,
body.site-arch .ar-work .ar-wrap,
body.site-arch .ar-close .ar-wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

html[data-theme="dark"] body.site-arch .ar-ways,
html[data-theme="dark"] body.site-arch .ar-method,
body.site-arch .ar-ways,
body.site-arch .ar-method {
  background: #fff;
  color: #101827;
}

html[data-theme="dark"] body.site-arch .ar-flag,
html[data-theme="dark"] body.site-arch .sx-arch,
html[data-theme="dark"] body.site-arch .ar-cred,
html[data-theme="dark"] body.site-arch .ar-reach,
body.site-arch .ar-flag,
body.site-arch .sx-arch,
body.site-arch .ar-cred,
body.site-arch .ar-reach {
  background: #f5f7fa;
  color: #101827;
}

body.site-arch .ar-ways h2,
body.site-arch .ar-flag h2,
body.site-arch .ar-flag h3,
body.site-arch .sx-arch h2,
body.site-arch .ar-cred h2,
body.site-arch .ar-cred h3,
body.site-arch .ar-method h2,
body.site-arch .ar-reach h2,
body.site-arch .sx-prod h3,
body.site-arch .ar-founder h3 {
  color: #101827;
}

body.site-arch .ar-ways h2,
body.site-arch .ar-flag h2,
body.site-arch .ar-eng h2,
body.site-arch .sx-arch h2,
body.site-arch .ar-cred h2,
body.site-arch .ar-work h2,
body.site-arch .ar-method h2,
body.site-arch .ar-reach h2,
body.site-arch .ar-close h2 {
  font-size: clamp(2.4rem, 3.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

body.site-arch .ar-ways h2 {
  font-size: clamp(2.75rem, 3.4vw, 3.25rem);
  max-width: 22ch;
}

body.site-arch .ar-flag h2 {
  max-width: 22ch;
}

body.site-arch #architecture h2,
body.site-arch #how-heading,
body.site-arch #close-heading {
  max-width: 960px;
}

body.site-arch .ar-ways .ar-lead,
body.site-arch .ar-flag .ar-lead,
body.site-arch .sx-arch .ar-lead,
body.site-arch .ar-cred .ar-lead,
body.site-arch .ar-method .ar-lead,
body.site-arch .ar-reach .ar-lead {
  color: #3c4654;
  max-width: 62ch;
}

body.site-arch .sx-ways__head h2 span {
  display: block;
}

body.site-arch .bd-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: min(1280px, calc(100% - 96px));
  margin: 40px auto 0;
}

body.site-arch .bd-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  padding: 32px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background-color: #0a192b;
  background-position: center;
  background-size: cover;
}

body.site-arch .bd-panel--prod {
  background-image:
    linear-gradient(180deg, rgba(6, 17, 31, 0.05) 20%, rgba(6, 17, 31, 0.82) 100%),
    url("/assets/visuals/hero-chamber.jpg");
}

body.site-arch .bd-panel--eng {
  padding-inline-end: 32px;
  background-image:
    linear-gradient(180deg, rgba(6, 17, 31, 0.05) 20%, rgba(6, 17, 31, 0.82) 100%),
    url("/assets/visuals/systems-hub.jpg");
}

body.site-arch .bd-panel h3,
body.site-arch .bd-panel p,
body.site-arch .bd-panel .ar-kicker,
body.site-arch .bd-panel .ar-more {
  color: #fff;
}

body.site-arch .bd-panel .ar-kicker {
  color: #62dceb;
}

body.site-arch .bd-panel h3 {
  margin: 8px 0;
  font-size: clamp(1.7rem, 2vw, 2.1rem);
}

body.site-arch .bd-panel p {
  max-width: 36ch;
  margin: 0 0 18px;
}

body.site-arch .bd-panel .ar-more {
  font-weight: 600;
}

body.site-arch .bd-panel:hover {
  filter: brightness(1.06);
}

body.site-arch .sx-flag {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

body.site-arch .sx-flag__note {
  margin-top: 12px;
  font-size: 0.95rem;
}

body.site-arch .sx-shot {
  margin: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #06111f;
  line-height: 0;
}

body.site-arch .sx-shot img {
  display: block;
  width: 100%;
  height: auto;
}

body.site-arch .sx-plate {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  margin-bottom: 18px;
  padding: 28px 26px 22px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(41, 197, 219, 0.14), rgba(41, 197, 219, 0) 42%),
    #0a192b;
  color: #f7f9fc;
}

body.site-arch .sx-plate__k {
  margin: 0 0 28px;
  color: #62dceb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.site-arch .sx-plate strong {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.site-arch .sx-plate ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-arch .sx-plate li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d7e2ee;
  font-size: 0.95rem;
}

body.site-arch .sx-prod h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

body.site-arch .sx-prod > p {
  margin: 0 0 10px;
  color: #3c4654;
}

body.site-arch .sx-prod .ar-links a {
  color: #0a192b;
  font-weight: 600;
}

body.site-arch .ar-port {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}

body.site-arch .ar-port a {
  display: block;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #101827;
  text-decoration: none;
}

body.site-arch .ar-port strong {
  display: block;
  margin-bottom: 6px;
}

body.site-arch .ar-port span {
  color: #3c4654;
  font-size: 0.92rem;
}

body.site-arch .ar-eng {
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.94) 0%, rgba(6, 17, 31, 0.88) 46%, rgba(6, 17, 31, 0.55) 100%),
    url("/assets/visuals/hero-network.jpg") right center / cover no-repeat;
  color: #fff;
}

html[dir="rtl"] body.site-arch .ar-eng {
  background:
    linear-gradient(270deg, rgba(6, 17, 31, 0.94) 0%, rgba(6, 17, 31, 0.88) 46%, rgba(6, 17, 31, 0.55) 100%),
    url("/assets/visuals/hero-network.jpg") left center / cover no-repeat;
}

body.site-arch .ar-eng h2,
body.site-arch .ar-eng .ar-lead,
body.site-arch .ar-eng .ar-kicker {
  color: #f7f9fc;
}

body.site-arch .ar-eng .ar-kicker {
  color: #62dceb;
}

body.site-arch .sx-eng {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

body.site-arch .sx-eng .ar-btn--solid {
  margin-top: 22px;
  background: #29c5db;
  color: #06111f;
  border-color: #29c5db;
}

body.site-arch .sx-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-arch .sx-caps a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

body.site-arch .sx-caps svg,
body.site-arch .sx-diagram svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: #29c5db;
}

body.site-arch .sx-caps em {
  color: #29c5db;
  font-style: normal;
  font-weight: 700;
}

body.site-arch .sx-diagram {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

body.site-arch .sx-diagram button {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 148px;
  padding: 18px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #101827;
  text-align: start;
  cursor: pointer;
}

body.site-arch .sx-diagram button:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  inset-inline-end: -15px;
  width: 14px;
  height: 2px;
  background: #29c5db;
}

body.site-arch .sx-diagram button[aria-pressed="true"] {
  border-color: #29c5db;
  box-shadow: inset 0 0 0 1px #29c5db;
}

body.site-arch .sx-diagram b {
  display: block;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.3;
}

body.site-arch .sx-explain {
  min-height: 4.6rem;
  margin-top: 22px;
}

body.site-arch .sx-explain .ar-note {
  margin: 0;
  max-width: 68ch;
  color: #3c4654;
  font-size: 1.05rem;
  line-height: 1.5;
}

body.site-arch .ar-method .ar-note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.site-arch .sx-cred {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 64px;
  align-items: start;
}

body.site-arch .ar-cred blockquote {
  max-width: 34ch;
  margin: 22px 0 8px;
  padding-inline-start: 18px;
  border-inline-start: 2px solid #29c5db;
  color: #101827;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.4;
}

body.site-arch .ar-creds {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-arch .ar-creds li {
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
  color: #101827;
}

body.site-arch .ar-founder {
  padding: 32px 28px;
  border-radius: 12px;
  background: #06111f;
  color: #f7f9fc;
}

body.site-arch .ar-founder h3,
body.site-arch .ar-founder p {
  color: #f7f9fc;
}

body.site-arch .ar-founder p {
  color: #b7c6d6;
}

body.site-arch .ar-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #29c5db;
  color: #06111f;
  font-weight: 800;
}

body.site-arch .ar-work,
html[data-theme="dark"] body.site-arch .ar-work {
  background: #0a192b;
  color: #fff;
}

body.site-arch .ar-work h2,
body.site-arch .ar-work .ar-lead,
body.site-arch .ar-work .ar-kicker {
  color: #f7f9fc;
}

body.site-arch .ar-work .ar-kicker {
  color: #62dceb;
}

body.site-arch .sx-work {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

body.site-arch .sx-work__feature {
  grid-row: 1 / span 2;
}

body.site-arch .sx-cat {
  margin: 0 0 8px;
  color: #62dceb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.site-arch .sx-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

body.site-arch .sx-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.site-arch .sx-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.05), rgba(6, 17, 31, 0.82));
}

body.site-arch .sx-story h3,
body.site-arch .sx-story .sx-cat {
  position: relative;
  z-index: 1;
  color: #fff;
}

body.site-arch .sx-story h3 {
  margin: 0;
  font-size: 1.2rem;
}

body.site-arch .sx-story--type {
  background: #06111f;
  border: 1px solid rgba(41, 197, 219, 0.35);
}

body.site-arch .sx-story--type::after {
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.2), rgba(6, 17, 31, 0.55));
}

body.site-arch .sx-time {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
  position: relative;
}

body.site-arch .sx-time::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: #19344f;
}

body.site-arch .sx-time button {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: #101827;
  text-align: start;
  cursor: pointer;
}

body.site-arch .sx-time em {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #19344f;
  border-radius: 50%;
  background: #fff;
  font-style: normal;
  font-weight: 700;
}

body.site-arch .sx-time button[aria-pressed="true"] em {
  background: #06111f;
  color: #fff;
  border-color: #06111f;
}

body.site-arch .sx-time strong,
body.site-arch .sx-time span {
  display: block;
}

body.site-arch .sx-time strong {
  margin-top: 16px;
}

body.site-arch .sx-time span {
  margin-top: 8px;
  color: #3c4654;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
}

body.site-arch .sx-ind {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

body.site-arch .sx-ind a {
  position: relative;
  display: block;
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

body.site-arch .sx-ind img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.site-arch .sx-ind a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.05), rgba(6, 17, 31, 0.78));
}

body.site-arch .sx-ind span {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  left: 16px;
  font-weight: 700;
}

body.site-arch .sx-ind__plain {
  background: #0a192b;
}

body.site-arch .ar-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

body.site-arch .ar-markets li {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #101827;
  font-size: 0.92rem;
}

body.site-arch .ar-reach .ar-note {
  color: #3c4654;
}

body.site-arch .ar-close,
html[data-theme="dark"] body.site-arch .ar-close {
  min-height: 480px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.88), rgba(6, 17, 31, 0.42)),
    url("/assets/hero/hero-city.jpg") center / cover no-repeat;
  color: #fff;
}

body.site-arch .ar-close h2,
body.site-arch .ar-close .ar-lead {
  color: #f7f9fc;
}

body.site-arch .ar-close .hx-em {
  color: #29c5db;
}

body.site-arch .ar-close .ar-btn--solid {
  background: #29c5db;
  color: #06111f;
  border-color: #29c5db;
}

body.site-arch .ar-close .ar-btn--line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

body.site-arch .bd-panel:focus-visible,
body.site-arch .sx-diagram button:focus-visible,
body.site-arch .sx-time button:focus-visible,
body.site-arch .sx-caps a:focus-visible,
body.site-arch .sx-story:focus-visible,
body.site-arch .sx-ind a:focus-visible {
  outline: 2px solid #29c5db;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  body.site-arch .ar-ways,
  body.site-arch .ar-flag,
  body.site-arch .sx-arch,
  body.site-arch .ar-cred,
  body.site-arch .ar-method,
  body.site-arch .ar-reach,
  body.site-arch .ar-eng,
  body.site-arch .ar-work,
  body.site-arch .ar-close {
    padding: 72px 0;
  }

  body.site-arch .ar-ways .ar-wrap,
  body.site-arch .ar-flag .ar-wrap,
  body.site-arch .sx-arch .ar-wrap,
  body.site-arch .ar-cred .ar-wrap,
  body.site-arch .ar-method .ar-wrap,
  body.site-arch .ar-reach .ar-wrap,
  body.site-arch .ar-eng .ar-wrap,
  body.site-arch .ar-work .ar-wrap,
  body.site-arch .ar-close .ar-wrap,
  body.site-arch .bd-panels {
    width: min(1280px, calc(100% - 40px));
  }

  body.site-arch .bd-panels,
  body.site-arch .sx-flag,
  body.site-arch .sx-eng,
  body.site-arch .sx-diagram,
  body.site-arch .sx-cred,
  body.site-arch .sx-work,
  body.site-arch .sx-time,
  body.site-arch .ar-port {
    grid-template-columns: 1fr;
  }

  body.site-arch .sx-work__feature {
    grid-row: auto;
  }

  body.site-arch .bd-panel {
    min-height: 420px;
  }

  body.site-arch .sx-caps {
    grid-template-columns: 1fr;
  }

  body.site-arch .sx-diagram button,
  body.site-arch .sx-time button {
    min-height: 0;
  }

  body.site-arch .sx-time::before {
    top: 8px;
    bottom: 8px;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
  }

  html[dir="rtl"] body.site-arch .sx-time::before {
    right: 21px;
    left: auto;
  }

  body.site-arch .sx-diagram button:not(:last-child)::after {
    display: none;
  }

  body.site-arch .sx-time {
    gap: 28px;
  }

  body.site-arch .sx-ind {
    grid-template-columns: 1fr 1fr;
  }

  body.site-arch .sx-ind a:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  body.site-arch .sx-ind {
    grid-template-columns: 1fr;
  }

  body.site-arch .sx-ind a:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-arch .bd-panel {
    transition: none;
  }
}
