:root {
  --bg: #f4f6ff;
  --ink: #1a2452;
  --ink-soft: #58638f;
  --line: #d8def4;
  --white: #ffffff;
  --blue: #505ece;
  --blue-dark: #2d3ea9;
  --cyan: #7f8be8;
  --mint: #f9a35d;
  --orange: #fc892e;
  --shadow: 0 24px 56px -28px rgba(26, 36, 82, 0.28);
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
.brand {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  margin-top: 0;
}

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

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(78rem 50rem at -10% -12%, rgba(80, 94, 206, 0.24), transparent 72%),
    radial-gradient(50rem 34rem at 110% 10%, rgba(127, 139, 232, 0.25), transparent 70%),
    radial-gradient(54rem 32rem at 62% 84%, rgba(252, 137, 46, 0.14), transparent 74%),
    linear-gradient(180deg, #f8f9ff, #f4f6ff 40%, #edf1ff 100%);
}

.bg-layer::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.75) 25%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 100% 100%, 26px 26px;
  opacity: 0.2;
  transform: rotate(-6deg);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 249, 252, 0.8);
  border-bottom: 1px solid rgba(217, 228, 239, 0.75);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  width: auto;
  height: 36px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-switcher {
  height: 36px;
  min-width: 138px;
  border-radius: 999px;
  border: 1px solid rgba(80, 97, 118, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  padding: 0 0.72rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin-block: 5px;
  border-radius: 10px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.86rem 1.2rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.58rem 0.95rem;
  font-size: 0.86rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 10px 30px -15px rgba(80, 94, 206, 0.72);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px -16px rgba(80, 94, 206, 0.76);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(80, 97, 118, 0.22);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: var(--white);
  border-color: rgba(16, 35, 56, 0.2);
}

.hero {
  position: relative;
  padding: 5.2rem 0 3.2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -140px 0 auto;
  height: 760px;
  background: linear-gradient(120deg, rgba(80, 94, 206, 0.3), rgba(127, 139, 232, 0.25) 46%, rgba(252, 137, 46, 0.2));
  clip-path: polygon(0 12%, 100% 0, 100% 96%, 0 118%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 2.2rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 6vw, 4.05rem);
  line-height: 1.03;
  margin: 0.55rem 0 1.15rem;
  max-width: 13ch;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.77rem;
  color: var(--blue-dark);
  font-weight: 600;
}

.lead {
  color: #4f5d88;
  max-width: 54ch;
  margin: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-stats article {
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(80, 97, 118, 0.2);
  border-radius: 18px;
}

.hero-stats h3 {
  margin: 0;
  font-size: 1rem;
}

.hero-stats p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.hero-panel {
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(16, 35, 56, 0.1);
  background: linear-gradient(164deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 255, 0.95));
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease;
}

.hero-panel.is-updating {
  opacity: 0.8;
}

.hero-panel h2 {
  margin: 0 0 0.9rem;
  font-size: 1.25rem;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.68rem 0;
  border-bottom: 1px dashed rgba(80, 97, 118, 0.25);
  font-size: 0.93rem;
}

.panel-row strong {
  font-family: "Space Grotesk", sans-serif;
}

.case-label {
  margin: 0.8rem 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60758e;
  font-weight: 600;
}

.meter {
  margin-top: 0.95rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(80, 97, 118, 0.15);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--blue), var(--cyan), var(--mint));
}

