/* Top City v19 — unified editorial system for the legacy catalogue, guides and articles. */

.legacy-page {
  --legacy-ink: #090b0a;
  --legacy-paper: #f4f2ec;
  --legacy-paper-deep: #eae7de;
  --legacy-line: rgba(9, 11, 10, .14);
  --legacy-muted: #686a64;
  --legacy-orange: #ed7c24;
  --legacy-lime: var(--legacy-orange);
  --legacy-gold: #d4a657;
  background: var(--legacy-ink);
}

.legacy-page *,
.legacy-page *::before,
.legacy-page *::after {
  box-sizing: border-box;
}

.legacy-page .page-shell {
  background: var(--legacy-paper);
}

.legacy-page .site-footer {
  grid-template-columns: 1.05fr .92fr .82fr .72fr 1.16fr;
  gap: clamp(24px, 3vw, 52px);
}

.legacy-page h1,
.legacy-page h2,
.legacy-page h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.legacy-page p,
.legacy-page li,
.legacy-page a {
  overflow-wrap: break-word;
}

.legacy-page .legacy-hero {
  isolation: isolate;
  width: calc(100% - 36px);
  min-height: clamp(570px, calc(100svh - 128px), 700px);
  margin: 0 18px;
  padding: clamp(52px, 5vw, 82px) clamp(34px, 4.8vw, 86px);
  color: #f8f6ef;
  background:
    radial-gradient(circle at 82% 22%, rgba(212, 166, 87, .19), transparent 26rem),
    radial-gradient(circle at 14% 86%, rgba(237, 124, 36, .09), transparent 24rem),
    linear-gradient(135deg, #080a09, #111411 62%, #080a09);
  border-radius: 0 0 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(390px, .78fr);
  align-items: center;
  gap: clamp(34px, 5vw, 90px);
  position: relative;
  overflow: hidden;
}

.legacy-page .legacy-hero::before {
  content: "";
  z-index: -2;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 68px 68px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .6) 52%, transparent 95%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .6) 52%, transparent 95%);
}

.legacy-page .legacy-hero::after {
  content: attr(data-watermark);
  z-index: -1;
  color: rgba(255, 255, 255, .027);
  letter-spacing: -.075em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: clamp(92px, 14vw, 260px);
  font-weight: 900;
  line-height: .72;
  position: absolute;
  right: -30px;
  bottom: -12px;
}

.legacy-page .legacy-hero-copy {
  z-index: 4;
  max-width: 790px;
  position: relative;
}

.legacy-page .legacy-kicker {
  color: rgba(255, 255, 255, .56);
  letter-spacing: .15em;
  text-transform: uppercase;
  align-items: center;
  gap: 13px;
  margin: 0 0 25px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.4;
  display: flex;
}

.legacy-page .legacy-kicker b {
  color: var(--legacy-lime);
}

.legacy-page .legacy-kicker::after {
  content: "";
  flex: none;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--legacy-lime), var(--legacy-gold));
}

.legacy-page .legacy-hero h1 {
  max-width: 900px;
  margin: 0;
  letter-spacing: -.058em;
  text-transform: uppercase;
  font-size: clamp(50px, 4.45vw, 82px);
  font-weight: 880;
  line-height: .93;
}

.legacy-page .legacy-hero h1 em {
  color: var(--legacy-lime);
  font-style: normal;
}

.legacy-page .legacy-hero-lead {
  max-width: 650px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(14px, .95vw, 17px);
  line-height: 1.66;
}

.legacy-page .legacy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 31px;
}

.legacy-page .legacy-hero .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .28);
}

.legacy-page .legacy-hero-art {
  align-self: stretch;
  min-height: 430px;
  position: relative;
}

.legacy-page .legacy-hero-frame {
  overflow: hidden;
  position: absolute;
  inset: 2% 0 2% 5%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: #141715;
  box-shadow: 0 36px 100px rgba(0, 0, 0, .5);
}

