:root {
  --navy: #203a63;
  --navy-deep: #142744;
  --blue: #37aee4;
  --blue-soft: #eaf7fd;
  --teal: #2fb7a4;
  --ink: #18263a;
  --muted: #64748b;
  --line: #dbe6f1;
  --page: #eef2f5;
  --surface: #ffffff;
  --soft: #e2e8ee;
  --shadow: 0 18px 45px rgba(31, 58, 99, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: #168fc3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", "Inter", sans-serif;
  color: var(--navy-deep);
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

#header {
  padding: 16px 0;
  transition: all 0.25s ease;
  z-index: 997;
}

#header.header-scrolled {
  background: rgba(241, 245, 248, 0.94);
  box-shadow: 0 8px 30px rgba(25, 48, 82, 0.08);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  align-items: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

#header .brand-lockup img {
  max-height: 38px;
}

.brand-lockup span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  padding-left: 47px;
  text-transform: uppercase;
}

.navbar {
  padding: 0;
}

.navbar ul {
  align-items: center;
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  align-items: center;
  color: var(--navy-deep);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: space-between;
  padding: 10px 13px;
  transition: 0.2s;
  white-space: nowrap;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--blue);
}

.partner-badge {
  align-items: center;
  display: flex;
  margin-left: 4px;
  padding-left: 6px;
}

.partner-badge img {
  display: block;
  height: auto;
  max-height: 24px;
  max-width: 114px;
}

.navbar .dropdown ul {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  left: 0;
  margin: 0;
  opacity: 0;
  padding: 10px 0;
  position: absolute;
  top: calc(100% + 18px);
  transition: 0.2s;
  visibility: hidden;
  z-index: 99;
}

.navbar .dropdown ul li {
  min-width: 230px;
}

