:root {
  --bg: #f6fffb;
  --paper: #ffffff;
  --ink: #14201d;
  --muted: #65736f;
  --line: rgba(27, 47, 42, .12);
  --mint: #19b99e;
  --mint-strong: #0b8f7a;
  --blue: #3f72f4;
  --shadow: 0 18px 44px rgba(25, 54, 47, .10);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(25, 185, 158, .11), transparent 34%),
    linear-gradient(315deg, rgba(63, 114, 244, .08), transparent 38%),
    linear-gradient(180deg, var(--bg), #fff 44%, #f7faf8);
}

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

.page {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 0 64px;
}

.hero {
  padding: 22px 0 clamp(26px, 5vw, 44px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--mint-strong);
  font-size: 15px;
  font-weight: 850;
}

.eyebrow,
.step-kicker {
  margin: 0 0 10px;
  color: var(--mint-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: #40504b;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.58;
}

.steps {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--shadow);
  counter-increment: steps;
}

.step.copy-only {
  grid-template-columns: 1fr;
}

.step-copy {
  position: sticky;
  top: 24px;
}

.step-kicker::after {
  content: counter(steps);
}

.step h2 {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.media {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 360px;
  padding: clamp(12px, 3vw, 26px);
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(25, 185, 158, .12), rgba(63, 114, 244, .10)),
    #eef9f5;
}

.media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  border-radius: 18px;
  box-shadow: 0 20px 42px rgba(20, 32, 29, .18);
}

.media.desktop img {
  border-radius: 12px;
}

.help {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 32, 29, .90), rgba(20, 32, 29, .58)),
    url("/trial/assets/vpn-hero-light.png");
  background-position: center right;
  background-size: cover;
}

.help h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.help p {
  max-width: 720px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--blue));
}

.button.telegram {
  color: var(--ink);
  background: #fff;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.36);
}

@media (max-width: 820px) {
  .step,
  .step.copy-only {
    grid-template-columns: 1fr;
  }

  .step-copy {
    position: static;
  }

  .media {
    min-height: 280px;
  }

  .media img {
    max-height: 560px;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 1040px);
    padding-top: 22px;
  }

  h1 {
    font-size: 36px;
  }

  .step {
    padding: 16px;
  }

  .media {
    padding: 10px;
    min-height: 220px;
  }

  .media img {
    max-height: 520px;
    border-radius: 14px;
  }

  .button {
    width: 100%;
  }
}
