:root {
  --ink: #121615;
  --ink-soft: #28312e;
  --muted: #65716c;
  --line: #d8ddd7;
  --paper: #f4f6f2;
  --paper-strong: #fff;
  --field: #e4ebe4;
  --accent: #f3bd2f;
  --accent-strong: #d79a10;
  --mint: #2aa889;
  --coral: #d35b44;
  --steel: #52615c;
  --shadow: 0 22px 70px rgba(18, 22, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.page {
  min-width: 320px;
  overflow-x: clip;
}

.container {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.container > *,
.nav__inner > *,
.section__header > *,
.solution-wrap > *,
.cta__inner > *,
.hero__points > *,
.problem-grid > *,
.solution-grid > *,
.features-grid > *,
.workflow > *,
.pricing-grid > *,
.steps-grid > *,
.phone__row > * {
  min-width: 0;
}

h1,
h2,
h3,
p,
li,
a,
span,
strong {
  overflow-wrap: break-word;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #101412;
  isolation: isolate;
}

.hero__image,
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
  transform: scaleX(-1);
}

.hero::before,
.hero::after {
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 13, 12, 0.92) 0%, rgba(10, 13, 12, 0.72) 48%, rgba(10, 13, 12, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 13, 12, 0.18) 0%, rgba(10, 13, 12, 0.9) 100%);
}

.hero::after {
  z-index: -1;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.nav {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  padding: 22px 0;
}

.nav__inner,
.actions,
.footer__inner {
  display: flex;
  align-items: center;
}

.nav__inner {
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  box-shadow: inset 0 -6px 0 rgba(18, 22, 21, 0.18);
}

.brand__mark span {
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-top-color: transparent;
  transform: rotate(45deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.nav__links a {
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: #fff;
}

.hero__content {
  width: 100%;
  max-width: 760px;
  padding: 118px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #f7d776;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--accent);
}

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.6rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.2rem;
}

.hero__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.hero__points li {
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero__points strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1rem;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--ink);
  background: var(--accent);
}

.button--primary:hover {
  background: #ffd45f;
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 88px 0;
}

.section--dark {
  color: #fff;
  background: #151a18;
}

.section--field {
  background: var(--field);
}

.section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section__header--stacked {
  grid-template-columns: 1fr;
  gap: 18px;
}

.section__kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.section--dark .section__kicker,
.cta .section__kicker {
  color: #f7ca4b;
}

.section__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section--dark .section__text {
  color: rgba(255, 255, 255, 0.7);
}

.problem-grid,
.solution-grid,
.features-grid,
.pricing-grid,
.steps-grid,
.workflow {
  display: grid;
  gap: 16px;
}

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

.tile,
.solution-card,
.price {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.tile {
  padding: 22px;
  box-shadow: 0 12px 34px rgba(18, 22, 21, 0.05);
}

.tile__icon,
.feature__mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #f8d566;
  font-weight: 900;
}

.tile:nth-child(2) .tile__icon,
.feature:nth-child(2) .feature__mark,
.feature:nth-child(6) .feature__mark {
  background: #9be1d2;
}

.tile:nth-child(3) .tile__icon,
.feature:nth-child(3) .feature__mark,
.feature:nth-child(7) .feature__mark {
  background: #e99b88;
}

.tile:nth-child(4) .tile__icon,
.feature:nth-child(4) .feature__mark {
  background: #aeb9b2;
}

.tile h3,
.solution-card h3,
.feature h3,
.price h3,
.step h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.22;
}

.tile p,
.solution-card p,
.feature p,
.price p,
.step p,
.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.solution-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: center;
}

.device {
  position: relative;
  min-height: 570px;
  border-radius: 8px;
  padding: 18px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, rgba(42, 168, 137, 0.36), rgba(243, 189, 47, 0.12)), #151a18;
  box-shadow: var(--shadow);
}

.device::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  pointer-events: none;
}

.phone {
  width: 88%;
  max-width: 340px;
  min-height: 500px;
  margin: 28px auto 0;
  border: 10px solid #0b0f0e;
  border-radius: 8px;
  color: var(--ink);
  background: #eef2ee;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.phone__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  color: #fff;
  background: #17201d;
}

.phone__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bcebdd;
  font-size: 0.86rem;
  font-weight: 800;
}

.phone__status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(42, 168, 137, 0.14);
}

.phone__body {
  padding: 18px;
}

.phone__search {
  height: 42px;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
  color: var(--muted);
  background: #dfe7df;
}

.phone__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #d5ddd5;
}

.phone__row strong {
  display: block;
  margin-bottom: 4px;
}

.phone__row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  border-radius: 6px;
  padding: 6px 9px;
  color: var(--ink);
  background: #f3d16a;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge--mint {
  background: #95dccd;
}

.badge--coral {
  background: #eaa08e;
}

