.marketing {
  margin: 0;
  overflow-x: hidden;
  font: 16px/1.6 Inter, "Segoe UI", system-ui, sans-serif;
  color: #092a45;
  background: #f2f8fc;
}
.marketing * { box-sizing: border-box; }
.marketing a { color: #0b5f9b; }
.marketing header {
  position: relative;
  z-index: 5;
  max-width: none;
  margin: 0;
  padding: 18px max(24px, calc((100vw - 1200px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #e8f7ff;
  border-bottom: 1px solid #cce7f4;
}
.marketing .brand { display: inline-flex; flex: 0 0 auto; }
.marketing .brand img { display: block; width: 44px; height: 44px; }
.marketing nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.marketing nav a:not(.button) {
  color: #123b58;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.marketing nav a:hover { color: #1769b8; }
.marketing .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #1769b8;
  border-radius: 12px;
  background: linear-gradient(115deg, #155ab6, #087da6);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(16, 84, 143, .16);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.marketing .button:hover { background: #0c538f; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 84, 143, .22); }
.marketing .button.secondary {
  border-color: #9ac8df;
  background: rgba(255,255,255,.94);
  color: #0b578e;
  box-shadow: none;
}
.marketing .button.secondary:hover { background: #e9f7fd; color: #084b7d; }
.marketing header .button { min-height: 44px; padding: 10px 16px; }

.marketing main { max-width: none; min-height: 0; margin: 0; padding: 0; }
.marketing .hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 590px;
  margin: 0;
  padding: 78px max(24px, calc((100vw - 1200px)/2)) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(ellipse at 87% 45%, #d2f4fa 0%, transparent 48%),
    linear-gradient(90deg, rgba(26,101,170,.045) 1px, transparent 1px),
    linear-gradient(rgba(26,101,170,.045) 1px, transparent 1px),
    #f8fcff;
  background-size: auto, 48px 48px, 48px 48px, auto;
}
.marketing .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 520' fill='none'%3E%3Cg stroke='%230b8fa5' stroke-opacity='.13'%3E%3Cpath d='M0 450C190 100 300 590 510 300S740 90 900 240'/%3E%3Cpath d='M0 475C190 125 300 615 510 325S740 115 900 265'/%3E%3Cpath d='M0 500C190 150 300 640 510 350S740 140 900 290'/%3E%3Cpath d='M0 425C190 75 300 565 510 275S740 65 900 215'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}
.marketing .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 58px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 58' preserveAspectRatio='none'%3E%3Cpath fill='%23f2f8fc' d='M0 30C105 3 195 3 300 30S495 57 600 30 795 3 900 30V58H0Z'/%3E%3C/svg%3E") repeat-x bottom / 900px 58px;
  animation: wave-line 26s linear infinite;
}
@keyframes wave-line { to { background-position-x: 900px; } }
.marketing .hero > div, .marketing .hero > aside { position: relative; z-index: 1; }
.marketing .hero h1 {
  max-width: 750px;
  margin: 0 0 24px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 790;
  color: #092a45;
}
.marketing .hero h1 em { color: #1769b8; font-style: normal; background: linear-gradient(105deg, #155ab6, #098b9f); background-clip: text; -webkit-text-fill-color: transparent; }
.marketing .hero .eyebrow { display: none; }
.marketing .hero .lead {
  max-width: 595px;
  margin: 0;
  color: #254b65;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
  font-weight: 480;
}
.marketing .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.marketing .hero-note { margin: 22px 0 0; color: #486980; font-size: 13px; font-weight: 600; line-height: 1.6; }
.marketing .api-console { min-width: 0; padding: 0; border: 1px solid #244b69; border-radius: 20px; background: linear-gradient(135deg, #0b2035 20%, #093c5b); box-shadow: 0 26px 64px rgba(5,48,78,.22); color: #eaf7ff; overflow: hidden; }
.marketing .console-head { display: flex; align-items: center; gap: 12px; padding: 17px 22px; border-bottom: 1px solid #28445c; color: #adc5d9; font: 13px/1.4 Consolas, monospace; }
.marketing .console-dots { display: flex; gap: 5px; }
.marketing .console-dots i { width: 7px; height: 7px; border-radius: 50%; background: #557e9b; }
.marketing .console-dots i:last-child { background: #46c7d2; }
.marketing .protocol { margin-left: auto; color: #72d6dd; font-size: 11px; }
.marketing .console-endpoint { position: relative; padding: 24px 22px; border-bottom: 1px solid #28445c; }
.marketing .console-endpoint > span { display: block; color: #acc8dc; font-size: 13px; margin-bottom: 15px; }
.marketing .console-endpoint > code { display: block; font: 600 clamp(16px, 1.5vw, 20px)/1.5 Consolas, monospace; color: #f3fcff; }
.marketing .copy-endpoint { position: absolute; top: 10px; right: 10px; width: 92px; height: 40px; display: grid; place-items: center; padding: 5px; border: 1px solid #3b607b; border-radius: 8px; background: #16334b; color: #cfebfa; cursor: pointer; font-size: 12px; }
.marketing .copy-endpoint:hover { background: #234a66; transform: none; box-shadow: none; }
.marketing .copy-endpoint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.marketing .request-example { padding: 22px; }
.marketing .request-example p { margin: 0 0 12px; font: 15px/1.6 Consolas, monospace; color: #f1faff; }
.marketing .method { margin-right: 10px; padding: 4px 7px; border-radius: 5px; background: #123f4b; color: #75e1d4; font-size: 12px; font-weight: 800; }
.marketing .request-example code { color: #dceffa; font: 13px/1.7 Consolas, monospace; overflow-wrap: anywhere; }
.marketing .code-label { color: #8daac1; }
.marketing .code-key { color: #69d4e0; }
.marketing .api-route { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 22px 22px; padding: 16px 12px; border: 1px solid #284c69; border-radius: 10px; color: #b4ccde; font-size: 12px; line-height: 1.4; text-align: center; }
.marketing .api-route strong { color: #7bdde5; font-weight: 650; }
.marketing .console-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 19px; }
.marketing .console-foot span { padding: 5px 8px; border: 1px solid #284c69; border-radius: 5px; color: #c2d9e9; font-size: 11px; font-family: Consolas, monospace; }
.marketing .console-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 22px; background: #123047; color: #d7f5ff; font-size: 14px; font-weight: 650; text-decoration: none; }
.marketing .console-link:hover { background: #1b3d55; }
.marketing .endpoint {
  width: 100%;
  max-width: 370px;
  margin-top: 144px;
  padding: 26px;
  border: 1px solid #c9e4f2;
  border-top: 4px solid #0a8fa4;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 25px 60px rgba(5, 46, 78, .2);
  transform: none;
}
.marketing .endpoint .eyebrow { margin: 0 0 12px; color: #33617b; font-size: 12px; letter-spacing: .12em; }
.marketing .endpoint code { display: block; color: #092a45; font-size: clamp(16px, 1.5vw, 20px); font-weight: 720; overflow-wrap: anywhere; }
.marketing .endpoint hr { margin: 22px 0; border: 0; border-top: 1px solid #d7e6ef; }
.marketing .endpoint p { margin: 7px 0; color: #456579; font-size: 14px; }
.marketing .endpoint a { display: inline-block; margin-top: 15px; font-size: 14px; font-weight: 720; text-decoration: none; }

.marketing .benefits {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: -13px auto 0;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border: 1px solid #d7e6ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(15, 80, 122, .09);
}
.marketing .benefits .card {
  min-width: 0;
  padding: 16px 28px;
  border: 0;
  border-right: 1px solid #dcebf2;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  color: #092a45;
  box-shadow: none;
  transform: none;
}
.marketing .benefits .card:last-child { border-right: 0; background: linear-gradient(135deg, #ffffff, #eaf9fa); }
.marketing .benefits .card:hover { transform: none; box-shadow: none; }
.marketing .benefits .card::before { display: none; }
.marketing .benefits h2 { margin: 0 0 7px; color: #092a45; font-size: 20px; line-height: 1.3; }
.marketing .benefits p { margin: 0; color: #456579; font-size: 15px; line-height: 1.55; }
.marketing .feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  border-radius: 14px;
  color: #1769b8;
  background: #e7f4fc;
}
.marketing .feature-icon-cyan { color: #087f8c; background: #e3f8f9; }
.marketing .feature-icon-violet { color: #0b5e97; background: #e8f1fa; }
.marketing .feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.marketing #models, .marketing #connect, .marketing .closing {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.marketing #models { padding: 90px 0 80px; }
.marketing .eyebrow { margin: 0 0 9px; color: #1769b8; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.marketing .section-title { margin: 0 0 14px; color: #092a45; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.13; letter-spacing: -.035em; }
.marketing .muted { color: #456579; font-size: 16px; line-height: 1.55; }
.marketing .note { max-width: 1000px; color: #496679; font-size: 14px; line-height: 1.58; }
.marketing #models > .muted + .note { padding: 13px 18px; border-left: 3px solid #33a9bc; background: #e7f6fb; border-radius: 0 10px 10px 0; }
.marketing .table-wrap { margin: 28px 0 16px; padding: 0; overflow-x: auto; border: 1px solid #d7e6ef; border-radius: 18px; background: #fff; box-shadow: 0 12px 36px rgba(15,80,122,.07); }
.marketing table { width: 100%; min-width: 720px; border-collapse: collapse; }
.marketing th, .marketing td { padding: 15px 18px; border-bottom: 1px solid #e4eef3; text-align: left; font-size: 14px; line-height: 1.45; color: #274b62; }
.marketing thead th { background: #edf7fc; color: #31566d; font-size: 13px; font-weight: 740; white-space: nowrap; }
.marketing tbody th { color: #092a45; font-weight: 700; }
.marketing tbody tr:last-child th, .marketing tbody tr:last-child td { border-bottom: 0; }
.marketing tbody tr:hover { background: #f7fcff; }

.marketing #connect {
  padding: 50px clamp(24px, 5vw, 65px) 54px;
  border: 1px solid #d7e6ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(12,56,88,.08);
}
.marketing #connect > .muted { max-width: 700px; margin-bottom: 30px; }
.marketing .step {
  margin: 0;
  padding: 24px 0 24px 28px;
  border: 0;
  border-left: 3px solid #55b9c5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.marketing .step + .step { border-top: 1px solid #e4eef3; }
.marketing .step h3 { margin: 0 0 8px; color: #0b456c; font-size: 21px; line-height: 1.3; }
.marketing .step p { margin: 9px 0; color: #456579; font-size: 15px; line-height: 1.58; }
.marketing .step .note { font-size: 14px; }
.marketing pre {
  margin: 18px 0;
  padding: 20px 22px;
  overflow-x: auto;
  border: 1px solid #244b64;
  border-radius: 12px;
  background: #0b2940;
  color: #e8f9ff;
  font-size: 14px;
  line-height: 1.65;
}
.marketing code { overflow-wrap: anywhere; }
.marketing pre code { overflow-wrap: normal; }
.marketing #connect details {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid #d7e6ef;
  border-radius: 12px;
  background: #f4fafe;
  box-shadow: none;
}
.marketing summary { color: #0b4d79; font-size: 15px; font-weight: 700; cursor: pointer; }
.marketing details p { margin-bottom: 0; color: #456579; font-size: 15px; }

.marketing .closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: 44px 48px;
  border: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 100%, #087f94 0%, transparent 60%), #092a45;
  box-shadow: 0 22px 58px rgba(5,51,81,.2);
}
.marketing .closing h2 { margin: 0 0 7px; color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.14; }
.marketing .closing .muted { margin: 0; color: #d9eef7; }
.marketing .closing .button { flex: 0 0 auto; border-color: #fff; background: #fff; color: #0b4d79; box-shadow: none; }
.marketing .closing .button:hover { background: #dff7fc; color: #0b4d79; }
.marketing footer {
  max-width: 1200px;
  margin: auto;
  padding: 26px 24px 34px;
  border-top: 1px solid #d7e6ef;
  color: #456579;
  font-size: 14px;
}
.marketing footer a { color: #0b5f9b; text-decoration: none; }

@media (max-width: 1248px) {
  .marketing #models, .marketing #connect, .marketing .closing, .marketing .benefits { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 760px) {
  .marketing header { padding: 14px 18px; flex-wrap: wrap; gap: 12px; }
  .marketing nav { width: 100%; gap: 12px; flex-wrap: wrap; }
  .marketing nav a:not(.button) { font-size: 14px; }
  .marketing header .button { margin-left: auto; min-height: 40px; padding: 8px 12px; font-size: 13px; }
  .marketing .hero { min-height: 0; grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 96px; }
  .marketing .hero h1 { font-size: clamp(40px, 8vw, 54px); }
  .marketing .endpoint { max-width: 420px; margin-top: 6px; padding: 22px; }
  .marketing .api-console { width: 100%; max-width: 580px; }
  .marketing .benefits { grid-template-columns: 1fr; margin-top: -12px; padding: 9px 22px; }
  .marketing .benefits .card { padding: 22px 3px; border-right: 0; border-bottom: 1px solid #dcebf2; }
  .marketing .benefits .card:last-child { border-bottom: 0; }
  .marketing #models { padding: 62px 0 60px; }
  .marketing .table-wrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .marketing table, .marketing tbody { display: block; min-width: 0; width: 100%; }
  .marketing thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .marketing tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .marketing tbody tr { display: block; min-width: 0; padding: 18px; border: 1px solid #d7e6ef; border-radius: 14px; background: linear-gradient(135deg, #fff, #f1f9fd); }
  .marketing tbody th { display: block; padding: 0 0 13px; border: 0; font-size: 16px; overflow-wrap: anywhere; }
  .marketing tbody td { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border: 0; font-size: 14px; }
  .marketing tbody td::before { color: #456579; }
  .marketing tbody td:nth-child(2)::before { content: "Input / 1 млн"; }
  .marketing tbody td:nth-child(3)::before { content: "Output / 1 млн"; }
  .marketing tbody td:last-child { padding-top: 13px; color: #456579; border-top: 1px solid #dcebf2; }
  .marketing #connect { padding: 35px 20px; border-radius: 20px; }
  .marketing .step { padding-left: 17px; }
  .marketing .closing { align-items: flex-start; flex-direction: column; padding: 32px 26px; }
}
@media (max-width: 440px) {
  .marketing header .button { width: 100%; margin-left: 0; }
  .marketing .hero .actions { flex-direction: column; align-items: stretch; }
  .marketing .hero .button { width: 100%; }
  .marketing .endpoint code { font-size: 15px; }
  .marketing .console-endpoint > code { font-size: 15px; }
  .marketing .api-route { margin-left: 16px; margin-right: 16px; font-size: 11px; }
  .marketing tbody { grid-template-columns: 1fr; }
  .marketing pre { padding: 16px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .marketing pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
}
.marketing #token-calculator { padding: 48px max(24px, calc((100vw - 1200px)/2)); background: #fff; border-block: 1px solid #d7e6ef; }
.calculator-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 20px; margin: 24px 0; }
.calculator-controls label, .command-bar label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.calculator-controls input[type="number"] { width: 150px; }
.calculator-controls input[type="range"] { width: 190px; accent-color: #098f9e; }
.calculator-controls input, .calculator-controls select, .command-bar select { padding: 10px; border: 1px solid #a9c5d8; border-radius: 6px; background: #fff; color: #092a45; font: inherit; min-height: 44px; }
.calculator-controls input[type="range"] { padding: 0; }
.budget-presets { display: flex; gap: 6px; }
.budget-presets button { min-height: 44px; padding: 8px 14px; border: 1px solid #a9c5d8; border-radius: 6px; background: #fff; color: #092a45; font: inherit; cursor: pointer; }
.budget-presets button[aria-pressed="true"] { border-color: #098f9e; background: #e2f5ef; }
.token-estimates td:last-child { font-weight: 650; color: #087760; }
.install-command { margin: 24px 0; border: 1px solid #a9c5d8; border-radius: 8px; overflow: hidden; }
.command-bar { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 16px; background: #edf7fc; }
.command-bar .install-toggle { display: flex; align-items: center; gap: 8px; }
.install-toggle input { width: 20px; height: 20px; accent-color: #098f9e; }
.command-bar .copy-endpoint { margin-left: auto; color: #0b5f9b; border-color: #a9c5d8; flex-shrink: 0; }
.marketing .install-command pre { margin: 0; border-radius: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.marketing .install-command code { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .marketing .token-estimates tbody td:nth-child(2)::before { content: "Цена / 1 млн"; }
  .marketing .token-estimates tbody td:nth-child(3)::before { content: "Примерный объём"; }
}
.calculator-controls [hidden] { display: none; }
.marketing .command-bar .copy-endpoint { position: static; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 600px) { .calculator-controls { gap: 14px; align-items: stretch; } .calculator-controls .segmented { width: 100%; } .calculator-controls .segmented button { flex: 1; padding-inline: 8px; } .calculator-controls label { flex: 1; } .command-bar { gap: 12px; } .marketing .token-estimates tbody td { flex-wrap: wrap; } }

/* Блок покупки: пакеты баланса (стили отсутствовали — иконки SVG растягивались на всю ширину) */
.marketing #packages { max-width: 1200px; margin: 0 auto; padding: 90px 0 10px; }
.marketing #packages > .note { max-width: 1000px; }
.marketing .package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin: 26px 0 18px; }
.marketing .package-grid > .note { grid-column: 1 / -1; }
.marketing .access-package { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid #d7e6ef; border-radius: 18px; background: linear-gradient(135deg, #fff, #f1f9fd); box-shadow: 0 12px 32px rgba(15,80,122,.07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.marketing .access-package:hover { transform: translateY(-3px); border-color: #9ac8df; box-shadow: 0 18px 40px rgba(15,80,122,.12); }
.marketing .package-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: #e7f4fc; color: #1769b8; }
.marketing .package-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.marketing .access-package > p:not(.package-price) { margin: 0; color: #486980; font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.marketing .access-package h3 { margin: 4px 0 10px; color: #092a45; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
.marketing .package-price { display: flex; flex-direction: column; margin: 0 0 18px; color: #0b456c; font-size: 18px; font-weight: 700; }
.marketing .package-price small { color: #6a8597; font-size: 12px; font-weight: 500; }
.marketing .access-package .button { margin-top: auto; width: 100%; }
.marketing .package-unavailable { margin-top: auto; padding: 11px 12px; border: 1px dashed #a9c5d8; border-radius: 12px; color: #5d7a8d; font-size: 13px; font-weight: 600; text-align: center; }
@media (max-width: 1248px) { .marketing #packages { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 760px) { .marketing #packages { padding-top: 62px; } .marketing .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .marketing .access-package { padding: 18px; } .marketing .access-package h3 { font-size: 24px; } }
@media (max-width: 340px) { .marketing .package-grid { grid-template-columns: 1fr; } }

/* Prices and estimates share the live public tariff source. */
.marketing [hidden] { display: none !important; }
.marketing .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.marketing .pricing-status { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-height: 64px; }
.marketing .pricing-status .note { margin-block: 12px; }
.marketing .pricing-status [data-state="error"] { color: #9c3526; }
.marketing .model-prices caption { padding: 16px 18px; text-align: left; color: #31566d; background: #f8fcff; font-weight: 600; }
.marketing .model-prices th small { display: block; margin-top: 4px; color: #496679; font-weight: 400; font-size: 12px; overflow-wrap: anywhere; }
.marketing #token-calculator { padding: 52px 24px; }
.marketing .calculator-inner { max-width: 1200px; margin-inline: auto; }
.marketing #calculatorControls { min-width: 0; padding: 0; margin: 0; border: 0; }
.marketing #calculatorControls:disabled { opacity: .6; }
.marketing .calculator-controls { align-items: end; gap: 20px; }
.marketing .calculator-controls .calculator-model { flex: 1 1 260px; min-width: 0; }
.marketing .calculator-model select { max-width: 100%; width: 100%; }
.marketing .calculator-controls output { min-height: 23px; color: #496679; font-size: 13px; font-weight: 400; }
.marketing .budget-presets { flex-wrap: wrap; gap: 8px; }
.marketing .estimate-result { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; padding: 24px; margin-top: 28px; border: 1px solid #c4e6df; border-radius: 18px; background: #edf9f5; color: #0b4b40; }
.marketing .estimate-result strong { display: block; font-size: clamp(24px, 3vw, 35px); line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.marketing .estimate-result p { margin-block: 8px 0; font-size: 14px; }
.marketing .estimate-result .estimate-label { margin: 0 0 10px; font-size: 13px; color: #376458; }
.marketing .estimate-examples { margin-top: 18px; padding: 20px 22px; border: 1px solid #cfe3ed; border-radius: 16px; background: #f8fcff; color: #244c63; }
.marketing .estimate-examples p { margin: 0; line-height: 1.55; }
.marketing .estimate-examples-title { margin-bottom: 10px !important; color: #092a45; font-size: 16px; font-weight: 700; }
.marketing .estimate-examples ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.marketing .estimate-examples li { line-height: 1.5; }
.marketing .estimate-examples-note { margin-top: 12px !important; color: #5b7788; font-size: 13px; }
.marketing .access-package .package-balance { margin: 0 0 16px; letter-spacing: normal; text-transform: none; font-weight: 400; }
.marketing .access-package .package-detail { margin: 0 0 20px; letter-spacing: normal; text-transform: none; font-weight: 400; font-size: 13px; line-height: 1.5; }
.marketing .access-package .package-price small { font-size: 13px; }
.marketing .access-package .button { margin-top: auto; }
.marketing .calculator-controls :focus-visible, .marketing .pricing-status button:focus-visible { outline: 3px solid #1769b8; outline-offset: 3px; }
.marketing .budget-presets button { transition: background-color 160ms ease, border-color 160ms ease; }
.marketing .budget-presets button:hover { background-color: #edf7fc; }
.marketing .budget-presets button:active { background-color: #d9eeec; }
@media (max-width: 760px) {
  .marketing .model-prices caption { display: block; background: transparent; padding-inline: 0; }
  .marketing .model-prices tbody td { flex-wrap: wrap; overflow-wrap: anywhere; }
  .marketing .model-prices tbody td::before { content: attr(data-label); }
  .marketing .model-prices tbody td:last-child { border: 0; padding-top: 7px; color: #274b62; }
  .marketing .estimate-result { grid-template-columns: 1fr; gap: 20px; }
  .marketing #token-calculator { padding: 40px 24px; }
}
@media (max-width: 440px) {
  .marketing .calculator-controls label { flex-basis: 100%; min-width: 0; }
  .marketing .calculator-controls input[type="number"], .marketing .calculator-controls input[type="range"] { width: 100%; }
  .marketing .budget-presets { width: 100%; }
  .marketing .budget-presets button { flex: 1 1 auto; padding-inline: 10px; }
  .marketing .estimate-result { padding: 18px; }
  .marketing .package-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marketing .budget-presets button { transition: none; }
}
/* Кнопка копирования команды: была тёмной с тёмной иконкой на светлой панели */
.marketing .command-bar .copy-endpoint { width: 44px; height: 44px; background: #fff; color: #0b5f9b; border-color: #a9c5d8; }
.marketing .command-bar .copy-endpoint:hover { background: #e9f7fd; }
.marketing .copy-status { margin-left: 8px; color: #087760; font-size: 13px; font-weight: 600; }
/* Футер: текст и ссылка слипались */
.marketing footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
