:root {
  color-scheme: light;
  --bg: #eaf0fb;
  --ink: #0f1b2d;
  --muted: #4f5f7f;
  --brand: #1a66e5;
  --brand-dark: #0d3f9f;
  --card: #ffffff;
  --line: rgba(15, 27, 45, 0.12);
  --radius: 22px;
  --shadow: 0 20px 40px rgba(10, 30, 65, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -5%, rgba(26, 102, 229, 0.18), transparent 45%),
    radial-gradient(circle at 10% 105%, rgba(67, 196, 149, 0.18), transparent 40%),
    linear-gradient(180deg, #f6f8ff 0%, var(--bg) 100%);
  min-height: 100vh;
}

.bg-blur {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.bg-blur--one {
  width: 260px;
  height: 260px;
  top: -90px;
  right: -80px;
  background: radial-gradient(circle, rgba(26, 102, 229, 0.26), transparent 70%);
}

.bg-blur--two {
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(67, 196, 149, 0.24), transparent 70%);
}

.layout {
  position: relative;
  z-index: 1;
  width: min(1080px, 100% - 40px);
  margin: 22px auto 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(26, 102, 229, 0.12);
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(26, 102, 229, 0.2);
  background: #fff;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__text strong {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.brand__text span {
  font-size: 13px;
  color: var(--muted);
}

.nav__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  width: min(520px, 100%);
}

.lang-menu {
  display: block;
  width: 100%;
  position: relative;
  min-height: 52px;
}

.lang-menu::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.lang-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid rgba(26, 102, 229, 0.32);
  background: #fff;
  background-image: none;
  color: var(--brand-dark);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 17px;
  border-radius: 12px;
  line-height: 1.2;
  padding: 0 48px 0 20px;
  height: 52px;
  min-height: 52px;
  min-width: 0;
  width: 100%;
  outline: none;
  cursor: pointer;
}

.hero,
.section {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.5vw, 32px);
}

.hero__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--brand-dark);
  font-weight: 700;
}

.hero h1 {
  margin: 8px 0 10px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.06;
}

.hero__lead {
  max-width: 780px;
  margin: 0;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
}

.hero__actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  padding: 0 20px;
  background: linear-gradient(135deg, #1a66e5, #357ae9);
  color: #fff;
  border: 1px solid transparent;
}

.cta--ghost {
  background: transparent;
  color: var(--brand-dark);
  border-color: rgba(26, 102, 229, 0.32);
}

.nav__actions > .cta {
  width: 100%;
  min-height: 52px;
}

.section h2 {
  margin: 0 0 12px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(25px, 3.5vw, 34px);
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section--alt {
  background: linear-gradient(160deg, #fbfdff 0%, #eef4ff 100%);
}

.grid {
  display: grid;
  gap: 12px;
}

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

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

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

.card {
  border: 1px solid rgba(15, 27, 45, 0.1);
  border-radius: 16px;
  padding: 15px;
  background: #fff;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-family: "Sora", "Manrope", sans-serif;
}

.card p {
  margin: 0;
  font-size: 14px;
}

.card--accent {
  background: linear-gradient(180deg, #fff 0%, #f3f7ff 100%);
}

.usecase-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(15, 27, 45, 0.14);
  box-shadow: 0 16px 34px rgba(10, 30, 65, 0.14);
  background: #dfe9fb;
}

.usecase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.usecase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 31, 0.06) 25%,
    rgba(8, 16, 31, 0.78) 100%
  );
  pointer-events: none;
}

.usecase-card__content {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
}

.usecase-card__content h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.16;
}

.usecase-card__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
}

.steps {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 9px;
}

.steps li {
  line-height: 1.5;
}

.section--legal {
  border-left: 4px solid var(--brand);
}

.legal-links {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-links a,
.footer a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 12px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(79, 95, 127, 0.7);
}

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

  .grid--two {
    grid-template-columns: 1fr;
  }

  .grid--usecases {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .layout {
    width: calc(100% - 24px);
    margin: 14px auto 26px;
    gap: 12px;
  }

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

  .nav__actions {
    width: 100%;
  }

  .cta {
    width: 100%;
  }
}
