.vhelper-reference-page {
  padding-top: 50px;
  background: #f7f9fc;
}

.vhelper-reference-page .navbar {
  min-height: 70px;
  margin: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 22px rgba(16, 35, 63, 0.06);
}

.vhelper-reference-page .navbar > .container {
  display: flex;
  align-items: center;
}

.vhelper-reference-page .navbar-header { flex: 0 0 auto; }
.vhelper-reference-page .navbar-brand {
  height: 70px;
  display: flex;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
}
.vhelper-reference-page .navbar-brand img { width: 32px; height: 32px; }
.vhelper-reference-page .navbar-collapse { margin-left: auto; }
.vhelper-reference-page .navbar-nav > li > a {
  padding: 25px 11px;
  color: #3e5067;
  font-size: 14px;
  font-weight: 700;
}
.vhelper-reference-page .navbar-nav > li > a:hover,
.vhelper-reference-page .navbar-nav > .active > a,
.vhelper-reference-page .navbar-nav > .active > a:hover {
  color: var(--blue);
  background: transparent;
}

.legacy-page-shell {
  width: min(calc(100% - 40px), 1120px);
  margin: 54px auto 72px;
  padding: 52px 62px 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.legacy-page-shell > .row { margin: 0; }
.legacy-page-shell > .row > [class*="col-"] { float: none; width: 100%; padding: 0; }
.legacy-page-shell br:first-child,
.legacy-page-shell br:first-child + br { display: none; }
.legacy-page-shell h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: -0.035em;
}
.legacy-page-shell h2::before {
  content: "VHELPER";
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}
.legacy-page-shell h3 {
  margin: 42px 0 15px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 25px;
}
.legacy-page-shell h4 { margin: 34px 0 18px; color: var(--navy); font-size: 22px; }
.legacy-page-shell p,
.legacy-page-shell li { color: #405168; line-height: 1.75; }
.legacy-page-shell li { margin: 7px 0; }
.legacy-page-shell a:not(.btn):not(.example-image-link) { font-weight: 700; }
.legacy-page-shell .btn {
  margin: 8px 8px 18px 0;
  padding: 11px 18px;
  border-radius: 9px;
  font-weight: 800;
}
.legacy-page-shell .btn-primary { background: var(--blue); border-color: var(--blue); }
.legacy-page-shell .btn-custom { color: var(--navy); background: #edf3ff; border: 1px solid #d5e2f5; }
.legacy-page-shell .prerelease-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 8px 14px 18px 0;
  padding: 7px 11px;
  color: #7a4b00;
  background: #fff4d6;
  border: 1px solid #f1d58a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  vertical-align: middle;
}
.legacy-page-shell .prerelease-badge::before { content: "●"; color: #e19618; font-size: 10px; }
.legacy-page-shell .prerelease-note { margin: -2px 0 24px; color: #8993a1; font-size: 12px; font-style: italic; }
.legacy-page-shell .release-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 9px;
  padding: 4px 9px;
  color: #7a4b00;
  background: #fff4d6;
  border: 1px solid #f1d58a;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  vertical-align: middle;
}
.legacy-page-shell .release-badge::before { content: "●"; color: #e19618; font-size: 8px; }
.legacy-page-shell table {
  width: 100%;
  display: block;
  overflow-x: auto;
  margin: 22px 0 36px;
  border-collapse: collapse;
  white-space: normal;
}
.legacy-page-shell th,
.legacy-page-shell td { min-width: 120px; padding: 11px 13px; border: 1px solid var(--line); vertical-align: top; }
.legacy-page-shell th { color: var(--navy); background: #edf3ff; }
.legacy-page-shell .compat-release { display: block; margin-bottom: 7px; color: var(--navy); font-size: 13px; }
.legacy-page-shell hr { margin: 48px 0 22px; border-color: var(--line); }
.legacy-page-shell .footer { color: var(--ink-soft); font-size: 14px; }

.legal-page .legacy-page-shell { max-width: 920px; }
.legal-page .legacy-page-shell h3:first-of-type { margin-top: 22px; padding-top: 0; border-top: 0; }
.legal-page .legacy-page-shell h3:first-of-type p { margin: 2px 0; color: var(--ink-soft); font-size: 15px; }

.purchase-success-page .legacy-page-shell { max-width: 860px; }
.purchase-success-page .success-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 850;
}
.purchase-success-page .success-summary {
  max-width: 680px;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 19px;
}
.purchase-success-page .next-steps {
  margin: 0 0 32px;
  padding: 26px 30px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.purchase-success-page .next-steps h3 { margin: 0 0 14px; padding: 0; border: 0; }
.purchase-success-page .next-steps ol { margin: 0; padding-left: 22px; }
.purchase-success-page .button-row { margin-top: 28px; }

.screenshots-page .legacy-page-shell { max-width: 1240px; }
.screenshots-page .image-set {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.screenshots-page .example-image-link {
  min-width: 0;
  overflow: hidden;
  background: #edf3ff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.08);
}
.screenshots-page .example-image {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.screenshots-page .example-image-link:hover .example-image { transform: scale(1.025); }

@media (max-width: 991px) {
  .vhelper-reference-page { padding-top: 20px; }
  .vhelper-reference-page .navbar > .container { display: block; }
  .vhelper-reference-page .navbar-toggle { margin-top: 17px; }
  .vhelper-reference-page .navbar-collapse { margin-left: -15px; }
  .vhelper-reference-page .navbar-nav > li > a { padding: 11px 15px; }
  .screenshots-page .image-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .legacy-page-shell { width: min(calc(100% - 20px), 1120px); margin-top: 34px; padding: 36px 22px 46px; }
  .legacy-page-shell ul, .legacy-page-shell ol { padding-left: 23px; }
  .screenshots-page .image-set { grid-template-columns: 1fr; }
  .screenshots-page .example-image { height: auto; aspect-ratio: 16 / 10; }
  .purchase-success-page .next-steps { padding: 22px; }
}
