:root {
  --logo-blue: #002551;
  --primary: #002551;
  --secondary: #0052CC;
  --accent: #0052CC;
  --blue-bright: #4DA3FF;
  --ink: #002551;
  --ink-mid: #475467;
  --ink-soft: #475467;
  --ink-light: #475467;
  --blue-light: #F0F7FF;
  --teal: #00B4B4;
  --orange: #E8820C;
  --green: #0E9F6E;
  --off: #F7F9FC;
  --border: #E2E8F0;
  --border-dk: #CBD5E0;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --r: 8px;
  --r-sm: 6px;
  --r-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, sans-serif;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.si {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 44px;
}

/* CLOU-45 — filled-square title blocks (equal line width, tight leading) */
.title-block {
  display: inline-grid;
  grid-auto-rows: min-content;
  row-gap: 0.035em;
  width: max-content;
  max-width: 100%;
  line-height: 1.04;
  letter-spacing: inherit;
  font: inherit;
  color: inherit;
}

.title-block__line {
  display: block;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-word;
  white-space: nowrap;
}

/* Variant A — word justify (default; can widen gaps around short words). */
.title-block--word-justify .title-block__line {
  text-justify: inter-word;
}

/* Variant B — distribute spacing between characters (CSS). */
.title-block--char-justify .title-block__line {
  text-justify: inter-character;
}

/* Variant C — even letter-spacing per line (requires theme.js). */
.title-block--even-chars .title-block__line {
  text-align: left;
  text-align-last: left;
  text-justify: auto;
}

/* Variant D — left rag, full-width block (no forced fill). */
.title-block--left-stack {
  width: 100%;
  max-width: 100%;
}

.title-block--left-stack .title-block__line {
  text-align: left;
  text-align-last: left;
  text-justify: auto;
  width: 100%;
}

/* Variant E — centered lines, normal word spacing (no justify stretch). */
.title-block--center-stack {
  width: 100%;
  max-width: 100%;
}

.title-block--center-stack .title-block__line {
  text-align: center;
  text-align-last: center;
  text-justify: auto;
  width: 100%;
}

.title-block__line--accent,
.title-block .blue {
  color: var(--blue-bright);
}

.sh2.title-block {
  line-height: 1.04;
}

@media (max-width: 640px) {
  .title-block__line {
    white-space: normal;
    text-align: left;
    text-align-last: left;
    text-justify: auto;
    letter-spacing: inherit;
  }
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  height: 78px;
  box-shadow: var(--shadow-xs);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img,
.nav-logo {
  height: 28px;
  width: auto;
  display: block;
}

.wm {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  line-height: 1;
}

.wm-sub {
  font-size: 8px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.06em;
  color: #475467;
  margin-top: 2px;
  text-align: right;
  white-space: nowrap;
}

.nav-panel {
  display: contents;
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
}

.nav-btn {
  background: none;
  border: none;
  color: var(--ink-mid);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 14px;
  white-space: nowrap;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: Inter, sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color .15s, background .15s;
}

.nav-btn:hover,
.nav-item.is-current > .nav-btn {
  color: var(--logo-blue);
  background: var(--off);
}

.nav-btn .caret {
  font-size: 9px;
  opacity: 0.6;
  flex-shrink: 0;
}

.nav-btn .caret--reserve {
  visibility: hidden;
  opacity: 0;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .18s;
  z-index: 400;
}

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

.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background .12s, color .12s;
}

.dropdown a:hover {
  background: var(--blue-light);
  color: var(--logo-blue);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-nav-ghost,
.btn-nav-cta,
.btn-nav-login {
  font-family: Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--r-sm);
}

.btn-nav-ghost {
  background: none;
  border: 1.5px solid var(--border-dk);
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  transition: all .15s;
}

.btn-nav-ghost:hover {
  border-color: var(--logo-blue);
  color: var(--logo-blue);
}

.btn-nav-cta {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: background .15s;
}

.btn-nav-cta:hover {
  background: #001833;
}

.btn-nav-login {
  background: none;
  border: none;
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 12px;
}

.btn-nav-login:hover {
  color: var(--logo-blue);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  position: relative;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 10px;
}

.nav-toggle-bar {
  top: 19px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

/* FOOTER */
.footer {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  background: #002551;
  padding: 0;
}

.footer-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 44px;
  padding-right: 44px;
}

.footer-top {
  width: 100%;
  background: #002551;
  padding: 48px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1fr 1.8fr;
  gap: 32px;
  margin-bottom: 0;
  align-items: start;
}

.footer-partners {
  box-sizing: border-box;
  width: 100%;
  background: linear-gradient(180deg, #00356d 0%, #002a5c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px 0 32px;
}

.footer-partners-label {
  margin: 0 0 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.footer-partners .partner-row {
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
}

.footer-partners .partner-iso {
  width: 80px;
  height: 80px;
}

.footer-partners .partner-ms-badge {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(240px, 100%);
  object-fit: contain;
}

.footer-partners .partner-autodesk {
  height: 70px;
}

.footer-bottom-wrap {
  box-sizing: border-box;
  width: 100%;
  background: #001833;
  padding: 22px 0 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand a {
  display: inline-flex;
  text-decoration: none;
}

.footer-logo,
.footer-brand img {
  height: 24px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 15px;
  color: #fff;
  opacity: 0.75;
  line-height: 1.65;
  margin-bottom: 18px;
}

.footer-contact-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-contact-line {
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
  margin-bottom: 4px;
}

.footer-contact-line a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-line a:hover {
  text-decoration: underline;
}

.footer-col-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links.systems {
  columns: 2;
  column-gap: 28px;
}

.footer-links.systems li {
  break-inside: avoid;
}

.footer-links a {
  font-size: 15px;
  color: #fff;
  opacity: 0.75;
  text-decoration: none;
  transition: opacity .15s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.partner-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.partner-item {
  display: flex;
  align-items: center;
}

.partner-item--ms {
  gap: 10px;
}

.partner-ms-text {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.01em;
}

.partner-iso {
  width: 56px;
  height: 56px;
  display: block;
  flex-shrink: 0;
}

.partner-ms {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.partner-autodesk {
  height: 52px;
  width: auto;
  max-width: min(280px, 100%);
  display: block;
  object-fit: contain;
}

/* V1 — original small */
.partner-band--v-original {
  padding: 4px 0 8px;
}

.partner-band--v-original .partner-iso {
  width: 48px;
  height: 48px;
}

.partner-band--v-original .partner-ms {
  width: 28px;
  height: 28px;
}

.partner-band--v-original .partner-autodesk {
  height: 48px;
}

.partner-band--v-original .partner-ms-text {
  font-size: 13px;
  font-weight: 700;
}

/* V2 — large on navy (no extra background) */
.partner-band--v-scale {
  padding: 12px 0 8px;
  background: transparent;
  border: none;
}

.partner-band--v-scale .partner-band-label {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.partner-band--v-scale .partner-row {
  gap: 44px;
}

.partner-band--v-scale .partner-iso {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.partner-band--v-scale .partner-ms {
  width: 40px;
  height: 40px;
}

.partner-band--v-scale .partner-ms-text {
  font-size: 15px;
}

.partner-band--v-scale .partner-autodesk {
  height: 76px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

/* V3 — light trust strip (default) */
.partner-band--v-trust {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  padding: 18px 28px 22px;
}

.partner-band--v-trust .partner-band-label {
  color: var(--secondary);
  margin-bottom: 12px;
}

.partner-band--v-trust .partner-row {
  justify-content: center;
  gap: 48px;
}

.partner-band--v-trust .partner-ms-text {
  color: var(--ink);
  font-size: 14px;
}

.partner-band--v-trust .partner-iso {
  width: 80px;
  height: 80px;
}

.partner-band--v-trust .partner-ms {
  width: 36px;
  height: 36px;
}

.partner-band--v-trust .partner-autodesk {
  height: 68px;
}

/* V4 — glass tiles */
.partner-band--v-glass {
  padding: 6px 0;
}

.partner-band--v-glass .partner-row {
  gap: 14px;
}

.partner-band--v-glass .partner-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 14px 20px;
  backdrop-filter: blur(6px);
}

.partner-band--v-glass .partner-iso {
  width: 72px;
  height: 72px;
}

.partner-band--v-glass .partner-ms {
  width: 34px;
  height: 34px;
}

.partner-band--v-glass .partner-autodesk {
  height: 60px;
}

/* V5 — white cards */
.partner-band--v-cards {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 20px 22px;
}

.partner-band--v-cards .partner-row {
  gap: 14px;
  align-items: stretch;
}

.partner-band--v-cards .partner-item {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  min-height: 88px;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.partner-band--v-cards .partner-item--ms {
  justify-content: flex-start;
  gap: 12px;
}

.partner-band--v-cards .partner-ms-text {
  color: var(--ink);
}

.partner-band--v-cards .partner-iso {
  width: 72px;
  height: 72px;
}

.partner-band--v-cards .partner-autodesk {
  height: 64px;
}

/* V6 — equal grid */
.partner-band--v-grid {
  padding: 4px 0;
}

.partner-band--v-grid .partner-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.partner-band--v-grid .partner-item {
  justify-content: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 110px;
}

.partner-band--v-grid .partner-item:last-child {
  border-right: none;
}

.partner-band--v-grid .partner-iso {
  width: 76px;
  height: 76px;
}

.partner-band--v-grid .partner-autodesk {
  height: 64px;
}

.footer-bottom {
  border-top: none;
  padding-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.footer-bottom p {
  font-size: 14px;
  color: #fff;
  opacity: 0.6;
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-links li {
  list-style: none;
}

.footer-bottom-links a {
  font-size: 14px;
  color: #fff;
  opacity: 0.6;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  opacity: 1;
}

.inner-hero {
  background: linear-gradient(155deg, #002551 0%, #00356d 55%, #001833 100%);
  padding: 72px 0 88px;
  color: #fff;
}

.inner-hero .sl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.inner-hero .hero-h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 0 0 26px;
  color: #fff;
  max-width: none;
}

.inner-hero .inner-h1 {
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.inner-hero .hero-sub {
  font-size: 19px;
  opacity: 0.9;
  max-width: 520px;
}

.sh2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.04;
}

.section {
  padding: 88px 0;
}

@media (min-width: 1101px) and (max-width: 1320px) {
  .nav {
    padding: 0 28px;
  }
}

@media (max-width: 1100px) {
  .nav {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open .nav-panel {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 12px;
    min-width: 0;
  }

  .nav-right {
    margin: 12px 0 0;
    flex-wrap: wrap;
  }

  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-top {
    padding: 48px 0 32px;
  }

  .footer-partners {
    padding: 24px 0 28px;
  }

  .footer-partners .partner-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footer-bottom-wrap {
    padding: 20px 0 24px;
  }

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

  .si {
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

}
