:root {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2947;
  background-color: #f5f6ff;
}

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

body {
  margin: 0;
  min-height: 100vh;
}

body[data-mobile-menu="open"] {
  overflow: hidden;
}

.header {
  background-color: #f5f6ff;
  border-bottom: 1px solid rgba(31, 41, 71, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.575rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand__logo {
  width: 56px;
  height: 56px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  color: #3b4661;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease-in-out;
}

.nav__link:hover,
.nav__link:focus {
  color: #5867a7;
}

.header__nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(103, 114, 166, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #eef1ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 20px rgba(88, 103, 167, 0.18);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header__menu-toggle:focus-visible {
  outline: 2px solid rgba(95, 109, 230, 0.45);
  outline-offset: 4px;
}

.header__menu-toggle:active {
  transform: scale(0.96);
}

.header__menu-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background: #232f4d;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #232f4d;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.header__menu-icon::before {
  top: -6px;
}

.header__menu-icon::after {
  top: 6px;
}

body[data-mobile-menu="open"] .header__menu-icon {
  background: transparent;
}

body[data-mobile-menu="open"] .header__menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

body[data-mobile-menu="open"] .header__menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.header__mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 33, 68, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 95;
}

body[data-mobile-menu="open"] .header__mobile-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.language-picker {
  position: relative;
  display: inline-flex;
  flex-direction: column;
}

.language-picker__control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(103, 114, 166, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #eef1ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 26px rgba(88, 103, 167, 0.18);
  color: #3b4661;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.language-picker__control:focus-visible {
  outline: 2px solid rgba(95, 109, 230, 0.45);
  outline-offset: 3px;
}

.language-picker--open .language-picker__control {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 36px rgba(76, 89, 153, 0.28);
}

.language-picker__flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 6px 12px rgba(31, 41, 71, 0.14);
  background-size: cover;
  background-position: center;
}

.language-picker__flag--en {
  background-image:
    linear-gradient(
      0deg,
      #b22234 0%,
      #b22234 7.69%,
      #ffffff 7.69%,
      #ffffff 15.38%,
      #b22234 15.38%,
      #b22234 23.07%,
      #ffffff 23.07%,
      #ffffff 30.76%,
      #b22234 30.76%,
      #b22234 38.45%,
      #ffffff 38.45%,
      #ffffff 46.14%,
      #b22234 46.14%,
      #b22234 53.83%,
      #ffffff 53.83%,
      #ffffff 61.52%,
      #b22234 61.52%,
      #b22234 69.21%,
      #ffffff 69.21%,
      #ffffff 76.9%,
      #b22234 76.9%,
      #b22234 84.59%,
      #ffffff 84.59%,
      #ffffff 92.28%,
      #b22234 92.28%,
      #b22234 100%
    ),
    linear-gradient(
      135deg,
      #3c3b6e 0%,
      #3c3b6e 65%,
      transparent 65%,
      transparent 100%
    );
  background-size:
    100% 100%,
    64% 64%;
  background-position:
    center,
    top left;
  background-repeat: no-repeat;
}

.language-picker__flag--pl {
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 50%,
    #dc143c 50%,
    #dc143c 100%
  );
}

.language-picker__flag--uk {
  background-image: linear-gradient(
    180deg,
    #0057b7 0%,
    #0057b7 50%,
    #ffd700 50%,
    #ffd700 100%
  );
}

.language-picker__current {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.language-picker__code {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5a65a6;
}

.language-picker__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2f3a5e;
}

.language-picker__chevron {
  width: 10px;
  height: 6px;
  background: linear-gradient(
    to bottom,
    rgba(91, 109, 246, 0.9),
    rgba(135, 106, 246, 0.9)
  );
  clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
  flex-shrink: 0;
  margin-left: 4px;
}

.language-picker__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  margin: 0;
  padding: 14px;
  list-style: none;
  min-width: 280px;
  display: none;
  gap: 8px;
  border-radius: 18px;
  border: 1px solid rgba(103, 114, 166, 0.22);
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(53, 63, 125, 0.24);
  z-index: 10;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.language-picker--open .language-picker__menu {
  display: grid;
  animation: picker-fade-in 0.18s ease-out;
}

.language-picker__menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-left: 1px solid rgba(103, 114, 166, 0.22);
  border-top: 1px solid rgba(103, 114, 166, 0.22);
  transform: rotate(45deg);
}

.language-picker__menu > li {
  list-style: none;
}