.legacy-page .legacy-hero-frame::before {
  content: "";
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 11, 10, .47), transparent 37%),
    linear-gradient(0deg, rgba(9, 11, 10, .58), transparent 46%);
  position: absolute;
  inset: 0;
}

.legacy-page .legacy-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.58) contrast(1.1) brightness(.78);
  transform: scale(1.015);
}

.legacy-page .legacy-glint {
  z-index: 3;
  pointer-events: none;
  width: 21%;
  height: 145%;
  opacity: .38;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 160, .32), transparent);
  position: absolute;
  top: -24%;
  left: 42%;
  transform: skewX(-16deg);
  animation: legacy-glint 7.2s 1.1s ease-in-out infinite;
}

.legacy-page .legacy-hero-note {
  z-index: 5;
  max-width: 230px;
  padding: 17px 19px;
  color: rgba(255, 255, 255, .72);
  background: rgba(11, 13, 12, .82);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 12px;
  backdrop-filter: blur(18px);
  position: absolute;
  right: -10px;
  bottom: 32px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.legacy-page .legacy-hero-note b {
  color: var(--legacy-lime);
  letter-spacing: -.035em;
  font-size: 27px;
  line-height: 1;
  display: block;
}

.legacy-page .legacy-hero-note span {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.45;
  display: block;
}

.legacy-page .legacy-breadcrumb {
  width: min(100% - 36px, 1740px);
  min-height: 56px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 46px);
  color: #777872;
  border-bottom: 1px solid var(--legacy-line);
  align-items: center;
  gap: 9px;
  font-size: 11px;
  display: flex;
}

.legacy-page .legacy-breadcrumb a {
  color: #343632;
  text-decoration: none;
}

.legacy-page .legacy-breadcrumb i {
  color: #a4a59f;
  font-style: normal;
}

.legacy-page .legacy-section {
  width: 100%;
  padding: clamp(68px, 6.2vw, 108px) clamp(26px, 4.8vw, 88px);
}

.legacy-page .legacy-section-dark {
  color: #f7f4ed;
  background:
    radial-gradient(circle at 86% 12%, rgba(212, 166, 87, .13), transparent 24rem),
    linear-gradient(140deg, #090b0a, #121512);
}

.legacy-page .legacy-container {
  width: min(100%, 1640px);
  margin-inline: auto;
}

.legacy-page .legacy-heading {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .38fr);
  align-items: end;
  gap: clamp(30px, 5vw, 82px);
  margin-bottom: clamp(36px, 4.3vw, 66px);
  display: grid;
}

.legacy-page .legacy-heading .legacy-kicker {
  color: #71736d;
  margin-bottom: 18px;
}

.legacy-page .legacy-section-dark .legacy-heading .legacy-kicker {
  color: rgba(255, 255, 255, .52);
}

.legacy-page .legacy-heading h2 {
  max-width: 1060px;
  margin: 0;
  letter-spacing: -.052em;
  text-transform: uppercase;
  font-size: clamp(40px, 4.3vw, 74px);
  font-weight: 870;
  line-height: .96;
}

.legacy-page .legacy-heading h2 em {
  color: var(--legacy-lime);
  font-style: normal;
}

.legacy-page .legacy-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--legacy-muted);
  font-size: 14px;
  line-height: 1.68;
}

.legacy-page .legacy-section-dark .legacy-heading > p {
  color: rgba(255, 255, 255, .56);
}

.legacy-page .legacy-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.legacy-page .legacy-card {
  min-height: 310px;
  padding: clamp(24px, 2.5vw, 38px);
  background: rgba(255, 255, 255, .44);
  border: 1px solid var(--legacy-line);
  border-radius: 16px;
  flex-direction: column;
  display: flex;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.legacy-page .legacy-card:hover {
  border-color: rgba(164, 65, 12, .45);
  box-shadow: 0 24px 60px rgba(23, 27, 22, .08);
  transform: translateY(-5px);
}

.legacy-page .legacy-card-number {
  color: #aa440d;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 900;
}

.legacy-page .legacy-card h3 {
  max-width: 390px;
  margin: auto 0 13px;
  letter-spacing: -.035em;
  font-size: clamp(25px, 2.1vw, 37px);
  font-weight: 760;
  line-height: 1.03;
}

.legacy-page .legacy-card p {
  max-width: 430px;
  margin: 0;
  color: var(--legacy-muted);
  font-size: 13px;
  line-height: 1.6;
}

.legacy-page .legacy-card a {
  color: #111311;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 850;
  display: inline-flex;
}

.legacy-page .legacy-section-dark .legacy-card {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .13);
}