.micro {
  margin: 0.8rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.panel-note {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: #2f4560;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(80, 97, 118, 0.18);
}

.brands {
  padding: 2.8rem 0 1.4rem;
}

.section-caption {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.brands-footnote {
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.brand-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.brand-grid span {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.3rem;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}

.workflow,
.platform,
.proof,
.security,
.cta {
  padding: 4.6rem 0;
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
}

.workflow-grid {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(80, 97, 118, 0.18);
  border-radius: 20px;
  padding: 1.15rem;
}

.workflow-card .step {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.workflow-card h3 {
  margin: 0.45rem 0 0.55rem;
  font-size: 1.18rem;
}

.workflow-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.platform {
  position: relative;
}

.platform::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 280px;
  background: linear-gradient(110deg, rgba(80, 94, 206, 0.1), rgba(127, 139, 232, 0.09));
  clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.35rem;
}

.platform-copy p {
  color: var(--ink-soft);
}

.platform-copy ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.platform-copy li + li {
  margin-top: 0.48rem;
}

.platform-cards {
  display: grid;
  gap: 0.85rem;
}

.insight-card {
  padding: 1.18rem;
  border-radius: 20px;
  border: 1px solid rgba(80, 97, 118, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 45px -34px rgba(16, 35, 56, 0.48);
}

.insight-card h3 {
  margin: 0 0 0.45rem;
}

.insight-card p {
  margin: 0;
  color: var(--ink-soft);
}

.proof {
  background:
    linear-gradient(145deg, rgba(80, 94, 206, 0.09), rgba(127, 139, 232, 0.08)),
    rgba(255, 255, 255, 0.75);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.metrics article {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(80, 97, 118, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.metrics h3 {
  margin: 0;
  font-size: 1.75rem;
}

.metrics p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.testimonials {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.quote {
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(80, 97, 118, 0.2);
}

.quote p {
  margin: 0;
  color: var(--ink-soft);
}

.quote span {
  display: inline-block;
  margin-top: 0.82rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
}

.security-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.security-card {
  border-radius: 18px;
  padding: 1.15rem;
  border: 1px solid rgba(80, 97, 118, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.security-card h3 {
  margin: 0 0 0.45rem;
}

.security-card p {
  margin: 0;
  color: var(--ink-soft);
}

.cta {
  padding-top: 1rem;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(80, 97, 118, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 255, 0.95));
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.cta-box p {
  margin: 0;
  color: var(--ink-soft);
}

.cta-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.site-footer {
  padding: 3.4rem 0;
  border-top: 1px solid rgba(80, 97, 118, 0.22);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.lead-modal.is-open {
  display: block;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 32, 0.52);
  backdrop-filter: blur(4px);
}

.lead-modal-dialog {
  position: relative;
  width: min(520px, 92vw);
  margin: min(10vh, 74px) auto;
  background: #f7f9ff;
  border: 1px solid rgba(80, 97, 118, 0.25);
  border-radius: 22px;
  padding: 1.25rem 1.15rem 1.15rem;
  box-shadow: 0 26px 80px -36px rgba(16, 35, 56, 0.55);
}

.lead-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lead-modal-dialog h3 {
  margin: 0;
  font-size: 1.55rem;
}

.lead-modal-subtitle {
  margin: 0.4rem 0 1rem;
  color: var(--ink-soft);
}

.lead-form {
  display: grid;
  gap: 0.45rem;
}

.lead-form label {
  font-size: 0.88rem;
  color: #334467;
}

.lead-form input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(80, 97, 118, 0.3);
  background: #fff;
  padding: 0 0.75rem;
  font: inherit;
  color: var(--ink);
}

.lead-form input:focus {
  outline: 2px solid rgba(80, 94, 206, 0.35);
  border-color: rgba(80, 94, 206, 0.55);
}

.lead-form .btn {
  margin-top: 0.45rem;
  width: 100%;
}

.lead-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lead-form-status {
  margin: 0.22rem 0 0;
  font-size: 0.9rem;
  color: #2a4776;
}

.lead-form-status.is-error {
  color: #a63a32;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.footer-grid p {
  color: var(--ink-soft);
  max-width: 30ch;
}

.footer-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.footer-grid a {
  display: block;
  color: var(--ink-soft);
  margin-top: 0.38rem;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--ink);
}

.footer-brand {
  margin-bottom: 0.6rem;
}

.footer-brand .brand-logo {
  height: 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-copy h1 {
    max-width: 16ch;
  }

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

  .platform-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .metrics,
  .testimonials,
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 4vw;
    right: 4vw;
    width: auto;
    border: 1px solid rgba(80, 97, 118, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

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

  .site-nav .btn {
    width: 100%;
  }

  .nav-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .lang-switcher {
    width: 100%;
  }

  .hero {
    padding-top: 4.1rem;
  }

  .hero::before {
    height: 700px;
    clip-path: polygon(0 12%, 100% 0, 100% 95%, 0 118%);
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .brand-grid,
  .workflow-grid,
  .metrics,
  .testimonials,
  .security-grid {
    grid-template-columns: 1fr;
  }
}
