.proxy-services {
  line-height: 1.4;
  letter-spacing: 0;
}

.ps-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.proxy-services h1,
.proxy-services h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.proxy-services h2 {
  text-align: center;
}

.ps-section {
  padding-block: 85px 85px;
}

.ps-subtitle {
  margin-top: 10px;
  color: #777;
  font-size: 16px;
  text-align: center;
}

.ps-hero {
  background: linear-gradient(90deg, #fffcf4 0%, #ffffff 50%, #f9f6fd 100%);
}

.ps-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 583px);
  align-items: center;
  gap: 64px;
  min-height: 600px;
  padding-block: 80px 0px;
}

.ps-hero-description {
  max-width: 652px;
  margin-top: 10px;
  color: #777;
  font-size: 14px;
  line-height: 20px;
}

.ps-hero-features {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  font-size: 16px;
}

.ps-hero-features li,
.ps-plan li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ps-hero-features li img,
.ps-plan li img {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 4px;
}

.ps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
}

.ps-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}

.ps-button img {
  flex-shrink: 0;
}

.ps-button-gold {
  background:
    linear-gradient(#eeb64e, #eeb64e) padding-box,
    linear-gradient(#eeb64e, #eeb64e) border-box;
  color: #fff;
}

.ps-button-gold:hover {
  background:
    linear-gradient(90deg, #f89c1d 0%, #ffd06b 100%) padding-box,
    linear-gradient(90deg, #f89c1d 0%, #ffd06b 100%) border-box;
}

.ps-button-purple {
  background:
    linear-gradient(#9d6af0, #9d6af0) padding-box,
    linear-gradient(#9d6af0, #9d6af0) border-box;
  color: #fff;
}

.ps-button-purple:hover {
  background:
    linear-gradient(90deg, #763AFF 0%, #A882FF 100%) padding-box,
    linear-gradient(90deg, #763AFF 0%, #A882FF 100%) border-box;
}

.ps-button-outline {
  border-color: #1b0d00;
  color: #1b0d00;
}

.ps-button-outline:hover {
  background: #1b0d00;
  color: #fff;
}

.proxy-services a:focus-visible,
.proxy-services button:focus-visible {
  outline: 2px solid #945d0a;
  outline-offset: 4px;
}

.ps-hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.ps-four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ps-plans {
  margin-top: 60px;
  align-items: stretch;
}

.ps-tone-gold {
  --ps-accent: #eeb64e;
  --ps-tint: #FBEFCF;
  --ps-label: #A87219;
}

.ps-tone-blue {
  --ps-accent: #3376ff;
  --ps-tint: #E5EEFF;
  --ps-label: #3376ff;
}

.ps-tone-purple {
  --ps-accent: #9d6af0;
  --ps-tint: #EDE5FC;
  --ps-label: #7143d4;
}

.ps-plan.ps-tone-gold {
  --ps-tint: #FFF4DD;
  --ps-label: #A67523;
  --ps-plan-end: #fffcf4;
}

.ps-plan.ps-tone-purple {
  --ps-accent: #8b5cf6;
  --ps-tint: #F3EDFF;
  --ps-label: #8B5CF6;
  --ps-plan-end: #f9f6ff;
}

.ps-plan {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  min-height: 496px;
  padding: 20px 27px;
  border: 1px solid #e8e6e1;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, var(--ps-plan-end) 100%);
  transition: border-color .2s;
}

.ps-plan:hover {
  border-color: var(--ps-accent);
}

.ps-plan::before {
  width: 100%;
  height: 3px;
  margin-bottom: 23px;
  border-radius: 2px;
  background: var(--ps-accent);
  content: "";
  opacity: 0;
  transition: opacity .2s;
}

.ps-plan:hover::before {
  opacity: 1;
}

.ps-plan-icon {
  width: 44px;
  height: 44px;
}

.ps-plan h3 {
  min-height: 42px;
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
}

.ps-plan-badge {
  margin-top: 12px;
  padding: 3px 14px;
  border-radius: 20px;
  background: var(--ps-tint);
  color: var(--ps-label);
  font-size: 14px;
  font-weight: 500;
}

.ps-price-from {
  margin-top: 13px;
  color: #777;
  font-size: 14px;
}

.ps-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
}

.ps-price strong {
  font-size: 32px;
  font-weight: 600;
}

.ps-price > span {
  color: #777;
  font-size: 14px;
}

.ps-plan ul {
  display: grid;
  gap: 12px;
  margin-block: 10px 26px;
  color: #777;
  font-size: 14px;
  line-height: 20px;
}

.ps-plan > .ps-button {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 16px;
  width: 100%;
  margin-top: auto;
  padding-inline: 16px;
  line-height: 22px;
}

.ps-plan > .ps-button > span {
  grid-column: 2;
}

.ps-matching {
  background: #fffcf7;
}

.ps-match-table {
  display: grid;
  grid-template-columns: minmax(0, 36fr) minmax(0, 32fr) minmax(0, 32fr);
  row-gap: 12px;
  margin-top: 60px;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
}

.ps-match-table thead,
.ps-match-table tbody {
  display: contents;
}

.ps-match-table tr {
  display: grid;
  grid-template-columns: minmax(0, 36fr) minmax(0, 32fr) minmax(0, 32fr);
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .ps-match-table tbody tr:nth-child(3),
  .ps-match-table tbody tr:nth-child(5) {
    margin-top: 8px;
  }

  .ps-match-table tbody th,
  .ps-match-table td:last-child {
    display: flex;
    align-items: center;
  }
}

.ps-match-table th {
  font-weight: 400;
}

.ps-match-table thead th {
  padding: 0 32px 2px;
  font-weight: 600;
}

.ps-match-table tbody th,
.ps-match-table td {
  padding: 18px 16px;
  border-block: 1px solid #eadcc5;
  background: white;
}

.ps-match-table tbody th {
  padding-left: 32px;
  border-left: 1px solid #eadcc5;
  border-radius: 12px 0 0 12px;
}

.ps-match-table td:last-child {
  padding-right: 32px;
  border-right: 1px solid #eadcc5;
  border-radius: 0 12px 12px 0;
  color: #555;
}

.ps-solution {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ps-solution img {
  flex: 0 0 20px;
}

.ps-solution span {
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--ps-tint);
  color: var(--ps-label);
  font-weight: 500;
}

.ps-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 28px;
  background: #fff3dd;
  border-radius: 14px;
}

.ps-consult h3 {
  font-size: 18px;
  font-weight: 600;
}

.ps-consult p {
  margin-top: 6px;
  color: #777;
  font-size: 14px;
}

.ps-consult .ps-button {
  flex-shrink: 0;
}

.ps-benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 448px) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  margin-top: 60px;
}

.ps-benefits-left,
.ps-benefits-right {
  display: grid;
  gap: 32px;
}

.ps-benefit {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 112px;
}

.ps-benefits-left .ps-benefit {
  flex-direction: row-reverse;
  text-align: right;
}

.ps-benefit h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.ps-benefit p {
  margin-top: 8px;
  color: #777;
  font-size: 14px;
  line-height: 20px;
}

.ps-benefit-icon {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff7e6;
}

.ps-benefit:last-child .ps-benefit-icon {
  background: #f5f0ff;
}

.ps-network > img {
  width: 100%;
  height: auto;
}

.ps-locations {
  background: #fffaf2;
}

.ps-countries {
  margin-top: 60px;
}

.ps-country {
  padding: 14px 28px;
  border: 1px solid #eadcc5;
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s;
}

.ps-country:hover {
  border-color: #eeb64e;
  background: #fff;
}

.ps-country h3 {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 500;
}

.ps-country h3 img {
  flex: 0 0 36px;
}

.ps-country p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
}

.ps-country strong {
  min-width: 9ch;
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 34px;
}

.ps-country p span,
.ps-availability {
  color: #777;
  font-size: 14px;
  font-weight: 400;
}

.ps-availability {
  margin-top: 45px;
  text-align: center;
}

.ps-industries-grid {
  margin-top: 52px;
}

.ps-industry {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  padding: 24px 24px 22px 24px;
  border: 1px solid #e8e6e1;
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s, filter .2s;
}

.ps-industry:hover {
  border-color: #cfcfcf;
  filter: drop-shadow(0px 4px 13.7px rgba(174, 174, 174, 0.4));
}

.ps-industry h3 {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 16px;
  font-weight: 600;
}

.ps-industry h3 img {
  flex: 0 0 22px;
}

.ps-industry p {
  margin-block: 20px 18px;
  color: #777;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.ps-industry-arrow {
  align-self: flex-end;
  flex-shrink: 0;
  margin-top: auto;
}

@media (max-width: 1399px) {
  .ps-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .ps-network {
    display: none;
  }

  .ps-benefits-left .ps-benefit {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 1279px) {
  .ps-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
  }

  .ps-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 44px;
  }

  .ps-benefits-left .ps-benefit {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .ps-section {
    padding-block: 44px;
  }

  .proxy-services h1,
  .proxy-services h2 {
    font-size: 28px;
  }

  .ps-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    padding-block: 40px 44px;
  }

  .ps-hero-description {
    font-size: 15px;
    line-height: 23px;
  }

  .ps-hero-features {
    margin-top: 24px;
  }

  .ps-hero-actions {
    margin-top: 28px;
    gap: 12px;
  }

  .ps-hero-actions .ps-button {
    width: 100%;
  }

  .ps-hero-image {
    max-width: 440px;
    margin-inline: auto;
  }

  .ps-four-grid {
    gap: 16px;
  }

  .ps-plans,
  .ps-countries,
  .ps-industries-grid {
    margin-top: 32px;
  }

  .ps-match-table,
  .ps-match-table tbody,
  .ps-match-table tr,
  .ps-match-table tbody th,
  .ps-match-table td {
    display: block;
    width: 100%;
  }

  .ps-match-table {
    display: block;
  }

  .ps-match-table thead {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .ps-match-table tr {
    display: block;
    margin-top: 12px;
    grid-template-columns: none;
    grid-column: auto;
    padding: 20px;
    border: 1px solid #eadcc5;
    border-radius: 12px;
    background: #fff;
  }

  .ps-match-table tbody th,
  .ps-match-table td,
  .ps-match-table td:last-child {
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .ps-match-table tbody th {
    font-weight: 500;
  }

  .ps-match-table td {
    margin-top: 14px;
  }

  .ps-consult {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
    padding: 24px 20px;
  }

  .ps-benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ps-benefits-left,
  .ps-benefits-right {
    gap: 20px;
  }

  .ps-benefit {
    min-height: 0;
  }

  .ps-country {
    padding: 14px 16px;
  }
}

@media (max-width: 559px) {
  .ps-plans,
  .ps-industries-grid {
    grid-template-columns: 1fr;
  }

  .ps-country h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ps-country strong {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proxy-services *,
  .proxy-services *::before {
    transition: none;
    scroll-behavior: auto;
  }
}