.legacy-page .legacy-section-dark .legacy-card:hover {
  border-color: rgba(237, 124, 36, .43);
}

.legacy-page .legacy-section-dark .legacy-card h3,
.legacy-page .legacy-section-dark .legacy-card a {
  color: #f8f5ee;
}

.legacy-page .legacy-section-dark .legacy-card p {
  color: rgba(255, 255, 255, .55);
}

.legacy-page .legacy-showcase {
  min-height: 530px;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .72fr);
  gap: 12px;
  display: grid;
}

.legacy-page .legacy-showcase-visual {
  min-height: 500px;
  margin: 0;
  background: #171a17;
  border-radius: 17px;
  position: relative;
  overflow: hidden;
}

.legacy-page .legacy-showcase-visual::after {
  content: "";
  background: linear-gradient(0deg, rgba(7, 9, 8, .82), transparent 53%);
  position: absolute;
  inset: 0;
}

.legacy-page .legacy-showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.05);
}

.legacy-page .legacy-showcase-caption {
  z-index: 2;
  max-width: 590px;
  color: white;
  padding: clamp(27px, 3.5vw, 52px);
  position: absolute;
  left: 0;
  bottom: 0;
}

.legacy-page .legacy-showcase-caption span {
  color: var(--legacy-lime);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}

.legacy-page .legacy-showcase-caption h3 {
  margin: 13px 0 0;
  letter-spacing: -.04em;
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 1;
}

.legacy-page .legacy-showcase-copy {
  padding: clamp(28px, 3vw, 50px);
  background: var(--legacy-paper-deep);
  border: 1px solid var(--legacy-line);
  border-radius: 17px;
}

.legacy-page .legacy-showcase-copy h3 {
  margin: 0 0 21px;
  letter-spacing: -.04em;
  font-size: clamp(29px, 3vw, 47px);
  line-height: 1;
}

.legacy-page .legacy-showcase-copy > p {
  margin: 0 0 27px;
  color: var(--legacy-muted);
  font-size: 14px;
  line-height: 1.7;
}

.legacy-page .legacy-checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-page .legacy-checks li {
  padding: 14px 0 14px 25px;
  border-top: 1px solid var(--legacy-line);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.45;
  position: relative;
}

.legacy-page .legacy-checks li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--legacy-lime);
  border-radius: 50%;
  position: absolute;
  top: 19px;
  left: 2px;
  box-shadow: 0 0 0 5px rgba(237, 124, 36, .14);
}

.legacy-page .legacy-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  display: grid;
  counter-reset: legacy-step;
}

.legacy-page .legacy-step {
  min-height: 250px;
  padding: 29px 26px 25px;
  border-top: 1px solid rgba(255, 255, 255, .17);
  border-right: 1px solid rgba(255, 255, 255, .12);
  counter-increment: legacy-step;
}

.legacy-page .legacy-step:last-child {
  border-right: 0;
}

.legacy-page .legacy-step::before {
  content: "0" counter(legacy-step);
  color: var(--legacy-lime);
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 900;
}

.legacy-page .legacy-step h3 {
  max-width: 270px;
  margin: 76px 0 11px;
  letter-spacing: -.035em;
  font-size: clamp(22px, 1.8vw, 31px);
  line-height: 1.04;
}

.legacy-page .legacy-step p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
  line-height: 1.55;
}

.legacy-page .legacy-spec-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.legacy-page .legacy-spec {
  min-height: 245px;
  padding: clamp(26px, 3vw, 46px);
  background: #fffefa;
  border: 1px solid var(--legacy-line);
  border-radius: 16px;
}

