*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  padding: 20px 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__icon svg { width: 24px; height: 24px; }

.logo__text-main {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo__text-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
}

.nav a:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  font-family: inherit;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover { background: var(--blue-dark); }

.btn--primary:disabled {
  background: #a0b4d4;
  cursor: not-allowed;
  transform: none;
}

.btn--white {
  background: var(--white);
  color: var(--blue);
}

.btn--white:hover { background: #f0f4ff; }

.btn--lg {
  padding: 16px 48px;
  font-size: 16px;
  width: 100%;
  max-width: 340px;
}

.btn--full { width: 100%; }

/* Hero */
.hero {
  background: var(--bg);
  padding: 48px 0 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--text);
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  max-width: 100%;
}

.hero__title span { color: var(--blue); white-space: nowrap; }

.salary-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.salary-block__icon {
  width: 56px;
  height: 56px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.salary-block__icon svg { width: 28px; height: 28px; }

.salary-block__label {
  font-size: 14px;
  color: var(--text-muted);
}

.salary-block__amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.salary-block__sub {
  font-size: 13px;
  color: var(--text-muted);
}

.hero__cta-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero__illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__illustration svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* Features */
.features {
  padding: 64px 0;
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 0 12px;
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon svg { width: 48px; height: 48px; }

.feature__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* How to start */
.steps {
  padding: 64px 0 80px;
  background: var(--bg);
}

.steps__title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 48px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #c5cdd8 0, #c5cdd8 6px,
    transparent 6px, transparent 12px
  );
}

.step__badge {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__icon svg { width: 44px; height: 44px; }

.step__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step__text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Bottom CTA */
.cta-banner {
  padding: 0 24px 64px;
}

.cta-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--blue);
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-banner__trophy {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner__trophy svg { width: 44px; height: 44px; }

.cta-banner__content { flex: 1; }

.cta-banner__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.cta-banner__sub {
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

.cta-banner .btn--white {
  flex-shrink: 0;
  padding: 14px 32px;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header .btn--primary { display: none; }
  .burger { display: block; }

  .hero { padding: 32px 0 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__content { width: 100%; min-width: 0; }
  .hero__illustration { order: -1; }
  .hero__illustration svg { max-width: 100%; width: 100%; height: auto; }
  .hero__title { font-size: clamp(26px, 7.5vw, 34px); line-height: 1.25; }
  .btn--lg { max-width: none; }

  .features__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .cta-banner .btn--white { width: 100%; }
}
