@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/seo/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/seo/fonts/jetbrains-mono-cyrillic-wght-normal.woff2') format('woff2-variations');
}

:root {
  color-scheme: light;
  --canvas: #f5f4ef;
  --surface: #fbfaf7;
  --white: #fff;
  --ink: #121419;
  --muted: #69717f;
  --line: rgb(18 20 25 / 11%);
  --line-strong: rgb(18 20 25 / 20%);
  --blue: #175cff;
  --blue-soft: #e9f0ff;
  --green: #178951;
  --green-soft: #e8f8ef;
  --orange: #a9562e;
  --orange-soft: #fff1e9;
  --hero: #11171c;
  --hero-raised: #182027;
  --hero-line: rgb(255 255 255 / 11%);
  --page: min(1320px, calc(100vw - 48px));
  --sans: 'Manrope Variable', Manrope, system-ui, sans-serif;
  --mono: 'JetBrains Mono Variable', ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 80% 0, rgb(23 92 255 / 8%), transparent 30rem), var(--canvas);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
h1, h2, h3, p, dl { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 104px; }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 3px solid rgb(23 92 255 / 32%); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-160%); border-radius: 10px; color: #fff; background: var(--ink); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 100; top: 12px; height: 72px; pointer-events: none; }
.header-inner { display: flex; width: var(--page); min-height: 64px; margin: 0 auto; padding: 8px 10px 8px 16px; align-items: center; gap: 28px; border: 1px solid rgb(18 20 25 / 10%); border-radius: 18px; background: rgb(255 255 255 / 92%); box-shadow: 0 12px 40px rgb(18 20 25 / 8%); backdrop-filter: blur(18px); pointer-events: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.wordmark-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #fff; background: var(--blue); font: 800 17px/1 var(--mono); }
.wordmark-context { padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font: normal 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; min-width: 0; align-items: center; gap: 4px; }
.main-nav > a, .header-login { padding: 10px 13px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 640; white-space: nowrap; transition: color 160ms ease, background-color 160ms ease; }
.main-nav > a:hover, .header-login:hover { color: var(--ink); background: rgb(18 20 25 / 5%); }
.main-nav > a[aria-current='page'] { color: var(--ink); background: rgb(18 20 25 / 6%); }
.header-actions { display: flex; margin-left: auto; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 50px; padding: 0 20px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 760; }
.button-small { min-height: 44px; padding-inline: 16px; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 9px 24px rgb(23 92 255 / 22%); }
.button-primary:hover { background: #0d4fe8; }
.button-ghost { border-color: rgb(255 255 255 / 18%); color: #fff; background: rgb(255 255 255 / 5%); }

main { width: var(--page); margin: 0 auto; padding-top: 32px; }
.breadcrumbs { display: flex; margin: 16px 2px 18px; align-items: center; gap: 9px; color: var(--muted); font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--blue); }
.price-hero { display: grid; overflow: hidden; grid-template-columns: 1.2fr .8fr; min-height: 610px; border-radius: 28px; color: #fff; background: var(--hero); box-shadow: 0 28px 80px rgb(18 20 25 / 14%); }
.hero-copy { display: flex; min-height: 610px; padding: 62px 58px 56px; flex-direction: column; align-items: flex-start; }
.eyebrow, .section-label { margin-bottom: 34px; color: #a9b7c7; font: 750 10px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #55df94; box-shadow: 0 0 0 5px rgb(85 223 148 / 10%); }
.hero-copy h1 { max-width: 760px; margin-bottom: 30px; font-size: clamp(54px, 6vw, 88px); font-weight: 580; line-height: .91; letter-spacing: -.065em; }
.hero-answer { max-width: 720px; margin-bottom: 34px; color: #c6d0da; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.58; }
.hero-answer strong { color: #fff; font-weight: 670; }
.hero-actions { display: flex; margin-top: auto; gap: 10px; }
.price-summary { display: grid; margin: 0; border-left: 1px solid var(--hero-line); background: var(--hero-raised); }
.price-summary > div { display: flex; min-height: 152px; padding: 30px 34px; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--hero-line); }
.price-summary > div:last-child { border-bottom: 0; }
.price-summary dt { margin-bottom: 7px; color: #8d9aaa; font: 700 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.price-summary dd { margin: 0 0 6px; font-size: 40px; font-weight: 630; letter-spacing: -.045em; }
.price-summary small { color: #aab5c1; }

.calculator-section { display: grid; margin-top: 110px; grid-template-columns: minmax(0, .75fr) minmax(520px, 1.25fr); gap: 64px; align-items: start; }
.calculator-copy { padding-top: 20px; }
.calculator-copy h2 { margin-bottom: 22px; font-size: clamp(40px, 4.2vw, 64px); font-weight: 570; line-height: .99; letter-spacing: -.055em; }
.calculator-copy > p:last-child { max-width: 560px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.cost-calculator { padding: 30px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--white); box-shadow: 0 18px 50px rgb(18 20 25 / 6%); }
.cost-calculator label { display: block; color: var(--muted); font-size: 13px; font-weight: 680; }
.cost-calculator select, .cost-calculator input { width: 100%; height: 52px; margin-top: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: #f8f8f5; font: 600 14px/1 var(--sans); font-variant-numeric: tabular-nums; }
.cost-calculator select:focus, .cost-calculator input:focus { border-color: rgb(23 92 255 / 55%); box-shadow: 0 0 0 4px rgb(23 92 255 / 8%); }
.calculator-inputs { display: grid; margin-top: 20px; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calculation-results { display: grid; overflow: hidden; margin-top: 22px; grid-template-columns: 1fr 1fr; border-radius: 17px; color: #214484; background: var(--blue-soft); }
.calculation-results > div { padding: 24px; }
.calculation-results > div + div { border-left: 1px solid rgb(23 92 255 / 14%); }
.calculation-results span, .calculation-results strong { display: block; }
.calculation-results span { font: 700 10px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.calculation-results strong { margin-top: 13px; color: var(--blue); font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.cost-calculator > p { margin: 18px 0 0; color: #435374; font-size: 13px; font-weight: 650; }
.cost-calculator > small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.formula-section { display: grid; margin-top: 110px; grid-template-columns: 1fr 1fr; gap: 24px; }
.formula-section > *, .formula-card { min-width: 0; }
.section-label { margin-bottom: 16px; color: var(--blue); }
.formula-section h2, .section-heading h2, .rules-section h2, .faq-section h2, .source-section h2, .final-cta h2 { margin-bottom: 18px; font-size: clamp(40px, 4.2vw, 64px); font-weight: 570; line-height: .99; letter-spacing: -.055em; }
.formula-section > div:first-child p:last-child, .section-heading > p { max-width: 610px; color: var(--muted); font-size: 17px; }
.formula-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.formula-card code { display: block; overflow-x: auto; margin-bottom: 22px; padding: 18px; border-radius: 12px; color: #d7e3ff; background: var(--hero); font-size: 13px; white-space: nowrap; }
.formula-card p { margin-bottom: 0; color: var(--muted); }
.example-grid { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.example-grid article { min-height: 170px; padding: 28px 24px; border-left: 1px solid var(--line); }
.example-grid article:first-child { border-left: 0; }
.example-grid span { display: block; margin-bottom: 18px; color: var(--muted); font: 700 11px/1.2 var(--mono); text-transform: uppercase; }
.example-grid strong { display: block; margin-bottom: 6px; font-size: 33px; font-weight: 620; letter-spacing: -.04em; }
.example-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.tables-section { margin-top: 125px; }
.section-heading { display: grid; margin-bottom: 42px; grid-template-columns: 1fr .8fr; gap: 34px; align-items: end; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 5px; }
.section-heading a, .table-intro a, .rules-section a, .source-section a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.table-block { overflow: hidden; margin-top: 24px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--white); box-shadow: 0 18px 50px rgb(18 20 25 / 5%); }
.table-intro { display: flex; padding: 26px 30px; align-items: baseline; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.table-intro h3 { margin-bottom: 0; font-size: 24px; font-weight: 670; letter-spacing: -.035em; }
.table-intro p { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
caption { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); white-space: nowrap; }
thead { color: var(--muted); background: #f8f8f5; font: 700 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
th, td { padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:target { background: var(--blue-soft); }
tbody th { width: 36%; font-weight: 400; }
tbody th strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; }
tbody th strong a:hover { color: var(--blue); }
tbody th code { color: var(--muted); font-size: 11px; }
tbody td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.image-pricing-matrix { width: 34%; white-space: normal; }
.image-pricing-matrix details { min-width: 250px; }
.image-pricing-matrix summary { width: fit-content; padding: 7px 10px; border-radius: 8px; list-style: none; color: var(--blue); background: var(--blue-soft); font-size: 12px; font-weight: 720; cursor: pointer; }
.image-pricing-matrix summary::-webkit-details-marker { display: none; }
.image-pricing-matrix summary::after { content: ' +'; }
.image-pricing-matrix details[open] summary::after { content: ' −'; }
.image-pricing-matrix details > div { display: grid; margin-top: 12px; gap: 7px; }
.image-pricing-matrix [data-image-price-option] { display: grid; grid-template-columns: 82px 1fr auto; gap: 10px; align-items: baseline; color: var(--muted); font-size: 11px; }
.image-pricing-matrix [data-image-price-option] code { color: var(--ink); font-size: 10px; }
.image-pricing-matrix [data-image-price-option] strong { color: var(--ink); font-size: 12px; }
.qualified-note { margin: 0; padding: 18px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; background: var(--orange-soft); }

.rules-section, .faq-section, .source-section { display: grid; margin-top: 125px; grid-template-columns: .75fr 1.25fr; gap: 60px; }
.rules-section dl { margin: 0; border-top: 1px solid var(--line-strong); }
.rules-section dl > div { display: grid; padding: 22px 0; grid-template-columns: .75fr 1.25fr; gap: 24px; border-bottom: 1px solid var(--line); }
.rules-section dt { font-weight: 720; }
.rules-section dd { margin: 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 23px 34px 23px 0; list-style: none; font-size: 18px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; float: right; margin-right: -30px; color: var(--blue); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { padding-right: 22px; color: var(--muted); }
.source-section { padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: var(--blue-soft); }
.source-section h2 { margin-bottom: 0; font-size: clamp(36px, 3.5vw, 52px); }
.source-section > p { margin: 0; align-self: center; color: #445064; font-size: 17px; }
.final-cta { display: flex; min-height: 310px; margin: 125px 0 50px; padding: 46px; align-items: center; justify-content: space-between; gap: 40px; border-radius: 24px; color: #fff; background: var(--hero); }
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { max-width: 720px; margin-bottom: 0; color: #b8c4d0; }
.final-cta > div:last-child { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.final-cta > div:last-child > a:last-child { color: #c9d6e3; font-size: 14px; font-weight: 700; }
footer { display: grid; width: var(--page); margin: 0 auto; padding: 34px 0 42px; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--line-strong); color: var(--muted); }
footer .wordmark { color: var(--ink); }
footer p { margin: 12px 0 0; font-size: 13px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; font-size: 13px; }
footer nav a:hover { color: var(--blue); }
.footer-meta { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); text-align: right; }

@media (max-width: 1040px) {
  .main-nav, .header-login { display: none; }
  .price-hero { grid-template-columns: 1fr; }
  .price-summary { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hero-line); border-left: 0; }
  .price-summary > div { border-right: 1px solid var(--hero-line); }
  .price-summary > div:nth-child(2n) { border-right: 0; }
  .calculator-section, .formula-section, .section-heading, .rules-section, .faq-section, .source-section { grid-template-columns: 1fr; }
  .example-grid { grid-template-columns: 1fr; }
  .example-grid article { border-top: 1px solid var(--line); border-left: 0; }
  .example-grid article:first-child { border-top: 0; }
}

@media (max-width: 700px) {
  :root { --page: calc(100% - 20px); }
  html { scroll-padding-top: 88px; }
  [id] { scroll-margin-top: 88px; }
  .site-header { top: 8px; }
  .header-inner { width: calc(100% - 16px); min-height: 58px; padding: 8px 8px 8px 13px; border-radius: 16px; }
  .wordmark-context, .header-login { display: none; }
  .wordmark-mark { width: 30px; height: 30px; }
  .button-small { min-height: 40px; padding-inline: 13px; font-size: 12px; }
  main { padding-top: 18px; }
  .breadcrumbs { margin-top: 12px; font-size: 9px; }
  .price-hero { min-height: 0; border-radius: 22px; }
  .hero-copy { min-height: 610px; padding: 42px 20px 32px; }
  .eyebrow { margin-bottom: 42px; font-size: 9px; }
  .hero-copy h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .price-summary { grid-template-columns: 1fr; }
  .price-summary > div { min-height: 130px; padding: 24px 20px; border-right: 0; }
  .calculator-section, .formula-section, .tables-section, .rules-section, .faq-section, .source-section { margin-top: 95px; }
  .calculator-copy h2, .formula-section h2, .section-heading h2, .rules-section h2, .faq-section h2, .final-cta h2 { font-size: 42px; }
  .cost-calculator { padding: 22px 16px; border-radius: 18px; }
  .calculator-inputs { grid-template-columns: 1fr; }
  .calculation-results { grid-template-columns: 1fr; }
  .calculation-results > div + div { border-top: 1px solid rgb(23 92 255 / 14%); border-left: 0; }
  .formula-card { padding: 18px; }
  .formula-card code { font-size: 10px; }
  .example-grid article { min-height: 140px; padding: 22px 10px; }
  .table-block { border-radius: 17px; }
  .table-intro { padding: 22px 16px; align-items: flex-start; flex-direction: column; }
  th, td { padding: 16px; }
  .image-pricing-matrix [data-image-price-option] { grid-template-columns: 76px 1fr auto; }
  .qualified-note { padding: 16px; }
  .rules-section, .faq-section, .source-section { gap: 28px; }
  .rules-section dl > div { grid-template-columns: 1fr; gap: 8px; }
  .source-section { padding: 26px 20px; }
  .final-cta { margin-top: 95px; padding: 32px 20px; align-items: flex-start; flex-direction: column; }
  .final-cta > div:last-child { width: 100%; align-items: stretch; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
  .footer-meta { grid-column: auto; text-align: left; }
}

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