:root {
  --ink: #15181d;
  --ink-soft: #242a33;
  --muted: #5b6472;
  --line: #e2e7ef;
  --line-strong: #cfd7e3;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --soft: #eef4ff;
  --soft-green: #eaf7ef;
  --blue: #1f6feb;
  --blue-ink: #0b57d0;
  --green: #1e7a46;
  --green-hover: #166534;
  --yellow: #f5b301;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px rgba(16, 24, 40, .08);
  --shadow-hover: 0 18px 44px rgba(16, 24, 40, .12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: 150px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: clamp(1.0625rem, .99rem + .35vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-soft);
  background:
    radial-gradient(1100px 420px at 50% -160px, #e9f1ff 0%, rgba(246, 248, 252, 0) 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-ink); }
img { max-width: 100%; }
::selection { background: #cfe0ff; color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.b-skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.b-skip:focus { transform: translateY(0); }

.b-marquee {
  display: block;
  overflow: hidden;
  padding-block: clamp(.375rem, .25rem + .5vw, .75rem);
  background: #111827;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.b-marquee-track {
  display: flex;
  width: max-content;
  animation: b-marquee 28s linear infinite;
}

.b-marquee-group { display: flex; align-items: center; }
.b-marquee-group span { white-space: nowrap; padding-inline: 2rem; }
.b-marquee-group span::before { content: "🎁"; margin-right: .5rem; }

@keyframes b-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.b-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--sb-header-bg, rgba(255, 255, 255, .94));
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--sb-header-border, #e2e7ef);
}

.b-head-inner {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  min-height: var(--sb-header-height, 72px);
  padding-block: 0;
}

.b-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  text-decoration: none;
}

.b-logo img {
  display: block;
  width: auto;
  height: var(--sb-header-logo-h, 40px);
}

.b-nav {
  order: 1;
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 16px;
  margin-left: 16px;
}

.b-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sb-header-muted, #5b6472);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.b-nav a:hover { color: var(--sb-header-blue, #0b57d0); }

.b-nav a[aria-current="page"] {
  color: var(--sb-header-ink, #15181d);
  font-weight: 650;
  border-bottom-color: var(--sb-header-blue, #0b57d0);
}

.b-lang-menu {
  order: 2;
  position: relative;
  flex: 0 0 auto;
}

.b-lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--sb-header-border, #e2e7ef);
  border-radius: 999px;
  background: #fff;
  color: var(--sb-header-ink, #15181d);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.b-lang-menu summary::-webkit-details-marker { display: none; }

.b-lang-menu summary:hover { background: var(--bg); }

.b-lang-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s ease;
}

.b-lang-menu[open] .b-lang-chevron { transform: rotate(-135deg) translateY(-2px); }

.b-lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 10rem;
  padding: 4px;
  border: 1px solid var(--sb-header-border, #e2e7ef);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(16, 24, 40, .14);
}

.b-lang-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--sb-header-ink, #15181d);
  text-decoration: none;
}

.b-lang-list a:hover { background: var(--bg); }

.b-lang-list a.is-active { background: var(--sb-header-ink, #15181d); color: #fff; }

.b-lang-code { font-weight: 700; letter-spacing: .04em; }

.b-lang-name { color: var(--muted); font-size: .8rem; }

.b-lang-list a.is-active .b-lang-name { color: rgba(255, 255, 255, .75); }

.b-head-cta { order: 4; flex: 0 0 auto; white-space: nowrap; font-size: .88rem; padding: .5em 1em; }

.b-head-phone {
  order: 3;
  flex: 0 0 auto;
  display: none;
  align-items: center;
  min-height: 44px;
  color: var(--sb-header-ink, #15181d);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.b-head-phone:hover { color: var(--sb-header-blue, #0b57d0); }

.b-nav-extra { display: none; }

.b-menu-toggle {
  display: none;
  order: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sb-header-border, #e2e7ef);
  border-radius: 10px;
  background: #fff;
  color: var(--sb-header-ink, #15181d);
  cursor: pointer;
}

.b-menu-icon,
.b-menu-icon::before,
.b-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.b-menu-icon { position: relative; }
.b-menu-icon::before,
.b-menu-icon::after { content: ""; position: absolute; left: 0; }
.b-menu-icon::before { top: -6px; }
.b-menu-icon::after { top: 6px; }
.b-menu-toggle.is-open .b-menu-icon { background: transparent; }
.b-menu-toggle.is-open .b-menu-icon::before { top: 0; transform: rotate(45deg); }
.b-menu-toggle.is-open .b-menu-icon::after { top: 0; transform: rotate(-45deg); }

.b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .62em 1.15em;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.b-btn:hover {
  background: var(--green-hover);
  box-shadow: 0 8px 18px rgba(30, 122, 70, .22);
}

.b-btn-sm {
  min-height: 40px;
  padding: .5em .9em;
  font-size: .88rem;
}

.b-main {
  flex: 1 0 auto;
  padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 84px);
}

.b-main:focus { outline: none; }

.b-page-head {
  max-width: 800px;
  margin: 0 0 clamp(24px, 4vw, 38px);
}

.b-kicker {
  margin: 0 0 10px;
  color: var(--blue-ink);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.b-page-head h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.b-lead {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  line-height: 1.62;
}

.b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

.b-card {
  position: relative;
  display: flex;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .03);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.b-card:hover {
  transform: translateY(-3px);
  border-color: #c9d8f2;
  box-shadow: var(--shadow-hover);
}

.b-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.b-card-accent {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, #6ea8ff 45%, var(--green) 100%);
}

.b-card-media {
  display: block;
  background: var(--soft);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.b-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.b-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(18px, 2.4vw, 26px);
}

.b-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 12px;
}

.b-rubric {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-ink);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.b-card-top time {
  color: var(--muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}

.b-card h2,
.b-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.05rem + .55vw, 1.42rem);
  line-height: 1.28;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.b-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.6;
}

.b-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--blue-ink);
  font-size: .9rem;
  font-weight: 650;
}

.b-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(18px, 3.2vw, 46px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow);
}

.b-post > * { min-width: 0; }

.b-crumbs {
  margin-bottom: 18px;
  font-size: .86rem;
}

.b-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.b-crumbs li::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-strong);
}