.phone__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.phone__stat {
  min-height: 78px;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.phone__stat strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
}

.phone__stat span {
  color: var(--muted);
  font-size: 0.76rem;
}

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

.solution-card {
  min-height: 180px;
  padding: 24px;
}

.solution-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.sync-mark {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: conic-gradient(from 20deg, var(--accent), var(--mint), var(--coral), var(--accent));
  font-weight: 900;
}

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

.feature {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.feature:nth-child(1),
.feature:nth-child(2),
.feature:nth-child(3),
.feature:nth-child(n+5) {
  grid-column: span 2;
}

.feature:nth-child(4) {
  grid-column: span 1;
}

.feature__mark {
  width: 38px;
  height: 38px;
}

.feature p,
.step p {
  color: rgba(255, 255, 255, 0.72);
}

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

.flow-step {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  counter-increment: flow;
}

.workflow {
  counter-reset: flow;
}

.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  display: inline-flex;
  width: 44px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 28px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 900;
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -16px;
  width: 26px;
  height: 2px;
  background: var(--steel);
}

.flow-step:last-child::after {
  display: none;
}

.flow-step h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

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

.price {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.price--highlight {
  border-color: #b38a1f;
  box-shadow: 0 18px 48px rgba(179, 138, 31, 0.2);
}

.price--highlight::before {
  content: "быстрый старт";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 6px;
  padding: 5px 9px;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.price__value {
  margin: 20px 0 14px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 900;
}

.price__value small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.price li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  color: var(--muted);
}

.price li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.one-time {
  margin-top: 16px;
  border: 1px solid #cdd5cd;
  border-radius: 8px;
  padding: 22px;
  background: #eef3ee;
}

.one-time p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

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

.step {
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.step:nth-child(2) {
  border-left-color: var(--mint);
}

.step:nth-child(3) {
  border-left-color: var(--coral);
}

.step:nth-child(4) {
  border-left-color: #aeb9b2;
}

.cta {
  position: relative;
  padding: 82px 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, rgba(18, 22, 21, 0.96), rgba(18, 22, 21, 0.8)), linear-gradient(45deg, rgba(42, 168, 137, 0.5), rgba(211, 91, 68, 0.36));
}

.cta::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  transform: rotate(17deg);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 16px;
}

.cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contacts {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.contacts a:not(.button) {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer {
  padding: 26px 0;
  color: #c2cbc5;
  background: #101412;
  font-size: 0.92rem;
}

.footer__inner {
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.2rem;
  }

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

  .solution-wrap,
  .section__header,
  .cta__inner {
    grid-template-columns: 1fr;
  }

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

  .feature,
  .feature:nth-child(n) {
    grid-column: auto;
  }

  .flow-step::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero,
  .section,
  .cta,
  .footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero__content,
  .section__header,
  .problem-grid,
  .solution-wrap,
  .solution-grid,
  .features-grid,
  .workflow,
  .pricing-grid,
  .steps-grid,
  .cta__inner,
  .tile,
  .solution-card,
  .feature,
  .flow-step,
  .price,
  .step,
  .device,
  .phone {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero__lead,
  .hero__points li,
  .section__text,
  .tile p,
  .solution-card p,
  .feature p,
  .flow-step p,
  .price li,
  .step p,
  .cta p {
    max-width: 32ch;
  }

  .nav {
    padding: 16px 0;
  }

  .nav__inner {
    align-items: flex-start;
  }

  .nav__links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 122px 0 60px;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.34rem;
  }

  h2 {
    font-size: 1.82rem;
    max-width: 15ch;
  }

  .hero__lead {
    font-size: 1.04rem;
  }

  .eyebrow {
    max-width: 32ch;
    flex-wrap: wrap;
  }

  .hero__points,
  .problem-grid,
  .solution-grid,
  .features-grid,
  .workflow,
  .pricing-grid,
  .steps-grid,
  .phone__stats {
    grid-template-columns: 1fr;
  }

  .hero__points li {
    min-height: auto;
  }

  .section {
    padding: 62px 0;
  }

  .section__header {
    gap: 18px;
    margin-bottom: 28px;
  }

  .device {
    min-height: auto;
    padding: 12px;
  }

  .phone {
    width: 100%;
    min-height: auto;
    margin-top: 18px;
  }

  .solution-card--wide {
    grid-template-columns: 1fr;
  }

  .sync-mark {
    width: 70px;
    height: 70px;
  }

  .cta {
    padding: 62px 0;
  }
}

@media (max-width: 520px) {
  .nav__inner,
  .actions,
  .footer__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .nav__links {
    justify-content: flex-start;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .button {
    width: 100%;
  }

  .tile,
  .solution-card,
  .feature,
  .price,
  .flow-step,
  .step {
    padding: 18px;
  }
}
