.market-page {
  --market: #ff8400;
  --market-soft: #ffab52;
  --market-dark: #1d0e03;
}

.market-page main { overflow: hidden; }
.market-page .menu-button { background: var(--market); }
.market-page .mobile-nav a:hover,
.market-page .mobile-nav a.active { color: var(--market); }
.market-page .header .button-small {
  color: var(--market-dark);
  background: var(--market);
  box-shadow: 0 8px 20px rgba(255, 132, 0, .18);
}
.market-page .header .button-small:hover {
  background: var(--market-soft);
  box-shadow: 0 10px 24px rgba(255, 132, 0, .28);
}
.market-page .footer nav small { color: var(--market-dark); background: var(--market); }

.market-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  padding-block: 72px 88px;
}

.market-hero-copy h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(62px, 6vw, 104px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.06em;
}

.market-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;
}

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

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

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

.market-audience-bar {
  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);
}
.market-audience-bar > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.market-audience-bar ul { display: flex; justify-content: space-between; gap: 24px; margin: 0; padding: 0; list-style: none; }
.market-audience-bar li { font-size: clamp(18px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.03em; }

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

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

.market-how {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  padding: 64px;
  border-radius: 28px;
  color: var(--market-dark);
  background: var(--market);
}
.market-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; }
.market-steps { margin: 0; padding: 0; list-style: none; }
.market-steps li { position: relative; padding: 22px 0 22px 54px; border-bottom: 1px solid rgba(0,0,0,.22); font-size: 18px; font-weight: 600; line-height: 1.35; }
.market-steps li:last-child { border-bottom: 0; }
.market-steps span { position: absolute; top: 26px; left: 0; color: rgba(0,0,0,.52); font-size: 12px; font-weight: 800; }
.market-steps strong { font: inherit; }

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