.legacy-page .legacy-spec > span {
  color: #a4410c;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}

.legacy-page .legacy-spec h3 {
  max-width: 610px;
  margin: 24px 0 13px;
  letter-spacing: -.038em;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.02;
}

.legacy-page .legacy-spec p {
  max-width: 680px;
  margin: 0;
  color: var(--legacy-muted);
  font-size: 13px;
  line-height: 1.65;
}

.legacy-page .legacy-pills {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
  display: flex;
}

.legacy-page .legacy-pills span {
  padding: 8px 11px;
  color: #3d403a;
  background: #f4f2ec;
  border: 1px solid var(--legacy-line);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 750;
}

.legacy-page .legacy-article-layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  align-items: start;
  gap: clamp(40px, 7vw, 110px);
  display: grid;
}

.legacy-page .legacy-article-body {
  max-width: 980px;
}

.legacy-page .legacy-article-body > p:first-child {
  margin-top: 0;
  color: #272a25;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.48;
}

.legacy-page .legacy-article-body h2 {
  margin: 64px 0 20px;
  letter-spacing: -.044em;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1;
}

.legacy-page .legacy-article-body h3 {
  margin: 38px 0 15px;
  letter-spacing: -.03em;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.08;
}

.legacy-page .legacy-article-body p,
.legacy-page .legacy-article-body li {
  color: #5f615b;
  font-size: 15px;
  line-height: 1.75;
}

.legacy-page .legacy-article-body ul,
.legacy-page .legacy-article-body ol {
  padding-left: 22px;
}

.legacy-page .legacy-callout {
  margin: 38px 0;
  padding: clamp(25px, 3vw, 39px);
  background: #101310;
  color: white;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.legacy-page .legacy-callout::after {
  content: "";
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(237, 124, 36, .18), transparent 70%);
  position: absolute;
  right: -35px;
  bottom: -70px;
}

.legacy-page .legacy-callout strong {
  color: var(--legacy-lime);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legacy-page .legacy-callout p {
  max-width: 700px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .68);
}

.legacy-page .legacy-article-aside {
  top: 24px;
  padding: 27px;
  background: var(--legacy-paper-deep);
  border: 1px solid var(--legacy-line);
  border-radius: 15px;
  position: sticky;
}

.legacy-page .legacy-article-aside strong {
  display: block;
  margin-bottom: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 9px;
}

.legacy-page .legacy-article-aside a {
  color: #343732;
  padding: 11px 0;
  border-top: 1px solid var(--legacy-line);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  display: block;
}

.legacy-page .legacy-article-aside .button {
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  padding-inline: 16px;
  border: 0;
}

.legacy-page .legacy-stamp-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.legacy-page .legacy-stamp-group {
  min-height: 300px;
  padding: clamp(24px, 2.7vw, 41px);
  background: #fffefa;
  border: 1px solid var(--legacy-line);
  border-radius: 16px;
}

.legacy-page .legacy-stamp-group h3 {
  margin: 0 0 19px;
  letter-spacing: -.04em;
  font-size: clamp(26px, 2.4vw, 39px);
  line-height: 1;
}

.legacy-page .legacy-stamp-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-page .legacy-stamp-group li {
  color: var(--legacy-muted);
  padding: 10px 0;
  border-top: 1px solid var(--legacy-line);
  font-size: 12px;
  line-height: 1.45;
}

.legacy-page .legacy-faq {
  max-width: 1200px;
  margin-inline: auto;
}

.legacy-page .legacy-faq details {
  border-top: 1px solid var(--legacy-line);
}

.legacy-page .legacy-faq details:last-child {
  border-bottom: 1px solid var(--legacy-line);
}

.legacy-page .legacy-faq summary {
  cursor: pointer;
  list-style: none;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
  letter-spacing: -.02em;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 720;
  display: grid;
}

.legacy-page .legacy-faq summary::-webkit-details-marker {
  display: none;
}

