/* Technical pages unified layer 2026-05-27 */
body[data-content-page="contacts"],
body[data-content-page="vacancies"],
body[data-content-page="requisites"],
body[data-content-page="terms"],
body[data-content-page="offer"],
body[data-content-page="privacy"] {
  background: #fafafa;
  color: #111;
}

.tech-page {
  display: grid;
  gap: clamp(76px, 8vw, 124px);
  width: 100%;
  padding: clamp(104px, 10vw, 148px) clamp(20px, 5vw, 72px) clamp(84px, 9vw, 132px);
  background: #fafafa;
  color: #111;
  box-sizing: border-box;
}

.tech-page .kicker {
  margin: 0;
  color: #565656;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.tech-hero,
.tech-section {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: end;
}

.tech-hero--text {
  align-items: start;
}

.tech-hero h1 {
  grid-column: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(68px, 11vw, 164px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
}

.tech-hero > .kicker {
  grid-column: 1 / -1;
}

.tech-hero-copy,
.tech-copy,
.tech-actions,
.tech-links,
.tech-card,
.tech-card-block,
.tech-legal,
.tech-points {
  display: grid;
}

.tech-hero-copy {
  gap: 20px;
  max-width: 560px;
}

.tech-lead,
.tech-hero-copy p,
.tech-copy p,
.tech-card p,
.tech-card li,
.tech-table dd,
.tech-legal p,
.tech-points li,
.tech-muted {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.24;
}

.tech-lead {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.02;
}

.tech-button {
  display: inline-block;
  justify-self: start;
  min-height: 0;
  padding: 14px 36px 13px;
  border: 1px solid #111;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.tech-button:hover,
.tech-button:focus-visible {
  background: transparent;
  color: #111;
}

.tech-section {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid #111;
}

.tech-section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.26fr) minmax(0, 0.74fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
}

.tech-section-head h2,
.tech-copy-row h2,
.tech-legal h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.tech-section-head a,
.tech-links a,
.tech-legal a {
  color: inherit;
  text-decoration: none;
}

.tech-section-head a:hover,
.tech-links a:hover,
.tech-legal a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tech-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}

.tech-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tech-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-card {
  align-content: start;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.28);
}

.tech-card--large {
  gap: 22px;
}

.tech-card h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.tech-card h4,
.tech-table dt,
.tech-number {
  margin: 0 0 9px;
  color: #565656;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.tech-card-block {
  gap: 8px;
}

.tech-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.tech-links {
  gap: 8px;
  font-style: normal;
}

.tech-muted {
  color: #565656;
}

.tech-copy-row {
  grid-template-columns: minmax(0, 0.48fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.tech-actions {
  gap: 18px;
  align-content: start;
  justify-items: start;
}

.tech-copy {
  gap: 32px;
}

.tech-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-points li {
  padding-top: 14px;
  border-top: 1px solid #111;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.08;
  text-transform: uppercase;
}

.tech-table {
  display: grid;
  gap: 0;
  margin: 0;
}

.tech-table > div,
.tech-table .terms-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.tech-table > div:first-child,
.tech-table .terms-row:first-child {
  border-top-color: #111;
}

.tech-table dt,
.tech-table dd {
  margin: 0;
}

.tech-table--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 6px;
}

.tech-table--compact > div {
  grid-template-columns: 1fr;
  gap: 5px;
}

.tech-table--requisites > div {
  grid-template-columns: minmax(64px, 0.22fr) minmax(0, 0.78fr);
}

.tech-table--requisites dd {
  overflow-wrap: anywhere;
  user-select: text;
}

.terms-page .terms-table {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 0;
  max-width: 100%;
  border: 0;
}

.terms-page .terms-row {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.terms-page .terms-row h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.12;
  text-transform: uppercase;
}

.terms-page .terms-row p,
.terms-page .terms-row strong {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.22;
}

.terms-page .terms-row strong {
  font-weight: 700;
}

.terms-page .terms-table[data-terms-table="payments"] .terms-row {
  grid-template-columns: minmax(160px, 0.26fr) minmax(180px, 0.28fr) minmax(160px, 0.23fr) minmax(160px, 0.23fr);
}

.tech-legal {
  max-width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
  gap: 42px;
}

.tech-legal article {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(22px, 4vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.28);
}

.tech-office {
  gap: 28px;
}

.tech-map {
  width: 100% !important;
  height: clamp(320px, 40vw, 520px) !important;
  min-height: 320px !important;
}

@media (max-width: 1100px) {
  .tech-grid--four,
  .tech-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .tech-page {
    gap: 64px;
    padding: 92px 20px 78px;
  }

  .tech-hero,
  .tech-section-head,
  .tech-copy-row,
  .tech-legal article {
    grid-template-columns: 1fr;
  }

  .tech-hero h1 {
    font-size: clamp(58px, 19vw, 96px);
    line-height: 0.92;
  }

  .tech-hero-copy {
    max-width: none;
  }

  .tech-grid--two,
  .tech-grid--three,
  .tech-grid--four,
  .tech-points,
  .tech-table--compact {
    grid-template-columns: 1fr;
  }

  .tech-table > div,
  .tech-table .terms-row,
  .terms-page .terms-table[data-terms-table="payments"] .terms-row {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 16px 0;
  }

  .tech-section-head {
    gap: 12px;
  }

  .tech-section-head h2,
  .tech-copy-row h2,
  .tech-legal h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .tech-card h3 {
    font-size: 26px;
  }

  .tech-map {
    height: 280px !important;
    min-height: 280px !important;
  }
}