.language-picker__option {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2f3a5e;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.language-picker__option:hover,
.language-picker__option:focus-visible {
  background: rgba(91, 109, 246, 0.08);
  outline: none;
}

.language-picker__option.is-active {
  background: linear-gradient(135deg, #5b6df6, #6f47f3);
  box-shadow: 0 10px 20px rgba(95, 109, 230, 0.28);
  color: #ffffff;
}

.language-picker__option.is-active .language-picker__option-code {
  color: #ffffff;
}

.language-picker__option-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.language-picker__option-code {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a65a6;
}

.language-picker__option-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(0.85rem, 0.9rem + 0.2vw, 1rem);
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, #5b6df6, #6f47f3);
  box-shadow: 0 10px 20px rgba(95, 109, 230, 0.38);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  line-height: 1;
}

body[data-lang="pl"] .cta-button,
body[data-lang="uk"] .cta-button {
  font-size: clamp(0.8rem, 0.84rem + 0.2vw, 0.95rem);
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(95, 109, 230, 0.46);
}

@keyframes picker-fade-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobile-menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

main {
  display: block;
}

.hero {
  position: relative;
  padding: clamp(30px, 6vw, 96px) 32px clamp(120px, 14vw, 180px);
  background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__wave {
  position: absolute;
  left: 50%;
  bottom: 50px;
  width: 145%;
  height: clamp(240px, 30vw, 360px);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__wave-path {
  filter: drop-shadow(0 -24px 72px rgba(36, 76, 255, 0.24));
}

.hero__wave-path--mobile {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 80px);
  align-items: center;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: clamp(304px, 29.7vw, 370px);
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.phone-mockup__screen {
  width: 100%;
  height: auto;
  display: block;
}

.phone-ui {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 30px) clamp(18px, 1.8vw, 26px)
    clamp(18px, 1.8vw, 24px);
  color: #1c2852;
  font-size: clamp(0.82rem, 0.76rem + 0.2vw, 0.9rem);
  background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 38%, #f1f3ff 100%);
  text-align: left;
}

.phone-ui__status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.phone-ui__status-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-ui__signal,
.phone-ui__wifi,
.phone-ui__battery {
  position: relative;
  display: inline-block;
}

.phone-ui__signal {
  width: 18px;
  height: 12px;
  background:
    linear-gradient(
      to top,
      transparent 0,
      transparent 40%,
      rgba(28, 40, 82, 0.6) 40%,
      rgba(28, 40, 82, 0.6) 100%
    ),
    linear-gradient(
      to top,
      transparent 0,
      transparent 25%,
      rgba(28, 40, 82, 0.6) 25%,
      rgba(28, 40, 82, 0.6) 100%
    ),
    linear-gradient(
      to top,
      transparent 0,
      transparent 55%,
      rgba(28, 40, 82, 0.6) 55%,
      rgba(28, 40, 82, 0.6) 100%
    ),
    linear-gradient(
      to top,
      transparent 0,
      transparent 10%,
      rgba(28, 40, 82, 0.6) 10%,
      rgba(28, 40, 82, 0.6) 100%
    );
  background-size:
    2px 100%,
    2px 100%,
    2px 100%,
    2px 100%;
  background-repeat: no-repeat;
  background-position:
    0 100%,
    6px 100%,
    12px 100%,
    16px 100%;
}

.phone-ui__wifi {
  width: 18px;
  height: 12px;
  background:
    radial-gradient(circle at 50% 120%, transparent 38%, #1c2852 40%) 0 0 / 100%
      100% no-repeat,
    radial-gradient(circle at 50% 120%, transparent 58%, #1c2852 60%) 0 0 / 100%
      100% no-repeat,
    radial-gradient(circle at 50% 120%, transparent 78%, #1c2852 80%) 0 0 / 100%
      100% no-repeat;
}

.phone-ui__battery {
  width: 24px;
  height: 12px;
  border: 1.5px solid rgba(28, 40, 82, 0.6);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(76, 87, 211, 0.85) 0%, #6f83ff 100%);
}

.phone-ui__battery::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -3px;
  width: 3px;
  height: 6px;
  border-radius: 1px;
  background: rgba(28, 40, 82, 0.6);
}

.phone-ui__time {
  letter-spacing: 0.02em;
}

.phone-ui__persona {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
}

.phone-ui__persona-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-ui__persona-label {
  color: rgba(28, 40, 82, 0.65);
  font-weight: 600;
}

.phone-ui__persona-name {
  font-weight: 700;
  color: #4c57d3;
}

.phone-ui__meter {
  flex: 1;
  height: 8px;
  background: rgba(76, 87, 211, 0.15);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.phone-ui__meter-fill {
  position: absolute;
  inset: 0;
  width: 78%;
  background: linear-gradient(90deg, #4c57d3 0%, #6f7cff 100%);
  border-radius: inherit;
}

.phone-ui__meter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43d287;
}

.phone-ui__date-badge {
  align-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(76, 87, 211, 0.1);
  color: rgba(28, 40, 82, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
}

.phone-ui__message {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  max-width: 90%;
  line-height: 1.45;
}

.phone-ui__message--assistant {
  align-self: flex-start;
  background: rgba(230, 233, 255, 0.85);
  box-shadow: 0 8px 20px rgba(76, 87, 211, 0.12);
}

.phone-ui__message--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #4c57d3, #6f83ff);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(76, 87, 211, 0.22);
}

.phone-ui__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.phone-ui__actions button {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: rgba(76, 87, 211, 0.18);
  color: #4c57d3;
  font-weight: 600;
  font-size: 0.72rem;
  cursor: pointer;
}

.phone-ui__actions button:last-child {
  background: rgba(76, 87, 211, 0.1);
  color: rgba(28, 40, 82, 0.75);
}

.phone-ui__actions button:hover,
.phone-ui__actions button:focus-visible {
  background: rgba(76, 87, 211, 0.25);
}

.phone-ui__actions button:focus-visible {
  outline: 2px solid rgba(76, 87, 211, 0.45);
  outline-offset: 2px;
}

.phone-ui__message time {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(28, 40, 82, 0.55);
}

.phone-ui__message--user time {
  color: rgba(255, 255, 255, 0.75);
}

.phone-ui__quick-actions {
  align-self: flex-end;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4c57d3, #6f83ff);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.76rem;
  box-shadow: 0 10px 24px rgba(76, 87, 211, 0.24);
}

.phone-ui__home-indicator {
  align-self: center;
  width: 96px;
  height: 6px;
  border-radius: 999px;
  background: rgba(12, 19, 44, 0.3);
  margin-top: 16px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #1c2852;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(28, 40, 82, 0.7);
}

.hero__title {
  font-size: clamp(2.4rem, 2.8rem + 1vw, 3.6rem);
  line-height: 1.08;
  margin: 0;
  color: #1f2f5f;
}

.hero__subtitle {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.28rem);
  margin: 0;
  color: rgba(31, 47, 95, 0.8);
  line-height: 1.6;
}

.hero__note {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(31, 47, 95, 0.72);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 54px;
  padding: 0 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #284df5, #3c69ff);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 18px 28px rgba(40, 77, 245, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(40, 77, 245, 0.32);
}

.hero__ratings {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(31, 47, 95, 0.75);
}

.hero__platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(36, 76, 255, 0.12);
}

.hero__platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.72rem;
  color: #ffffff;
  background: linear-gradient(135deg, #284df5, #3c69ff);
}

.hero__platform--android .hero__platform-icon {
  background: linear-gradient(135deg, #36b07a, #43d287);
}

.hero__stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__stars span {
  width: 18px;
  height: 18px;
  background: #f8c54d;
  clip-path: polygon(
    50% 0%,
    63% 35%,
    100% 38%,
    70% 60%,
    82% 100%,
    50% 78%,
    18% 100%,
    30% 60%,
    0% 38%,
    37% 35%
  );
}

.how-it-works {
  position: relative;
  padding: clamp(80px, 6vw, 120px) 32px clamp(90px, 9vw, 150px);
  background: #ffffff;
  color: #1c2852;
  overflow: hidden;
}

.how-it-works__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 40px);
  text-align: center;
}

.how-it-works__title {
  margin: 0;
  font-size: clamp(2.1rem, 1.8rem + 1.2vw, 2.8rem);
  color: #1f2f5f;
  letter-spacing: -0.01em;
}

.how-it-works__steps {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.how-it-works__card {
  height: 100%;
  padding: 36px 30px 40px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(31, 41, 71, 0.06);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.how-it-works__icon {
  width: 108px;
  height: 108px;
  border-radius: 32px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 26px 44px rgba(15, 23, 42, 0.1);
}

.how-it-works__icon-svg {
  width: 88px;
  height: 88px;
  display: block;
}

.how-it-works__step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(45, 51, 72, 0.08);
  color: #2d3348;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-it-works__card-heading {
  margin: 0;
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  line-height: 1.35;
  color: #1f2f5f;
}

.how-it-works__card-copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(31, 47, 95, 0.78);
}

.benefits {
  padding: clamp(80px, 8vw, 140px) 32px clamp(90px, 10vw, 150px);
  background: #f5f6ff;
}

.benefits__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 48px);
}

