:root {
  --purple: #301C90;
  --ocean: #4A4453;
  --pink: #E800E8;
  --cloud: #F8FAFC;
  --grey: #475569;
  --mist: #E2E8F0;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ocean);
  background: linear-gradient(180deg, #ffffff 0%, var(--cloud) 100%);
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
}

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

.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--grey);
  font-size: 15px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--purple);
  transition: transform 240ms ease, opacity 200ms ease;
}

.mobile-menu {
  display: none;
}

body.menu-open, body.case-dialog-open {
  overflow: hidden;
}

.nav-cta, .primary {
  background: var(--purple);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(48,28,144,0.22);
}

.secondary {
  border: 1px solid var(--mist);
  color: var(--purple);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  background: white;
}

.hero {
  min-height: 760px;
  padding: 96px 6vw 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h3 {
  font-size: 26px;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.hero-copy p, .statement p, .section-head p, .cta p {
  font-size: 20px;
  line-height: 1.65;
  color: var(--grey);
  max-width: 760px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(232,0,232,0.16), transparent 34%),
              linear-gradient(145deg, var(--ocean), #1E1B4B);
  color: white;
  border-radius: 42px;
  padding: 52px;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 40px 100px rgba(74,68,83,0.26);
}

.hero-card img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  margin-bottom: auto;
  align-self: center;
  filter: brightness(0) invert(1) drop-shadow(0 24px 42px rgba(232,0,232,0.25));
}

.hero-card p { color: rgba(255,255,255,0.76); line-height: 1.6; }

.statement {
  margin: 0 6vw;
  padding: 90px;
  border-radius: 44px;
  background: white;
  border: 1px solid var(--mist);
  box-shadow: 0 24px 80px rgba(74,68,83,0.06);
}

.use-cases {
  margin: 0 6vw;
  padding: 90px;
  border-radius: 44px;
  background: white;
  border: 1px solid var(--mist);
  box-shadow: 0 24px 80px rgba(74,68,83,0.06);
}

.use-case-slider {
  position: relative;
  overflow: hidden;
}

.use-case-track {
  position: relative;
  min-height: 520px;
}

.use-case-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.use-case-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.use-case-image {
  overflow: hidden;
  border: 1px solid var(--mist);
  border-radius: 34px;
  background: var(--cloud);
  box-shadow: 0 24px 70px rgba(74,68,83,0.08);
}

.use-case-image img {
  display: block;
  width: 100%;
  height: auto;
}

.use-case-copy {
  padding-right: 14px;
}

.use-case-count {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(48,28,144,0.08);
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.use-case-copy p, .use-case-copy li {
  color: var(--grey);
  line-height: 1.65;
}

.use-case-copy ul {
  padding-left: 20px;
  margin: 24px 0 0;
}

.use-case-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(48,28,144,0.2);
}


.case-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  border-radius: 34px;
  background: transparent;
  color: var(--ocean);
}

.case-dialog::backdrop {
  background: rgba(15, 23, 42, 0.46);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.case-dialog-card {
  position: relative;
  overflow: auto;
  max-height: inherit;
  padding: 42px;
  border: 1px solid rgba(226,232,240,0.88);
  border-radius: inherit;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 34px 100px rgba(74,68,83,0.24);
}

.case-dialog-close {
  position: absolute;
  top: 22px;
  right: 22px;
  border: 1px solid var(--mist);
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  color: var(--purple);
  cursor: pointer;
  font-weight: 800;
}

.case-dialog-head {
  max-width: 820px;
  padding-right: 118px;
}

.case-dialog-kicker, .case-detail-count {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(48,28,144,0.08);
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-dialog-head p, .case-detail-slide p {
  color: var(--grey);
  line-height: 1.65;
}

.case-detail-slide {
  min-height: 360px;
  margin-top: 26px;
  padding: 32px;
  border: 1px solid var(--mist);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, var(--cloud));
}

.case-detail-slide h3 {
  max-width: 760px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.case-detail-card {
  padding: 20px;
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 34px rgba(74,68,83,0.06);
}

.case-detail-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
}

.case-detail-card p {
  margin-bottom: 0;
}

.case-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.case-detail-actions span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(232,0,232,0.08);
  color: var(--ocean);
  font-size: 13px;
  font-weight: 800;
}

.case-detail-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.case-detail-controls span {
  color: var(--grey);
  font-weight: 800;
}

