/* Editorial articles. All rules are scoped to am-page; no homepage dependencies. */
@font-face {
  font-family: AMManrope;
  src: url('/assets/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: AMManrope;
  src: url('/assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
.am-page {
  --am-ink: #1d1d1f;
  --am-muted: #626269;
  --am-surface: #f5f5f7;
  --am-line: #e7e7eb;
  --am-copper: #af613c;
  --am-link: #92502f;
  --am-green: #44846f;
  --am-ease: cubic-bezier(.16,1,.3,1);
  margin: 0;
  background: #fff;
  color: var(--am-ink);
  font-family: AMManrope, Manrope, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.am-page *, .am-page *::before, .am-page *::after { box-sizing: border-box; }
.am-page [hidden] { display: none !important; }
.am-page :where(h1,h2,h3,h4,p,figure,blockquote,ul,ol,dl) { margin: 0; }
.am-page :where(h1,h2,h3,h4) { color: var(--am-ink); text-wrap: balance; }
.am-page :where(p,li,dd) { text-wrap: pretty; overflow-wrap: break-word; }
.am-page :where(a,button,summary,input) { -webkit-tap-highlight-color: transparent; }
.am-page a { color: var(--am-link); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.am-page a:hover { text-decoration-thickness: 2px; }
.am-page :where(a,button,summary,input,select,textarea,[tabindex]):focus-visible {
  outline: 3px solid #ba704f;
  outline-offset: 5px;
}
.am-page :where(button,input,select,textarea) { font: inherit; }
.am-page img { display: block; max-width: 100%; height: auto; }
.am-page svg { flex: none; }
.am-page :where(section,h2,h3,[id]) { scroll-margin-top: 32px; }
.am-page .am-container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.am-page .am-skip, .am-page .am-skip-link {
  position: fixed; top: 12px; left: 16px; z-index: 100;
  padding: 12px 20px; background: #fff; border: 1px solid var(--am-ink);
  border-radius: 12px; transform: translateY(-200%);
}
.am-page .am-skip:focus, .am-page .am-skip-link:focus { transform: none; }
.am-page .am-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 24px; border-bottom: 1px solid var(--am-line);
}
.am-page .am-brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.am-page .am-brand img { width: 164px; height: auto; }
.am-page .am-header nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.am-page .am-header nav a { font-size: 13px; font-weight: 600; padding-block: 10px; text-decoration: none; }
.am-page .am-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 24px; color: var(--am-muted); font-size: 12px; line-height: 1.6; }
.am-page .am-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; padding: 0; }
.am-page .am-breadcrumbs li + li::before { content: '/'; margin-right: 12px; color: #8a8a91; }
.am-page .am-breadcrumbs a { color: inherit; }
.am-page .am-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 40px; align-items: center; padding-block: 48px 56px; }
.am-page .am-kicker { color: var(--am-link); font-size: 12px; font-weight: 650; letter-spacing: .04em; line-height: 1.5; margin-bottom: 16px; }
.am-page .am-hero h1 { font-size: clamp(36px,3.5vw,52px); line-height: 1.12; font-weight: 650; letter-spacing: -.045em; }
.am-page .am-lead { max-width: 800px; margin-top: 24px; font-size: 20px; line-height: 1.6; color: var(--am-muted); }
.am-page .am-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 24px; font-size: 12px; color: var(--am-muted); }
.am-page .am-hero-visual { margin-top: 0; max-width: 800px; }
.am-page .am-hero-visual picture { display: block; }
.am-page .am-hero-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 28px; background: var(--am-surface); }
.am-page .am-hero-visual figcaption { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--am-muted); }
.am-page .am-layout { display: grid; grid-template-columns: 240px minmax(0,800px); gap: 64px; align-items: start; padding-bottom: 96px; }
.am-page .am-toc { position: sticky; top: 24px; min-width: 0; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 16px 0; }
.am-page .am-toc summary { cursor: pointer; font-size: 14px; font-weight: 650; padding-block: 10px; }
.am-page .am-toc ol { list-style: none; padding: 12px 0 0; }
.am-page .am-toc li + li { margin-top: 4px; }
.am-page .am-toc a { display: block; color: var(--am-muted); font-size: 13px; line-height: 1.5; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.am-page .am-toc a:hover, .am-page .am-toc a[aria-current='location'] { background: var(--am-surface); color: var(--am-ink); }
.am-page .am-article { min-width: 0; }
.am-page .am-section + .am-section { margin-top: 64px; }
.am-page .am-section > :where(p,ul,ol,dl,blockquote,figure,div,details) + :where(p,ul,ol,dl,blockquote,figure,div,details) { margin-top: 24px; }
.am-page .am-article h2 { font-size: clamp(30px,2.8vw,40px); line-height: 1.18; letter-spacing: -.04em; font-weight: 650; margin-bottom: 24px; }
.am-page .am-article h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.025em; font-weight: 650; margin-top: 32px; margin-bottom: 16px; }
.am-page .am-article h4 { font-size: 18px; line-height: 1.4; font-weight: 650; margin-bottom: 12px; }
.am-page .am-article p + p { margin-top: 20px; }
.am-page .am-article :where(ul,ol) { padding-left: 24px; }
.am-page .am-article li + li { margin-top: 10px; }
.am-page .am-article li::marker { color: var(--am-copper); }
.am-page .am-article strong { font-weight: 650; }
.am-page .am-answer { padding: 28px 32px; background: var(--am-surface); border-radius: 24px; margin-bottom: 48px; }
.am-page .am-answer h2, .am-page .am-answer h3 { font-size: 20px; line-height: 1.4; margin: 0 0 12px; letter-spacing: -.02em; }
.am-page .am-answer p { font-size: 17px; }
.am-page .am-callout { padding: 24px 28px; border: 1px solid var(--am-line); border-radius: 20px; background: #fafafc; }
.am-page .am-callout > :first-child { margin-top: 0; }
.am-page .am-callout h3 { font-size: 20px; margin-bottom: 12px; }
.am-page .am-callout p { font-size: 16px; }
.am-page .am-steps { list-style: none; padding: 0; counter-reset: am-step; }
.am-page .am-steps > li { position: relative; counter-increment: am-step; padding: 24px 0 24px 60px; border-bottom: 1px solid var(--am-line); margin: 0; }
.am-page .am-steps > li:first-child { padding-top: 4px; }
.am-page .am-steps > li:last-child { border-bottom: 0; padding-bottom: 0; }
.am-page .am-steps > li::before { content: counter(am-step,decimal-leading-zero); position: absolute; left: 0; top: 24px; font-size: 14px; font-weight: 600; color: var(--am-copper); line-height: 30px; }
.am-page .am-steps > li:first-child::before { top: 4px; }
.am-page .am-steps h3 { margin: 0 0 12px; }
.am-page .am-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--am-line); border-radius: 18px; overscroll-behavior-inline: contain; }
.am-page .am-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.65; }
.am-page .am-table caption { padding: 18px 20px; text-align: left; font-size: 15px; font-weight: 650; color: var(--am-ink); background: #fff; }
.am-page .am-table :where(th,td) { padding: 18px 20px; vertical-align: top; border-top: 1px solid var(--am-line); overflow-wrap: break-word; min-width: 140px; }
.am-page .am-table thead { background: var(--am-surface); }
.am-page .am-table th { color: var(--am-ink); font-weight: 650; }
.am-page .am-table tbody th { width: 28%; }
.am-page .am-table p + p { margin-top: 8px; }
.am-page .am-table ul { padding-left: 18px; }
.am-page .am-table-hint { display: none; font-size: 12px; font-weight: 400; color: var(--am-muted); margin-top: 8px; }
.am-page .am-figure { margin-block: 32px; }
.am-page .am-figure picture { display: block; }
.am-page .am-figure img { width: 100%; border-radius: 24px; background: var(--am-surface); }
.am-page .am-figure figcaption { font-size: 12px; line-height: 1.6; color: var(--am-muted); margin-top: 12px; max-width: 72ch; }
.am-page .am-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 24px; border-radius: 24px; background: var(--am-surface); list-style: none; }
.am-page .am-article .am-flow > li { margin: 0; padding: 20px; border: 1px solid #e7e7eb; border-radius: 18px; background: #fff; font-size: 14px; line-height: 1.6; min-width: 0; }
.am-page .am-flow strong { display: block; margin-bottom: 8px; }
.am-page .am-flow .am-human { background: #edf4f0; border-color: #d0e0d6; }
.am-page .am-expert { padding: 28px 32px; border-left: 3px solid var(--am-copper); background: #faf6f2; border-radius: 0 22px 22px 0; }
.am-page .am-expert h3 { margin-top: 0; font-size: 23px; }
.am-page .am-expert .am-kicker { margin-bottom: 12px; }
.am-page .am-benefit { padding: 20px 24px; border-radius: 18px; background: #edf4f0; color: #244f41; font-size: 16px; }
.am-page .am-benefit strong { display: block; margin-bottom: 6px; }
.am-page .am-product { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; padding: 36px; border-radius: 30px; background: var(--am-surface); margin-top: 64px; }
.am-page .am-product h2 { font-size: 32px; margin-bottom: 20px; }
.am-page .am-product-copy { min-width: 0; }
.am-page .am-product-copy > :first-child { margin-top: 0; }
.am-page .am-product-copy p { font-size: 16px; }
.am-page .am-product-visual { min-width: 0; }
.am-page .am-product-visual img { width: 100%; border-radius: 22px; }
.am-page .am-product .am-figure { margin: 0; }
.am-page .am-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.am-page .am-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 14px;
  background: #242426; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background .22s var(--am-ease),transform .22s var(--am-ease);
}
.am-page .am-button:hover { background: #3d3d41; text-decoration: none; }
.am-page .am-button:active { transform: scale(.98); }
.am-page .am-header nav .am-button-small { min-height: 44px; padding: 10px 16px; font-size: 12px; }
.am-page .am-final-cta { background: #f3f3f5; }
.am-page .am-button-secondary { color: var(--am-ink); background: #fff; border-color: #d8d8dd; }
.am-page .am-button-secondary:hover { background: #eaeaee; }
.am-page .am-actions > a:not(.am-button) { font-size: 14px; }
.am-page .am-faq details { border-bottom: 1px solid var(--am-line); padding-block: 8px; }
.am-page .am-faq summary { cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.5; padding-block: 16px; }
.am-page .am-faq details > :not(summary) { font-size: 16px; padding-bottom: 16px; }
.am-page .am-related { border-top: 1px solid var(--am-line); padding-top: 32px; margin-top: 56px; }
.am-page .am-related h2 { font-size: 24px; }
.am-page .am-related ul { list-style: none; padding: 0; }
.am-page .am-related a { display: inline-block; padding-block: 8px; }
.am-page .am-sources { margin-top: 40px; font-size: 13px; color: var(--am-muted); }
.am-page .am-sources h2 { font-size: 20px; }
.am-page .am-footer { padding-block: 32px; border-top: 1px solid var(--am-line); color: var(--am-muted); font-size: 12px; }
.am-page .am-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; }
.am-page .am-footer a { color: inherit; }
.am-page .am-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 1200px) {
  .am-page .am-product:has(.am-product-visual) { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: center; }
}
@media (max-width: 1100px) {
  .am-page .am-layout { grid-template-columns: 200px minmax(0,1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .am-page .am-layout { grid-template-columns: minmax(0,1fr); gap: 40px; max-width: 800px; }
  .am-page .am-toc { position: static; max-height: none; overflow: visible; border: 1px solid var(--am-line); border-radius: 18px; padding: 12px 20px; }
  .am-page .am-toc ol { padding-top: 4px; }
  .am-page .am-toc a { padding-inline: 0; }
  .am-page .am-toc a:hover { background: transparent; color: var(--am-link); }
  .am-page .am-toc summary { padding-block: 8px; min-height: 44px; }
  .am-page .am-hero { grid-template-columns: minmax(0,1fr); gap: 28px; padding-bottom: 40px; }
  .am-page .am-hero-visual { max-width: 620px; }
}
@media (max-width: 600px) {
  .am-page { font-size: 16px; line-height: 1.75; }
  .am-page .am-container { width: calc(100% - 40px); }
  .am-page .am-header { padding-block: 16px; gap: 16px; align-items: center; }
  .am-page .am-brand img { width: 140px; }
  .am-page .am-header nav { gap: 8px 12px; justify-content: flex-end; }
  .am-page .am-header nav a { font-size: 12px; }
  .am-page .am-header nav .am-button-small { padding: 10px 12px; font-size: 11px; }
  .am-page .am-breadcrumbs { padding-top: 20px; font-size: 11px; }
  .am-page .am-hero { padding-top: 32px; padding-bottom: 32px; }
  .am-page .am-hero h1 { font-size: clamp(32px,8.5vw,44px); line-height: 1.13; letter-spacing: -.045em; overflow-wrap: break-word; }
  .am-page .am-lead { font-size: 17px; line-height: 1.65; margin-top: 20px; }
  .am-page .am-meta { margin-top: 20px; gap: 6px 16px; }
  .am-page .am-hero-visual { margin-top: 0; }
  .am-page .am-hero-visual img { border-radius: 22px; }
  .am-page .am-layout { gap: 32px; padding-bottom: 56px; }
  .am-page .am-section + .am-section { margin-top: 48px; }
  .am-page .am-article h2 { font-size: 28px; line-height: 1.2; margin-bottom: 20px; }
  .am-page .am-article h3 { font-size: 21px; }
  .am-page .am-answer { padding: 24px; border-radius: 22px; margin-bottom: 40px; }
  .am-page .am-answer h2, .am-page .am-answer h3 { font-size: 19px; margin-bottom: 12px; }
  .am-page .am-answer p { font-size: 16px; }
  .am-page .am-callout { padding: 20px; }
  .am-page .am-expert { padding: 24px 20px; }
  .am-page .am-expert h3 { font-size: 21px; }
  .am-page .am-benefit { padding: 20px; }
  .am-page .am-callout h3 { font-size: 19px; }
  .am-page .am-steps > li { padding-left: 40px; }
  .am-page .am-table :where(th,td) { padding: 14px 16px; }
  .am-page .am-table { font-size: 13px; }
  .am-page .am-table caption { padding: 16px; font-size: 14px; }
  .am-page .am-table-hint { display: block; }
  .am-page .am-figure { margin-block: 28px; }
  .am-page .am-figure img { border-radius: 20px; }
  .am-page .am-flow { grid-template-columns: minmax(0,1fr); padding: 16px; gap: 12px; }
  .am-page .am-flow > li { padding: 18px; }
  .am-page .am-product { padding: 24px; margin-top: 48px; border-radius: 24px; }
  .am-page .am-product h2 { font-size: 27px; }
  .am-page .am-actions { align-items: stretch; gap: 14px; }
  .am-page .am-actions .am-button { width: 100%; }
  .am-page .am-faq summary { font-size: 16px; }
  .am-page .am-related h2 { font-size: 23px; }
}
@media (max-width: 380px) {
  .am-page .am-container { width: calc(100% - 32px); }
  .am-page .am-brand img { width: 124px; }
  .am-page .am-header nav { max-width: 150px; }
  .am-page .am-answer, .am-page .am-product { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-page *, .am-page *::before, .am-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-contrast: more) {
  .am-page { --am-muted: #494950; --am-line: #aaaab2; --am-link: #754024; }
}
@media print {
  .am-page { font-size: 11pt; color: #000; }
  .am-page .am-container { width: 100%; max-width: none; }
  .am-page :where(.am-header,.am-toc,.am-actions,.am-footer,.am-skip,.am-skip-link) { display: none; }
  .am-page .am-layout { display: block; padding: 0; }
  .am-page .am-hero { padding-block: 20px; }
  .am-page .am-hero h1 { font-size: 28pt; }
  .am-page .am-table-wrap { overflow: visible; }
  .am-page :where(h2,h3,figure) { break-after: avoid; }
  .am-page tr { break-inside: avoid; }
}
