.vpn-page {
  --vpn: #00caff;
  --vpn-soft: #8eeaff;
  --vpn-dark: #07191d;
}

.vpn-page main { overflow: hidden; }
.vpn-page .menu-button { background: var(--vpn); }
.vpn-page .mobile-nav a:hover,
.vpn-page .mobile-nav a.active { color: var(--vpn); }
.vpn-page .header .button-small { color: var(--vpn-dark); background: var(--vpn); box-shadow: 0 8px 20px rgba(0, 202, 255, .18); }
.vpn-page .header .button-small:hover { background: var(--vpn-soft); box-shadow: 0 10px 24px rgba(0, 202, 255, .28); }
.vpn-page .footer nav small { color: var(--vpn-dark); background: var(--vpn); }
.vpn-hero {
  display: grid;
  min-height: auto;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  padding-block: 72px 88px;
}

.vpn-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(62px, 6vw, 104px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}

.vpn-lead {
  max-width: 680px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.5;
  letter-spacing: -.025em;
}

.vpn-hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 42px; }
.vpn-button { color: var(--vpn-dark); background: var(--vpn); box-shadow: 0 14px 34px rgba(0, 202, 255, .13); }
.vpn-button:hover { background: var(--vpn-soft); box-shadow: 0 18px 40px rgba(0, 202, 255, .22); }
.vpn-hero-actions p { display: grid; gap: 5px; margin: 0; }
.vpn-hero-actions strong { font-size: 13px; }
.vpn-hero-actions span { color: var(--muted); font-size: 12px; }

.vpn-hero-card {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(36px, 4vw, 64px);
  border-radius: 40px;
  color: var(--vpn-dark);
  background: var(--vpn);
}

