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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Outfit, system-ui, sans-serif;
  line-height: 1.45;
  color: #ffffff;
  background: #0a0a0f;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

h1,
h2,
h3,
p,
label,
.chip {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(1.75rem, 2.4vw, 3rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0.55rem 0 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 15, 0.94);
  border-bottom: 1px solid #1f1f2e;
  backdrop-filter: blur(14px);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.75rem;
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: none;
  color: #8a8aa0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lang a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #8a8aa0;
  text-decoration: none;
}

.lang a[aria-current="page"] {
  color: #ffffff;
}

.bar .logo,
.bar .btn-sm {
  white-space: nowrap;
}

.logo {
  min-width: 0;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  min-height: 3.15rem;
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d4ff, #ff3b5c);
  color: #0a0a0f;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(0, 212, 255, 0.38),
    0 0 24px rgba(255, 59, 92, 0.26);
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn-sm {
  min-height: 2.35rem;
  margin-top: 0;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  flex: none;
}

.lede,
.fine,
.why p,
.features p,
label,
.foot a {
  color: #8a8aa0;
}

.lede {
  max-width: 36rem;
  font-size: 1.02rem;
}

.fine {
  font-size: 0.88rem;
}

main {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
  min-height: calc(100svh - 3.75rem);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.hero-copy {
  min-width: 0;
}

.hero .btn {
  width: 100%;
}

.phones {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem 0.15rem 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  -webkit-overflow-scrolling: touch;
}

.phones img {
  flex: 0 0 220px;
  width: 220px;
  min-width: 0;
  scroll-snap-align: center;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 28px;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.28);
}

.block {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-top: 1.5rem;
}

.why,
.features {
  display: grid;
  gap: 0.75rem;
}

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

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

.why article,
.features article,
.strip {
  min-width: 0;
  background: #12121a;
  border: 1px solid #1f1f2e;
  border-radius: 28px;
}

.why article,
.features article {
  padding: 1rem 1rem 1.1rem;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.chip {
  padding: 0.32rem 0.7rem;
  border: 1px solid #1f1f2e;
  border-radius: 999px;
  background: #0a0a0f;
  font-size: 0.84rem;
  font-weight: 600;
}

.plus {
  color: #00d4ff;
  font-weight: 700;
}

.icon {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
  border: 1.5px solid currentColor;
  border-radius: 0.8rem;
  box-shadow: 0 0 12px currentColor;
}

.icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-cyan { color: #00d4ff; }
.c-red { color: #ff3b5c; }
.c-green { color: #2ee6a6; }
.c-purple { color: #7c5cff; }

.features h3 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.features p,
.why p {
  margin: 0;
  font-size: 0.9rem;
}

.why h3 {
  margin-bottom: 0.45rem;
}

.strip {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.strip > .btn {
  width: 100%;
  margin-top: 0;
}

form {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
}

input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 2.7rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #1f1f2e;
  border-radius: 999px;
  background: #0a0a0f;
  color: #ffffff;
  font: inherit;
}

input[type="email"]::placeholder {
  color: #8a8aa0;
}

form .btn {
  width: 100%;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 3px;
}

footer {
  border-top: 1px solid #1f1f2e;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  padding-top: 0.85rem;
  padding-bottom: 1rem;
}

.foot a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.foot a:hover {
  color: #00d4ff;
}

@media (min-width: 40rem) {
  .hero .btn,
  .strip > .btn,
  form .btn {
    width: auto;
  }

  form {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 52rem) {
  .why {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
  }
}

@media (min-width: 64rem) {
  .hero {
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.6fr);
    gap: 32px;
  }

  .hero-copy,
  .phones {
    min-width: 0;
  }

  .phones {
    width: 100%;
    display: flex;
    gap: 16px;
    justify-content: center;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .phones img {
    flex: 0 1 clamp(150px, 13vw, 220px);
    width: clamp(150px, 13vw, 220px);
    max-width: clamp(150px, 13vw, 220px);
    min-width: 0;
  }

  .phones img:nth-child(odd) {
    margin-top: 1.35rem;
  }

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

  .strip {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  form {
    justify-content: end;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
  }

  .wrap {
    padding-inline: 1.25rem;
  }

  h1 {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.2;
  }

  .lede,
  .why p,
  .features p,
  .chip,
  label,
  .foot a {
    font-size: 1rem;
    line-height: 1.5;
  }

  .fine {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .btn-sm {
    min-height: 44px;
  }

  .hero {
    min-height: 0;
  }

  .hero .btn,
  .strip > .btn,
  form .btn {
    width: 100%;
    min-height: 52px;
  }

  .phones {
    width: calc(100% + 2.5rem);
    margin-inline: -1.25rem;
    padding: 0.85rem 1.25rem 1rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    scrollbar-width: none;
  }

  .phones::-webkit-scrollbar {
    display: none;
  }

  .phones img {
    flex: 0 0 70vw;
    width: 70vw;
    max-width: 70vw;
    height: auto;
    scroll-snap-align: center;
  }

  form {
    grid-template-columns: minmax(0, 1fr);
  }

  input[type="email"] {
    min-height: 48px;
    font-size: 16px;
  }

  .foot a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 379px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .bar {
    gap: 0.4rem;
  }

  .bar .logo {
    font-size: 0.82rem;
  }

  .bar-actions {
    gap: 0.35rem;
  }

  .bar .btn-sm {
    padding-inline: 0.55rem;
    font-size: 0.8rem;
  }
}
