:root {
  color-scheme: light;
  --ink: #141225;
  --night: #0c0b14;
  --night-soft: #141222;
  --paper: #f7f6fa;
  --white: #fff;
  --muted: #585568;
  --line: #e2e0ec;
  --brand: #7b61ff;
  --lilac: #baacff;
  --brand-mark-size: 2.4375rem;
  --brand-gap: .6rem;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: 80rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.55 var(--font); color: var(--ink); background: var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #8b70ff; outline-offset: 5px; }

.shell {
  width: min(var(--shell), calc(100% - clamp(2.5rem, 8.4vw, 9rem)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: .8rem;
  inset-inline-start: .8rem;
  z-index: 20;
  padding: .7rem 1rem;
  border-radius: .3rem;
  color: var(--ink);
  background: var(--white);
  clip-path: inset(50%);
}
.skip-link:focus { clip-path: none; }

.site-header {
  position: relative;
  z-index: 5;
  color: #fbfaff;
  background: var(--night);
  border-bottom: 1px solid #272339;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.1rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--brand-gap);
  flex-shrink: 0;
  text-decoration: none;
}

.brand img { width: var(--brand-mark-size); height: auto; }

.brand-text {
  display: grid;
  gap: .18rem;
  font-size: 1.45rem;
  line-height: .98;
  letter-spacing: -.062em;
  font-weight: 720;
}

.brand-text > span {
  position: relative;
  justify-self: center;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #bfb0ff;
}
.brand-text sup {
  position: absolute;
  inset-block-start: -.25em;
  inset-inline-start: calc(100% + .12em);
  font-size: .7em;
  line-height: 1;
}

.primary-nav, .header-actions { display: flex; align-items: center; }
.primary-nav { gap: clamp(1.15rem, 3.4vw, 3rem); }
.primary-nav a, .footer-nav a, .footer-mail, .footer-policy a { text-decoration: none; text-underline-offset: .23em; }
.primary-nav a { font-size: .9375rem; font-weight: 530; color: #dbd7eb; white-space: nowrap; }
.primary-nav a:hover, .footer-nav a:hover, .footer-mail:hover, .footer-policy a:hover { text-decoration: underline; }
.header-actions { gap: 1rem; }

.language-trigger, .menu-toggle {
  display: grid;
  place-items: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0;
  color: #e5dfff;
  background: transparent;
  border: 1px solid #3b3552;
  border-radius: .45rem;
  cursor: pointer;
}
.language-picker { position: relative; }
.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  padding-inline: .65rem;
  font-size: .8125rem;
  font-weight: 680;
  white-space: nowrap;
}
.language-trigger:hover, .menu-toggle:hover { background: #242036; }
.language-trigger[aria-expanded="true"] { background: #242036; border-color: #7662a9; }
.language-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.language-code { display: none; }
.language-menu {
  position: absolute;
  inset-block-start: calc(100% + .55rem);
  inset-inline-end: 0;
  z-index: 1;
  width: min(13.5rem, calc(100vw - 2.5rem));
  max-height: min(27rem, calc(100dvh - 5.25rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .38rem;
  background: #171424;
  border: 1px solid #4a3d64;
  border-radius: .65rem;
  box-shadow: 0 14px 38px #040209a8;
}
.language-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  width: 100%;
  min-height: 2.5rem;
  padding: .44rem .65rem;
  border: 0;
  border-radius: .4rem;
  color: #eee9fa;
  background: transparent;
  font-size: .9375rem;
  line-height: 1.3;
  text-align: start;
  cursor: pointer;
}
.language-option:hover { background: #262038; }
.language-option:focus-visible { background: #262038; outline: 2px solid #a58cff; outline-offset: -2px; }
.language-option[aria-checked="true"] { color: #eee4ff; background: #30244c; font-weight: 680; }
.language-option svg { flex: 0 0 1rem; color: #c8b7ff; visibility: hidden; }
.language-option[aria-checked="true"] svg { visibility: visible; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.15rem;
  padding: .7rem 1.18rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  text-align: center;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 690;
  line-height: 1.25;
  transition: background-color .2s, border-color .2s, color .2s;
}
.button-header { min-height: 2.6rem; padding: .58rem .9rem; color: #fff; border-color: #61568e; }
.button-header:hover { background: #282140; border-color: #9682e6; }
.button-primary { color: #19102e; background: var(--lilac); }
.button-primary:hover { background: #d3c8ff; }
.button-outline { color: #f6f1ff; border-color: #635680; background: #1712237a; }
.button-outline:hover { border-color: #aa9ac9; background: #281f3d; }
.button-light-outline { color: #3d2a74; border-color: #c9bee8; }
.button-light-outline:hover { background: #f0ebff; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(32rem, 44.9vw, 43.5rem);
  overflow: hidden;
  color: #fcfaff;
  background: var(--night);
}

.hero-art, .hero-shade { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.hero-art { inset-inline-start: min(29%, 32rem); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--hero-image-y, center); }
.hero-shade {
  background:
    linear-gradient(90deg, #0c0b14 4%, #0c0b14 28%, #0c0b14c9 38%, #0c0b1424 60%, transparent 76%),
    linear-gradient(0deg, #0c0b14 0%, #0c0b1440 10%, transparent 26%);
}
.hero-content { padding-block: 4.8rem 5.05rem; }
.hero-copy { max-width: 37rem; }
.eyebrow { margin: 0; font-size: .875rem; font-weight: 690; letter-spacing: .14em; text-transform: uppercase; }
.hero-label { display: flex; align-items: center; gap: .65rem; color: #baa9ff; letter-spacing: .08em; text-transform: none; }
.hero-label::before { content: ""; flex: 0 0 1.5rem; height: 1px; background: #9580f5; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  margin-block: 1.28rem 1.3rem;
  font-size: clamp(3.75rem, 7.25vw, 7.2rem);
  line-height: .94;
  letter-spacing: -.076em;
  font-weight: 680;
}
h1 span { display: block; }
.hero-highlight { color: #c8b9ff; }
.hero-subtitle {
  max-width: 29rem;
  margin-bottom: 1.8rem;
  color: #ddd7eb;
  font-size: clamp(1.0625rem, 1.5vw, 1.23rem);
  line-height: 1.56;
  text-wrap: pretty;
}
.hero-actions, .dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }

.coverage { color: #3f3a51; background: #eeedf5; border-bottom: 1px solid #e3e0ee; }
.coverage-inner { display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 4rem); min-height: 4.6rem; padding-block: .8rem; }
.coverage p { margin: 0; font-size: .875rem; color: #514965; font-weight: 670; }
.coverage ul { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.coverage li { padding: .1rem clamp(.8rem, 2.1vw, 2rem); border-inline-start: 1px solid #d5d1e3; font-size: .95rem; font-weight: 670; }

.section-space { padding-block: clamp(4rem, 7vw, 7rem); }
section[id] { scroll-margin-top: 1rem; }
.products {
  --product-gap: .95rem;
  --product-padding: clamp(1.35rem, 3vw, 2.25rem);
}
.section-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: var(--product-gap);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.7rem);
}
.section-heading h2, .approach h2, .contact-panel h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4.6vw, 4.7rem);
  font-weight: 675;
  line-height: .99;
  letter-spacing: -.065em;
}
.section-heading p {
  max-width: 28rem;
  margin: 0;
  margin-inline-start: calc(var(--product-padding) + 1px);
  color: var(--muted);
  line-height: 1.56;
  text-wrap: pretty;
}

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--product-gap); }
.product {
  --accent: #5c3cbe;
  --wash: #f3efff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: var(--product-padding);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: radial-gradient(ellipse at 100% 0%, var(--wash), #fff 60%);
  transition: border-color .2s, box-shadow .2s;
}
.product:hover, .product:focus-within { border-color: #bcb1df; box-shadow: 0 10px 30px #23194b09; }
.product-azure { --accent: #345d9b; --wash: #eef5ff; }
.product-identity { --accent: #76447e; --wash: #f9effb; }
.product-token { --accent: #30675f; --wash: #edf8f5; }

.product-top { display: flex; align-items: center; gap: .78rem; margin-bottom: 1.2rem; }
.product-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: .6rem;
  overflow: hidden;
}
.product-icon img { width: 100%; height: 100%; object-fit: contain; }
.product-m365 .product-icon { background: #281748; border: 1px solid #4e3981; }
.product-icon-light { background: var(--white); border: 1px solid #d4ddeb; }
.product-m365 .product-icon img, .product-icon-light img { width: 2.125rem; height: 2.125rem; }
.product-token .product-icon { background: #162a26; border: 1px solid #305143; }
.product-token .product-icon img { width: 1.6rem; height: 1.6rem; }
.product-category { color: var(--accent); font-size: .875rem; line-height: 1.3; font-weight: 680; }
.product h3 { margin: 0 0 .6rem; font-size: clamp(1.45rem, 2.4vw, 2.22rem); line-height: 1.06; font-weight: 675; letter-spacing: -.048em; }
.product p { max-width: 34rem; margin: 0 0 1.04rem; color: var(--muted); line-height: 1.55; text-wrap: pretty; }
.product-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .82rem;
  margin: auto 0 1.08rem;
  padding: 0;
  list-style: none;
  color: #4e495e;
  font-size: .875rem;
  font-weight: 530;
}
.product-features li:not(:first-child)::before { content: "·" / ""; margin-inline-end: .65rem; color: var(--accent); }
.product-bottom { width: 100%; border-top: 1px solid var(--line); padding-top: .62rem; }
.product-open, .product-fallback {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  padding: 0 0 .05rem;
  border: 0;
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 690;
}
.product-open:hover, .product-fallback:hover { text-decoration: underline; text-underline-offset: .2em; }

.approach { background: var(--night-soft); color: #fbf8ff; }
.approach-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6.3rem); }
.approach-visual {
  position: relative;
  min-height: 26rem;
  aspect-ratio: 1.17;
  overflow: hidden;
  border: 1px solid #4a3d64;
  border-radius: .75rem;
  background: #231a36;
}
.approach-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.approach .eyebrow { margin-bottom: .9rem; color: #bcaeff; }
.approach h2 { font-size: clamp(2.45rem, 4.3vw, 4.3rem); }
.approach-list { margin: 1.55rem 0 0; }
.approach-list > div { padding-block: .86rem; border-top: 1px solid #3d3553; }
.approach-list > div:last-child { padding-bottom: 0; }
.approach-list dt { color: #f4eeff; font-weight: 680; }
.approach-list dd { max-width: 31rem; margin: .15rem 0 0; color: #c9c1d9; text-wrap: pretty; }

.contact-section { padding-block: clamp(3.1rem, 6.5vw, 6rem); }
.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 5.9vw, 5.1rem);
  border: 1px solid #322946;
  border-radius: .85rem;
  color: #fbf8ff;
  background: #191326;
}
.contact-art, .contact-shade { position: absolute; z-index: -1; inset: 0; }
.contact-art { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.contact-shade { background: linear-gradient(90deg, #161020 0%, #181125e8 39%, #18112550 72%, transparent); }
.contact-content { max-width: 38rem; }
.contact-panel h2 { font-size: clamp(2.5rem, 4.5vw, 4.05rem); }
.contact-content p { max-width: 30rem; margin: .95rem 0 1.45rem; color: #e0d8ee; text-wrap: pretty; }

.footer { color: #eeebf7; background: var(--night); padding: 2.3rem 0 1.4rem; }
.footer-main { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 1.6rem; }
.footer-mail {
  display: block;
  width: fit-content;
  margin-top: .6rem;
  margin-inline-start: calc(var(--brand-mark-size) + var(--brand-gap));
  font-size: .9375rem;
  color: #c2b9d6;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; min-height: var(--brand-mark-size); align-items: center; justify-self: end; }
.footer-nav a { color: #ddd5ef; font-size: .9375rem; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  margin-top: 1.6rem;
  padding-top: 1.15rem;
  border-top: 1px solid #3c334d;
  color: #aba2be;
  font-size: .8125rem;
}
.footer-policy { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .875rem; color: #ddd5ef; }
.footer-legal p { margin: 0; }

.product-dialog {
  width: min(40rem, calc(100% - 2rem));
  max-height: min(83vh, 48rem);
  padding: 0;
  border: 1px solid #ddd5ef;
  border-radius: .85rem;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 80px #08051150;
}
.product-dialog::backdrop { background: #100b22a8; }
.dialog-content { position: relative; padding: clamp(1.55rem, 5vw, 2.7rem); }
.dialog-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid #ddd7ed;
  border-radius: .45rem;
  color: #3e3159;
  background: #f6f3fc;
  cursor: pointer;
}
.dialog-close:hover { background: #ebe3fa; }
.dialog-content .eyebrow { max-width: calc(100% - 3rem); margin-bottom: .65rem; color: #5c3cbe; }
.dialog-content h2 { margin: 0 0 .9rem; padding-inline-end: 1rem; font-size: clamp(1.85rem, 4vw, 2.85rem); font-weight: 675; line-height: 1.04; letter-spacing: -.05em; }
.dialog-content p:not(.eyebrow) { margin-bottom: 1rem; color: var(--muted); }
.dialog-content ul { padding: 0; margin: 0 0 1.4rem; list-style: none; }
.dialog-content li { position: relative; padding-block: .65rem; padding-inline-start: 1.15rem; border-top: 1px solid #eae5f2; }
.dialog-content li::before { position: absolute; top: 1.2rem; inset-inline-start: .12rem; width: .35rem; height: .35rem; content: ""; border-radius: 50%; background: #7457d5; }

html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
html[dir="rtl"] :is(h1, h2, .eyebrow) { letter-spacing: 0; line-height: 1.13; }
html[dir="rtl"] .hero-art { inset-inline: 36% -10%; --hero-image-y: 37%; }
html[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, #0c0b14 4%, #0c0b14 27%, #0c0b14c9 38%, #0c0b1424 63%, transparent 79%),
    linear-gradient(0deg, #0c0b14 0%, #0c0b1440 10%, transparent 26%);
}
html[dir="rtl"] .contact-shade { background: linear-gradient(270deg, #161020 0%, #181125e8 45%, #18112550 80%, transparent); }

@media (max-width: 61rem) {
  .header-inner { gap: 1.1rem; }
  .primary-nav { gap: 1.15rem; }
  .approach-grid { gap: 2rem; }
  .approach-visual { min-height: 22rem; }
  .coverage-inner { gap: 1rem; }
  .coverage li { padding-inline: .85rem; }
  .language-name { display: none; }
  .language-code { display: inline; }
}

@media (max-width: 56rem) {
  .header-inner { min-height: 4.4rem; flex-wrap: wrap; padding-block: .65rem; column-gap: .6rem; row-gap: .7rem; }
  .header-actions { gap: .55rem; }
  .button-header { display: none; }
  .menu-toggle { display: grid; }
  .primary-nav { order: 3; width: 100%; flex-wrap: wrap; gap: .35rem .95rem; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: flex; padding-block: .3rem .65rem; }
  .primary-nav a { display: flex; align-items: center; min-height: 2.5rem; }
}

@media (max-width: 48rem) {
  .hero { min-height: unset; --mobile-hero-art-height: 22rem; }
  .hero-content { padding-block: clamp(2.5rem, 7vw, 3.5rem) var(--mobile-hero-art-height); }
  .hero-art, html[dir="rtl"] .hero-art { inset: auto 0 0 -16%; height: var(--mobile-hero-art-height); }
  .hero-art img { object-position: right 57%; }
  .hero-shade, html[dir="rtl"] .hero-shade { background: linear-gradient(180deg, #0c0b14 27%, #0c0b14e6 47%, #0c0b1424 71%, #0c0b1407 82%, #0c0b14 100%); }
  h1 { font-size: clamp(3.45rem, 10.3vw, 5.3rem); }
  .hero-subtitle { max-width: 29rem; margin-bottom: 1.4rem; }
  .coverage-inner { align-items: flex-start; flex-direction: column; gap: .36rem; padding-block: .9rem; }
  .coverage li { padding: .16rem .65rem; font-size: .875rem; }
  .coverage li:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .section-heading { grid-template-columns: 1fr; gap: .7rem; align-items: start; }
  .section-heading p { margin-inline-start: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 1.55rem; }
  .approach-visual { order: 2; min-height: 0; aspect-ratio: 1.58; }
  .approach-list > div:last-child { padding-bottom: .3rem; }
  .contact-shade { background: linear-gradient(90deg, #171021 0%, #171021ed 44%, #17102182 100%); }
  html[dir="rtl"] .contact-shade { background: linear-gradient(270deg, #171021 0%, #171021ed 44%, #17102182 100%); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-nav { justify-self: start; min-height: 0; }
}

@media (max-width: 28rem) {
  .hero { --mobile-hero-art-height: 16.2rem; }
  .hero-art, html[dir="rtl"] .hero-art { left: -22%; }
  .hero-label { gap: .45rem; letter-spacing: .025em; }
  .hero-actions, .dialog-actions { gap: .52rem; }
  .hero-actions .button, .dialog-actions .button { padding-inline: .87rem; }
  .coverage ul { gap: .2rem .72rem; }
  .coverage li { border-inline-start: 0; padding-inline: 0; }
  .product-top { margin-bottom: .9rem; }
  .product p { margin-bottom: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