.navbar .dropdown ul a {
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul a:focus {
  background: var(--blue-soft);
  color: var(--blue);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.mobile-nav-toggle {
  color: var(--navy-deep);
  cursor: pointer;
  display: none;
  font-size: 28px;
  line-height: 0;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(55, 174, 228, 0.22), transparent 34%),
    linear-gradient(135deg, #e8eff4 0%, #d9e5ed 52%, #edf2f5 100%);
  min-height: 690px;
  overflow: hidden;
  padding: 120px 0 72px;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(55, 174, 228, 0.16), rgba(47, 183, 164, 0.18));
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.eyebrow {
  color: var(--teal);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--navy-deep);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 22px;
  max-width: 650px;
}

.hero .lead {
  color: #4f6178;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 28px rgba(55, 174, 228, 0.26);
}

.btn-primary:hover {
  background: #168fc3;
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-deep);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.hero-visual {
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(219, 230, 241, 0.85);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  margin-left: auto;
  max-width: 560px;
  padding: 10px;
  position: relative;
  width: 100%;
}

.hero-logo {
  max-height: 340px;
  max-width: 86%;
  object-fit: contain;
}

.hero-workflow {
  border-radius: 8px;
  max-height: 440px;
  max-width: 100%;
  width: 100%;
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 16px 0 0 auto;
  max-width: 560px;
}

.hero-capabilities span {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(31, 58, 99, 0.1);
  color: var(--navy-deep);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  padding: 10px 13px;
}

.hero-capabilities i {
  color: var(--teal);
  font-size: 18px;
}

.platforms {
  background: var(--page);
  padding: 16px 0;
}

.platform-strip {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.platform-strip img {
  display: block;
  height: auto;
  justify-self: center;
  max-height: 42px;
  max-width: 120px;
  opacity: 1;
  object-fit: contain;
  width: auto;
}

.platform-strip .platform-logo-azure {
  max-width: 145px;
}

.platform-strip .platform-logo-aws {
  max-width: 76px;
}

.section {
  background: var(--page);
  padding: 66px 0;
  overflow: hidden;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  margin: 0 auto 30px;
  max-width: 760px;
  text-align: center;
}

.section-heading h2,
.section h2,
.external h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 17px;
  margin: 0;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 100%;
  padding: 28px;
  transition: 0.2s ease;
}

.service-card:hover {
  border-color: rgba(55, 174, 228, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card i {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 8px;
  color: var(--blue);
  display: inline-flex;
  font-size: 26px;
  height: 52px;
  justify-content: center;
  margin-bottom: 22px;
  width: 52px;
}

.service-card h3,
.governance-list h3,
.contact-item h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  margin: 0;
}

.section-image {
  display: block;
  margin: 0 auto;
  max-height: 420px;
  max-width: 100%;
  object-fit: contain;
}

.access-review-person {
  max-height: 460px;
}

.identity-lifecycle-person {
  max-height: 450px;
}

.check-list {
  margin-top: 24px;
}

.check-list p {
  align-items: flex-start;
  color: var(--ink);
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
}

.check-list i {
  color: var(--blue);
  font-size: 20px;
  line-height: 1.4;
}

.governance-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.governance-list > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 22px 18px 74px;
  position: relative;
}

.governance-list span {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 8px;
  color: var(--blue);
  display: flex;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  left: 20px;
  position: absolute;
  top: 22px;
  width: 40px;
}

.governance-list p {
  margin: 0;
}

.external {
  background:
    linear-gradient(135deg, rgba(20, 39, 68, 0.94), rgba(20, 39, 68, 0.7)),
    url("../img/external-identities-bg.png") center / cover;
}

.external h2,
.external p {
  color: #fff;
}

.external p {
  margin: 0;
  opacity: 0.85;
}

.focus-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 58, 99, 0.07);
  height: 100%;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.focus-card::before {
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.tenant-card::before {
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.compliance-card::before {
  background: linear-gradient(90deg, var(--blue), #7cc6e9);
}

.focus-card-top {
  align-items: center;
  color: var(--teal);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.focus-card-top i {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 8px;
  color: var(--blue);
  display: inline-flex;
  font-size: 22px;
  height: 46px;
  justify-content: center;
  letter-spacing: 0;
  width: 46px;
}

.focus-card h3 {
  color: var(--navy-deep);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.focus-card p {
  margin-bottom: 0;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.focus-tags span {
  background: rgba(0, 196, 177, 0.1);
  border: 1px solid rgba(0, 196, 177, 0.22);
  border-radius: 999px;
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

.compliance-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.compliance-grid span {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid rgba(55, 174, 228, 0.24);
  border-radius: 8px;
  color: var(--navy-deep);
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 12px;
}

.contact-panel,
.contact-detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 100%;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(31, 58, 99, 0.07);
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item + .contact-item,
.location-carousel + .contact-item {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 26px;
}

.contact-icon-link {
  flex: 0 0 48px;
}

.contact-icon-link:hover i {
  background: var(--blue);
  color: #fff;
}

.contact-item i {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 8px;
  color: var(--blue);
  display: flex;
  flex: 0 0 48px;
  font-size: 22px;
  height: 48px;
  justify-content: center;
}

.contact-item p {
  margin: 0;
}

.contact-item p a {
  color: inherit;
}

.contact-item p a:hover {
  color: var(--blue);
}

.map-address-link {
  display: inline-block;
}

.location-carousel {
  margin-top: 24px;
}

.location-slides {
  aspect-ratio: 16 / 10;
  background: var(--page);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.location-slide {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 0.22s ease;
  width: 100%;
}

.location-slide.active {
  opacity: 1;
}

.location-carousel-controls {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
}

.location-carousel-btn {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid rgba(55, 174, 228, 0.24);
  border-radius: 8px;
  color: var(--blue);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: 0.2s ease;
  width: 42px;
}

.location-carousel-btn:hover {
  background: var(--blue);
  color: #fff;
}

.location-carousel-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-detail-panel h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-detail-panel .btn-primary {
  margin-top: 18px;
}

#footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 42px 0 22px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.footer-logo {
  max-height: 38px;
}

#footer p {
  color: rgba(255, 255, 255, 0.72);
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  font-size: 14px;
  gap: 18px;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 22px;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  line-height: 1.4;
  text-align: right;
}

.back-to-top {
  background: var(--blue);
  border-radius: 50%;
  bottom: 92px;
  height: 42px;
  opacity: 0;
  position: fixed;
  right: 18px;
  transition: all 0.25s ease;
  visibility: hidden;
  width: 42px;
  z-index: 996;
}

.back-to-top i {
  color: #fff;
  font-size: 26px;
  line-height: 0;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.assistant-widget {
  bottom: 24px;
  position: fixed;
  right: 24px;
  z-index: 998;
}

.assistant-launcher {
  align-items: center;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(55, 174, 228, 0.28);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
}

.assistant-avatar {
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.assistant-avatar-large {
  background: #fff;
  flex: 0 0 48px;
  height: 48px;
  width: 48px;
}

.assistant-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 68px;
  box-shadow: 0 22px 50px rgba(20, 39, 68, 0.2);
  display: none;
  overflow: hidden;
  position: absolute;
  right: 0;
  width: min(360px, calc(100vw - 32px));
}

.assistant-widget.open .assistant-panel {
  display: block;
}

.assistant-widget.open .assistant-launcher {
  display: none;
}

.assistant-header {
  align-items: center;
  background: var(--navy-deep);
  color: #fff;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 18px;
}

.assistant-header > div {
  flex: 1;
}

.assistant-header span {
  display: block;
  font-weight: 800;
}

.assistant-header small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.assistant-header button {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.assistant-messages {
  background: #f8fbfd;
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 16px;
}

.assistant-message {
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  padding: 11px 12px;
}

.assistant-message-bot {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  justify-self: start;
}

.assistant-message-user {
  background: var(--blue);
  color: #fff;
  justify-self: end;
}

.assistant-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 0;
}

.assistant-prompts button {
  background: var(--blue-soft);
  border: 1px solid rgba(55, 174, 228, 0.22);
  border-radius: 999px;
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}

.assistant-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
}

.assistant-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
}

.assistant-form button {
  align-items: center;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex: 0 0 44px;
  justify-content: center;
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 48px;
  }

  .navbar a,
  .navbar a:focus {
    padding-left: 9px;
    padding-right: 9px;
  }
}

@media (max-width: 991px) {
  #header {
    background: rgba(241, 245, 248, 0.96);
    box-shadow: 0 8px 30px rgba(25, 48, 82, 0.08);
  }

  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .navbar-mobile {
    background: rgba(20, 39, 68, 0.38);
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
  }

  .navbar-mobile .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    right: 16px;
    top: 22px;
  }

  .navbar-mobile ul {
    background: #fff;
    border-radius: 8px;
    bottom: 18px;
    display: block;
    left: 18px;
    overflow-y: auto;
    padding: 12px 0;
    position: absolute;
    right: 18px;
    top: 72px;
  }

  .navbar-mobile a,
  .navbar-mobile a:focus {
    font-size: 16px;
    padding: 13px 20px;
  }

  .navbar-mobile .partner-badge {
    margin: 10px 20px;
    padding-left: 0;
  }

  .navbar-mobile .partner-badge img {
    max-height: 30px;
    max-width: 144px;
  }

  .navbar-mobile .dropdown ul {
    box-shadow: none;
    display: none;
    margin: 0 16px 10px;
    opacity: 1;
    padding: 4px 0;
    position: static;
    visibility: visible;
  }

  .navbar-mobile .dropdown > .dropdown-active {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 58px;
    text-align: center;
  }

  .hero .container {
    overflow: hidden;
  }

  .hero h1 {
    font-size: 38px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin: 0 auto;
    max-width: 460px;
  }

  .platform-strip {
    gap: 12px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .compliance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero .lead {
    font-size: 16px;
  }

  .hero-visual {
    padding: 10px;
  }

  .hero-logo {
    max-height: 230px;
  }

  .hero-capabilities {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-capabilities span {
    font-size: 12px;
    padding: 10px 12px;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading h2,
  .section h2,
  .external h2 {
    font-size: 30px;
  }

  .platform-strip {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-card {
    padding: 28px;
  }

  .focus-card h3 {
    font-size: 24px;
  }

  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 27px;
    line-height: 1.15;
  }

  .hero .lead {
    font-size: 15px;
  }

  .hero-visual {
    padding: 8px;
  }

  .signal-card {
    white-space: nowrap;
  }

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

  .governance-list > div {
    padding-left: 22px;
    padding-top: 72px;
  }

  .governance-list span {
    left: 22px;
  }

  .contact-panel,
  .contact-detail-panel {
    padding: 22px;
  }

  .assistant-widget {
    bottom: 16px;
    right: 16px;
  }

  .assistant-launcher span {
    display: none;
  }

  .assistant-launcher {
    border-radius: 50%;
    min-height: 54px;
    padding: 0;
    justify-content: center;
    width: 54px;
  }
}
