:root {
  --page-bg: #f6f5f2;
  --article-bg: #ffffff;
  --text: #141414;
  --text-soft: #3d3d3d;
  --muted: #77716b;
  --line: rgba(20, 20, 20, 0.12);
  --accent: #ffd21e;
  --accent-hover: #f2c400;
  --focus: #1f5eff;
  --measure: 700px;
  --wide: 980px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-gap: clamp(28px, 5vw, 56px);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--page-bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #f9f8f5 0%, var(--page-bg) 360px),
    var(--page-bg);
  font-family: "YS Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.page {
  min-height: 100dvh;
  padding: 28px var(--gutter) 64px;
}

.article-shell {
  width: min(100%, var(--wide));
  margin: 0 auto;
}

.article-card {
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.07);
  border-radius: 20px;
  background: var(--article-bg);
  box-shadow: 0 24px 70px rgba(24, 24, 24, 0.08);
}

.article-inner {
  width: min(100%, calc(var(--measure) + var(--gutter) * 2));
  margin: 0 auto;
  padding: 46px var(--gutter) 56px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "YS Display", "YS Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 40px;
  font-weight: 650;
  line-height: 1.12;
}

h2 {
  margin-top: var(--section-gap);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.28;
}

h3 {
  margin-top: calc(var(--section-gap) * 0.75);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.35;
}

p {
  margin: 18px 0 0;
}

strong {
  font-weight: 650;
}

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

.lead {
  color: var(--text-soft);
}

.article-list,
.intro-list {
  margin: 18px 0 0;
  padding-left: 1.45em;
}

.article-list > li,
.intro-list > li {
  margin: 12px 0 0;
  padding-left: 0.42em;
}

.article-list > li::marker,
.intro-list > li::marker {
  color: var(--text-soft);
  font-family: inherit;
  font-size: 1em;
  font-weight: 400;
}

.intro-list {
  list-style: none;
  padding: 0;
}

.intro-list > li {
  position: relative;
  padding-left: 1.45em;
}

.intro-list > li::before {
  content: "—";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--text-soft);
  font-weight: 400;
}

.nested-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.nested-list li {
  position: relative;
  margin: 6px 0 0;
  padding-left: 1.5em;
  color: var(--text-soft);
}

.nested-list li::before {
  content: attr(data-marker);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 1em;
  font-weight: 400;
}

.proof-stack {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.proof-shot {
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 16px;
  background: #fbfaf7;
  box-shadow: 0 10px 26px rgba(20, 20, 20, 0.07);
}

.proof-shot img {
  width: 100%;
  border-radius: 10px;
  background: #f3efe7;
}

.article-quote {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: #fbfaf7;
  color: var(--text);
  font-size: 1em;
  line-height: 1.62;
}

.article-quote p {
  margin: 0;
}

.case-caption {
  margin: 12px 0 0;
  padding: 11px 14px 12px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: #fbfaf7;
  color: #514b43;
  font-family: "YS Text", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(14.5px, 2.1vw, 16px);
  line-height: 1.55;
}

.case-caption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-family: "YS Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.98em;
  font-weight: 650;
}

.final-cta {
  margin-top: 36px;
}

.final-cta p {
  max-width: 620px;
}

.cta-button {
  display: inline-flex;
  min-height: 52px;
  margin-top: 22px;
  padding: 15px 24px 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #111111;
  box-shadow: 0 10px 22px rgba(170, 135, 0, 0.18);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.cta-button:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 28px rgba(170, 135, 0, 0.22);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-arrow {
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.cta-note {
  color: var(--text-soft);
}

.article-footer {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 20, 20, 0.13);
  color: rgba(119, 113, 107, 0.5);
  font-size: 13px;
  line-height: 1.55;
}

.article-footer p {
  margin-top: 8px;
}

.article-footer p:first-child {
  margin-top: 0;
}

.article-footer a {
  color: inherit;
  text-decoration-color: rgba(119, 113, 107, 0.28);
  text-underline-offset: 3px;
}

@media (max-width: 760px) {body {
    font-size: 17px;
    line-height: 1.68;
  }

  .page {
    padding: 0 0 44px;
  }

  .article-shell {
    width: 100%;
  }

  .article-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .article-inner {
    padding: 30px var(--gutter) 44px;
  }

  h1 {
    font-size: 29px;
    line-height: 1.13;
  }

  h2 {
    margin-top: 40px;
    font-size: 22px;
    line-height: 1.25;
  }

  h3 {
    margin-top: 30px;
    font-size: 19px;
    line-height: 1.35;
  }

  .cta-button {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
  }

  .proof-shot {
    width: min(100%, 360px);
    padding: 7px;
  }}

@media (max-width: 380px) {body {
    font-size: 16px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 18px;
  }}

@media (prefers-reduced-motion: reduce) {*,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page > .article-footer {
  width: min(100%, var(--wide));
  margin: 18px auto 0;
  padding: 22px var(--gutter);
  border-top: 0;
}

.page > .article-footer::before {
  display: block;
  width: min(78%, var(--measure));
  height: 1px;
  margin: -22px auto 22px;
  background: rgba(20, 20, 20, 0.055);
  content: "";
}

.article-footer__contacts,
.article-footer__contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

.article-footer__contacts {
  justify-content: space-between;
  margin-top: 14px;
  font-style: normal;
}
