@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --text: #0b1430;
  --muted: #59657c;
  --faint: #8896ad;
  --line: #dbe7fb;
  --blue: #0568ff;
  --blue-2: #0b64ff;
  --cyan: #0ea5c6;
  --green: #13a96a;
  --amber: #f59e0b;
  --danger: #c8324b;
  --shadow: 0 20px 48px rgba(20, 55, 110, 0.08);
  --radius: 14px;
  font-family: "Golos Text", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.redirect-page {
  width: min(680px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 16px;
}

.redirect-page h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.redirect-page p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
button,
a,
input,
select,
textarea,
.brand-word {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e6eefc;
  backdrop-filter: blur(20px);
}

.topbar-inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.brand-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.brand-logo img,
.footer-logo img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 12px 24px rgba(5, 104, 255, 0.24);
}

.brand-word {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #071026;
  letter-spacing: 0;
}

.brand-word b {
  font-weight: 800;
  color: var(--blue);
}

@media (min-width: 640px) {
  .brand-logo img,
  .footer-logo img {
    width: 64px;
    height: 64px;
  }

  .brand-word {
    font-size: 2.55rem;
  }
}

.nav-menu {
  position: relative;
  flex: 0 0 auto;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  transition: background 0.15s ease;
}

.nav-toggle::-webkit-details-marker {
  display: none;
}

.nav-toggle:hover {
  background: var(--surface-2);
}

.nav-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(5, 104, 255, 0.28);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.15s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s ease, top 0.18s ease;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.nav-menu[open] .nav-toggle-bars {
  background: transparent;
}