.benefits__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits__title {
  margin: 0;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem);
  color: #1f2f5f;
  letter-spacing: -0.01em;
}

.benefits__subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(31, 47, 95, 0.7);
}

.benefits__carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.benefits__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.benefits__control {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(40, 77, 245, 0.18);
  color: #2d4dff;
  font-size: 1.6rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.benefits__control span {
  line-height: 1;
  transform: translateY(-1px);
}

.benefits__control:hover {
  transform: translateY(-2px);
  color: #1e38d7;
  box-shadow: 0 22px 38px rgba(40, 77, 245, 0.22);
}

.benefits__control:focus-visible {
  outline: 2px solid rgba(40, 77, 245, 0.45);
  outline-offset: 4px;
  transform: translateY(-2px);
  color: #1e38d7;
  box-shadow: 0 22px 38px rgba(40, 77, 245, 0.22);
}

.benefits__control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.benefits__viewport {
  --visible-cards: 1;
  --benefits-gap: clamp(28px, 5vw, 40px);
  flex: 1 1 auto;
  overflow: hidden;
  padding: clamp(12px, 4vw, 20px) clamp(18px, 6vw, 60px);
  position: relative;
  touch-action: pan-y;
  cursor: grab;
}

.benefits__viewport:active {
  cursor: grabbing;
}

.benefits__track {
  display: flex;
  gap: var(--benefits-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.48s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.benefits__card {
  flex: 0 0
    calc(
      (100% - (var(--benefits-gap) * (var(--visible-cards) - 1))) /
        var(--visible-cards)
    );
  padding: clamp(24px, 4vw, 32px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(31, 41, 71, 0.06);
  box-shadow: 0 7px 15px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-snap-align: start;
}

.benefits__card-title {
  margin: 0;
  font-size: clamp(1.18rem, 1.1rem + 0.5vw, 1.4rem);
  color: #1f2f5f;
  line-height: 1.32;
}

.benefits__card-copy {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(31, 47, 95, 0.78);
}

.progress-showcase {
  position: relative;
  padding: clamp(30px, 6vw, 96px) 32px clamp(50px, 12vw, 110px);
  background: linear-gradient(180deg, #ffffff 0%, #f3f5ff 45%, #f8faff 100%);
  overflow: hidden;
}

.progress-showcase__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "content visual";
  column-gap: clamp(48px, 6vw, 90px);
  row-gap: clamp(24px, 4vw, 38px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.progress-showcase__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 34px);
  padding-top: clamp(12px, 3vw, 42px);
  color: #1c2852;
}

@media (min-width: 1025px) {
  .progress-showcase__content {
    padding-left: clamp(40px, 6vw, 120px);
  }
}

.progress-showcase__title {
  margin: 0;
  font-size: clamp(2rem, 2.2rem + 0.8vw, 3rem);
  line-height: 1.12;
  color: #1f2f5f;
}

.progress-showcase__copy {
  margin: 0;
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.25rem);
  line-height: 1.7;
  color: rgba(31, 47, 95, 0.8);
  max-width: 560px;
}

.progress-showcase__visual {
  grid-area: visual;
  display: flex;
  justify-content: flex-end;
}

.progress-showcase__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 54px;
  padding: 0 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #284df5, #3c69ff);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 18px 28px rgba(40, 77, 245, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  align-self: flex-start;
}

.progress-showcase__cta:hover,
.progress-showcase__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(40, 77, 245, 0.32);
}

.progress-showcase__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(160px, 18vw, 240px);
  pointer-events: none;
  z-index: 0;
}

