.bp-oct-page {
  --oct-ink: #17243a;
  --oct-muted: #536177;
  --oct-blue: #1261a8;
  --oct-blue-dark: #0b477e;
  --oct-cyan: #08a4bd;
  --oct-line: #d9e3ee;
  --oct-soft: #f3f8fc;
  --oct-warm: #fff8ea;
  color: var(--oct-ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.bp-oct-page *,
.bp-oct-page *::before,
.bp-oct-page *::after {
  box-sizing: border-box;
}

.bp-oct-page img,
.bp-oct-page svg {
  max-width: 100%;
  height: auto;
}

.bp-oct-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.bp-oct-reading {
  width: min(860px, 100%);
}

.bp-oct-breadcrumb {
  padding: 18px 0;
  color: var(--oct-muted);
  font-size: 14px;
  background: #f7fafc;
  border-bottom: 1px solid var(--oct-line);
}

.bp-oct-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-oct-breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: #8b98a9;
}

.bp-oct-breadcrumb a {
  color: var(--oct-blue-dark);
  text-decoration: none;
}

.bp-oct-hero {
  padding: 64px 0 56px;
  background: linear-gradient(135deg, #eef7ff 0%, #fff 55%, #eefbfc 100%);
}

.bp-oct-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 48px;
  align-items: center;
}

.bp-oct-kicker {
  margin: 0 0 10px;
  color: var(--oct-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bp-oct-page h1,
.bp-oct-page h2,
.bp-oct-page h3 {
  color: var(--oct-ink);
  line-height: 1.3;
  word-break: normal;
}

.bp-oct-page h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: -.02em;
}

.bp-oct-page h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
}

.bp-oct-page h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.bp-oct-lead {
  margin: 0 0 24px;
  color: #33445d;
  font-size: clamp(18px, 2vw, 22px);
}

.bp-oct-answer {
  margin: 24px 0;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #bfd7ea;
  border-left: 5px solid var(--oct-blue);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(18, 71, 117, .08);
}

.bp-oct-answer strong:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--oct-blue-dark);
}

.bp-oct-actions,
.bp-oct-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bp-oct-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid var(--oct-blue);
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  cursor: pointer;
}

.bp-oct-button-primary {
  color: #fff !important;
  background: var(--oct-blue);
}

.bp-oct-button-primary:hover,
.bp-oct-button-primary:focus-visible {
  background: var(--oct-blue-dark);
  border-color: var(--oct-blue-dark);
}

.bp-oct-button-secondary {
  color: var(--oct-blue-dark) !important;
  background: #fff;
}

.bp-oct-button:focus-visible,
.bp-oct-page a:focus-visible,
.bp-oct-page summary:focus-visible,
.bp-oct-page input:focus-visible,
.bp-oct-page textarea:focus-visible {
  outline: 3px solid #ffd36b;
  outline-offset: 3px;
}

.bp-oct-hero-figure,
.bp-oct-report-figure {
  margin: 0;
}

.bp-oct-hero-figure img {
  display: block;
  width: 100%;
  max-height: 580px;
  object-fit: contain;
  object-position: center;
  background: #e7eef5;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 42, 68, .16);
}

.bp-oct-page figcaption {
  margin-top: 9px;
  color: var(--oct-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bp-oct-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--oct-muted);
  font-size: 14px;
  list-style: none;
}

.bp-oct-section {
  padding: 64px 0;
}

.bp-oct-section:nth-of-type(even) {
  background: var(--oct-soft);
}

.bp-oct-section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.bp-oct-section-heading > :last-child {
  margin-bottom: 0;
}

.bp-oct-stat-grid,
.bp-oct-card-grid,
.bp-oct-step-grid,
.bp-oct-link-grid,
.bp-oct-gallery {
  display: grid;
  gap: 20px;
}

.bp-oct-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bp-oct-stat,
.bp-oct-card,
.bp-oct-step,
.bp-oct-related-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--oct-line);
  border-radius: 12px;
}

.bp-oct-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--oct-blue-dark);
  font-size: 28px;
  line-height: 1.25;
}

.bp-oct-stat span {
  color: var(--oct-muted);
  font-size: 14px;
}

.bp-oct-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bp-oct-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: oct-step;
}

.bp-oct-step {
  counter-increment: oct-step;
}

.bp-oct-step::before {
  content: counter(oct-step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--oct-cyan);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.bp-oct-media-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: center;
}

.bp-oct-media-grid img {
  display: block;
  width: 100%;
  border: 1px solid var(--oct-line);
  border-radius: 12px;
}

.bp-oct-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--oct-line);
  border-radius: 10px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.bp-oct-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.bp-oct-table caption {
  padding: 14px 16px;
  color: var(--oct-muted);
  font-size: 14px;
  text-align: left;
  caption-side: bottom;
}

.bp-oct-table th,
.bp-oct-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--oct-line);
  text-align: left;
  vertical-align: top;
  white-space: normal;
}

.bp-oct-table thead th {
  color: #fff;
  background: var(--oct-blue-dark);
}

.bp-oct-table tbody tr:last-child td,
.bp-oct-table tbody tr:last-child th {
  border-bottom: 0;
}

.bp-oct-chart {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--oct-line);
  border-radius: 12px;
}

.bp-oct-trend {
  margin: 28px 0 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--oct-line);
  border-radius: 12px;
}

.bp-oct-trend svg {
  display: block;
  width: 100%;
  min-height: 240px;
  background: #fbfdff;
  border-radius: 8px;
}

.bp-oct-trend-grid {
  stroke: #dce6ef;
  stroke-width: 1;
}

.bp-oct-trend-axis {
  fill: #536177;
  font-size: 15px;
}