.b-crumbs li:last-child::after { content: none; }

.b-crumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.b-crumbs a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.b-crumbs span { color: var(--ink-soft); }

.b-preview {
  margin: 0 0 22px;
  padding: 12px 16px;
  border: 1px solid #f0d38a;
  border-radius: 12px;
  background: #fff8e6;
  color: #6b4e00;
  font-size: .92rem;
  font-weight: 550;
}

.b-post-head { max-width: 720px; }

.b-post-head h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.95rem, 1.42rem + 2.4vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.b-post-head .b-lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem);
  line-height: 1.6;
}

.b-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}

.b-meta-item { position: relative; }
.b-meta-item + .b-meta-item::before {
  content: "·";
  position: absolute;
  left: -13px;
  color: var(--line-strong);
}

.b-byline { color: var(--ink-soft); font-weight: 650; }

.b-cover {
  margin: 28px 0 8px;
  max-width: 720px;
}

.b-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: var(--soft);
}

.b-aside { margin-top: 32px; }

.b-toc {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8faff;
}

.b-toc summary {
  display: flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.b-toc summary::marker { color: var(--blue); }

.b-toc-list,
.b-toc-sub {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: .93rem;
  line-height: 1.45;
}

.b-toc-sub {
  margin-top: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: .89rem;
}

.b-toc li { margin: 0; }

.b-toc a {
  display: block;
  padding: 6px 8px;
  margin-inline: -8px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
}

.b-toc a:hover {
  background: var(--soft);
  color: var(--blue-ink);
}

.b-body {
  max-width: 720px;
  margin-top: 30px;
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

.b-body > *:first-child { margin-top: 0; }

.b-body p { margin: 0 0 1.15em; }

.b-body h2 {
  margin: 2.15em 0 .55em;
  color: var(--ink);
  font-size: clamp(1.42rem, 1.2rem + 1vw, 1.82rem);
  line-height: 1.24;
  letter-spacing: -.022em;
  scroll-margin-top: 158px;
  text-wrap: balance;
}

.b-body h3 {
  margin: 1.8em 0 .45em;
  color: var(--ink);
  font-size: clamp(1.16rem, 1.06rem + .45vw, 1.34rem);
  line-height: 1.3;
  letter-spacing: -.012em;
  scroll-margin-top: 158px;
}

.b-body h4 {
  margin: 1.6em 0 .4em;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.35;
}

.b-body ul,
.b-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.35em;
}

.b-body li { margin: .4em 0; }
.b-body li > ul,
.b-body li > ol { margin-block: .45em; }

.b-body strong { font-weight: 650; color: var(--ink); }

.b-body a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.b-body a:hover { color: #07449f; }

.b-body blockquote {
  margin: 1.7em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--soft);
  color: #2b3646;
}

.b-body blockquote p:last-child { margin-bottom: 0; }

.b-body hr {
  margin: 2.2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.b-body code {
  padding: .13em .4em;
  border: 1px solid #dde5f1;
  border-radius: 6px;
  background: #f2f6fb;
  color: #1f3658;
  font-family: var(--mono);
  font-size: .88em;
  overflow-wrap: anywhere;
}

.b-body pre {
  margin: 1.5em 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: #101a2b;
  color: #e6edf7;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  line-height: 1.55;
}

.b-body pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: .86em;
  overflow-wrap: normal;
}

.b-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
  border-radius: 12px;
  background: var(--soft);
}