.progress-showcase__wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.progress-showcase__wave-path {
  filter: drop-shadow(0 -14px 48px rgba(36, 76, 255, 0.22));
}

.progress-showcase__cta--mobile {
  display: none;
}

.legal {
  background: #ffffff;
  padding: clamp(72px, 9vw, 112px) 0;
  color: #1f2947;
}

.legal__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 36px);
}

.legal__title {
  margin: 0;
  font-size: clamp(2rem, 1.8rem + 0.8vw, 2.6rem);
  line-height: 1.2;
  color: #1c2852;
}

.legal__intro {
  margin: 0;
  font-size: clamp(1rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.7;
  color: rgba(31, 41, 71, 0.78);
}

.legal__content {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

.legal__section {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 20px;
  background: rgba(95, 124, 255, 0.06);
  box-shadow: 0 18px 46px rgba(36, 72, 255, 0.12);
}

.legal__heading {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  color: #1f2f5f;
}

.legal__section p {
  margin: 0;
  line-height: 1.65;
  color: rgba(31, 41, 71, 0.75);
}

.site-footer {
  position: relative;
  margin-top: -1px;
  /* background: linear-gradient(180deg, #416aff 0%, #2e4eff 45%, #244cff 100%); */ /*TODO*/
  background: linear-gradient(180deg, #244cff 0%, #3155ff 45%, #233fec 100%);
  color: #e9efff;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 6vw, 60px) clamp(30px, 5vw, 56px);
  overflow: hidden;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 5vw, 44px);
  text-align: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 2rem);
  letter-spacing: 0.08em;
}

.site-footer__brand-logo {
  width: clamp(48px, 8vw, 68px);
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(10, 22, 77, 0.32));
}

