:root {
  --page-bg: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --border: rgba(58, 86, 140, 0.16);
  --text-primary: #1f2633;
  --text-secondary: #5f6f89;
  --accent: #3f6fd9;
  --accent-strong: #2450b8;
  --accent-soft: rgba(63, 111, 217, 0.12);
  --success-soft: rgba(70, 170, 112, 0.12);
  --shadow: 0 20px 60px rgba(30, 49, 87, 0.11);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(96, 174, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(60, 111, 217, 0.14), transparent 32%),
    linear-gradient(180deg, #fbfcff 0%, var(--page-bg) 100%);
  color: var(--text-primary);
  font: 500 16px/1.6 "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(83, 107, 159, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 107, 159, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(33, 55, 95, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__text strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.brand__text span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-primary);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-cta,
.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(63, 111, 217, 0.22);
}

.button--ghost {
  border-color: rgba(63, 111, 217, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-primary);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero,
.section,
.cta-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  padding: 36px;
  border-radius: var(--radius-xl);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero__pill,
.hero__note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero__pill {
  background: var(--success-soft);
  color: #1f7b43;
}

.hero__note {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero__lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero__facts {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

.hero__facts li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(63, 111, 217, 0.12);
}

.hero__visual {
  position: relative;
  min-height: 510px;
}

.shot-card,
.screen-card,
.pipeline-showcase__image {
  margin: 0;
  border: 1px solid rgba(49, 86, 158, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 40px rgba(29, 48, 88, 0.08);
  overflow: hidden;
}

.shot-card {
  position: absolute;
}

.shot-card figcaption,
.screen-card__copy {
  padding: 18px 20px 0;
}

.shot-card img,
.screen-card img,
.pipeline-showcase__image img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-card--entity {
  top: 0;
  right: 0;
  left: 0;
}

.shot-card--floating {
  right: -8px;
  bottom: -10px;
  width: min(440px, calc(100% - 32px));
  transform: rotate(-2.6deg);
}

html[lang="en"] .shot-card--floating {
  bottom: -25px;
}

.shot-card__eyebrow,
.screen-card__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
}

.shot-card figcaption strong,
.screen-card__copy h3 {
  display: block;
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}

.shot-card figcaption {
  padding-bottom: 14px;
}

.section {
  margin-top: 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.section__heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section__heading h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section__heading p,
.cta-card p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 22px;
  border: 1px solid rgba(54, 84, 142, 0.14);
  border-radius: 18px;
  background: #ffffff;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow li {
  position: relative;
  padding: 20px 18px 18px;
  border: 1px solid rgba(54, 84, 142, 0.14);
  border-radius: 18px;
  background: #ffffff;
}

.workflow li::before {
  counter-increment: workflow;
  content: "0" counter(workflow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.workflow strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.workflow span {
  color: var(--text-secondary);
  font-size: 14px;
}

.screen-grid {
  display: grid;
  gap: 18px;
}

.screen-card {
  display: grid;
  gap: 14px;
  padding-bottom: 18px;
}

.screen-card__copy p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.screen-card img {
  width: calc(100% - 24px);
  margin: 0 auto;
  border-radius: 18px;
}

.pipeline-showcase {
  display: grid;
  grid-template-columns: minmax(250px, 0.52fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.pipeline-showcase__copy {
  padding: 10px 4px;
}

.pipeline-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pipeline-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  font-size: 15px;
}

.pipeline-points li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, #6f98ff 100%);
  box-shadow: 0 0 0 6px rgba(63, 111, 217, 0.08);
}

.pipeline-showcase__image {
  padding: 14px;
}

.pricing-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(54, 84, 142, 0.14);
  border-radius: 999px;
  background: #ffffff;
}

.pricing-switch__button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.pricing-switch__button.is-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.pricing-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(54, 84, 142, 0.14);
  border-radius: 20px;
  background: #ffffff;
}

.pricing-card--featured {
  border-color: rgba(63, 111, 217, 0.28);
  box-shadow: 0 16px 32px rgba(63, 111, 217, 0.12);
  transform: translateY(-6px);
}

.pricing-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card__period {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card__price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.pricing-card__price {
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.pricing-card__currency {
  padding-bottom: 10px;
  font-size: 24px;
  font-weight: 800;
}

.pricing-card__meta,
.pricing-card__total {
  color: var(--text-secondary);
  font-size: 15px;
}

.pricing-card__meta {
  margin-top: 10px;
}

.pricing-card__total {
  margin-top: 28px;
}

.pricing-card__total strong {
  color: var(--text-primary);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
}

.cta-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 8px 4px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.policy-page {
  display: grid;
  gap: 24px;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

.policy-article {
  display: grid;
  gap: 24px;
  padding: 34px 36px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.policy-article__intro {
  display: grid;
  gap: 10px;
}

.policy-article__eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-article__intro h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.policy-article__intro p {
  margin: 0;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.policy-block {
  display: grid;
  gap: 14px;
}

.policy-block h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.policy-block p,
.policy-block li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.policy-block p {
  margin: 0;
}

.policy-block ol,
.policy-block ul {
  margin: 0;
  padding-left: 22px;
}

.policy-meta {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(54, 84, 142, 0.14);
}

.policy-meta strong {
  color: var(--text-primary);
}

@media (max-width: 1080px) {
  .hero,
  .feature-grid,
  .workflow,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pipeline-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 28px;
    padding: 16px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .feature-grid,
  .workflow,
  .pricing-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .shot-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .cta-card {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .site-header,
  .hero,
  .section,
  .cta-card {
    padding: 20px;
  }

  .brand__text span,
  .header-cta {
    display: none;
  }

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

  .pricing-switch {
    width: 100%;
  }

  .pricing-switch__button {
    flex: 1 1 0;
    padding: 0 10px;
  }

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

  .policy-article {
    padding: 24px 20px;
  }
}
