@font-face {
  font-family: "Forum";
  src: url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/files/TSZrEK7VaEm3XmMWYsVj2g.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/files/RZKohTnLoEuw_ANRxKOFnA.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/files/qQRc-ztyzUO9iS7ZO5ZT0A.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/files/yfMpms4s2U6azP41siSNWQ.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/files/_-7IOV60AEydBiv7BLJN5A.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #030e1f;
  --bg-deep: #000204;
  --text: #ffffff;
  --text-soft: #e5e7eb;
  --text-muted: #cbd5e1;
  --gold: #f8ecb3;
  --gold-text: linear-gradient(318deg, #f8ecb3 0%, #fff7d2 50.01%, #f8ecb3 100%);
  --stroke: rgba(255, 255, 255, 0.18);
  --panel-stroke: rgba(248, 236, 179, 0.24);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 17%, rgba(248, 236, 179, 0.08), transparent 12%),
    radial-gradient(circle at 84% 14%, rgba(248, 236, 179, 0.08), transparent 11%),
    linear-gradient(180deg, #061224 0%, #030e1f 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.article-page {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.article-body {
  width: min(100%, 832px);
  margin: 0 auto;
}

.article-section {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 42px 44px 46px;
  border: 1px solid var(--panel-stroke);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(241, 232, 208, 0.12), rgba(255, 255, 255, 0.035) 46%, rgba(248, 236, 179, 0.09)),
    rgba(16, 28, 45, 0.78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.article-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(248, 236, 179, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(248, 236, 179, 0.16), transparent 32%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.article-section::after {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 210, 0.75), transparent);
}

.article-section > * {
  position: relative;
  z-index: 1;
}

.article-section--lead {
  margin-top: 0;
}

.final-key-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.final-key-card__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(248, 236, 179, 0.55);
}

.article-section h1,
.article-section h2 {
  margin: 0 0 22px;
  font-family: "Forum", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  background: var(--gold-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.article-section h1 {
  max-width: 650px;
  font-size: 48px;
  line-height: 1.04;
}

.article-section h2 {
  max-width: 720px;
  font-size: 40px;
  line-height: 1.08;
}

.article-lead {
  margin: 0 0 18px;
  font-family: "Forum", Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  color: #fff7d2;
}

.article-intro {
  max-width: 680px;
  color: var(--text-muted);
}

.article-section p,
.article-section li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.68;
  color: var(--text-soft);
}

.article-section p {
  margin: 0 0 18px;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-section h3,
.comparison-card h4 {
  margin: 26px 0 12px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.article-section strong {
  font-weight: 600;
  color: #ffffff;
}

.article-note {
  margin: 24px 0 26px;
  padding: 22px 24px;
  border: 1px solid rgba(248, 236, 179, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(248, 236, 179, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.article-note h3 {
  margin-top: 0;
}

.article-image {
  margin: 26px 0 28px;
}

.article-image--wide {
  width: 100%;
}

.article-image--side {
  margin: 0;
}

.article-image img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(241, 232, 208, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  background: rgba(6, 18, 36, 0.35);
}

.article-media-split {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 26px;
}

.article-media-split__content > :last-child {
  margin-bottom: 0;
}

.article-quote {
  margin: 26px 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.article-quote p {
  color: #ffffff;
}

.article-quote p:last-child {
  margin-bottom: 0;
}

.article-quote--closing {
  background:
    radial-gradient(circle at top left, rgba(248, 236, 179, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.article-list {
  margin: 0 0 22px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.article-list li {
  margin: 0;
}

.article-list--arrows {
  padding-left: 0;
  list-style: none;
}

.article-list--arrows li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.article-list--arrows li::before {
  content: "→";
  color: #fff7d2;
  line-height: 1.68;
}

.article-key-list {
  display: grid;
  gap: 14px;
  margin: 6px 0 26px;
}

.article-key-list__item {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.article-key-list__item h3 {
  margin: 0 0 8px;
  color: #fff7d2;
}

.article-key-list__item p {
  margin: 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 12px 0 28px;
}

.comparison-card {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(248, 236, 179, 0.16);
  background:
    linear-gradient(180deg, rgba(248, 236, 179, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.028);
}

.comparison-card h4 {
  margin-top: 0;
  color: #fff7d2;
  text-transform: uppercase;
}

.article-link {
  color: #fff7d2;
  text-decoration: underline;
  text-decoration-color: rgba(248, 236, 179, 0.46);
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.article-link:hover,
.article-link:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.75);
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 40px max(24px, calc((100vw - 1200px) / 2 + 89px)) 44px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  background: var(--bg-deep);
}

.site-footer__brand {
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 21px;
  height: 20px;
  border-radius: 5px;
  background:
    center / cover no-repeat url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/images/CuR-igL7ckC70tht05EKyA.png"),
    var(--gold-text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-text {
  font-family: "Forum", Georgia, serif;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.5px;
}

.brand--footer {
  margin-bottom: 28px;
}

.site-footer__brand p,
.site-footer__links a {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.site-footer__links {
  display: grid;
  gap: 2px;
  max-width: 525px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.7);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(248, 236, 179, 0.85);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .article-page {
    padding: 44px 24px 64px;
  }

  .site-footer {
    padding: 36px 24px 40px;
  }
}

@media (max-width: 780px) {
  .article-page {
    padding: 28px 16px 52px;
  }

  .article-body {
    width: 100%;
  }

  .article-section {
    margin-top: 22px;
    padding: 30px 20px 34px;
    border-radius: 16px;
  }

  .article-section::after {
    left: 20px;
    right: 20px;
  }

  .article-section h1 {
    font-size: 34px;
  }

  .article-section h2 {
    font-size: 30px;
  }

  .article-lead {
    font-size: 22px;
  }

  .article-intro {
    max-width: none;
  }

  .article-section p,
  .article-section li {
    font-size: 16px;
    line-height: 1.6;
  }

  .article-image {
    margin: 22px 0 24px;
  }

  .article-media-split {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 22px;
  }

  .article-image--side {
    margin: 0 0 4px;
  }

  .article-quote {
    margin: 22px 0;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .article-note {
    margin: 20px 0 22px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .article-list {
    padding-left: 18px;
  }

  .article-list--arrows {
    padding-left: 0;
  }

  .article-list--arrows li {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
  }

  .article-key-list__item,
  .comparison-card {
    padding: 16px;
    border-radius: 14px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-footer {
    flex-direction: column;
    padding: 36px 20px 40px;
  }

  .site-footer__links {
    max-width: none;
  }
}