.site-footer__brand-name {
  display: inline-block;
  letter-spacing: inherit;
}

.site-footer__nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.site-footer__columns {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(24px, 5vw, 48px);
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(233, 239, 255, 0.86);
}

.site-footer__column-title {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-footer__link {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
}

.site-footer__meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(233, 239, 255, 0.75);
}

@media (max-width: 900px) {
  .site-footer {
    padding: clamp(44px, 10vw, 82px) clamp(20px, 8vw, 56px)
      clamp(28px, 8vw, 50px);
  }

  .site-footer__columns {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .benefits__carousel {
    align-items: stretch;
  }

  .benefits__viewport {
    --benefits-gap: clamp(16px, 5vw, 22px);
    padding: clamp(12px, 5vw, 20px) clamp(6px, 5vw, 14px);
  }

  .benefits__controls {
    max-width: 240px;
    margin: 0 auto;
    width: 100%;
  }

  .benefits__control {
    width: clamp(48px, 14vw, 56px);
    height: clamp(48px, 14vw, 56px);
  }
}

@media (max-width: 600px) {
  .benefits {
    padding: clamp(58px, 12vw, 84px) clamp(16px, 7vw, 22px);
  }

  .benefits__viewport {
    --benefits-gap: clamp(14px, 6vw, 20px);
    padding: clamp(10px, 6vw, 18px) clamp(4px, 5vw, 10px);
  }

  .benefits__card {
    padding: clamp(18px, 6vw, 24px);
  }

  .benefits__card-title {
    font-size: clamp(1.05rem, 4.6vw, 1.2rem);
  }

  .benefits__card-copy {
    font-size: clamp(0.9rem, 3.8vw, 0.95rem);
    line-height: 1.6;
  }

  .benefits__title {
    font-size: clamp(1.7rem, 7vw, 2.1rem);
  }

  .benefits__subtitle {
    font-size: clamp(0.95rem, 3.6vw, 1rem);
  }

  .site-footer {
    padding: clamp(58px, 20vw, 96px) clamp(16px, 8vw, 32px)
      clamp(32px, 12vw, 54px);
  }

  .site-footer__brand {
    flex-direction: column;
    font-size: clamp(1.5rem, 8vw, 1.8rem);
    gap: 12px;
  }

  .site-footer__brand-logo {
    width: clamp(60px, 18vw, 78px);
  }

  .site-footer__columns {
    gap: clamp(18px, 10vw, 32px);
  }

  .site-footer__column {
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 721px) {
  .benefits__carousel {
    display: block;
  }

  .benefits__viewport {
    padding: 0;
    overflow: visible;
    cursor: default;
  }

  .benefits__viewport:active {
    cursor: default;
  }

  .benefits__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 32px);
    transform: none;
    transition: none;
    will-change: auto;
  }

  .benefits__card {
    flex: initial;
    height: 100%;
  }

  .benefits__controls {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header__inner {
    gap: 20px;
  }

  .header__nav-actions {
    gap: 20px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: clamp(60px, 8vw, 96px) 24px clamp(120px, 18vw, 160px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__content {
    align-items: center;
  }

  .hero__ratings {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__wave {
    height: clamp(220px, 35vw, 320px);
  }

  .hero__wave-path--desktop {
    display: none;
  }

  .hero__wave-path--mobile {
    display: block;
  }

  .how-it-works {
    padding: clamp(68px, 8vw, 110px) 24px clamp(80px, 12vw, 140px);
  }

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

  .progress-showcase {
    padding: clamp(60px, 8vw, 96px) 24px clamp(50px, 16vw, 90px);
  }

  .progress-showcase__inner {
    grid-template-areas:
      "content"
      "visual";
    column-gap: 0;
    row-gap: clamp(28px, 7vw, 42px);
    grid-template-columns: 1fr;
  }

  .progress-showcase__content {
    align-items: center;
    text-align: center;
    padding-top: 0;
  }

  .progress-showcase__copy {
    max-width: 720px;
  }

  .progress-showcase__visual {
    justify-content: center;
  }

  .progress-showcase__cta--desktop {
    display: none;
  }

  .progress-showcase__cta--mobile {
    display: inline-flex;
    justify-self: center;
    align-self: center;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .header__inner {
    padding: 8px 18px;
    gap: 16px;
  }

  .header__menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header__nav-actions {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 12px);
    padding: 24px 22px;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 64px rgba(53, 63, 125, 0.25);
    max-height: calc(100vh - 136px);
    overflow-y: auto;
    z-index: 120;
  }

  body[data-mobile-menu="open"] .header__nav-actions {
    display: flex;
    animation: mobile-menu-drop 0.22s ease;
  }

  .brand {
    gap: 12px;
    font-size: 1.475rem;
  }

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

  .nav__link {
    font-size: 1rem;
  }

  .header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .language-picker {
    width: 100%;
  }

  .language-picker__control {
    width: 100%;
    justify-content: space-between;
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .language-picker__current {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .language-picker__code {
    font-size: 0.8rem;
  }

  .language-picker__name {
    font-size: 0.92rem;
  }

  .language-picker__menu {
    position: static;
    min-width: unset;
    width: 100%;
    margin-top: 10px;
    grid-template-columns: 1fr;
    box-shadow: 0 14px 34px rgba(53, 63, 125, 0.18);
  }

  .language-picker__menu::before {
    display: none;
  }

  .language-picker__option {
    padding: 12px 16px;
  }

  .cta-button {
    width: 100%;
    min-height: 52px;
    padding: 0 24px;
    font-size: clamp(0.82rem, 0.86rem + 0.6vw, 0.95rem);
  }

  body[data-lang="pl"] .cta-button,
  body[data-lang="uk"] .cta-button {
    font-size: clamp(0.78rem, 0.82rem + 0.6vw, 0.92rem);
  }

  .progress-showcase {
    padding: 68px 18px 108px;
  }

  .progress-showcase__title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .progress-showcase__copy {
    font-size: clamp(0.98rem, 4vw, 1.12rem);
    max-width: 100%;
  }

  .progress-showcase__cta {
    width: min(82vw, 320px);
  }

  .progress-showcase__cta--mobile {
    display: inline-flex;
  }

  .hero {
    padding: 68px 18px 136px;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    text-align: center;
  }

  .hero__content {
    display: contents;
  }

  .hero__title {
    order: 0;
    text-align: center;
  }

  .hero__subtitle {
    order: 1;
    text-align: center;
  }

  .hero__visual {
    order: 2;
    margin: 0 auto;
  }

  .hero__note {
    order: 3;
    text-align: center;
  }

  .hero__cta {
    order: 4;
    align-self: center;
    width: min(82vw, 320px);
  }

  .hero__wave {
    bottom: 50px;
    width: 170%;
    height: clamp(210px, 52vw, 280px);
    transform: translateX(-50%);
  }

  .phone-mockup {
    width: min(90vw, 352px);
  }

  .phone-ui {
    padding: 22px 18px 20px;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero__ratings {
    flex-direction: column;
    gap: 12px;
  }

  .how-it-works {
    padding: 60px 18px 110px;
  }

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .how-it-works__card {
    align-items: center;
    text-align: center;
    padding: 30px 24px 34px;
  }

  .how-it-works__icon {
    width: 96px;
    height: 96px;
  }

  .how-it-works__icon-svg {
    width: 78px;
    height: 78px;
  }
}
