@font-face {
  font-family: 'Wix Madefor Text';
  src: url('/landing/product/wix-madefor-text-cyrillic.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171512;
  --muted: #625d56;
  --paper: #f5f2ec;
  --surface: #fffdf9;
  --line: #d8d2c8;
  --blue: #005ca8;
  --blue-soft: #d9edff;
  --peach: #f8ded4;
  --violet: #e8defa;
  --green: #1d7f51;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Wix Madefor Text', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: 0.2em; }
img { display: block; width: 100%; height: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 10px 14px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer, .articles-index, .article-page { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { font-size: 25px; font-weight: 900; letter-spacing: -0.06em; text-decoration: none; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.site-header a { font-size: 15px; font-weight: 700; text-decoration: none; }
.header-cta { padding: 10px 15px; border-radius: 10px; background: var(--ink); color: #fff; }
.index-hero { padding: 86px 0 58px; max-width: 860px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { margin: 0; font-size: clamp(44px, 7vw, 82px); }
.index-hero > p:last-child, .article-lead { max-width: 760px; color: var(--muted); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-bottom: 90px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.article-card__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.article-card__image img { height: 100%; object-fit: cover; transition: transform 180ms ease; }
.article-card__image:hover img { transform: scale(1.02); }
.article-card__body { padding: 24px; }
.article-card h2 { margin: 0 0 14px; font-size: 27px; }
.article-card h2 a { text-decoration: none; }
.article-card__body > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.55; }
.article-card__body > span { color: var(--muted); font-size: 14px; }
.article-card--peach .eyebrow { color: #b04424; }
.article-card--violet .eyebrow { color: #6846a5; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; padding: 28px 0 22px; color: var(--muted); font-size: 14px; }
.article-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 50px; border: 1px solid var(--line); border-radius: 28px; background: var(--blue-soft); }
.article-hero--peach { background: var(--peach); }
.article-hero--violet { background: var(--violet); }
.article-hero h1 { font-size: clamp(42px, 5.7vw, 72px); }
.article-meta { margin-top: 26px; color: var(--muted); font-size: 14px; }
.article-hero__image { overflow: hidden; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 64px; justify-content: center; align-items: start; padding: 76px 0; }
.article-page, .article-layout, .article-content, .related, .related-grid, .article-card { min-width: 0; }
.article-content { overflow-wrap: anywhere; }
.article-content h2 { margin: 68px 0 20px; font-size: clamp(32px, 4vw, 44px); scroll-margin-top: 24px; }
.article-content h2:first-of-type { margin-top: 44px; }
.article-content h3 { margin: 38px 0 12px; font-size: 25px; }
.article-content p, .article-content li { color: #34302b; }
.article-content li + li { margin-top: 12px; }
.article-answer { margin: 0; padding: 24px 26px; border-left: 5px solid var(--blue); border-radius: 0 12px 12px 0; background: #fff; font-size: 20px; }
.article-note { padding: 16px 18px; border-radius: 12px; background: #eee9e1; font-size: 15px; }
.example-grid { display: grid; gap: 16px; }
.example-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.example-card h3 { margin-top: 0; }
blockquote { margin: 22px 0; padding: 18px 22px; border-left: 4px solid var(--ink); background: var(--surface); color: #292621; }
.article-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; margin: 28px 0; overscroll-behavior-inline: contain; }
.article-table-wrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); font-size: 16px; }
th, td { padding: 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #ebe6de; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.decision-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.decision-strip span { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-align: center; font-size: 15px; font-weight: 700; }
.article-aside { position: sticky; top: 24px; padding: 24px; border-radius: 16px; background: var(--ink); color: #fff; }
.article-aside p { margin-top: 0; }
.article-aside a { display: block; margin: 20px 0 12px; padding: 12px 14px; border-radius: 9px; background: #fff; color: var(--ink); font-weight: 800; text-align: center; text-decoration: none; }
.article-aside small { color: #d4cec5; }
.article-sources { margin-top: 72px; padding-top: 12px; border-top: 1px solid var(--line); }
.article-sources li { overflow-wrap: anywhere; }
.article-sources p { color: var(--muted); font-size: 14px; }
.related { padding: 0 0 90px; }
.related > h2 { margin: 0 0 30px; font-size: 42px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.site-footer { display: flex; justify-content: space-between; gap: 40px; padding: 42px 0 54px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer p { max-width: 520px; margin-bottom: 0; }

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-card { display: grid; grid-template-columns: 0.8fr 1.2fr; }
  .article-hero { grid-template-columns: 1fr; padding: 34px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-aside { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .site-header, .site-footer, .articles-index, .article-page { width: min(100% - 28px, 1180px); }
  .site-header nav > a:not(.header-cta) { display: none; }
  .header-cta { padding: 9px 11px; }
  .index-hero { padding: 58px 0 40px; }
  .article-card { display: block; }
  .article-hero { padding: 24px 20px 30px; border-radius: 20px; }
  .article-hero__image { box-shadow: 5px 5px 0 var(--ink); }
  .article-layout { padding: 48px 0; }
  .article-content h2 { margin-top: 52px; }
  .decision-strip { grid-template-columns: 1fr; }
  .site-footer { display: block; }
  .site-footer nav { margin-top: 24px; align-items: flex-start; flex-direction: column; gap: 10px; }
}

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