:root {
  --color-primary: #1dc0c1;
  --color-primary-secondary: #330867;
  --color-black: #111214;
  --color-text: #5e6673;
  --color-tag-bg: #30cfd033;
  --color-white: #fcfcfcfc;
  --gradient-primary-angle: 120deg;
  --gradient-primary: linear-gradient(
    var(--gradient-primary-angle),
    var(--color-primary) 0%,
    var(--color-primary-secondary) 100%
  );
  --color-line: #d1d8e4;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 12px;
  --space-5: 14px;
  --space-6: 16px;
  --space-8: 24px;

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --container-desktop-lg: 1320px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.page {
  font-family: 'Manrope', sans-serif;
  color: var(--color-black);
  background-image: url('../assets/bg-body.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: cover;
}

.layout__container {
  width: 100%;
  max-width: var(--container-desktop-lg);
  margin: 0 auto;
}

.section {
  padding: clamp(48px, 2.5vw + 32px, 120px) clamp(0px, 4vw, 16px);
}

h1,
h2,
h3,
h4 {
  color: var(--color-black);
  line-height: 1.1;
  margin: 0;
}

p,
span {
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(46px, calc(0.8vw + 43.5px), 53px);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-sm);
  font-size: clamp(14px, calc(0.5vw + 11px), 16px);
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.button:active {
  position: relative;
  top: 2px;
}

.button--primary {
  color: var(--color-white);
  background: var(--gradient-primary);
}

.button--primary:hover {
  background: linear-gradient(
    calc(var(--gradient-primary-angle) + 180deg),
    var(--color-primary) 0%,
    var(--color-primary-secondary) 100%
  );
}

.button--ghost {
  background: transparent;
  color: var(--color-black);
  border: 2px solid;
  border-image: var(--gradient-primary) 1;
}

.button--ghost:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-white) 20%, transparent);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transition: background-color 0.32s ease, backdrop-filter 0.32s ease;
}

.page--menu-open {
  overflow: hidden;
}

.header--menu-open {
  background: var(--color-white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px;
}

.header__logo img {
  display: block;
  width: 140px;
  height: auto;
  object-fit: contain;
}

.header__logo {
  position: relative;
  z-index: 110;
}

.header--menu-open .header__logo img {
  width: 170px;
  height: 44px;
}

.header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 110;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
}

.header__menu-toggle img {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
}

.header__nav {
  position: absolute;
  top: 96%;
  right: 0;
  left: 0;
  padding: var(--space-4) var(--space-6) var(--space-8);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  z-index: 100;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease,
    visibility 0s linear 0.36s;
}

.header__nav--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s;
}

.header__nav-link {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-4) 2px;
  display: inline-flex;
  align-items: center;
}

.button--header {
  height: auto;
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-white);
  background: var(--gradient-primary);
}

.header__nav .button--header {
  width: auto;
  margin-top: var(--space-4);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

.hero__tag,
.segments__tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-5);
  background-color: var(--color-tag-bg);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.hero__tag span,
.segments__tag span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title {
  max-width: 650px;
  margin-top: clamp(0px, calc(2vw - 10px), 24px);
  font-size: clamp(38px, calc(4.5vw + 20px), 64px);
  font-weight: 708;
  letter-spacing: -0.045em;
}

.hero__description {
  margin-top: var(--space-4);
  max-width: 645px;
  font-size: clamp(16px, 1.2vw + 12px, 20px);
}

.hero__actions {
  margin-top: clamp(24px, calc(1vw + 20px), 26px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, calc(0.5vw + 8px), 12px);
}

.hero__benefits {
  display: none;
}

.hero__benefit-line {
  display: block;
  width: 100%;
  height: auto;
}

.hero__benefit-title {
  margin-top: var(--space-3);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.hero__benefit-text {
  margin-top: var(--space-2);
  font-size: 16px;
  color: var(--color-text);
}

.hero__panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  order: 2;
}

.hero__panel-image,
.segments__visual-image,
.cta__photo img {
  width: 100% !important;
  height: auto;
  display: block;
}

.section-heading {
  text-align: center;
  font-size: clamp(32px, calc(32px + 16 * ((100vw - 320px) / 672)), 48px);
  letter-spacing: -0.03em;
}

.section-heading--left {
  text-align: left;
}

.section-subtitle {
  margin: var(--space-2) auto 0;
  max-width: 650px;
  color: var(--color-text);
  font-size: clamp(16px, calc(16px + 4 * ((100vw - 320px) / 448)), 20px);
  text-align: center;
}