.slider-controls {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.slider-button {
  border: 1px solid var(--mist);
  border-radius: 999px;
  padding: 12px 18px;
  background: white;
  color: var(--purple);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.slider-dots button.is-active {
  width: 34px;
  background: var(--purple);
}

.slider-progress {
  overflow: hidden;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--mist);
}

.slider-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.use-case-slider.is-running .slider-progress span {
  animation: slider-progress 7s linear forwards;
}

@keyframes slider-progress {
  from { width: 0; }
  to { width: 100%; }
}

.products, .trust, .about, .contact, .cta {
  padding: 110px 6vw;
}

.section-head {
  max-width: 900px;
  margin-bottom: 48px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product {
  background: white;
  border: 1px solid var(--mist);
  border-radius: 30px;
  padding: 32px;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 50px rgba(74,68,83,0.05);
}

.product.featured {
  background: linear-gradient(155deg, var(--purple), #301C90);
  color: white;
  border: none;
}

.product.featured p, .product.featured li { color: rgba(255,255,255,0.82); }

.product p, .product li {
  color: var(--grey);
  line-height: 1.55;
}

.product ul {
  padding-left: 20px;
  margin-bottom: 26px;
}

.product a {
  margin-top: auto;
  font-weight: 800;
  color: var(--pink);
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(232,0,232,0.11);
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 24px;
}

.featured .tag {
  background: rgba(255,255,255,0.16);
  color: white;
}

.trust {
  background: var(--ocean);
  color: white;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.trust h2 { color: white; }

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

.trust-grid div {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 28px;
}

.trust-grid p { color: rgba(255,255,255,0.72); line-height: 1.65; }

.about-card {
  background: white;
  border: 1px solid var(--mist);
  border-radius: 34px;
  padding: 44px;
  max-width: 760px;
  box-shadow: 0 20px 70px rgba(74,68,83,0.06);
}

.about-card p { color: var(--grey); line-height: 1.65; font-size: 18px; }

.leadership {
  margin-top: 72px;
}

.leadership-head {
  max-width: 900px;
  margin-bottom: 36px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
}

.leader-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--mist);
  border-radius: 30px;
  box-shadow: 0 20px 70px rgba(74,68,83,0.06);
}

.leader-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.leader-copy {
  padding: 28px;
}

.leader-role {
  display: block;
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leader-copy p {
  margin-bottom: 0;
  color: var(--grey);
  line-height: 1.65;
}

.contact {
  background: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  max-width: 1080px;
}

.contact-card, .contact-form {
  padding: 36px 40px;
  border: 1px solid var(--mist);
  border-radius: 30px;
  box-shadow: 0 20px 70px rgba(74,68,83,0.06);
}

.contact-card {
  align-self: start;
  background: linear-gradient(145deg, var(--ocean), #1E1B4B);
  color: white;
}

.contact-label {
  display: block;
  margin-bottom: 12px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card p {
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.contact-email {
  color: white;
  font-weight: 800;
}

.contact-address {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.contact-address address {
  color: rgba(255,255,255,0.82);
  font-style: normal;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 18px;
  background: white;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ocean);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--mist);
  border-radius: 14px;
  color: var(--ocean);
  background: var(--cloud);
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(48,28,144,0.12);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-actions p {
  margin-bottom: 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.5;
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(48,28,144,0.08), rgba(232,0,232,0.08));
}

.cta p { margin-left: auto; margin-right: auto; }

.cta .primary { display: inline-block; margin-top: 18px; }

footer {
  padding: 44px 6vw;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: white;
  border-top: 1px solid var(--mist);
  color: var(--grey);
}

footer strong { color: var(--ocean); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 700;
}

.legal-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 90px 6vw 110px;
}

.legal-hero {
  margin-bottom: 48px;
}

.legal-hero p, .legal-section p, .legal-section li {
  color: var(--grey);
  line-height: 1.7;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-section {
  padding: 32px;
  background: white;
  border: 1px solid var(--mist);
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(74,68,83,0.05);
}

.legal-section h2 {
  font-size: 30px;
}

.legal-section p:last-child, .legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--purple);
  font-weight: 700;
}

.legal-note {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(48,28,144,0.07);
}

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.is-menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    z-index: 19;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 42px 6vw 56px;
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    overflow: auto;
  }
  .nav.is-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-menu a {
    color: var(--purple);
    font-size: 30px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
  }
  .mobile-menu a:nth-child(6) { margin-top: 20px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .grid, .trust, .trust-grid { grid-template-columns: 1fr; }
  .use-case-track { min-height: auto; }
  .use-case-slide {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
  }
  .use-case-slide.is-active { display: grid; }
  .leadership-grid { grid-template-columns: 1fr; }
  .statement, .use-cases { padding: 44px; }
  .contact-layout { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .nav { padding: 0 22px; }
  .mobile-menu { padding: 36px 22px 48px; gap: 17px; }
  .mobile-menu a { font-size: 28px; }
  .hero, .products, .trust, .about, .contact, .cta { padding-left: 22px; padding-right: 22px; }
  .statement, .use-cases { margin: 0 22px; padding: 32px; border-radius: 28px; }
  .use-case-slide { gap: 24px; }
  .use-case-copy { padding-right: 0; }
  .slider-controls { align-items: stretch; flex-direction: column; }
  .slider-button { width: 100%; }
  .case-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .case-dialog-card { padding: 28px; }
  .case-dialog-close { position: static; margin-bottom: 20px; }
  .case-dialog-head { padding-right: 0; }
  .case-detail-slide { padding: 24px; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-detail-controls { align-items: stretch; flex-direction: column; }
  .case-detail-controls span { text-align: center; }
  .hero-card { padding: 34px; border-radius: 32px; min-height: 360px; }
  .hero-actions { flex-direction: column; }
  .primary, .secondary { text-align: center; }
  .contact-card, .contact-form { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form .primary { width: 100%; }
}