.vpn-hero-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vpn-hero-card > p { position: relative; z-index: 1; max-width: 620px; margin: 80px 0 140px; font-size: clamp(58px, 5vw, 90px); font-weight: 500; line-height: .96; letter-spacing: -.06em; }
.vpn-hero-card img { position: absolute; right: -5%; bottom: -14%; width: clamp(315px, 33vw, 510px); height: auto; transform: rotate(-5deg); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.vpn-hero-card:hover img { transform: rotate(0deg) translate(-10px, -8px); }

.vpn-platforms {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
  padding-block: 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vpn-platforms > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.vpn-platforms ul { display: flex; justify-content: space-between; gap: 24px; margin: 0; padding: 0; list-style: none; }
.vpn-platforms li { font-size: clamp(18px, 1.7vw, 27px); font-weight: 600; letter-spacing: -.035em; }

.vpn-section { padding-block: 112px; border-top: 1px solid var(--border); }
.vpn-platforms + .vpn-section { border-top: 0; }
.vpn-how-section { padding-top: 0; padding-bottom: 0; border-top: 0; }
.vpn-how-section + .vpn-section { padding-top: 112px; border-top: 0; }
.vpn-compare-section,
.vpn-compare-section + .vpn-section { border-top: 0; }
.vpn-compare-section { padding-block: 64px; }
.vpn-section-heading { display: flex; align-items: end; justify-content: flex-start; gap: 32px; margin-bottom: 48px; }
.vpn-section-heading h2,
.vpn-technology h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}

.vpn-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); }
.vpn-benefits article { display: grid; min-height: 330px; grid-template-rows: auto 1fr auto; padding: 34px; }
.vpn-benefits article:nth-child(odd) { border-right: 1px solid var(--border); }
.vpn-benefits article:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.vpn-benefits span,
.vpn-audience span { color: var(--vpn); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.vpn-benefits h3 { align-self: end; max-width: 500px; margin: 80px 0 22px; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.05; letter-spacing: -.045em; }
.vpn-benefits p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

.vpn-how { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; padding: 64px; border-radius: 28px; color: var(--vpn-dark); background: var(--vpn); }
.vpn-how-copy h2 { max-width: 650px; margin: 0 0 42px; font-size: clamp(42px, 4.6vw, 66px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.vpn-how-copy .button { margin-top: 0; }
.vpn-steps { margin: 0; padding: 0; list-style: none; }
.vpn-steps li { position: relative; min-height: 0; padding: 22px 0 22px 54px; border-bottom: 1px solid rgba(0,0,0,.22); font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.vpn-steps li:last-child { border-bottom: 0; }
.vpn-steps span { position: absolute; top: 26px; left: 0; color: rgba(0,0,0,.52); font-size: 12px; font-weight: 800; line-height: 1.35; letter-spacing: .02em; }
.vpn-steps strong { font: inherit; }

.vpn-audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); }
.vpn-audience article { display: flex; min-height: 290px; flex-direction: column; justify-content: space-between; padding: 30px; border-right: 1px solid var(--border); }
.vpn-audience article:last-child { border-right: 0; }
.vpn-audience article > img { width: 96px; height: 96px; object-fit: contain; }
.vpn-audience h3 { margin: 0; font-size: clamp(24px, 2.1vw, 34px); line-height: 1.08; letter-spacing: -.04em; }

.vpn-compare { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); min-height: 590px; }
.vpn-compare article { display: flex; flex-direction: column; padding: clamp(36px, 5vw, 72px); }
.vpn-compare article > p { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vpn-compare h3 { max-width: 680px; margin: 34px 0 0; font-size: clamp(38px, 4vw, 66px); line-height: .98; letter-spacing: -.055em; }
.vpn-compare-basic { color: var(--muted); background: var(--surface); }
.vpn-compare-basic > span { margin-top: auto; padding-top: 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 18px; }
.vpn-compare-dom { color: var(--vpn-dark); background: #fff; }
.vpn-compare-dom .vpn-services-strip { display: block; width: 66.6667%; max-width: 600px; height: auto; margin: auto 0 34px; }
.vpn-compare-dom .button { align-self: flex-start; }

.vpn-technology { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(60px, 9vw, 150px); }
.vpn-technology-copy { padding-top: 34px; border-top: 0; }
.vpn-technology-copy p { margin: 0 0 28px; color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; letter-spacing: -.015em; }
.vpn-technology-copy p:first-child { color: var(--text); }

.vpn-section-heading-row { justify-content: space-between; }
.vpn-section-heading-row > a { padding-bottom: 4px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.vpn-section-heading-row > a:hover { color: var(--vpn); border-color: var(--vpn); }
.vpn-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vpn-service { position: relative; display: grid; min-height: 360px; grid-template-columns: minmax(0, 1fr) 52px; grid-template-rows: auto 1fr auto; overflow: hidden; padding: 28px; border: 1px solid var(--border); border-radius: 30px; background: var(--surface); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.vpn-service:hover { border-color: var(--service-accent, var(--vpn)); background: var(--surface-hover); transform: translateY(-3px); }
.vpn-service > img { grid-column: 1 / -1; grid-row: 1; width: 132px; height: 132px; margin-bottom: 54px; }
.vpn-service > div { grid-column: 1; grid-row: 3; align-self: end; min-width: 0; }
.vpn-service span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vpn-service h3 { margin: 8px 0 12px; font-size: clamp(25px, 2.1vw, 34px); letter-spacing: -.04em; }
.vpn-service p { max-width: 370px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.vpn-service .service-arrow { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; }
.vpn-service[href="/ru/services/show"] { --service-accent: #FFC300; }
.vpn-service[href="/ru/services/dommarket"] { --service-accent: #FF8400; }
.vpn-service[href="/ru/services/dompay"] { --service-accent: #81FF85; }
.vpn-service:hover .service-arrow { color: var(--vpn-dark); border-color: var(--service-accent, var(--vpn)); background: var(--service-accent, var(--vpn)); transform: rotate(6deg); }

.vpn-page .vpn-review { padding-top: 0; border-top: 0; }
.vpn-page .vpn-review .review-compose-card { background: var(--vpn); }
.vpn-page .vpn-review .review-compose-copy h2 { font-size: clamp(42px, 4.8vw, 70px); font-weight: 700; line-height: 1.1; }
.vpn-page .vpn-review-nowrap { white-space: nowrap; }
.vpn-page .vpn-review-submit-short { display: none; }
.vpn-page .vpn-review .vpn-review-intro { max-width: 620px; margin: 30px 0 0; color: rgba(0,0,0,.64); font-size: 18px; font-weight: 600; line-height: 1.5; }
.vpn-page .vpn-review .review-compose-form textarea { height: 220px; min-height: 220px; resize: none; border: 0; }
.vpn-page .vpn-review .review-compose-form textarea:focus { border: 0; }
.vpn-page .vpn-review .vpn-review-bottom { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.vpn-page .vpn-review .vpn-review-rating { display: flex; gap: 20px; align-items: center; }
.vpn-page .vpn-review .rating-picker button { font-size: 40px; }
.vpn-page .vpn-review .vpn-review-bottom > .button { flex-shrink: 0; }

.vpn-contact { border-top: 1px solid var(--border); }
.vpn-contact > a b { border: 0; background: transparent; }
.vpn-contact > a b::before { display: none; }
.vpn-contact > a b img { display: block; width: 100%; height: 100%; }
.vpn-contact > a:hover b { border-color: transparent; background: transparent; }
.vpn-contact > a:hover strong { color: var(--vpn); }

@media (min-width: 1081px) {
  .vpn-hero { padding-bottom: 88px; }
  .vpn-hero-copy { display: flex; min-height: 620px; flex-direction: column; }
  .vpn-hero-actions { margin-top: auto; }
  .vpn-hero-card > p { top: clamp(-168px, calc(-480px + 21.64vw), -110px); }
  .vpn-technology-copy { padding-top: 0; }
}

@media (min-width: 981px) {
  .vpn-page .vpn-review .review-compose-card {
    grid-template-rows: minmax(220px, auto) auto;
    column-gap: 80px;
    row-gap: 28px;
    padding-bottom: 48px;
  }
  .vpn-page .vpn-review .review-compose-copy,
  .vpn-page .vpn-review .review-compose-form { display: contents; }
  .vpn-page .vpn-review .review-compose-copy h2 { grid-column: 1; grid-row: 1; align-self: stretch; }
  .vpn-page .vpn-review .vpn-review-intro { grid-column: 1; grid-row: 2; align-self: center; margin: 0; }
  .vpn-page .vpn-review .review-compose-form textarea { grid-column: 2; grid-row: 1; align-self: stretch; }
  .vpn-page .vpn-review .vpn-review-bottom { grid-column: 2; grid-row: 2; align-self: center; }
}

@media (max-width: 1080px) {
  .vpn-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 64px; }
  .vpn-hero-copy { max-width: 900px; }
  .vpn-hero-card { min-height: 620px; }
  .vpn-audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vpn-audience article { border-bottom: 1px solid var(--border); }
  .vpn-audience article:nth-child(2) { border-right: 0; }
  .vpn-audience article:nth-last-child(-n+2) { border-bottom: 0; }
  .vpn-how,
  .vpn-technology { grid-template-columns: 1fr; }
  .vpn-technology { gap: 32px; }
  .vpn-services { grid-template-columns: 1fr 1fr; }
  .vpn-service:last-child { grid-column: 1 / -1; }
  .vpn-compare { min-height: auto; grid-template-columns: 1fr; }
  .vpn-compare .vpn-compare-basic { display: none; }
  .vpn-compare article { min-height: auto; }
}

@media (max-width: 1199px) {
  .vpn-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .vpn-hero-actions .button { white-space: nowrap; }
  .vpn-hero-actions > p { display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: 560px; }
  .vpn-hero-actions > p strong { flex-basis: 100%; }
  .vpn-how { grid-template-columns: 1fr; gap: 0; }
  .vpn-how-copy { display: contents; }
  .vpn-how-copy h2 { order: 1; margin-bottom: 32px; }
  .vpn-steps { order: 2; margin-bottom: 38px; }
  .vpn-how-copy .button { order: 3; width: 100%; justify-self: stretch; }
  .vpn-compare-dom .vpn-services-strip { width: 80%; margin: clamp(48px, 12vw, 96px) 0 34px; }
  .vpn-compare-dom .button { width: 100%; align-self: stretch; }
}

@media (max-width: 820px) {
  .vpn-hero { gap: 28px; padding-block: 58px 70px; }
  .vpn-hero-copy { display: contents; }
  .vpn-hero-copy h1 { grid-row: 1; }
  .vpn-hero-card { grid-row: 2; }
  .vpn-hero-copy .vpn-lead { grid-row: 3; }
  .vpn-hero-copy .vpn-hero-actions { grid-row: 4; }
  .vpn-hero-actions .button { width: 100%; }
  .vpn-page .vpn-review-submit-full { display: none; }
  .vpn-page .vpn-review-submit-short { display: inline; }
  .vpn-page .vpn-review .review-compose-form { width: calc(100% + 48px); margin-inline: -24px; }
  .vpn-hero-copy h1 { font-size: clamp(58px, 11vw, 82px); }
  .vpn-lead { margin: 0 0 8px; }
  .vpn-hero-actions { align-items: flex-start; flex-direction: column; margin-top: 0; }
  .vpn-hero-actions > p { width: 100%; max-width: 720px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; text-align: center; }
  .vpn-hero-actions > p strong { flex-basis: 100%; }
  .vpn-hero-card { min-height: 520px; justify-content: flex-start; border-radius: 30px; }
  .vpn-hero-card > p { margin: 30px 0 100px; }
  .vpn-hero-card img { bottom: -4%; }
  .vpn-platforms { grid-template-columns: 1fr; gap: 22px; }
  .vpn-platforms ul { flex-wrap: wrap; }
  .vpn-section { padding-block: 82px; }
  .vpn-how-section { padding-top: 0; padding-bottom: 0; }
  .vpn-compare-section { padding-block: 56px; }
  .vpn-section-heading { margin-bottom: 46px; }
  .vpn-how { gap: 0; padding: 48px; border-radius: 28px; }
  .vpn-audience article > img { width: 72px; height: 72px; }
  .vpn-compare { grid-template-columns: 1fr; }
  .vpn-compare .vpn-compare-basic { display: none; }
  .vpn-compare article { min-height: auto; }
  .vpn-technology { gap: 52px; }
  .vpn-section-heading-row { gap: 30px; }
}

@media (max-width: 560px) {
  .vpn-hero { gap: 28px; padding-block: 46px 58px; }
  .vpn-hero-copy h1 { font-size: 48px; line-height: .98; }
  .vpn-lead { margin: 0 0 8px; font-size: 17px; }
  .vpn-hero-actions { gap: 20px; margin-top: 0; }
  .vpn-hero-actions .button { width: 100%; }
  .vpn-hero-card { min-height: 410px; flex-direction: column; justify-content: flex-start; padding: 26px; border-radius: 22px; }
  .vpn-hero-card > p { margin: 30px 0 100px; font-size: 48px; }
  .vpn-hero-card img { right: -8%; bottom: -4%; width: 308px; }
  .vpn-platforms { padding-block: 24px; }
  .vpn-platforms ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
  .vpn-platforms li { font-size: 18px; }
  .vpn-section { padding-block: 64px; }
  .vpn-how-section { padding-top: 0; padding-bottom: 0; }
  .vpn-compare-section { padding-block: 44px; }
  .vpn-section-heading { margin-bottom: 34px; }
  .vpn-section-heading h2,
  .vpn-technology h2 { font-size: 43px; }
  .vpn-benefits { grid-template-columns: 1fr; }
  .vpn-benefits article { min-height: 280px; padding: 24px 22px; border-right: 0 !important; border-bottom: 1px solid var(--border); }
  .vpn-benefits article:last-child { border-bottom: 0; }
  .vpn-benefits h3 { margin-top: 54px; font-size: 30px; }
  .vpn-benefits p { font-size: 15px; }
  .vpn-how { gap: 0; padding: 28px 20px; border-radius: 18px; }
  .vpn-how-copy h2 { margin-bottom: 32px; font-size: 42px; }
  .vpn-how-copy .button { width: 100%; }
  .vpn-steps li { padding-left: 42px; font-size: 16px; }
  .vpn-steps span { top: 26px; }
  .vpn-audience { grid-template-columns: 1fr; }
  .vpn-audience article { min-height: 210px; padding: 24px 22px; border-right: 0; border-bottom: 1px solid var(--border) !important; }
  .vpn-audience article:last-child { border-bottom: 0 !important; }
  .vpn-audience article > img { width: 63px; height: 63px; }
  .vpn-audience h3 { max-width: 350px; font-size: 29px; }
  .vpn-compare { grid-template-columns: 1fr; }
  .vpn-compare article { min-height: auto; padding: 30px 22px; }
  .vpn-compare .vpn-compare-basic { display: none; }
  .vpn-compare h3 { font-size: 43px; }
  .vpn-compare-dom .button { width: 100%; }
  .vpn-technology { gap: 32px; }
  .vpn-technology-copy { padding-top: 24px; }
  .vpn-technology-copy p { font-size: 16px; }
  .vpn-section-heading-row { align-items: flex-start; flex-direction: column; }
  .vpn-services { grid-template-columns: 1fr; }
  .vpn-service,
  .vpn-service:last-child { min-height: 330px; grid-column: auto; padding: 22px; border-radius: 22px; }
  .vpn-service > img { width: 110px; height: 110px; margin-bottom: 46px; }
  .vpn-page .vpn-review .review-compose-form textarea { height: 220px; min-height: 220px; }
  .vpn-page .vpn-review .review-compose-form { width: calc(100% + 22px); margin-inline: -11px; }
  .vpn-page .vpn-review .review-compose-copy h2 { font-size: 38px; }
  .vpn-page .vpn-review .vpn-review-intro { margin-top: 22px; font-size: 16px; }
  .vpn-page .vpn-review .vpn-review-bottom { align-items: stretch; flex-direction: column; }
  .vpn-page .vpn-review .vpn-review-bottom > .button { width: 100%; }
}

@media (min-width: 561px) and (max-width: 820px) {
  .vpn-technology { gap: 39px; }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .vpn-hero { gap: 28px; }
  .vpn-hero-copy { display: contents; }
  .vpn-hero-copy h1 { grid-row: 1; }
  .vpn-hero-card { grid-row: 2; }
  .vpn-hero-copy .vpn-lead { grid-row: 3; }
  .vpn-hero-copy .vpn-hero-actions { grid-row: 4; }
  .vpn-lead { margin: 0 0 8px; }
  .vpn-hero-actions { margin-top: 0; }
  .vpn-hero-actions .button { width: min(360px, 100%); }

  .vpn-hero-card {
    min-height: 560px;
    justify-content: flex-start;
  }

  .vpn-hero-card > p { margin: 48px 0 0; }
  .vpn-hero-card img { right: -2%; bottom: -6%; }
}

/* Keep the review composer readable at compact desktop widths. */
@media (min-width: 981px) and (max-width: 1155px) {
  .vpn-page .vpn-review .review-compose-card {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    grid-template-rows: minmax(180px, auto) auto;
    column-gap: 36px;
    row-gap: 20px;
    padding: 44px 44px 36px;
  }

  .vpn-page .vpn-review .review-compose-copy h2 {
    max-width: 100%;
    font-size: clamp(40px, 4.2vw, 52px);
    line-height: 1.05;
  }

  .vpn-page .vpn-review .review-compose-form textarea {
    height: 180px;
    min-height: 180px;
  }

  .vpn-page .vpn-review .vpn-review-rating { gap: 12px; }
  .vpn-page .vpn-review .rating-picker button { font-size: 32px; }
  .vpn-page .vpn-review .vpn-review-bottom { gap: 12px; }
  .vpn-page .vpn-review .vpn-review-bottom > .button {
    padding-inline: 24px;
    white-space: nowrap;
  }

  .vpn-page .vpn-review-submit-full { display: none; }
  .vpn-page .vpn-review-submit-short { display: inline; }
}