.nav-menu[open] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-menu[open] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  z-index: 40;
  display: grid;
  gap: 2px;
  width: min(320px, calc(100vw - 40px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 22px 54px rgba(20, 55, 110, 0.16);
}

.nav-link {
  display: block;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  background: transparent;
}

.nav-link:hover {
  color: var(--blue);
  background: #f2f7ff;
}

.nav-register,
.nav-cta {
  color: var(--blue);
  font-weight: 800;
}

.nav-register:hover,
.nav-cta:hover {
  color: var(--blue);
  background: #f2f7ff;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.language-switcher.language-switcher-compact {
  min-width: 0;
}

.language-switcher-compact .language-current {
  min-height: 48px;
  border-radius: 12px;
  padding: 0 28px 0 10px;
  gap: 6px;
  font-weight: 800;
}

.language-switcher-compact::after {
  inset-inline-end: 11px;
}

.language-switcher-compact .language-menu {
  width: 180px;
  min-width: 180px;
}

.language-switcher {
  position: relative;
  display: inline-block;
  min-width: 188px;
}

.language-switcher[open] {
  z-index: 30;
}

.language-switcher::after {
  content: "";
  position: absolute;
  inset-inline-end: 14px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #8896ad;
  border-bottom: 2px solid #8896ad;
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.language-switcher[open]::after {
  transform: translateY(-20%) rotate(225deg);
}

.language-current {
  display: flex;
  min-height: 40px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 36px 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.language-current::-webkit-details-marker {
  display: none;
}

.language-current:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(5, 104, 255, 0.28);
}

.language-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  display: grid;
  width: 100%;
  min-width: 188px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 20px 48px rgba(20, 55, 110, 0.14);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.language-option:hover {
  color: var(--blue);
  background: #f2f7ff;
}

.language-option.is-active {
  background: var(--surface-2);
  color: var(--blue);
}

.language-flag {
  display: block;
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(11, 20, 48, 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 12px 34px rgba(11, 95, 255, 0.25);
}

.button:hover {
  background: #0058e6;
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
  box-shadow: none;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 54px 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 48px;
  align-items: end;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.3;
}

.blog-home-hero {
  padding: 58px 0 36px;
}

.blog-home-hero .hero-grid {
  align-items: center;
}

.blog-home-hero .hero-panel {
  padding: 22px;
}

.blog-home-hero .topic-list {
  gap: 8px;
}

.blog-home-hero .topic-row {
  padding: 10px 0;
}

.topic-list {
  display: grid;
  gap: 12px;
}

.topic-row {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.topic-row:hover strong {
  color: var(--blue);
}

.topic-row strong {
  display: block;
  font-size: 14px;
}

.topic-row span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  padding: 28px 0 62px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.18;
}

.category-hero {
  padding-bottom: 34px;
}

.category-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 34px;
  align-items: center;
}

.category-summary {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.category-summary > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.category-summary h2 {
  margin: 8px 0 14px;
  font-size: 20px;
  line-height: 1.25;
}

.category-starter-list {
  display: grid;
  gap: 0;
}

.category-starter-link {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.category-starter-link strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.category-starter-link span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.category-starter-link:hover strong {
  color: var(--blue);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.section-head.compact {
  margin-bottom: 16px;
}

.section-head.compact p {
  max-width: 780px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.search-intents {
  margin-bottom: 38px;
}

.starter-section {
  padding: 18px 0 28px;
}

.starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.starter-card {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(16, 27, 44, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.starter-card:hover {
  border-color: rgba(11, 95, 255, 0.34);
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(16, 27, 44, 0.1);
}

.starter-card-meta {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.starter-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.16;
}

.starter-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.starter-card strong {
  color: var(--blue);
  font-size: 14px;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intent-card {
  display: flex;
  min-height: 246px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(16, 27, 44, 0.06);
}

.intent-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.16;
}

.intent-card h3 a:hover {
  color: var(--blue);
}

.intent-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-list span {
  display: inline-flex;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface-2);
  color: #59657c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.intent-links {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.intent-links a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.page-directory {
  padding-top: 0;
}

.page-group + .page-group {
  margin-top: 48px;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.page-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(16, 27, 44, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.page-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(16, 27, 44, 0.11);
}

.page-card span,
.details-grid span,
.api-grid span,
.roadmap-table span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.page-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.12;
}

.page-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.page-card strong {
  color: var(--blue);
  font-size: 14px;
}

.company-snapshot dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.company-snapshot div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.company-snapshot dt {
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.company-snapshot dd {
  margin: 4px 0 0;
  color: #59657c;
  font-size: 15px;
  line-height: 1.45;
}

.contact-strip {
  padding: 58px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.contact-strip h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
}

.contact-strip p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(16, 27, 44, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(16, 27, 44, 0.11);
}

.article-card-body {
  padding: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.category {
  color: var(--blue);
}

.article-card h3 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.read-more {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--blue);
}

.article-hero {
  padding: 28px 0 24px;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.62fr);
  gap: 28px;
  align-items: center;
}

.article-hero-copy {
  min-width: 0;
}

.article-hero h1 {
  max-width: 840px;
  margin: 12px 0 14px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.article-hero .lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.page-hero {
  padding: 32px 0 26px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.64fr);
  gap: 30px;
  align-items: center;
}

.page-hero h1 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.1;
  letter-spacing: 0;
}

.page-hero .lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.page-cover {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.article-cover {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
  padding: 28px 0 64px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
  padding: 26px 0 64px;
}

.page-content {
  min-width: 0;
}

.highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}

.highlight-strip div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #59657c;
  font-size: 15px;
  font-weight: 750;
}

.highlight-strip span {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 3px;
  background: var(--blue);
}

.content-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.content-section:first-of-type {
  border-top: 0;
}

.content-section h2,
.details-block h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
}

.content-section p {
  max-width: 850px;
  margin: 16px 0 0;
  color: #59657c;
  font-size: 17px;
}

.content-section ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.content-section li {
  position: relative;
  padding-left: 24px;
  color: #59657c;
  font-size: 17px;
}

.content-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--blue);
}

.details-block {
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
}

.details-grid,
.api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.details-grid > div,
.api-grid > div,
.address-list > div,
.status-list > div,
.roadmap-table > div {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(16, 27, 44, 0.05);
}

.details-grid strong,
.api-grid strong,
.address-list strong,
.status-list strong,
.roadmap-table strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.details-grid p,
.api-grid p,
.roadmap-table p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.address-list,
.status-list,
.roadmap-table {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.address-list span,
.status-list span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.details-note {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: #59657c;
  font-size: 15px;
}

pre {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 18px;
  border-radius: var(--radius);
  background: #0b1430;
  color: #dbe7fb;
  font-size: 14px;
  line-height: 1.55;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.article-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
}

.article-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-seo-brief {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}

.article-seo-brief h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
}

.article-seo-brief p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.article-seo-brief-label {
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
}

.brief-page-grid {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.brief-page-link {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.brief-page-link:hover {
  background: transparent;
}

.brief-page-link strong {
  display: block;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.3;
}

.brief-page-link span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.article-content p {
  margin: 16px 0 0;
  color: #59657c;
  font-size: 17px;
}

.article-content ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.article-content li {
  position: relative;
  padding-left: 24px;
  color: #59657c;
  font-size: 17px;
}

.article-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--blue);
}

.article-figure {
  margin: 28px 0 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.article-figure figcaption {
  padding: 12px 16px 14px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.toc {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.toc h2 {
  margin: 0 0 12px;
  font-size: 15px;
}

.toc a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.toc a:hover {
  color: var(--blue);
}

.toc-cta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.toc-cta strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.toc-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.toc-cta a {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid rgba(11, 95, 255, 0.24);
  border-radius: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.toc-cta a:hover {
  background: var(--surface-2);
}

.page-sidebar {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.page-sidebar h2 {
  margin: 0 0 12px;
  font-size: 15px;
}

.page-sidebar nav a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.page-sidebar nav a:hover,
.page-sidebar nav a.active {
  color: var(--blue);
}

.sidebar-contact {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.sidebar-contact strong {
  color: var(--text);
}

.cta {
  margin-top: 42px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0b1430, #16396f 58%, #0568ff);
  color: #fff;
}

.cta h2,
.cta h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}

.cta p {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.82);
}

.cta .button {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.faq {
  margin-top: 42px;
}

.faq h2 {
  margin-bottom: 18px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
}

.article-references {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-references h2 {
  margin-bottom: 16px;
}

.article-references li {
  padding: 14px 16px 14px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.article-references a {
  color: var(--blue);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.article-references span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.related {
  padding: 0 0 70px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.footer {
  border-top: 1px solid #e6eefc;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 0.7fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 64px) 38px;
}

.footer-desc {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-contacts {
  margin-top: 20px;
  display: grid;
  gap: 6px;
}

.footer-contacts-title {
  color: var(--text);
  font-weight: 700;
}

.footer-contact-link {
  color: var(--blue);
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-contact-link:hover {
  color: #0058e6;
}

.footer-email {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-email:hover {
  color: #0058e6;
}

.footer-title {
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-links a {
  color: var(--muted);
  transition: color 0.18s ease;
}

.footer-tail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) 40px;
}

.footer-legal,
.footer-note {
  border-radius: 16px;
  background: #f7faff;
  color: var(--muted);
  line-height: 1.6;
  padding: 18px 22px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  border-top: 1px solid #e6eefc;
  padding-top: 20px;
}

.footer-copy {
  color: #6a7488;
  font-weight: 600;
}

.footer-payments {
  display: block;
  height: 28px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .hero-grid,
  .article-hero-grid,
  .category-hero-grid,
  .article-layout,
  .article-seo-brief,
  .page-hero-grid,
  .page-layout,
  .contact-strip-grid {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .intent-grid,
  .starter-grid,
  .page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc,
  .page-sidebar {
    position: static;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .language-switcher {
    min-width: 180px;
  }

  .language-current {
    min-height: 38px;
    font-size: 13px;
  }

  .hero {
    padding-top: 48px;
  }

  .blog-home-hero {
    padding: 32px 0 18px;
  }

  .blog-home-hero .hero-grid {
    gap: 22px;
  }

  .blog-home-hero .hero-panel {
    padding: 20px;
  }

  .blog-home-hero .hero-panel h2 {
    margin-bottom: 10px;
  }

  .blog-home-hero .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .blog-home-hero .topic-row {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 9px 10px;
    background: var(--surface-2);
  }

  .blog-home-hero .topic-row strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .blog-home-hero .topic-row span {
    display: none;
  }

  .category-summary {
    padding: 18px;
  }

  .article-hero {
    padding: 24px 0 18px;
  }

  .article-hero-grid {
    gap: 22px;
  }

  .article-hero h1 {
    font-size: clamp(28px, 7.8vw, 36px);
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .starter-section {
    padding: 8px 0 20px;
  }

  .hero p,
  .article-hero .lead,
  .page-hero .lead,
  .contact-strip p {
    font-size: 16px;
  }

  .article-grid,
  .intent-grid,
  .starter-grid,
  .page-card-grid,
  .highlight-strip,
  .details-grid,
  .api-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .article-content {
    padding: 20px;
  }

  .article-seo-brief {
    padding-bottom: 22px;
  }

  .article-seo-brief .keyword-list,
  .article-seo-brief .brief-page-grid {
    padding-right: 58px;
  }

  .brief-page-link {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .article-content p {
    font-size: 16px;
  }

  .content-section p,
  .content-section li {
    font-size: 16px;
  }

  .page-card {
    min-height: 0;
  }

  .starter-card,
  .intent-card {
    min-height: 0;
  }
}