.legacy-page .legacy-faq summary span {
  width: 34px;
  height: 34px;
  color: #0c0e0d;
  background: var(--legacy-lime);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: transform .25s ease;
}

.legacy-page .legacy-faq details[open] summary span {
  transform: rotate(45deg);
}

.legacy-page .legacy-faq details p {
  max-width: 850px;
  margin: -5px 0 24px;
  color: var(--legacy-muted);
  font-size: 14px;
  line-height: 1.7;
}

.legacy-page .legacy-cta {
  margin: 0 18px 18px;
  padding: clamp(44px, 5vw, 76px) clamp(28px, 4.8vw, 82px);
  color: #0b0d0c;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .22), transparent 45%),
    var(--legacy-lime);
  border-radius: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.legacy-page .legacy-cta::after {
  content: "ТОП СИТИ";
  color: rgba(9, 11, 10, .07);
  letter-spacing: -.07em;
  font-size: clamp(80px, 13vw, 230px);
  font-weight: 900;
  line-height: .7;
  position: absolute;
  right: -10px;
  bottom: -16px;
}

.legacy-page .legacy-cta > * {
  z-index: 2;
  position: relative;
}

.legacy-page .legacy-cta span {
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}

.legacy-page .legacy-cta h2 {
  max-width: 1000px;
  margin: 13px 0 0;
  letter-spacing: -.052em;
  text-transform: uppercase;
  font-size: clamp(38px, 4.4vw, 73px);
  line-height: .96;
}

.legacy-page .legacy-cta-actions {
  min-width: 230px;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.legacy-page .legacy-cta-actions .button {
  color: white;
  background: #0a0c0b;
  border-color: #0a0c0b;
}

.legacy-page .legacy-cta-actions > a:last-child {
  color: #0a0c0b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
}

.legacy-page .legacy-card[hidden] {
  display: none;
}

.legacy-page .legacy-filter {
  flex-wrap: wrap;
  gap: 7px;
  margin: -22px 0 36px;
  display: flex;
}

.legacy-page .legacy-filter button {
  cursor: pointer;
  padding: 10px 14px;
  color: #3e403b;
  background: transparent;
  border: 1px solid var(--legacy-line);
  border-radius: 99px;
  font: inherit;
  font-size: 10px;
  font-weight: 760;
}

.legacy-page .legacy-filter button[aria-pressed="true"] {
  color: #0a0c0b;
  background: var(--legacy-lime);
  border-color: var(--legacy-lime);
}

@keyframes legacy-glint {
  0%, 12% { opacity: 0; transform: translateX(-130%) skewX(-16deg); }
  28%, 36% { opacity: .38; }
  54%, 100% { opacity: 0; transform: translateX(280%) skewX(-16deg); }
}

@media (width <= 1320px) {
  .legacy-page .legacy-hero {
    grid-template-columns: minmax(0, .98fr) minmax(340px, .7fr);
    gap: 32px;
  }

  .legacy-page .legacy-card-grid,
  .legacy-page .legacy-stamp-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 980px) {
  .legacy-page .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legacy-page .site-footer .footer-brand,
  .legacy-page .site-footer .footer-contacts {
    grid-column: auto;
  }

  .legacy-page .legacy-hero {
    min-height: auto;
    padding-block: 54px 32px;
    grid-template-columns: 1fr;
  }

  .legacy-page .legacy-hero-copy {
    max-width: 760px;
  }

  .legacy-page .legacy-hero-art {
    min-height: clamp(320px, 58vw, 520px);
  }

  .legacy-page .legacy-hero-frame {
    inset: 0;
  }

  .legacy-page .legacy-hero-note {
    right: 16px;
  }

  .legacy-page .legacy-heading,
  .legacy-page .legacy-showcase,
  .legacy-page .legacy-article-layout {
    grid-template-columns: 1fr;
  }

  .legacy-page .legacy-heading > p {
    max-width: 700px;
  }

  .legacy-page .legacy-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-page .legacy-step:nth-child(2) {
    border-right: 0;
  }

  .legacy-page .legacy-step:nth-child(n+3) {
    border-top-color: rgba(255, 255, 255, .12);
  }

  .legacy-page .legacy-article-aside {
    position: static;
  }
}

@media (width <= 680px) {
  .legacy-page .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-page .site-footer .footer-brand,
  .legacy-page .site-footer .footer-contacts {
    grid-column: 1 / -1;
  }

  .legacy-page .legacy-hero {
    width: calc(100% - 16px);
    margin: 0 8px;
    padding: 42px 17px 18px;
    gap: 25px;
    border-radius: 0 0 14px 14px;
  }

  .legacy-page .legacy-hero h1 {
    font-size: clamp(38px, 12.2vw, 55px);
    line-height: .95;
    letter-spacing: -.052em;
  }

  .legacy-page .legacy-kicker {
    gap: 9px;
    margin-bottom: 19px;
    font-size: 8px;
    letter-spacing: .12em;
  }

  .legacy-page .legacy-kicker::after {
    width: 30px;
  }

  .legacy-page .legacy-hero-lead {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.58;
  }

  .legacy-page .legacy-hero-actions {
    margin-top: 23px;
  }

  .legacy-page .legacy-hero-actions .button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .legacy-page .legacy-hero-art {
    min-height: 300px;
  }

  .legacy-page .legacy-hero-note {
    max-width: 190px;
    padding: 13px 15px;
    right: 10px;
    bottom: 10px;
  }

  .legacy-page .legacy-hero-note b {
    font-size: 22px;
  }

  .legacy-page .legacy-breadcrumb {
    width: calc(100% - 16px);
    min-height: 48px;
    padding-inline: 7px;
    white-space: nowrap;
    overflow-x: auto;
  }

  .legacy-page .legacy-section {
    padding: 58px 18px;
  }

  .legacy-page .legacy-heading {
    gap: 18px;
    margin-bottom: 31px;
  }

  .legacy-page .legacy-heading h2 {
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: .97;
  }

  .legacy-page .legacy-heading > p {
    font-size: 13px;
  }

  .legacy-page .legacy-card-grid,
  .legacy-page .legacy-stamp-groups,
  .legacy-page .legacy-spec-grid,
  .legacy-page .legacy-process {
    grid-template-columns: 1fr;
  }

  .legacy-page .legacy-card {
    min-height: 265px;
    padding: 23px;
  }

  .legacy-page .legacy-card h3 {
    font-size: 28px;
  }

  .legacy-page .legacy-showcase,
  .legacy-page .legacy-showcase-visual {
    min-height: 390px;
  }

  .legacy-page .legacy-showcase-copy {
    padding: 25px 22px;
  }

  .legacy-page .legacy-step,
  .legacy-page .legacy-step:nth-child(2) {
    min-height: 210px;
    border-right: 0;
  }

  .legacy-page .legacy-step h3 {
    margin-top: 48px;
  }

  .legacy-page .legacy-spec,
  .legacy-page .legacy-stamp-group {
    min-height: 0;
    padding: 24px 21px;
  }

  .legacy-page .legacy-article-body h2 {
    margin-top: 48px;
  }

  .legacy-page .legacy-article-body p,
  .legacy-page .legacy-article-body li {
    font-size: 14px;
  }

  .legacy-page .legacy-cta {
    margin: 0 8px 8px;
    padding: 39px 18px;
    border-radius: 14px;
    grid-template-columns: 1fr;
  }

  .legacy-page .legacy-cta h2 {
    font-size: clamp(35px, 10.8vw, 49px);
  }

  .legacy-page .legacy-cta-actions {
    width: 100%;
    min-width: 0;
    align-items: stretch;
  }

  .legacy-page .legacy-cta-actions .button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .legacy-page .legacy-filter {
    margin-top: -12px;
  }
}

@media (width <= 370px) {
  .legacy-page .legacy-hero h1 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legacy-page .legacy-glint {
    animation: none;
    opacity: .12;
  }

  .legacy-page .legacy-card {
    transition: none;
  }
}