.b-table-hint {
  display: none;
  margin: 1.7em 0 -1em;
  color: var(--muted);
  font-size: .82rem;
}

.b-table-wrap {
  margin: 1.7em 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.b-table-wrap:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.b-table-wrap table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: .89em;
  line-height: 1.5;
}

.b-table-wrap th,
.b-table-wrap td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.b-table-wrap thead th {
  background: #f1f6fd;
  color: #1c2530;
  font-weight: 650;
}

.b-table-wrap .b-cell-nowrap { white-space: nowrap; }

.b-table-wrap th,
.b-table-wrap td { overflow-wrap: anywhere; }

.b-table-wrap caption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: .86em;
  font-weight: 600;
  text-align: left;
  caption-side: top;
}

.b-table-wrap tbody tr:nth-child(even) { background: #fafcff; }
.b-table-wrap tbody tr:last-child td { border-bottom: 0; }

.b-related {
  max-width: 720px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.b-related h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.b-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.b-related-grid .b-card h3 { font-size: 1.08rem; }

.b-related-grid .b-card-body { padding: 18px; }
.b-related-grid .b-card-excerpt {
  -webkit-line-clamp: 2;
  font-size: .92rem;
  margin-bottom: 14px;
}

.b-contact {
  max-width: 720px;
  margin-top: 46px;
  scroll-margin-top: 150px;
  padding: clamp(22px, 3.6vw, 34px);
  border: 1px solid #d7e3f7;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 180px at 100% 0%, #e3f4ea 0%, rgba(234, 247, 239, 0) 70%),
    linear-gradient(135deg, #eef4ff 0%, #f5f9ff 55%, #eef9f2 100%);
}

.b-main > .b-contact { max-width: 100%; }

.b-contact-copy { max-width: 680px; }
.b-contact h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.28rem, 1.12rem + .7vw, 1.58rem);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.b-contact-copy p {
  margin: 0;
  color: #3d4756;
  font-size: .95rem;
  line-height: 1.6;
}

.b-contact-form {
  display: none;
  max-width: 720px;
  margin-top: 24px;
  padding: clamp(18px, 2.6vw, 24px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .07);
}

.js .b-contact-form { display: block; }

.b-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.b-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.b-field-full { grid-column: 1 / -1; }

.b-field label {
  color: var(--ink);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
}

.b-field input,
.b-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  line-height: 1.4;
}

.b-field textarea { min-height: 112px; resize: vertical; }

.b-field input:focus,
.b-field textarea:focus {
  border-color: var(--blue-ink);
  outline: 3px solid rgba(11, 87, 208, .18);
  outline-offset: 0;
}

.b-field input[aria-invalid="true"],
.b-field textarea[aria-invalid="true"] { border-color: #b42318; }

.b-field-error {
  min-height: 1.2em;
  margin: 0;
  color: #b42318;
  font-size: .8rem;
  line-height: 1.35;
}

.b-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
}

.b-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.b-consent-copy { min-width: 0; line-height: 1.55; }
.b-consent label { cursor: pointer; }
.b-consent a { color: var(--blue-ink); }

.b-form-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 11px;
  background: var(--sb-header-green, #1e7a46);
  color: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  cursor: pointer;
}

.b-form-submit:hover { background: var(--sb-header-green-hover, #166534); }
.b-form-submit:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

.b-form-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--green);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
}

.b-form-status.is-error { color: #b42318; }
.b-form-status.is-warning { color: #8a4b00; }

.b-form-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
}

.b-contact-fallback {
  display: block;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.js .b-contact-fallback { display: none; }
.b-contact-fallback p { margin: 0 0 8px; }
.b-contact-fallback p:last-child { margin: 0; }

.b-hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.b-empty {
  padding: clamp(24px, 4vw, 38px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--muted);
}

.b-empty p { margin: 0 0 8px; }
.b-empty p:last-child { margin-bottom: 0; }
.b-empty a { font-weight: 650; }

.b-state {
  max-width: 640px;
  margin: clamp(30px, 6vw, 70px) auto;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.b-state-code {
  margin: 0 0 12px;
  background: linear-gradient(120deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.4rem, 2rem + 3vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -.05em;
  line-height: 1;
}

.b-state h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.b-state p { margin: 0 0 22px; color: var(--muted); }

.b-notice {
  padding: 14px 16px;
  border: 1px solid #f0d38a;
  border-radius: 12px;
  background: #fff8e6;
  color: #6b4e00;
}

.b-foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .86rem;
}

.b-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
}

.b-foot p { margin: 0; }

.b-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.b-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  text-decoration: none;
}

.b-foot a:hover { color: var(--ink); }

@media (min-width: 1024px) {
  .b-head-inner { gap: 20px; }
  .b-nav {
    order: 1;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    margin-left: 14px;
    gap: 14px;
  }
}

@media (max-width: 1023px) {
  .b-head-inner { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .js .b-head-inner { flex-wrap: nowrap; padding-block: 0; }
  .b-logo { margin-right: auto; }
  .b-nav { flex: 0 0 100%; order: 3; margin-left: 0; gap: 0 16px; }
  .b-head-cta { display: none; }
  .js .b-menu-toggle { display: inline-flex; }
  .js .b-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px var(--sb-header-pad, 20px) 16px;
    background: #fff;
    border-bottom: 1px solid var(--sb-header-border, #e2e7ef);
    box-shadow: 0 16px 28px rgba(16, 24, 40, .10);
  }
  .js .b-nav.is-open { display: flex; }
  .js .b-nav a {
    min-height: 44px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }
  .js .b-nav a:last-child { border-bottom: 0; }
  .b-nav-extra { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
  .b-nav-extra .b-nav-phone { font-weight: 600; }
  .b-nav-extra .b-btn { width: 100%; color: #fff; border-bottom: 0; justify-content: center; }
  .js .b-nav a[aria-current="page"] { border-left-color: var(--sb-header-blue, #0b57d0); }
}

@media (min-width: 1280px) {
  .b-head-phone { display: inline-flex; }
}

@media (min-width: 1200px) {
  .b-post {
    grid-template-columns: 220px minmax(0, 720px);
    column-gap: 40px;
    justify-content: center;
  }
  .b-crumbs,
  .b-post-head,
  .b-cover,
  .b-body,
  .b-related,
  .b-contact { grid-column: 2; }
  .b-aside { grid-column: 1; align-self: start; }
  .b-preview { grid-column: 1 / -1; }
  .b-aside {
    position: sticky;
    top: 130px;
    margin-top: 30px;
  }
  .b-toc { max-height: calc(100vh - 154px); overflow-y: auto; }
}

@media (max-width: 700px) {
  .b-main { padding-top: 20px; }
  .b-post {
    padding: 18px 16px 22px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(16, 24, 40, .06);
  }
  .b-post-head h1 { font-size: clamp(1.72rem, 1.45rem + 2vw, 2.1rem); }
  .b-lead { font-size: 1rem; }
  .b-meta { gap: 4px 18px; font-size: .82rem; }
  .b-meta-item + .b-meta-item::before { left: -11px; }
  .b-aside { margin-top: 24px; }
  .b-body { margin-top: 22px; }
  .b-body h2 { font-size: 1.36rem; }
  .b-body h3 { font-size: 1.13rem; }
  .b-table-hint { display: block; }
  .b-table-wrap th,
  .b-table-wrap td { padding: 10px 10px; }
  .b-table-wrap table { font-size: .84em; }
  .b-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .b-meta-item + .b-meta-item::before { display: none; }
  .b-contact { padding: 20px; }
  .b-form-grid { grid-template-columns: 1fr; }
  .b-contact-form { padding: 16px; }
  .b-foot-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  :root { --sb-header-logo-h: 36px; }
  .b-lang-menu summary { min-height: 34px; padding: 0 10px; }
  .b-lang-list a { min-height: 34px; }
  .b-btn-sm { min-height: 38px; padding: .48em .72em; font-size: .82rem; }
  .b-nav { gap: 0 12px; }
  .b-nav a { min-height: 38px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .b-card:hover { transform: none; }
  .b-marquee-track { animation: none; }
}

@media print {
  body { background: #fff; }
  .b-head,
  .b-foot,
  .b-aside,
  .b-contact,
  .b-related,
  .b-table-hint,
  .b-skip { display: none !important; }
  .b-post {
    border: 0;
    box-shadow: none;
    padding: 0;
    display: block;
  }
  .b-body { max-width: none; }
  .b-body a { color: inherit; text-decoration: underline; }
}