.tag {
  width: fit-content;
  border-radius: 40px;
  padding: var(--space-2) var(--space-4);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.problems {
  text-align: center;
}

.problems .tag {
  font-size: clamp(12px, calc(12px + 2 * ((100vw - 320px) / 448)), 14px);
}

.problems__grid {
  margin-top: clamp(24px, 5.5vw - 18px, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.problems__card {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: grid;
  align-content: start;
  gap: var(--space-8);
  text-align: left;
  overflow: hidden;
}

.problems__card .tag{
  color: var(--color-white);
}

.problems__card-title {
  font-size: clamp(24px, calc(24px + 8 * ((100vw - 320px) / 448)), 32px);
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.problems__card-description {
  color: color-mix(in srgb, currentColor 75%, var(--color-text));
  font-size: clamp(14px, calc(14px + 2 * ((100vw - 320px) / 448)), 16px);
}

.problems__card--dark,
.problems__card--image,
.problems__card--photo {
  color: var(--color-white);
}

.problems__card--dark {
  background: var(--color-black);
}

.problems__card--dark .tag {
  background: color-mix(in srgb, var(--color-white) 20%, transparent);
}

.problems__card--image .tag,
.problems__card--photo .tag {
  background: color-mix(in srgb, var(--color-white) 20%, transparent);
}

.problems__card--image {
  align-content: end;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-black) 8%, transparent) 0%,
      color-mix(in srgb, var(--color-black) 82%, transparent) 76%
    ),
    url('../assets/problems-card-02.png') center/cover;
}

.problems__card--image .tag {
  order: 2;
  margin-top: auto;
}

.problems__card--photo {
  background: var(--gradient-primary);
}

.problems__card--photo .problems__card-description {
  color: color-mix(in srgb, var(--color-white) 90%, transparent);
  max-width: 305px;
}

.segments__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: clamp(24px, 5.5vw - 18px, 80px);
}

.segments__description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 500px;
}

.segments__panel {
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  padding: clamp(24px, calc(24px + (64 - 24) * ((100vw - 320px) / (992 - 320))), 64px);
}

.segments_content {
  width: 100%;
  max-width: var(--container-desktop-lg);
}

.segments__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.segments__tab {
  border: 0;
  border-radius: 30px;
  padding: var(--space-2) var(--space-6);
  font-size: 16px;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-white) 18%, transparent);
  cursor: pointer;
}

.segments__tab--active {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
}

.segments__about {
  display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: 1200px;
  margin-top: clamp(24px, calc(24px + (40 - 24) * ((100vw - 320px) / (768 - 320))), 40px);
}

.segments__copy {
  border-radius: var(--radius-xl);
  background: var(--color-white);
  padding: clamp(16px, calc(16px + (24 - 16) * ((100vw - 320px) / (768 - 320))), 24px);
  min-height: 350px;
  display: grid;
  align-content: start;
  gap: var(--space-2);
}

.segments__copy--hidden {
  display: none;
}

.segments__copy-title {
  font-size: clamp(24px, calc(24px + (32 - 24) * ((100vw - 320px) / (768 - 320))), 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.segments__copy-text {
  color: var(--color-text);
  font-size: clamp(14px, calc(14px + 0.00446 * (100vw - 320px)), 16px);
}

.segments__copy-list {
  margin: clamp(8px, 1.2vw, 16px) 0;
  display: grid;
  gap: clamp(8px, 1vw, 14px);
  font-size: clamp(13px, calc(0.3vw + 12px), 14px);
  color: var(--color-black);
}

.segments__copy-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-weight: 600;
}

.segments__copy-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  background: url("../assets/icon-check.svg") center / contain no-repeat;
}

.segments__copy .button {
  width: fit-content;
}

.segments__visual {
  display: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: color-mix(in srgb, var(--color-white) 14%, transparent);
  min-height: 350px;
}

.segments__visual-image {
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  object-position: center;
}

.differentials {
  text-align: center;
}