.bp-oct-trend-oct,
.bp-oct-trend-meta {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-oct-trend-oct { stroke: #1261a8; }
.bp-oct-trend-meta { stroke: #d76b24; }
.bp-oct-trend-point-oct { fill: #1261a8; }
.bp-oct-trend-point-meta { fill: #d76b24; }

.bp-oct-trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--oct-muted);
  font-size: 14px;
  list-style: none;
}

.bp-oct-trend-legend span {
  display: inline-block;
  width: 24px;
  height: 4px;
  margin-right: 7px;
  vertical-align: middle;
  background: #1261a8;
}

.bp-oct-trend-legend .bp-oct-trend-key-meta { background: #d76b24; }

.bp-oct-chart-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 70px;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  font-variant-numeric: tabular-nums;
}

.bp-oct-chart-track {
  height: 18px;
  overflow: hidden;
  background: #e8eef5;
  border-radius: 999px;
}

.bp-oct-chart-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--oct-blue), var(--oct-cyan));
  border-radius: inherit;
}

.bp-oct-chart-bar--1500 { width: 41%; }
.bp-oct-chart-bar--1700 { width: 42%; }
.bp-oct-chart-bar--1900 { width: 100%; }
.bp-oct-chart-bar--2100 { width: 65%; }
.bp-oct-chart-bar--2300 { width: 60%; }

.bp-oct-note,
.bp-oct-boundary {
  margin: 24px 0;
  padding: 20px 22px;
  background: var(--oct-warm);
  border: 1px solid #f0dcae;
  border-radius: 10px;
}

.bp-oct-note > :last-child,
.bp-oct-boundary > :last-child {
  margin-bottom: 0;
}

.bp-oct-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-oct-gallery figure {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--oct-line);
  border-radius: 12px;
}

.bp-oct-gallery img,
.bp-oct-report-figure img {
  display: block;
  width: 100%;
  border-radius: 7px;
}

.bp-oct-faq {
  display: grid;
  gap: 12px;
}

.bp-oct-faq details {
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--oct-line);
  border-radius: 10px;
}

.bp-oct-faq summary {
  padding: 18px 0;
  font-weight: 700;
  cursor: pointer;
}

.bp-oct-faq details p {
  margin: 0 0 18px;
}

.bp-oct-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-oct-related-card {
  color: inherit;
  text-decoration: none !important;
  transition: border-color .2s ease, transform .2s ease;
}

.bp-oct-related-card:hover {
  border-color: var(--oct-blue);
  transform: translateY(-2px);
}

.bp-oct-related-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--oct-blue-dark);
}

.bp-oct-form-section {
  background: #ecf6ff !important;
}

.bp-oct-form {
  padding: 28px;
  background: #fff;
  border: 1px solid #bfd7ea;
  border-radius: 14px;
}

.bp-oct-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bp-oct-form label {
  display: grid;
  gap: 7px;
  color: var(--oct-ink);
  font-weight: 700;
}

.bp-oct-form input,
.bp-oct-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--oct-ink);
  background: #fff;
  border: 1px solid #aebdcd;
  border-radius: 6px;
  font: inherit;
  font-weight: 400;
}

.bp-oct-form-wide {
  margin-top: 18px;
}

.bp-oct-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  gap: 10px !important;
  align-items: flex-start;
  margin: 18px 0;
  font-size: 14px;
  font-weight: 400 !important;
}

.bp-oct-consent input {
  width: auto;
  margin-top: 6px;
}

.bp-oct-form-note {
  margin: 14px 0 0;
  color: var(--oct-muted);
  font-size: 14px;
}

.bp-oct-form button {
  font: inherit;
}

.bp-oct-prose p,
.bp-oct-prose li {
  color: #344258;
}

.bp-oct-prose ul,
.bp-oct-prose ol {
  padding-left: 1.3em;
}

.bp-oct-definition-list {
  display: grid;
  grid-template-columns: minmax(160px, .35fr) minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--oct-line);
}

.bp-oct-definition-list dt,
.bp-oct-definition-list dd {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--oct-line);
}

.bp-oct-definition-list dt {
  font-weight: 700;
  background: var(--oct-soft);
}

@media (max-width: 991.98px) {
  .bp-oct-hero-grid,
  .bp-oct-media-grid {
    grid-template-columns: 1fr;
  }

  .bp-oct-stat-grid,
  .bp-oct-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-oct-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-oct-hero-figure {
    max-width: 640px;
  }
}

@media (max-width: 767.98px) {
  .bp-oct-page {
    font-size: 16px;
  }

  .bp-oct-container {
    width: min(100% - 28px, 1180px);
  }

  .bp-oct-hero,
  .bp-oct-section {
    padding: 42px 0;
  }

  .bp-oct-hero-grid {
    gap: 30px;
  }

  .bp-oct-actions,
  .bp-oct-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bp-oct-button {
    width: 100%;
  }

  .bp-oct-stat-grid,
  .bp-oct-card-grid,
  .bp-oct-step-grid,
  .bp-oct-link-grid,
  .bp-oct-gallery,
  .bp-oct-form-grid {
    grid-template-columns: 1fr;
  }

  .bp-oct-stat,
  .bp-oct-card,
  .bp-oct-step,
  .bp-oct-related-card,
  .bp-oct-form {
    padding: 20px;
  }

  .bp-oct-table {
    min-width: 660px;
  }

  .bp-oct-chart-row {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 8px;
    font-size: 14px;
  }

  .bp-oct-trend {
    padding: 10px;
    overflow-x: auto;
  }

  .bp-oct-trend svg {
    min-width: 620px;
  }

  .bp-oct-definition-list {
    grid-template-columns: 1fr;
  }

  .bp-oct-definition-list dt {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-oct-related-card {
    transition: none;
  }
}