.market-compare { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); min-height: 620px; }
.market-compare article { display: flex; flex-direction: column; padding: clamp(36px, 5vw, 72px); }
.market-compare article > p,
.market-team-eyebrow,
.market-video-copy > p { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.market-compare h3 { max-width: 730px; margin: 34px 0 48px; font-size: clamp(38px, 4vw, 66px); line-height: .98; letter-spacing: -.055em; }
.market-compare ul { margin: auto 0 0; padding: 0; list-style: none; }
.market-team-details ul { margin: 0; padding: 0; list-style: none; }
.market-compare li,
.market-team-details li {
  padding: 22px 0;
  border-bottom: 1px solid currentColor;
  border-color: rgba(0,0,0,.2);
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.4;
  letter-spacing: -.015em;
}
.market-compare li:last-child,
.market-team-details li:last-child { border-bottom: 0; }
.market-compare-basic { color: var(--muted); background: var(--surface); }
.market-compare-basic li { border-color: var(--border); }
.market-compare-dom { color: var(--market-dark); background: var(--market); }
.market-compare-dom .button { width: 100%; margin-top: 38px; }

.market-team {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 72px;
  padding: 64px;
  border-radius: 32px;
  color: var(--market-dark);
  background: var(--market);
}
.market-team-copy { display: flex; flex-direction: column; align-items: flex-start; }
.market-team-copy h2 { max-width: 760px; margin: 34px 0 20px; font-size: clamp(44px, 5vw, 72px); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.market-team-subtitle { max-width: 560px; margin: 0 0 48px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.market-team-copy .button { margin-top: auto; }
.market-team-details { display: flex; flex-direction: column; }

.market-video { display: grid; grid-template-columns: minmax(0, .72fr) minmax(480px, 1.28fr); gap: clamp(52px, 8vw, 128px); align-items: start; }
.market-video-copy > p { margin-bottom: 28px; color: var(--market); }
.market-video-frame { overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: var(--surface); }
.market-video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

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

.market-section-heading-row { justify-content: space-between; }
.market-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; }
.market-section-heading-row > a:hover { color: var(--market); border-color: var(--market); }
.market-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.market-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;
}
.market-service:hover { border-color: var(--service-accent, var(--market)); background: var(--surface-hover); transform: translateY(-3px); }
.market-service > img { grid-column: 1 / -1; grid-row: 1; width: 132px; height: 132px; margin-bottom: 54px; }
.market-service > div { grid-column: 1; grid-row: 3; align-self: end; min-width: 0; }
.market-service span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.market-service h3 { margin: 8px 0 12px; font-size: clamp(25px, 2.1vw, 34px); letter-spacing: -.04em; }
.market-service p { max-width: 370px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.market-service .service-arrow { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; }
.market-service[href="/ru/services/domvpn"] { --service-accent: #00caff; }
.market-service[href="/ru/services/show"] { --service-accent: #ffc300; }
.market-service[href="/ru/services/dompay"] { --service-accent: #81ff85; }
.market-service:hover .service-arrow { color: var(--market-dark); border-color: var(--service-accent); background: var(--service-accent); transform: rotate(6deg); }

.market-page .market-review { padding-top: 0; border-top: 0; }
.market-page .market-review + .market-section { padding-top: 0; border-top: 0; }
.market-page .market-review .review-compose-card { background: var(--market); }
.market-page .market-review .review-compose-copy h2 { font-size: clamp(42px, 4.8vw, 70px); font-weight: 700; line-height: 1.1; }
.market-review-nowrap { white-space: nowrap; }
.market-review-submit-short { display: none; }
.market-page .market-review .market-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; }
.market-page .market-review .review-compose-form textarea { height: 220px; min-height: 220px; resize: none; border: 0; }
.market-page .market-review .review-compose-form textarea:focus { border: 0; }
.market-page .market-review .market-review-bottom { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.market-page .market-review .rating-picker button { font-size: 40px; }
.market-page .market-review .market-review-bottom > .button { flex-shrink: 0; }

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

@media (min-width: 1081px) {
  .market-hero-copy { display: flex; min-height: 620px; flex-direction: column; }
  .market-hero-actions { margin-top: auto; }
}

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

@media (max-width: 1199px) {
  .market-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .market-hero-actions .button { white-space: nowrap; }
  .market-hero-actions > p { display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: 600px; }
  .market-hero-actions > p strong { flex-basis: 100%; }
  .market-how { grid-template-columns: 1fr; gap: 0; }
  .market-how-copy { display: contents; }
  .market-how-copy h2 { order: 1; margin-bottom: 32px; }
  .market-steps { order: 2; margin-bottom: 38px; }
  .market-how-copy .button { order: 3; width: 100%; }
}

@media (max-width: 1080px) {
  .market-hero { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding-top: 64px; }
  .market-hero-copy { display: contents; }
  .market-hero-copy h1 { grid-row: 1; }
  .market-hero-card { grid-row: 2; min-height: 560px; justify-content: flex-start; }
  .market-hero-card > p { margin: 48px 0 0; }
  .market-hero-card img { right: -2%; bottom: -6%; }
  .market-lead { grid-row: 3; margin: 0 0 8px; }
  .market-hero-actions { grid-row: 4; margin-top: 0; }
  .market-hero-actions .button { width: min(400px, 100%); }
  .market-audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-audience article { border-bottom: 1px solid var(--border); }
  .market-audience article:nth-child(2) { border-right: 0; }
  .market-audience article:nth-last-child(-n+2) { border-bottom: 0; }
  .market-compare { min-height: auto; grid-template-columns: 1fr; }
  .market-compare article { min-height: auto; }
  .market-team,
  .market-video,
  .market-about { grid-template-columns: 1fr; }
  .market-team { gap: 64px; }
  .market-video { gap: 42px; }
  .market-about { gap: 38px; }
  .market-services { grid-template-columns: 1fr 1fr; }
  .market-service:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .market-hero { padding-block: 58px 70px; }
  .market-hero-copy h1 { font-size: clamp(58px, 11vw, 82px); }
  .market-hero-card { min-height: 520px; border-radius: 30px; }
  .market-hero-card > p { margin: 30px 0 100px; }
  .market-hero-card img { bottom: -4%; }
  .market-hero-actions .button { width: 100%; }
  .market-hero-actions > p { width: 100%; justify-content: center; text-align: center; }
  .market-audience-bar { grid-template-columns: 1fr; gap: 20px; }
  .market-audience-bar ul { flex-wrap: wrap; justify-content: flex-start; gap: 18px 32px; }
  .market-section { padding-block: 82px; }
  .market-how-section { padding-block: 0; }
  .market-compare-section { padding-block: 56px; }
  .market-section-heading { margin-bottom: 46px; }
  .market-audience article > img { width: 72px; height: 72px; }
  .market-how { padding: 48px; }
  .market-team { padding: 48px; border-radius: 28px; }
  .market-page .market-review-submit-full { display: none; }
  .market-page .market-review-submit-short { display: inline; }
  .market-page .market-review .review-compose-form { width: calc(100% + 48px); margin-inline: -24px; }
}

@media (max-width: 560px) {
  .market-hero { padding-block: 46px 58px; }
  .market-hero-copy h1 { font-size: 48px; }
  .market-lead { font-size: 17px; }
  .market-hero-card { min-height: 410px; padding: 26px; border-radius: 22px; }
  .market-hero-card > p { margin: 30px 0 100px; font-size: 48px; }
  .market-hero-card img { right: -8%; width: 308px; }
  .market-audience-bar { padding-block: 22px; }
  .market-audience-bar > p { font-size: 15px; }
  .market-audience-bar li { font-size: 17px; }
  .market-section { padding-block: 64px; }
  .market-how-section { padding-block: 0; }
  .market-compare-section { padding-block: 44px; }
  .market-section-heading { margin-bottom: 34px; }
  .market-section-heading h2,
  .market-about h2,
  .market-video h2 { font-size: 43px; }
  .market-audience { grid-template-columns: 1fr; }
  .market-audience article { min-height: 220px; padding: 22px; border-right: 0; border-bottom: 1px solid var(--border) !important; }
  .market-audience article:last-child { border-bottom: 0 !important; }
  .market-audience article > img { width: 63px; height: 63px; }
  .market-audience h3 { font-size: 29px; }
  .market-how { padding: 28px 20px; border-radius: 18px; }
  .market-how-copy h2 { font-size: 42px; }
  .market-steps li { padding-left: 42px; font-size: 16px; }
  .market-benefits { grid-template-columns: 1fr; }
  .market-benefits article { min-height: 280px; padding: 24px 22px; border-right: 0 !important; border-bottom: 1px solid var(--border); }
  .market-benefits article:last-child { border-bottom: 0; }
  .market-benefits h3 { margin-top: 54px; font-size: 30px; }
  .market-benefits p { font-size: 15px; }
  .market-compare article { padding: 30px 22px; }
  .market-compare h3 { font-size: 43px; }
  .market-team { gap: 50px; padding: 30px 22px; border-radius: 18px; }
  .market-team-copy h2 { margin: 26px 0 16px; font-size: 43px; }
  .market-team-subtitle { margin-bottom: 38px; font-size: 22px; }
  .market-team-copy .button { width: 100%; }
  .market-team-details li { font-size: 15px; }
  .market-video-frame { border-radius: 18px; }
  .market-about-copy p { font-size: 16px; }
  .market-section-heading-row { align-items: flex-start; flex-direction: column; }
  .market-services { grid-template-columns: 1fr; }
  .market-service,
  .market-service:last-child { min-height: 330px; grid-column: auto; padding: 22px; border-radius: 22px; }
  .market-service > img { width: 110px; height: 110px; margin-bottom: 46px; }
  .market-page .market-review .review-compose-form { width: calc(100% + 22px); margin-inline: -11px; }
  .market-page .market-review .review-compose-copy h2 { font-size: 38px; }
  .market-page .market-review .market-review-intro { margin-top: 22px; font-size: 16px; }
  .market-page .market-review .review-compose-form textarea { height: 190px; min-height: 190px; }
  .market-page .market-review .market-review-bottom { align-items: stretch; flex-direction: column; }
  .market-page .market-review .market-review-bottom > .button { width: 100%; }
}

@media (min-width: 981px) and (max-width: 1155px) {
  .market-page .market-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;
  }
  .market-page .market-review .review-compose-copy h2 { max-width: 100%; font-size: clamp(40px, 4.2vw, 52px); line-height: 1.05; }
  .market-page .market-review .review-compose-form textarea { height: 180px; min-height: 180px; }
  .market-page .market-review .rating-picker { gap: 12px; }
  .market-page .market-review .rating-picker button { font-size: 32px; }
  .market-page .market-review .market-review-bottom { gap: 12px; }
  .market-page .market-review .market-review-bottom > .button { padding-inline: 24px; white-space: nowrap; }
  .market-page .market-review-submit-full { display: none; }
  .market-page .market-review-submit-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .market-hero-card img,
  .market-service { transition: none; }
}