.differentials__grid {
  margin-top: clamp(24px, 5.5vw - 18px, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.differentials__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: clamp(14px, 2.6vw, 32px);
  overflow: hidden;
  text-align: left;
  max-height: 290px;
}

.differentials__card-title {
  font-size: clamp(16px, calc(1vw + 8px), 24px);
  letter-spacing: -0.02em;
}

.differentials__card-text {
  margin-top: var(--space-1);
  font-size: 14px;
  color: var(--color-text);
  max-width: 500px;
}

.differentials__graphic {
  width: 122%;
  height: 152px;
  margin-top: var(--space-3);
  display: block;
  object-fit: contain;
  object-position: center;
}

.differentials__card--integration .differentials__graphic {
  position: relative;
  left: -31px;
}

.differentials__card--support .differentials__graphic,
.differentials__card--results .differentials__graphic {
  height: 180px;
}

.differentials__card--technology .differentials__graphic {
  height: 166px;
}

.differentials__card--results .differentials__graphic {
  margin-top: var(--space-4);
  border-radius: 12px;
}

.differentials__card--custom .differentials__graphic {
  width: 100%;
  height: 170px;
  align-self: center;
  margin-top: var(--space-4);
}

.cta__wrap {
  width: 100% !important;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-black);
}

.cta__content {
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-8) 0;
  gap: var(--space-5);
  color: var(--color-white);
}

.cta__headline {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta__headline h2,
.cta__headline p {
  color: var(--color-white);
}

.cta__headline h2 {
  font-size: clamp(24px, calc(3.7037vw + 3.556px), 48px);
  letter-spacing: -0.03em;
}

.cta__headline,
.cta__photo {
  width: 100%;
}

.cta__text {
  font-size: clamp(14px, calc(0.6vw + 10px), 16px);
  margin-top: 0;
}

.cta .layout__container {
  width: calc(100% - clamp(40px, 6.25vw, 48px));
}

.cta .button {
  margin: var(--space-2) 0 40px;
}

.cta__photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px 12px 0 0;
}

.footer {
  background: var(--color-white);
  padding-bottom: var(--space-6);
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer__logo img {
  width: 171px;
  height: auto;
}

.footer__brand-text,
.footer__title,
.footer__list-item {
  font-size: 14px;
}

.footer__brand-text {
  margin-top: var(--space-3);
  max-width: 260px;
  color: var(--color-text);
}

.footer__title {
  margin-bottom: var(--space-2);
}

.footer__list-item {
  color: var(--color-text);
  padding: var(--space-1) var(--space-1) var(--space-1) 0;
}

.footer__list-link:hover,
.footer__list-link:focus-visible,
.footer__bottom a:hover,
.footer__bottom a:focus-visible {
  text-decoration: underline;
}

.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-line);
  font-size: 12px;
  color: var(--color-text);

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: var(--space-6);
}

.privacy {
  padding-top: clamp(28px, 4vw, 48px);
}

.privacy__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.privacy__hero-card,
.privacy__info-card,
.privacy__toc,
.privacy__article {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-white) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.privacy__hero-card {
  padding: clamp(22px, 2.3vw, 32px);
}

.privacy__eyebrow {
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.privacy__hero-card h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.privacy__hero-card p {
  max-width: 760px;
}

.privacy__meta {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.privacy__meta span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
}

.privacy__info-cards {
  display: grid;
  gap: var(--space-4);
}

.privacy__info-card {
  padding: 18px;
}

.privacy__info-card h2 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: var(--space-2);
}

.privacy__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
}

.privacy__toc {
  padding: 22px;
  height: fit-content;
}

.privacy__toc h2 {
  font-size: 18px;
  margin-bottom: var(--space-4);
}

.privacy__toc ul {
  display: grid;
  gap: var(--space-3);
}

.privacy__toc a {
  display: inline-flex;
  color: var(--color-text);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.privacy__toc a:visited {
  color: var(--color-text);
}

.privacy__toc a:hover,
.privacy__toc a:focus-visible,
.privacy__toc a.privacy__toc-link--active {
  color: var(--color-primary-secondary);
}

.privacy__article {
  padding: clamp(20px, 2.2vw, 32px);
}

.privacy__article > h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: var(--space-6);
}

.privacy__article > p {
  margin-bottom: var(--space-8);
}

.privacy__article section + section {
  margin-top: var(--space-8);
}

.privacy__article h3 {
  font-size: clamp(20px, 2.1vw, 26px);
  margin-bottom: var(--space-4);
}

.privacy__article ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.privacy__article li {
  color: var(--color-text);
  line-height: 1.55;
}

.privacy__table {
  margin-top: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.privacy__table-row {
  padding: 16px;
  background: color-mix(in srgb, var(--color-white) 88%, transparent);
}

.privacy__table-row + .privacy__table-row {
  border-top: 1px solid var(--color-line);
}

.privacy__table-row strong {
  display: inline-flex;
  margin-bottom: 6px;
}

.privacy__article [id] {
  scroll-margin-top: 120px;
}
