.sdz-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: color-mix(in srgb, var(--sdz-color-surface) 94%, transparent);
  border-bottom: 1px solid var(--sdz-color-border);
  backdrop-filter: blur(12px);
}

.sdz-site-header__inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 28px;
}

.sdz-site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.sdz-site-nav a {
  color: var(--sdz-color-text);
  font-size: 14px;
  font-weight: 600;
}

.sdz-site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdz-menu-toggle {
  display: none;
}

/* ---------- Hero ---------- */

.sdz-hero {
  padding: 76px 0 68px;
  background: var(--sdz-color-surface-muted);
  border-bottom: 1px solid var(--sdz-color-border);
}

.sdz-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.sdz-hero__grid > * {
  min-width: 0;
}

.sdz-hero h1 {
  max-width: 640px;
  margin: 20px 0;
  font-size: clamp(36px, 4.6vw, 50px);
  letter-spacing: -0.03em;
}

.sdz-hero__content > p {
  max-width: 620px;
  color: var(--sdz-color-text-muted);
  font-size: 17.5px;
}

.sdz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}

.sdz-lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 4px 0 0;
  color: var(--sdz-color-text-muted);
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}

.sdz-lp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sdz-lp-trust li span {
  display: inline-flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  color: var(--sdz-color-success);
  background: var(--sdz-color-success-soft);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
}

/* ---------- Hero mockup ---------- */

.sdz-lp-mock-wrap {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sdz-lp-mock {
  background: var(--sdz-color-surface);
  border: 1px solid var(--sdz-color-border);
  border-radius: var(--sdz-radius-lg);
  box-shadow: var(--sdz-shadow-card);
  overflow: hidden;
}

.sdz-lp-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--sdz-color-surface-muted);
  border-bottom: 1px solid var(--sdz-color-border);
}

.sdz-lp-mock__dots {
  display: flex;
  gap: 5px;
}

.sdz-lp-mock__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sdz-color-border);
}

.sdz-lp-mock__url {
  margin-left: 6px;
  color: var(--sdz-color-text-muted);
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
}

.sdz-lp-mock__body {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  min-height: 306px;
}

.sdz-lp-mock__side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 11px;
  background: var(--sdz-color-surface-muted);
  border-right: 1px solid var(--sdz-color-border);
}

.sdz-lp-mock__side-title {
  margin-bottom: 2px;
  color: var(--sdz-color-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sdz-lp-mock__node {
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  color: var(--sdz-color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdz-lp-mock__node--active {
  color: var(--sdz-color-heading);
  font-weight: 700;
  background: var(--sdz-color-primary-soft);
}

.sdz-lp-mock__node--i1 {
  padding-left: 18px;
}

.sdz-lp-mock__node--i2 {
  padding-left: 30px;
  font-weight: 500;
}

.sdz-lp-mock__main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}

.sdz-lp-mock__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sdz-lp-mock__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--sdz-color-border);
  border-radius: 9px;
  font-size: 12px;
}

.sdz-lp-mock__n {
  flex: none;
  display: inline-flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  color: var(--sdz-color-text-muted);
  background: var(--sdz-color-surface-muted);
  border-radius: 6px;
  font-weight: 700;
  font-size: 10px;
}

.sdz-lp-mock__t {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.sdz-lp-mock__p {
  flex: none;
  color: var(--sdz-color-text-muted);
  font-size: 10.5px;
}

.sdz-lp-mock__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.sdz-lp-mock-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  color: var(--sdz-color-surface);
  background: var(--sdz-color-primary);
  border-radius: var(--sdz-radius-sm);
  font-size: 12px;
  font-weight: 700;
}

.sdz-lp-mock__time {
  color: var(--sdz-color-text-muted);
  font-size: 11px;
}

.sdz-lp-mock-caption {
  color: var(--sdz-color-text-muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- Live demo ---------- */

.sdz-lp-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.sdz-lp-demo {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.sdz-lp-demo__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: var(--sdz-color-surface-muted);
  border-bottom: 1px solid var(--sdz-color-border);
}

.sdz-lp-demo__variant-no {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--sdz-color-text-muted);
}

.sdz-lp-demo__subject {
  margin-left: auto;
  color: #5a6e80;
  font: 500 11.5px/1 system-ui, sans-serif;
}

.sdz-lp-demo__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.sdz-lp-demo__label {
  color: var(--sdz-color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.sdz-lp-demo__question {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.sdz-lp-demo__question code {
  padding: 2px 6px;
  font-weight: 700;
  color: var(--sdz-color-primary);
  background: var(--sdz-color-primary-soft);
  border-radius: 5px;
}

.sdz-lp-demo__answer-row {
  display: flex;
  gap: 10px;
  max-width: 420px;
}

.sdz-lp-demo__answer-row .sdz-field__control {
  flex: 1;
  min-width: 0;
}

.sdz-lp-demo__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sdz-lp-demo__foot span {
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
}

.sdz-lp-demo__foot [data-sdz-demo-next] {
  height: 40px;
  padding: 0 16px;
  color: #245683;
  background: #fff;
  border: 1px solid #d5dee7;
  border-radius: 9px;
  font: 600 13.5px/1 system-ui, sans-serif;
}

.sdz-lp-demo__cta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 14px 22px;
  background: var(--sdz-color-surface-muted);
  border-top: 1px solid var(--sdz-color-border);
}

.sdz-lp-demo__cta span {
  color: var(--sdz-color-text-muted);
  font-size: 12px;
}

.sdz-lp-demo-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sdz-lp-demo-side .sdz-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sdz-lp-demo-side .sdz-card > p {
  margin: 0;
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
}

.sdz-lp-variant-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.sdz-lp-variant {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--sdz-color-border);
  border-radius: 8px;
  font-size: 11.5px;
}

.sdz-lp-variant span {
  font-family: ui-monospace, monospace;
}

.sdz-lp-variant b {
  margin-left: auto;
}

.sdz-lp-variant--active {
  color: var(--sdz-color-primary);
  background: var(--sdz-color-primary-soft);
  border-color: var(--sdz-color-primary);
}

.sdz-lp-graph-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.sdz-lp-graph-row span {
  flex: 1;
  min-width: 0;
  color: var(--sdz-color-text-muted);
  font-size: 12px;
}

.sdz-lp-graph {
  flex: none;
  width: 132px;
  height: 92px;
  border: 1px solid var(--sdz-color-border);
  border-radius: 8px;
  background: var(--sdz-color-surface);
}

.sdz-lp-graph__grid path {
  fill: none;
  stroke: #e9eef3;
  stroke-width: 1;
}

.sdz-lp-graph__axis {
  stroke: #8296a8;
  stroke-width: 1.4;
}

.sdz-lp-graph__curve {
  fill: none;
  stroke: #2d6a9f;
  stroke-width: 2.2;
}

.sdz-lp-graph__point {
  fill: #2e9e96;
}

.sdz-lp-graph text {
  fill: #5a6e80;
  font: 600 10px system-ui, sans-serif;
}

.sdz-lp-graph-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sdz-lp-graph-row .sdz-lp-graph-copy b {
  color: #152a3a;
  font: 500 13px/1.45 system-ui, sans-serif;
}

.sdz-lp-graph-row .sdz-lp-graph-copy small {
  color: #5a6e80;
  font: 500 11.5px/1.4 system-ui, sans-serif;
}

.sdz-lp-graph--sm {
  width: 84px;
  height: 58px;
}

/* ---------- Live demo: mode tabs ---------- */

.sdz-lp-demo-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  background: var(--sdz-color-surface-muted);
  border-radius: 12px;
}

.sdz-lp-demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--sdz-color-text-muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.sdz-lp-demo-tab.is-active {
  color: var(--sdz-color-heading);
  background: var(--sdz-color-surface);
  box-shadow: var(--sdz-shadow-card);
}

/* ---------- Live demo: control-mode panel ---------- */

.sdz-lp-demo__optional-note {
  position: relative;
  top: -2px;
  color: var(--sdz-color-text-muted);
  font-weight: 500;
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
}

.sdz-lp-demo [data-sdz-control-form] > .sdz-field {
  max-width: 420px;
  gap: 8px;
}

.sdz-lp-demo [data-sdz-control-form] > .sdz-field > .sdz-field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #33475a;
  font: 600 12.5px/1 system-ui, sans-serif;
}

.sdz-lp-demo [data-sdz-control-code] {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  color: #152a3a;
  background: #fff;
  border: 1.5px solid #d5dee7;
  border-radius: 9px;
  font: 600 15px/1 system-ui, sans-serif;
}

.sdz-lp-control-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sdz-lp-control-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e9eef3;
  border-radius: 10px;
  background: #fff;
}

.sdz-lp-control-row__q {
  flex: 1 1 220px;
  min-width: 0;
  color: #152a3a;
  font: 500 14.5px/1.45 system-ui, sans-serif;
}

.sdz-lp-control-row__input {
  flex: 0 0 128px;
  width: 128px;
  height: 40px;
  /* Overrides .sdz-field__control's min-height: 44px (same specificity, but
     a different property, so "height: 40px" above can't cancel it alone). */
  min-height: 40px;
  padding: 0 12px;
  color: #152a3a;
  border: 1px solid #d5dee7;
  border-radius: 9px;
  background: #fff;
  font: 600 14px/1 ui-monospace, monospace;
  text-align: left;
}

.sdz-lp-teacher-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.sdz-lp-teacher-panel__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  background: var(--sdz-color-surface-muted);
  border-bottom: 1px solid var(--sdz-color-border);
}

.sdz-lp-teacher-panel__title {
  font-weight: 700;
  font-size: 12.5px;
}

.sdz-lp-teacher-panel__url {
  margin-left: auto;
  color: #5a6e80;
  font: 500 11px/1 ui-monospace, monospace;
}

.sdz-lp-teacher-panel [data-sdz-control-waiting] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 20px;
  text-align: center;
}

.sdz-lp-teacher-panel__hourglass {
  font-size: 26px;
}

.sdz-lp-teacher-panel [data-sdz-control-waiting] p {
  margin: 0;
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
}

.sdz-lp-teacher-panel [data-sdz-control-result] {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px;
}

.sdz-lp-teacher-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f7fa;
}

.sdz-lp-teacher-panel__avatar {
  flex: none;
  width: 30px;
  height: 30px;
  color: #33475a;
  background: #e9eef3;
  border-radius: 50%;
  font: 700 11px/30px system-ui, sans-serif;
  text-align: center;
}

.sdz-lp-teacher-panel__student {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.sdz-lp-teacher-panel__student strong {
  font: 600 13px/1.3 system-ui, sans-serif;
}

.sdz-lp-teacher-panel__student small {
  color: #5a6e80;
  font: 500 11px/1.3 system-ui, sans-serif;
}

.sdz-lp-teacher-panel__meta {
  color: var(--sdz-color-text-muted);
  font-size: 12px;
}

.sdz-lp-teacher-panel__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sdz-lp-teacher-panel__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid #e9eef3;
  border-radius: 9px;
}

.sdz-lp-teacher-panel__row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #33475a;
  font: 500 11.5px/1.35 system-ui, sans-serif;
}

.sdz-lp-teacher-panel__row-text small {
  color: var(--sdz-color-text-muted);
  font-size: 10.5px;
}

.sdz-lp-teacher-panel__mark {
  flex: none;
  display: inline-flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--sdz-color-surface);
  font-size: 11px;
  font-weight: 700;
}

.sdz-lp-teacher-panel__mark--ok {
  background: var(--sdz-color-success);
}

.sdz-lp-teacher-panel__mark--no {
  background: var(--sdz-color-danger);
}

.sdz-lp-teacher-panel__head > .sdz-badge,
.sdz-lp-teacher-panel__row > .sdz-badge {
  flex: none;
  min-height: 0;
  padding: 3px 9px;
  border: 0;
  border-radius: 6px;
  font: 700 12px/1.3 ui-monospace, monospace;
}

.sdz-lp-teacher-panel [data-sdz-control-result] > .sdz-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 12px;
  color: #33475a;
  background: #f4f7fa;
  border: 0;
  border-left: 3px solid #3d6e93;
  border-radius: 9px;
  font: 500 11.5px/1.5 system-ui, sans-serif;
}

/* ---------- Generic content grids ---------- */

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

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

.sdz-lp-mode-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sdz-lp-mode-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--sdz-color-text-muted);
}

.sdz-lp-mode-list li::before {
  content: "·";
  flex: none;
  color: var(--sdz-color-primary);
  font-weight: 800;
}

.sdz-lp-mode-list .sdz-hint {
  margin-left: 6px;
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--sdz-color-text-muted);
  background: transparent;
  border: 1px solid var(--sdz-color-border);
  border-radius: 50%;
  font-size: 10.5px;
  cursor: help;
}

/* ---------- Cabinet feature showcase ---------- */

.sdz-lp-feature-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--sdz-color-border);
}

.sdz-lp-feature-row:first-of-type {
  padding-top: 0;
}

.sdz-lp-feature-row--reverse {
  flex-direction: row-reverse;
}

.sdz-lp-feature-text,
.sdz-lp-feature-shot {
  flex: 1 1 0;
  min-width: 0;
}

.sdz-lp-feature-text {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sdz-lp-feature-text h3 {
  margin: 0;
  font-size: 21px;
}

.sdz-lp-feature-text p {
  margin: 0;
  color: var(--sdz-color-text-muted);
  font-size: 15px;
  max-width: 46ch;
}

.sdz-lp-feature-note {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: #1f6f4f;
  font-size: 13px;
  font-weight: 600;
}

.sdz-lp-feature-note::before {
  content: "✓";
  display: inline-flex;
  flex: none;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1f6f4f;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}

.sdz-lp-feature-shot {
  background: var(--sdz-color-surface);
  border: 1px solid var(--sdz-color-border);
  border-radius: var(--sdz-radius-md);
  box-shadow: var(--sdz-shadow-card);
  overflow: hidden;
}

.sdz-lp-feature-shot__url {
  display: block;
  padding: 9px 14px;
  color: var(--sdz-color-text-muted);
  background: var(--sdz-color-surface-muted);
  border-bottom: 1px solid var(--sdz-color-border);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdz-lp-feature-shot__body {
  padding: 14px;
}

.sdz-lp-mini-cap {
  color: var(--sdz-color-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.sdz-lp-mini-bank {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
}

.sdz-lp-mini-bank__side {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sdz-lp-mini-bank__main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sdz-lp-mini-bank__preview {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--sdz-color-border);
  border-radius: 9px;
}

.sdz-lp-mini-bank__preview span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--sdz-color-text);
  font-size: 10.5px;
}

.sdz-lp-mini-bank__preview span small {
  color: var(--sdz-color-text-muted);
  font-size: 9.5px;
}

.sdz-lp-mini-constructor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.sdz-lp-mini-constructor__choices,
.sdz-lp-mini-constructor__summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sdz-lp-mini-constructor__choices > span {
  padding: 5px 7px;
  color: var(--sdz-color-text-muted);
  border: 1px solid var(--sdz-color-border);
  border-radius: 6px;
  font-size: 10px;
}

.sdz-lp-mini-constructor__choices > .is-checked {
  color: var(--sdz-color-primary);
  border-color: var(--sdz-color-primary);
}

.sdz-lp-mini-constructor__summary > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  padding: 8px;
  color: var(--sdz-color-text-muted);
  background: var(--sdz-color-surface-muted);
  border-radius: 8px;
  font-size: 9.5px;
}

.sdz-lp-mini-constructor__summary > div > :first-child,
.sdz-lp-mini-constructor__summary > div > b {
  color: var(--sdz-color-text);
  font-size: 10px;
}

.sdz-lp-mini-constructor__summary > div > b {
  color: var(--sdz-color-success);
}

.sdz-lp-mini-builder {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sdz-lp-mini-builder__sum {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
}

.sdz-lp-mini-builder__row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  color: #152a3a;
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 7px;
  font: 500 10.5px/1.3 system-ui, sans-serif;
}

.sdz-lp-mini-builder__row b {
  flex: none;
  width: 16px;
  height: 16px;
  color: #33475a;
  background: #f4f7fa;
  border-radius: 5px;
  font: 700 9px/16px system-ui, sans-serif;
  text-align: center;
}

.sdz-lp-mini-builder__row code {
  flex: 1;
  font-family: ui-monospace, monospace;
}

.sdz-lp-mini-builder__row small {
  color: #5a6e80;
  font-size: 9.5px;
}

.sdz-lp-mini-ai {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sdz-lp-mini-ai__prompt {
  padding: 8px 10px;
  border: 1px solid var(--sdz-color-border);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--sdz-color-text-muted);
}

.sdz-lp-mini-ai__bar {
  height: 6px;
  border-radius: 4px;
  background: var(--sdz-color-surface-muted);
  overflow: hidden;
}

.sdz-lp-mini-ai__bar span {
  display: block;
  width: 78%;
  height: 6px;
  background: var(--sdz-color-primary);
}

.sdz-lp-mini-ai__progress {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--sdz-color-text-muted);
  font-size: 9.5px;
}

.sdz-lp-mini-ai__progress .sdz-lp-mini-ai__bar {
  flex: 1;
}

.sdz-lp-mini-ai__row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  color: var(--sdz-color-success);
  border: 1px solid var(--sdz-color-border);
  border-radius: 7px;
  font-size: 9.5px;
}

.sdz-lp-mini-ai__row b {
  flex: 1;
  overflow: hidden;
  color: var(--sdz-color-text-muted);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdz-lp-mini-ai__row small {
  font-size: 9px;
  font-weight: 600;
}

.sdz-lp-mini-ai__row.is-no {
  color: var(--sdz-color-error);
}

.sdz-lp-mini-ai__note {
  color: var(--sdz-color-text-muted);
  font-size: 11px;
}

.sdz-lp-mini-results__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 7px;
  font-size: 10.5px;
}

.sdz-lp-mini-results {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sdz-lp-mini-results > small {
  color: var(--sdz-color-text-muted);
  font-size: 9.5px;
}

.sdz-lp-mini-results__row span:first-child {
  flex: none;
  width: 40px;
  font-family: ui-monospace, monospace;
  color: var(--sdz-color-text-muted);
}

.sdz-lp-mini-results__bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--sdz-color-surface-muted);
  overflow: hidden;
}

.sdz-lp-mini-results__bar i {
  display: block;
  height: 4px;
  background: var(--sdz-color-success);
}

/* Компактный балл «9/10» и метка «Вариант 1 из 10» — маленькие бейджи из
   макета, а не крупный общий .sdz-badge. */
.sdz-lp-mini-results__row .sdz-badge,
.sdz-lp-mini-builder__sum .sdz-badge {
  min-height: 0;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 700;
}

.sdz-lp-mock-btn--ghost {
  color: var(--sdz-color-primary);
  background: transparent;
  border: 1px solid var(--sdz-color-border);
}

.sdz-lp-mini-practice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sdz-lp-mini-practice__badges {
  display: flex;
  gap: 6px;
}

.sdz-lp-mini-practice p {
  margin: 0;
  color: var(--sdz-color-text-muted);
  font-size: 11.5px;
}

.sdz-lp-mini-practice__actions {
  display: flex;
  gap: 6px;
}

.sdz-lp-mini-student-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sdz-lp-mini-student-card__title {
  color: var(--sdz-color-text-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sdz-lp-mini-student-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid var(--sdz-color-border);
  border-radius: 8px;
  font-size: 11.5px;
}

.sdz-lp-mini-student-card__text {
  flex: 1;
  min-width: 0;
}

.sdz-lp-mini-student-card__note {
  color: var(--sdz-color-text-muted);
  font-size: 11px;
}

.sdz-lp-features-cta {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}

/* ---------- Four steps (#how) ---------- */

.sdz-lp-how-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.sdz-lp-how-head .sdz-section__heading {
  margin-bottom: 0;
}

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

.sdz-lp-step-card {
  display: flex;
  flex-direction: column;
  background: var(--sdz-color-surface);
  border: 1px solid var(--sdz-color-border);
  border-radius: var(--sdz-radius-md);
  overflow: hidden;
}

.sdz-lp-step-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 12px;
}

.sdz-lp-step-card__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
}

.sdz-lp-step-card__n {
  flex: none;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: var(--sdz-color-primary);
  background: var(--sdz-color-primary-soft);
  border-radius: 7px;
  font-weight: 800;
  font-size: 12px;
}

.sdz-lp-step-card__body p {
  margin: 0;
  color: var(--sdz-color-text-muted);
  font-size: 13px;
}

.sdz-lp-step-card__shot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding: 12px;
  background: var(--sdz-color-surface-muted);
  border-top: 1px solid var(--sdz-color-border);
}

.sdz-lp-mini-student {
  gap: 6px;
}

.sdz-lp-mini-student__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px;
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 9px;
}

.sdz-lp-mini-student__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5a6e80;
  font: 500 9px/1 system-ui, sans-serif;
}

.sdz-lp-mini-student__q {
  font-size: 11px;
  font-weight: 600;
}

.sdz-lp-mini-student__input {
  height: 24px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--sdz-color-primary);
  border-radius: 6px;
  background: var(--sdz-color-surface);
  font-size: 11px;
  font-weight: 700;
}

.sdz-lp-mini-student__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  color: var(--sdz-color-surface);
  background: var(--sdz-color-primary);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
}

/* ---------- Program / rubricator ---------- */

.sdz-subjects {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.sdz-lp-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.sdz-lp-facts__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sdz-lp-facts__item b {
  color: var(--sdz-color-primary);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sdz-lp-facts__item {
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
}

.sdz-lp-books {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.sdz-lp-rubric-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  overflow: hidden;
}

.sdz-lp-rubric-card__title {
  display: block;
  padding: 10px 16px;
  background: var(--sdz-color-surface-muted);
  border-bottom: 1px solid var(--sdz-color-border);
  color: var(--sdz-color-text-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sdz-lp-rubric-card__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 12px 16px;
}

/* ---------- Pricing / referral / school ---------- */

.sdz-lp-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.sdz-lp-plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  background: var(--sdz-color-surface);
  border: 1px solid var(--sdz-color-border);
  border-radius: var(--sdz-radius-md);
}

.sdz-lp-plan--featured {
  border: 2px solid var(--sdz-color-primary);
  box-shadow: var(--sdz-shadow-card);
}

.sdz-lp-plan__name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
}

.sdz-lp-plan__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.sdz-lp-plan__price b {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sdz-lp-plan__price small {
  color: var(--sdz-color-text-muted);
  font-size: 13px;
}

.sdz-lp-plan__rows {
  display: grid;
  flex: 1;
  gap: 9px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--sdz-color-border);
  list-style: none;
}

.sdz-lp-plan__rows li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
}

.sdz-lp-plan__rows li::before {
  content: "✓";
  flex: none;
  color: var(--sdz-color-success);
  font-weight: 700;
}

.sdz-lp-plan .sdz-btn {
  width: 100%;
}

.sdz-modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.sdz-lp-referral {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  margin-top: 22px;
  background: var(--sdz-color-surface);
  border: 1px solid var(--sdz-color-border);
  border-radius: var(--sdz-radius-md);
  overflow: hidden;
}

.sdz-lp-referral__text {
  padding: 24px;
  border-right: 1px solid var(--sdz-color-border);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sdz-lp-referral__text h3 {
  margin: 0;
  font-size: 17px;
}

/* Заголовок в один ряд с иконкой (как в макете), а не под ней. */
.sdz-lp-referral__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdz-lp-referral__head .sdz-card__icon {
  flex: none;
  margin: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e7f3ec;
  color: #175a40;
  font: 700 14px/28px system-ui, sans-serif;
  text-align: center;
}

.sdz-lp-referral__head h3 {
  flex: 1;
}

/* Пункты партнёрской программы — с зелёными галочками, как в макете. */
.sdz-lp-referral .sdz-lp-mode-list li::before {
  content: "✓";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e7f3ec;
  color: #175a40;
  font: 700 10px/17px system-ui, sans-serif;
  text-align: center;
}

/* Успешный alert — оттенки из макета. */
.sdz-landing-page .sdz-alert--success {
  background: #e7f3ec;
  border-color: #1f6f4f;
  color: #175a40;
  border-radius: 10px;
}

.sdz-lp-referral__hint {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 12px;
  background: var(--sdz-color-surface-muted);
  border: 1px solid var(--sdz-color-border);
  border-radius: 9px;
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
}

.sdz-lp-referral__chart {
  padding: 24px;
  background: var(--sdz-color-surface-muted);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sdz-lp-referral__chart-head {
  display: flex;
  justify-content: space-between;
  color: var(--sdz-color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sdz-lp-referral__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 9px;
}

.sdz-lp-referral__row--best {
  background: var(--sdz-color-surface);
  border: 1px solid var(--sdz-color-success);
}

.sdz-lp-referral__n {
  flex: none;
  width: 22px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.sdz-lp-referral__bar {
  flex: 1;
  min-width: 0;
  height: 8px;
  border-radius: 4px;
  background: var(--sdz-color-border);
  overflow: hidden;
}

.sdz-lp-referral__bar i {
  display: block;
  height: 8px;
  background: var(--sdz-color-primary);
}

.sdz-lp-referral__row--best .sdz-lp-referral__bar i {
  background: var(--sdz-color-success);
}

.sdz-lp-referral__day {
  flex: none;
  width: 88px;
  text-align: right;
  font-weight: 700;
  font-size: 12.5px;
}

.sdz-lp-school {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sdz-lp-school__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdz-lp-school__head strong {
  font-size: 16px;
}

.sdz-lp-school > p {
  margin: 0;
  color: var(--sdz-color-text-muted);
}

.sdz-lp-school__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sdz-lp-school__grid span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--sdz-color-text-muted);
}

.sdz-lp-school__grid span b {
  flex: none;
  color: var(--sdz-color-primary);
}

.sdz-lp-school .sdz-btn {
  align-self: flex-start;
}

/* ---------- Security ---------- */

.sdz-lp-security {
  padding: 72px 0;
  color: #e8eff5;
  background: #152a3a;
}

.sdz-lp-security .sdz-section__heading h2,
.sdz-lp-security .sdz-section__heading p {
  color: inherit;
}

.sdz-lp-security .sdz-section__heading p {
  opacity: 0.78;
}

.sdz-lp-security__badge {
  color: #7fe3d8;
  background: rgba(127, 227, 216, 0.14);
}

.sdz-lp-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

/* Вариант «только коды»: единственная карточка, растянутая на всю ширину
   вместо половины сетки. */
.sdz-lp-security-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.sdz-lp-security-card {
  background: #17222d;
  border-color: #2c3a47;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sdz-lp-security-card--ok {
  border-color: #2e9e96;
}

.sdz-lp-security-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Тёмные карточки безопасности: иконка 32px и бейдж в тон тёмного фона. */
.sdz-lp-security-card__head .sdz-card__icon {
  flex: none;
  margin: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font: 700 15px/32px system-ui, sans-serif;
  text-align: center;
}
.sdz-lp-security-card--ok .sdz-card__icon {
  background: #12332a;
  color: #7fd3a6;
}
.sdz-lp-security-card:not(.sdz-lp-security-card--ok) .sdz-card__icon {
  background: #39301f;
  color: #d9a63f;
}
.sdz-lp-security-card__head .sdz-badge {
  min-height: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.sdz-lp-security-card--ok .sdz-badge {
  background: #12332a;
  color: #7fd3a6;
}
.sdz-lp-security-card:not(.sdz-lp-security-card--ok) .sdz-badge {
  background: #39301f;
  color: #d9a63f;
}

/* Заголовок «По вашей программе» — без переноса на большой ширине. */
.sdz-landing-page #program .sdz-section__heading h2 {
  white-space: nowrap;
}

/* Небольшой зелёный маркер у книг вместо крупного символа. */
.sdz-lp-book-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e9e96;
}
.sdz-lp-books .sdz-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* FAQ — компактнее внутренний отступ, как в макете. */
.sdz-landing-page .sdz-faq-item {
  padding: 14px 18px;
}

/* Подпись про отзывы — тоном из макета и с отступом сверху (пониже). */
.sdz-landing-page #proof .sdz-pricing-note {
  margin-top: 20px;
  color: #5a6e80;
  font-size: 13px;
  line-height: 1.55;
}

.sdz-lp-security-card__head strong {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  font-size: 17px;
}

.sdz-lp-security-card > p {
  margin: 0;
  color: #c3d2de;
  font-size: 14px;
}

.sdz-lp-security-card__list-title {
  color: #8fa3b4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sdz-lp-security-card .sdz-lp-mode-list li {
  color: #dce7f0;
}

.sdz-lp-security-tile {
  background: #17222d;
  border-color: #2c3a47;
}

.sdz-lp-security-tile h3 {
  color: #fff;
  font-size: 15px;
}

.sdz-lp-security-tile p {
  color: #c3d2de;
  font-size: 13.5px;
}

.sdz-lp-security-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.sdz-lp-security-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #2c3a47;
  background: #17222d;
  border-radius: 9px;
  color: #8ac2e9;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Proof / social ---------- */

.sdz-lp-proof-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sdz-lp-proof-card p {
  margin: 0;
  font-size: 15px;
}

.sdz-lp-proof-card__who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--sdz-color-text-muted);
  font-size: 13px;
  font-weight: 600;
}

.sdz-lp-proof-card__icon {
  display: inline-flex;
  flex: none;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--sdz-color-surface-muted);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}

.sdz-lp-proof-card__label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.sdz-lp-proof-card__label small {
  overflow-wrap: anywhere;
}

/* ---------- Section eyebrow (card blocks) ---------- */

.sdz-lp-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #12a08f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- Bank block ("Сколько заданий уже в системе") ---------- */

.sdz-lp-bank__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.sdz-lp-bank__head h2 {
  margin: 0;
  color: var(--sdz-color-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sdz-lp-bank__cta {
  flex: none;
  margin-top: 6px;
}

.sdz-lp-bank__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.sdz-lp-bank-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 32px;
}

.sdz-lp-bank-tile::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -18px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(46, 110, 163, 0.06);
}

.sdz-lp-bank-tile b {
  color: var(--sdz-color-primary);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sdz-lp-bank-tile__label {
  color: var(--sdz-color-heading);
  font-size: 15px;
  font-weight: 700;
}

.sdz-lp-bank-tile small {
  color: var(--sdz-color-text-muted);
  font-size: 13px;
}

.sdz-lp-bank-table__num {
  color: var(--sdz-color-heading);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sdz-lp-bank-table__num::after {
  content: " " attr(data-unit);
  color: var(--sdz-color-text-muted);
  font-size: 12px;
  font-weight: 500;
}

.sdz-lp-bank-table__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  color: var(--sdz-color-text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.sdz-lp-bank-table__note-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e3f3ef;
  color: #12a08f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* Дерево «Заполнение рубрикатора»: раскрывающиеся блоки вместо одной полосы
   процента — честно показывают, сколько заданий в каждой теме/разделе, без
   спорного смешения двух разных деревьев (тем ФРП и учебника) в одно число.
   Тот же паттерн <details>/<summary>, что и в .sdz-faq-item — вложен на
   произвольную глубину, каждый уровень сворачивается независимо. */
.sdz-lp-bank-tree {
  display: grid;
  gap: 10px;
  padding: 10px 20px 20px;
}

.sdz-lp-bank-tree__subject {
  border: 1px solid var(--sdz-color-border);
  border-radius: 12px;
  background: var(--sdz-color-surface);
}

.sdz-lp-bank-tree__subject[open] {
  background: #f4f7fa;
  border-color: #b6c4d1;
}

.sdz-lp-bank-tree__subject > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.sdz-lp-bank-tree__subject > summary::-webkit-details-marker {
  display: none;
}

.sdz-lp-bank-tree__subject > summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--sdz-color-primary);
  font-size: 20px;
}

.sdz-lp-bank-tree__subject[open] > summary::after {
  content: "\2013";
}

.sdz-lp-bank-tree__subject-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sdz-lp-bank-tree__subject-title b {
  color: var(--sdz-color-heading);
  font-size: 15px;
  font-weight: 700;
}

.sdz-lp-bank-tree__subject-title small {
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
}

.sdz-lp-bank-tree__subject-nums {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.sdz-lp-bank-tree__body {
  padding: 0 18px 16px;
  border-top: 1px solid var(--sdz-color-border);
}

.sdz-lp-bank-tree__book {
  margin: 14px 0 8px;
  color: var(--sdz-color-heading);
  font-size: 13.5px;
  font-weight: 700;
}

.sdz-lp-bank-tree__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-left: 18px;
  list-style: none;
}

.sdz-lp-bank-tree__body > .sdz-lp-bank-tree__list {
  padding-left: 0;
  margin-top: 10px;
}

.sdz-lp-bank-tree__node > details > summary,
.sdz-lp-bank-tree__node--leaf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13.5px;
}

.sdz-lp-bank-tree__node > details > summary {
  cursor: pointer;
  list-style: none;
}

.sdz-lp-bank-tree__node > details > summary::-webkit-details-marker {
  display: none;
}

/* Стрелка — часть заголовка (::before на title), а не третий flex-ребёнок
   самого summary: у summary ровно два прямых flex-child (title, count), и
   justify-content: space-between должен растягивать именно их, а не делить
   пространство ещё и с маркером — с тремя элементами он вместо этого
   выталкивал бы заголовок к центру строки. */
.sdz-lp-bank-tree__node > details > summary .sdz-lp-bank-tree__node-title::before {
  content: "\25b8";
  flex-shrink: 0;
  margin-right: 6px;
  color: var(--sdz-color-text-muted);
  font-size: 10px;
}

.sdz-lp-bank-tree__node > details[open] > summary .sdz-lp-bank-tree__node-title::before {
  content: "\25be";
}

.sdz-lp-bank-tree__node:hover > details > summary,
.sdz-lp-bank-tree__node--leaf:hover {
  background: var(--sdz-color-surface-muted);
}

.sdz-lp-bank-tree__node-title {
  min-width: 0;
  overflow: hidden;
  color: var(--sdz-color-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdz-lp-bank-tree__node-count {
  flex: none;
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sdz-lp-bank-tree__node-count.is-empty {
  color: var(--sdz-color-danger);
}

/* ---------- Latest tests ("Новые тесты в каталоге") ---------- */

.sdz-lp-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sdz-lp-latest-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sdz-lp-latest-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sdz-lp-latest-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.sdz-lp-latest-card__title a {
  color: var(--sdz-color-heading);
  text-decoration: none;
}

.sdz-lp-latest-card__title a:hover {
  color: var(--sdz-color-primary);
}

.sdz-lp-latest-card__lead {
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  flex: 1;
  color: var(--sdz-color-text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sdz-lp-latest-card__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--sdz-color-border);
}

.sdz-lp-latest-card__count {
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.sdz-lp-latest-card__cta {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1000px) {
  .sdz-lp-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sdz-lp-latest-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Support block (voluntary donations) ---------- */

.sdz-lp-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  overflow: hidden;
}

.sdz-lp-support__intro {
  padding: 40px 42px;
}

.sdz-lp-support__intro h2 {
  margin: 0 0 12px;
  color: var(--sdz-color-heading);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sdz-lp-support__intro > p {
  margin: 0;
  color: #33475a;
  font-size: 15.5px;
  line-height: 1.6;
}

.sdz-lp-support__points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sdz-lp-support__points li {
  position: relative;
  padding-left: 28px;
  color: #33475a;
  font-size: 14.5px;
  line-height: 1.5;
}

.sdz-lp-support__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: #2e9e96;
  font-size: 13px;
  font-weight: 700;
}

.sdz-lp-support__panel {
  padding: 40px 42px;
  background: #f4f7fa;
  border-left: 1px solid var(--sdz-color-border);
}

.sdz-lp-support__form {
  display: flex;
  flex-direction: column;
}

.sdz-lp-support__label {
  display: block;
  margin-bottom: 12px;
  color: var(--sdz-color-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sdz-lp-support__form .sdz-lp-support__label + .sdz-lp-support__label,
.sdz-lp-support__presets + .sdz-lp-support__label {
  margin-top: 20px;
}

.sdz-lp-support__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sdz-lp-support__preset {
  padding: 12px 18px;
  border: 1px solid var(--sdz-color-border);
  border-radius: 10px;
  background: var(--sdz-color-surface);
  color: var(--sdz-color-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sdz-lp-support__preset:hover {
  border-color: var(--sdz-color-primary);
}

.sdz-lp-support__preset.is-active {
  border-color: var(--sdz-color-primary);
  background: #eaf2fb;
  color: var(--sdz-color-primary);
  box-shadow: inset 0 0 0 1px var(--sdz-color-primary);
}

.sdz-lp-support__input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--sdz-color-border);
  border-radius: 10px;
  background: var(--sdz-color-surface);
  color: var(--sdz-color-text);
  font-size: 15px;
}

.sdz-lp-support__email {
  margin-top: 12px;
}

.sdz-lp-support__submit {
  width: 100%;
  margin-top: 16px;
}

.sdz-lp-support__error {
  margin: 12px 0 0;
  color: var(--sdz-color-danger, #d63638);
  font-size: 13px;
}

.sdz-lp-support__note {
  margin: 14px 0 0;
  color: var(--sdz-color-text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.sdz-lp-support__collected {
  margin: 18px 0 0;
  color: var(--sdz-color-heading);
  font-weight: 700;
}

/* ---------- FAQ ---------- */

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

.sdz-faq-item {
  padding: 18px 22px;
  background: var(--sdz-color-surface);
  border: 1px solid var(--sdz-color-border);
  border-radius: var(--sdz-radius-md);
}

.sdz-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.sdz-faq-item summary::-webkit-details-marker {
  display: none;
}

.sdz-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--sdz-color-primary);
  font-size: 20px;
}

.sdz-faq-item[open] summary::after {
  content: "–";
}

.sdz-faq-item p {
  margin: 12px 0 0;
  color: var(--sdz-color-text-muted);
}

/* ---------- Final CTA ---------- */

.sdz-lp-final-cta {
  padding: 76px 0;
  color: #fff;
  background: var(--sdz-color-primary);
  text-align: center;
}

.sdz-lp-final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.sdz-lp-final-cta h2 {
  margin: 0;
  max-width: 24ch;
  color: #fff;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
}

.sdz-lp-final-cta p {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}

.sdz-lp-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sdz-lp-final-cta__btn-light {
  color: var(--sdz-color-primary);
  background: #fff;
  border-color: #fff;
}

.sdz-lp-final-cta__btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.sdz-lp-final-cta__note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

/* ---------- Sticky mobile CTA ---------- */

.sdz-lp-sticky-cta {
  display: none;
}

/* Базовые правила .sdz-lp-footer* переехали в components.css — подвал теперь
   общий для всего сайта, не только для главной. Здесь остаются только
   уточнения, что берут верх ИМЕННО на главной (см. блок .sdz-landing-page
   ниже по файлу) — они не создают новых свойств, а лишь ещё раз подтверждают
   те же значения, поэтому конфликтов при переезде нет. */

@media (max-width: 900px) {
  .sdz-site-header__cta,
  .sdz-site-nav {
    display: none;
  }

  .sdz-site-nav--open {
    position: absolute;
    top: 70px;
    right: 16px;
    display: grid;
    min-width: 210px;
    gap: 0;
    padding: 10px;
    background: var(--sdz-color-surface);
    border: 1px solid var(--sdz-color-border);
    border-radius: var(--sdz-radius-md);
    box-shadow: var(--sdz-shadow-card);
  }

  .sdz-site-nav--open a {
    padding: 10px;
  }

  .sdz-site-header__actions {
    margin-left: auto;
  }

  .sdz-menu-toggle {
    display: inline-flex;
  }

  .sdz-hero__grid,
  .sdz-subjects,
  .sdz-lp-demo-grid,
  .sdz-lp-referral {
    grid-template-columns: 1fr;
  }

  .sdz-lp-referral__text {
    border-right: 0;
    border-bottom: 1px solid var(--sdz-color-border);
  }

  .sdz-lp-grid-3,
  .sdz-lp-grid-wrap,
  .sdz-modes,
  .sdz-lp-security-grid,
  .sdz-lp-steps,
  .sdz-lp-facts,
  .sdz-lp-plans {
    grid-template-columns: repeat(2, 1fr);
  }

  /* После общего правила выше: единственная карточка варианта «только
     коды» не должна снова растягиваться на 2 колонки в этом диапазоне. */
  .sdz-lp-security-grid--single {
    grid-template-columns: 1fr;
  }

  .sdz-lp-feature-row,
  .sdz-lp-feature-row--reverse {
    flex-direction: column;
    align-items: stretch;
  }

  .sdz-lp-how-head {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .sdz-site-header__inner {
    min-height: 62px;
  }

  .sdz-hero {
    padding: 40px 0 48px;
  }

  .sdz-hero h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .sdz-hero__content > p {
    font-size: 15.5px;
  }

  .sdz-hero__actions,
  .sdz-hero__actions .sdz-btn {
    width: 100%;
  }

  .sdz-lp-mock__body {
    grid-template-columns: 1fr;
  }

  .sdz-lp-mock__side {
    display: none;
  }

  .sdz-lp-demo__answer-row {
    max-width: none;
  }

  .sdz-lp-grid-3,
  .sdz-lp-grid-wrap,
  .sdz-modes,
  .sdz-lp-security-grid,
  .sdz-lp-steps,
  .sdz-lp-facts,
  .sdz-lp-variant-list,
  .sdz-lp-school__grid,
  .sdz-lp-plans {
    grid-template-columns: 1fr;
  }

  .sdz-lp-referral__day {
    width: 76px;
    font-size: 11.5px;
  }

  .sdz-lp-control-row {
    flex-wrap: wrap;
  }

  .sdz-lp-control-row__input {
    width: 100%;
  }

  .sdz-lp-final-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .sdz-lp-final-cta__actions .sdz-btn {
    width: 100%;
  }

}

/* ===========================================================================
   Claude Design landing fidelity layer (0.88.0)
   The source mockup uses a deliberately tighter public-page scale than the
   cabinet. These rules stay scoped to the landing body and do not change the
   shared design system used by authenticated screens.
   ========================================================================== */

body.sdz-landing-page {
  --sdz-color-primary: #2d6a9f;
  --sdz-color-primary-hover: #245683;
  --sdz-color-primary-soft: #eaf1f7;
  --sdz-color-success: #1f6f4f;
  --sdz-color-success-soft: #e7f3ec;
  --sdz-color-danger: #a74740;
  --sdz-color-danger-soft: #fbebe9;
  --sdz-color-text: #33475a;
  --sdz-color-text-muted: #5a6e80;
  --sdz-color-heading: #152a3a;
  --sdz-color-background: #ffffff;
  --sdz-color-surface: #ffffff;
  --sdz-color-surface-muted: #f4f7fa;
  --sdz-color-border: #d5dee7;
  --sdz-radius-sm: 9px;
  --sdz-radius-md: 13px;
  --sdz-radius-lg: 14px;
  --sdz-shadow-card: 0 8px 24px rgba(21, 42, 58, 0.08);
  --sdz-container: 1240px;
  color: #152a3a;
  background: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.sdz-landing-page .sdz-container {
  width: min(calc(100% - 64px), 1240px);
}

.sdz-landing-page #sdz-main {
  display: flex;
  flex-direction: column;
}

.sdz-landing-page #hero { order: 1; }
.sdz-landing-page #example { order: 2; }
.sdz-landing-page #latest-tests { order: 3; }
.sdz-landing-page #types { order: 4; }
.sdz-landing-page #regimes { order: 5; }
.sdz-landing-page #how { order: 6; }
.sdz-landing-page #benefits { order: 7; }
.sdz-landing-page #features { order: 8; }
.sdz-landing-page #pricing { order: 9; }
.sdz-landing-page #security { order: 10; }
.sdz-landing-page #program { order: 11; }
.sdz-landing-page #content { order: 12; }
.sdz-landing-page #proof { order: 13; }
.sdz-landing-page #gallery { order: 14; }
.sdz-landing-page #demo { order: 15; }
.sdz-landing-page #support { order: 16; }
.sdz-landing-page #faq { order: 17; }
.sdz-landing-page #signup { order: 18; }
.sdz-landing-page .sdz-lp-sticky-cta { order: 19; }

.sdz-landing-page .sdz-section {
  padding: 72px 0;
  background: #ffffff;
}

.sdz-landing-page .sdz-section--muted {
  background: #f4f7fa;
}

.sdz-landing-page .sdz-lp-section-bordered {
  border-top: 1px solid #d5dee7;
}

.sdz-landing-page .sdz-section__heading {
  max-width: 58ch;
  margin-bottom: 28px;
}

.sdz-landing-page .sdz-section__heading h2,
.sdz-landing-page .sdz-lp-benefits-main > h2 {
  margin: 0 0 12px;
  color: #152a3a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.sdz-landing-page .sdz-section__heading p {
  margin: 0;
  color: #33475a;
  font-size: 16.5px;
  line-height: 1.6;
}

.sdz-landing-page .sdz-card {
  border-color: #d5dee7;
  border-radius: 13px;
}

.sdz-landing-page .sdz-btn {
  border-radius: 9px;
}

/* Hero */
.sdz-landing-page .sdz-hero {
  padding: 68px 0 72px;
  background: #f4f7fa;
  /* Точечный фон из обновлённого макета (Claude Design). */
  background-image: radial-gradient(#d5dee7 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -11px -11px;
  border-bottom-color: #d5dee7;
}

.sdz-landing-page .sdz-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 56px;
}

.sdz-landing-page .sdz-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.sdz-landing-page .sdz-hero__content > .sdz-badge {
  min-height: 0;
  padding: 6px 12px;
  color: #33475a;
  background: #ffffff;
  border: 1px solid #d5dee7;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
}

.sdz-landing-page .sdz-hero h1 {
  max-width: none;
  margin: 0;
  color: #152a3a;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.sdz-landing-page .sdz-hero__content > p {
  max-width: 48ch;
  margin: 0;
  color: #33475a;
  font-size: 17.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

.sdz-landing-page .sdz-hero__actions {
  gap: 12px;
  margin: 0;
}

.sdz-landing-page .sdz-hero__actions .sdz-btn {
  min-height: 50px;
  height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 16px;
}

.sdz-landing-page .sdz-hero__actions .sdz-btn--secondary {
  padding-inline: 20px;
  font-size: 15px;
  font-weight: 600;
}

.sdz-landing-page .sdz-lp-trust {
  gap: 18px;
  margin: 4px 0 0;
  color: #33475a;
  font-size: 13px;
}

.sdz-landing-page .sdz-lp-trust li span {
  width: 20px;
  height: 20px;
  color: #175a40;
  background: #e7f3ec;
  border-radius: 6px;
  font-size: 11px;
}

.sdz-landing-page .sdz-lp-mock-wrap {
  gap: 12px;
}

.sdz-landing-page .sdz-lp-mock {
  border-color: #d5dee7;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(21, 42, 58, 0.14);
}

.sdz-landing-page .sdz-lp-mock__bar {
  padding: 9px 14px;
  background: #f4f7fa;
  border-bottom-color: #d5dee7;
}

.sdz-landing-page .sdz-lp-mock__body {
  grid-template-columns: 186px minmax(0, 1fr);
  min-height: 336px;
}

.sdz-landing-page .sdz-lp-mock__side {
  gap: 7px;
  padding: 13px 12px;
  background: #fbfcfd;
  border-right-color: #e9eef3;
}

.sdz-landing-page .sdz-lp-mock__main {
  gap: 11px;
  padding: 14px 16px;
}

.sdz-landing-page .sdz-lp-mock__head strong {
  font-size: 13px;
}

.sdz-landing-page .sdz-lp-mock__head .sdz-badge {
  min-height: 0;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
}

.sdz-landing-page .sdz-lp-mock__row {
  padding: 9px 11px;
  border-color: #e9eef3;
  border-radius: 9px;
}

.sdz-landing-page .sdz-lp-mock__foot {
  margin-top: auto;
}

.sdz-landing-page .sdz-lp-mock-btn {
  min-height: 34px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12.5px;
}

.sdz-landing-page .sdz-lp-mock__time {
  margin-left: auto;
}

/* Live demo */
.sdz-landing-page #example .sdz-section__heading {
  max-width: 62ch;
}

.sdz-landing-page #example .sdz-section__heading > .sdz-badge {
  min-height: 0;
  padding: 0;
  color: #2e9e96;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sdz-landing-page .sdz-lp-demo-tabs {
  margin: 0 0 28px;
  padding: 4px;
  border-radius: 11px;
  background: #e9eef3;
}

.sdz-landing-page .sdz-lp-demo-tab {
  min-height: 38px;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  color: #5a6e80;
  font-size: 14px;
  font-weight: 600;
}

.sdz-landing-page .sdz-lp-demo-tab.is-active {
  color: #152a3a;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(21, 42, 58, 0.16);
}

.sdz-landing-page .sdz-lp-demo-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
}

.sdz-landing-page .sdz-lp-demo,
.sdz-landing-page .sdz-lp-demo-side .sdz-card,
.sdz-landing-page .sdz-lp-teacher-panel {
  border-color: #d5dee7;
  border-radius: 14px;
}

.sdz-landing-page .sdz-lp-demo__bar {
  padding: 12px 18px;
  background: #f4f7fa;
  border-bottom-color: #d5dee7;
}

.sdz-landing-page .sdz-lp-demo__body {
  gap: 16px;
  padding: 22px;
}

.sdz-landing-page .sdz-lp-demo__question {
  font-size: 19px;
}

.sdz-landing-page .sdz-lp-demo__answer-row .sdz-field__control {
  height: 44px;
  /* Специфичность (0,2,0) нужна, чтобы перебить общий сброс
     .sdz-public-page input { font: inherit } (0,1,1), иначе поле теряет
     заданный макетом шрифт. */
  font: 600 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.sdz-landing-page .sdz-lp-control-row__input {
  font: 600 14px/1 ui-monospace, "SF Mono", monospace;
}

/* Донатные поле и кнопки-пресеты — реальные input/button, поэтому их шрифт
   тоже перебивается общим сбросом (0,1,1); восстанавливаем на (0,2,0). */
.sdz-landing-page .sdz-lp-support__input {
  font-size: 15px;
}

.sdz-landing-page .sdz-lp-support__preset {
  font-size: 14px;
  font-weight: 600;
}

.sdz-landing-page .sdz-lp-demo__cta {
  padding: 14px 22px;
  background: #f4f7fa;
}

/* Type cards */
.sdz-lp-types-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.sdz-lp-types-head .sdz-section__heading {
  margin-bottom: 0;
}

.sdz-lp-types-note {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: #33475a;
  background: #f4f7fa;
  border: 1px solid #d5dee7;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.sdz-lp-type-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d5dee7;
  border-radius: 14px;
}

.sdz-lp-type-card__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 14px;
}

.sdz-lp-type-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdz-lp-type-card__title .sdz-card__icon {
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 9px;
  font-size: 14px;
}

.sdz-lp-type-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
}

.sdz-lp-type-card__intro p {
  margin: 0;
  color: #33475a;
  font-size: 14px;
  line-height: 1.6;
}

.sdz-lp-type-card__shot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: #f4f7fa;
  border-top: 1px solid #e9eef3;
}

.sdz-lp-type-card__shot > strong {
  color: #5a6e80;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sdz-lp-type-shot > code {
  padding: 8px 10px;
  color: #33475a;
  background: #ffffff;
  border: 1px solid #d5dee7;
  border-radius: 8px;
  font-size: 12px;
}

.sdz-lp-type-shot__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sdz-lp-type-shot__badges span {
  padding: 3px 8px;
  color: #245683;
  background: #eaf1f7;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
}

/* Подстановочные переменные {a}/{b} в шаблоне задания — как в макете. */
.sdz-lp-type-shot__var {
  padding: 1px 5px;
  border-radius: 4px;
  background: #eaf1f7;
  color: #1b4262;
  font-weight: 700;
}

.sdz-lp-type-shot__badges span.is-var {
  background: #e7f3ec;
  color: #175a40;
  font-weight: 700;
}

.sdz-lp-type-shot__badges span.is-count {
  background: transparent;
  border: 1px solid #e9eef3;
  color: #5a6e80;
  font-weight: 500;
}

.sdz-lp-type-shot__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  background: #ffffff;
  border: 1px solid #e9eef3;
  border-radius: 8px;
  font-size: 11px;
}

.sdz-lp-type-shot__row b {
  width: 18px;
  color: #5a6e80;
  text-align: center;
}

.sdz-lp-type-shot__row code {
  flex: 1;
}

.sdz-lp-type-shot__row em {
  color: #175a40;
  font-style: normal;
  font-weight: 700;
}

.sdz-lp-choice-shot p {
  margin: 0;
  color: #152a3a;
  font-size: 12px;
  font-weight: 600;
}

.sdz-lp-choice-shot > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: #5a6e80;
  background: #ffffff;
  border: 1px solid #e9eef3;
  border-radius: 8px;
  font-size: 11.5px;
}

.sdz-lp-choice-shot > span b {
  margin-left: auto;
  font-weight: 700;
  font-size: 10.5px;
}

.sdz-lp-choice-shot__mark {
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid #b6c4d1;
  background: #fff;
  color: #fff;
  font: 700 8px/11px system-ui, sans-serif;
  text-align: center;
}

.sdz-lp-choice-shot > .is-correct .sdz-lp-choice-shot__mark {
  border-color: #1f6f4f;
  background: #1f6f4f;
}

.sdz-lp-choice-shot > .is-correct {
  color: #175a40;
  background: #e7f3ec;
  border-color: #1f6f4f;
}

.sdz-lp-choice-shot small,
.sdz-lp-image-shot small {
  color: #5a6e80;
  font-size: 10.5px;
}

.sdz-lp-image-shot .sdz-lp-graph-row {
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e9eef3;
  border-radius: 8px;
}

.sdz-lp-image-shot .sdz-lp-graph-row span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #152a3a;
  font-size: 11.5px;
  font-weight: 600;
}

.sdz-lp-type-card__note {
  margin-top: auto;
  padding: 12px 20px;
  color: #5a6e80;
  border-top: 1px solid #e9eef3;
  font-size: 12.5px;
  line-height: 1.45;
}

/* Regime cards */
.sdz-lp-regimes {
  gap: 18px;
}

/* Ниже 768px карточки режимов встают в одну колонку (друг под другом). */
@media (max-width: 767.98px) {
  .sdz-landing-page .sdz-lp-regimes {
    grid-template-columns: 1fr;
  }

  .sdz-landing-page .sdz-lp-bank__head {
    flex-direction: column;
    gap: 16px;
  }

  .sdz-landing-page .sdz-lp-bank__head h2 {
    font-size: 26px;
  }

  .sdz-landing-page .sdz-lp-bank__tiles {
    grid-template-columns: 1fr;
  }

  .sdz-landing-page .sdz-lp-bank-tile {
    padding: 22px 22px;
  }

  .sdz-landing-page .sdz-lp-bank-tile b {
    font-size: 36px;
  }

  .sdz-landing-page .sdz-lp-bank-tree {
    padding: 4px 14px 18px;
  }

  .sdz-landing-page .sdz-lp-bank-tree__subject > summary {
    padding: 12px 14px;
  }

  .sdz-landing-page .sdz-lp-bank-tree__subject-nums {
    flex-direction: column;
    gap: 2px;
  }

  .sdz-landing-page .sdz-lp-bank-tree__num {
    text-align: right;
    font-size: 13.5px;
  }

  .sdz-landing-page .sdz-lp-bank-tree__body {
    padding: 0 14px 14px;
  }
}

.sdz-lp-regime-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d5dee7;
  border-radius: 14px;
}

.sdz-lp-regime-card--training {
  border-color: #2e9e96;
}

.sdz-lp-regime-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid #e9eef3;
}

.sdz-lp-regime-card__head .sdz-card__icon {
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 9px;
}

.sdz-lp-regime-card--training .sdz-card__icon {
  color: #175a40;
  background: #e7f3ec;
}

.sdz-lp-regime-card__head h3 {
  flex: 1;
  margin: 0;
  font-size: 18px;
}

.sdz-lp-regime-card__head .sdz-badge {
  min-height: 0;
  padding: 4px 10px;
  font-size: 11.5px;
}

.sdz-lp-regime-card__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px 20px;
}

.sdz-lp-regime-card__body p {
  margin: 0;
  color: #33475a;
  font-size: 14.5px;
  line-height: 1.6;
}

.sdz-lp-regime-card .sdz-lp-mode-list li {
  color: #33475a;
  font-weight: 500;
  line-height: 1.5;
}

.sdz-lp-regime-card .sdz-lp-mode-list li::before {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #8296a8;
  border-radius: 50%;
  line-height: 1;
}

.sdz-lp-regime-card--training .sdz-lp-mode-list li::before {
  background: #2e9e96;
}

.sdz-lp-regime-card__shot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 14px 20px;
  background: #f4f7fa;
  border-top: 1px solid #e9eef3;
}

.sdz-lp-regime-card__shot > small {
  color: #5a6e80;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.sdz-lp-regime-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #d5dee7;
  border-radius: 9px;
}

.sdz-lp-regime-mini > span,
.sdz-lp-regime-mini > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #5a6e80;
  font-size: 10px;
}

.sdz-lp-regime-mini strong {
  font-size: 11.5px;
}

.sdz-lp-regime-mini code {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  color: #152a3a;
  background: #ffffff;
  border: 1px solid #d5dee7;
  border-radius: 7px;
  font: 600 11px/1 ui-monospace, monospace;
}

.sdz-lp-regime-mini code.is-correct {
  gap: 7px;
  color: #175a40;
  background: #e7f3ec;
  border-color: #1f6f4f;
}

.sdz-lp-regime-mini code.is-correct i {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1f6f4f;
  border-radius: 50%;
  font: 700 10px/1 system-ui, sans-serif;
  font-style: normal;
}

.sdz-lp-regime-mini > div span,
.sdz-lp-regime-mini > div b {
  flex: 1;
  padding: 4px 8px;
  border: 1px solid #d5dee7;
  border-radius: 6px;
  text-align: center;
}

.sdz-lp-regime-mini > div b {
  color: #ffffff;
  background: #2d6a9f;
  border-color: #2d6a9f;
}

.sdz-lp-regime-mini small {
  color: #5a6e80;
  font-size: 9.5px;
}

/* Benefits */
.sdz-lp-benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: start;
  gap: 40px;
}

.sdz-lp-benefits-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sdz-lp-benefit-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sdz-lp-benefit-cards .sdz-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.sdz-lp-benefit-cards .sdz-card__icon {
  margin: 0;
}

.sdz-lp-benefit-cards h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.sdz-lp-benefit-cards p {
  margin: 0;
  color: #33475a;
  font-size: 13.5px;
  line-height: 1.6;
}

.sdz-lp-benefits-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sdz-lp-benefit-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 14px 12px;
  box-shadow: 0 10px 28px rgba(21, 42, 58, 0.08);
}

.sdz-lp-benefit-results > strong {
  margin: 0 -14px 8px;
  padding: 10px 14px;
  color: #5a6e80;
  background: #f4f7fa;
  border-bottom: 1px solid #d5dee7;
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sdz-lp-benefit-results > span,
.sdz-lp-benefit-results > small {
  color: #5a6e80;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.sdz-lp-benefit-results .sdz-lp-mini-results__row {
  padding: 7px 9px;
  border-color: #e9eef3;
}

.sdz-lp-benefit-graph {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.sdz-lp-benefit-graph strong {
  font-size: 13px;
  line-height: 1.5;
}

/* Existing steps and cabinet showcase alignment */
.sdz-landing-page #how {
  border-bottom: 1px solid #d5dee7;
}

.sdz-landing-page .sdz-lp-how-head {
  gap: 28px;
  margin-bottom: 30px;
}

.sdz-landing-page .sdz-lp-step-card {
  border-radius: 13px;
}

.sdz-landing-page .sdz-lp-step-card__body {
  gap: 9px;
}

.sdz-landing-page .sdz-lp-step-card__n {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.sdz-landing-page .sdz-lp-step-card__head b {
  line-height: 1.2;
}

.sdz-landing-page .sdz-lp-step-card__body p {
  color: #33475a;
  font-size: 13.5px;
  line-height: 1.55;
}

.sdz-landing-page #features .sdz-section__heading {
  max-width: 62ch;
}

.sdz-landing-page .sdz-lp-feature-row {
  gap: 32px;
  padding: 28px 0;
}

.sdz-landing-page .sdz-lp-feature-text {
  gap: 12px;
  padding-block: 8px;
}

.sdz-landing-page .sdz-lp-feature-text > .sdz-badge {
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  min-height: 0;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #d5dee7;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
}

.sdz-landing-page .sdz-lp-feature-text h3 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.sdz-landing-page .sdz-lp-feature-text p {
  color: #33475a;
  font-size: 15.5px;
  line-height: 1.6;
}

.sdz-landing-page .sdz-lp-feature-shot {
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(21, 42, 58, 0.08);
}

.sdz-landing-page #features .sdz-lp-feature-row--practice {
  flex-direction: row-reverse;
}

.sdz-landing-page #features .sdz-lp-feature-row--results {
  flex-direction: row;
}

.sdz-landing-page .sdz-lp-features-cta {
  gap: 14px;
}

.sdz-landing-page .sdz-lp-features-cta > span {
  color: #5a6e80;
  font-size: 13px;
  font-weight: 500;
}

/* Pricing */
.sdz-landing-page .sdz-lp-plan {
  gap: 14px;
  min-height: 318px;
  padding: 24px;
  border-radius: 14px;
}

.sdz-landing-page .sdz-lp-plan--featured {
  border: 2px solid #2d6a9f;
  box-shadow: 0 12px 30px rgba(45, 106, 159, 0.14);
}

.sdz-landing-page .sdz-lp-plan__name {
  font-size: 17px;
  line-height: 1.2;
}

.sdz-landing-page .sdz-lp-plan__price b {
  color: #152a3a;
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
}

.sdz-landing-page .sdz-lp-plan__price small {
  font-weight: 500;
  line-height: 1.35;
}

.sdz-landing-page .sdz-lp-plan__rows li {
  color: #33475a;
  font-weight: 500;
  line-height: 1.45;
}

.sdz-landing-page .sdz-lp-referral {
  margin-top: 24px;
  border-color: #d5dee7;
  border-radius: 14px;
}

.sdz-landing-page .sdz-lp-referral__text,
.sdz-landing-page .sdz-lp-referral__chart {
  padding: 22px;
}

.sdz-landing-page .sdz-lp-referral__chart {
  background: #f4f7fa;
}

.sdz-landing-page .sdz-lp-referral__day {
  width: 170px;
  text-align: right;
}

.sdz-landing-page .sdz-lp-referral__day small {
  display: inline-block;
  width: 74px;
  margin-left: 10px;
  color: #5a6e80;
  font-weight: 500;
}

/* Security */
.sdz-landing-page .sdz-lp-security {
  padding: 72px 0;
  color: #e8eff5;
  background: #152a3a;
}

.sdz-landing-page .sdz-lp-security .sdz-section__heading {
  max-width: 60ch;
  margin-bottom: 28px;
}

.sdz-landing-page .sdz-lp-security__badge {
  min-height: 0;
  padding: 0;
  color: #7fe3d8;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sdz-landing-page .sdz-lp-security .sdz-section__heading h2 {
  color: #ffffff;
}

.sdz-landing-page .sdz-lp-security .sdz-section__heading p {
  color: #c3d2de;
}

.sdz-landing-page .sdz-lp-security-card {
  gap: 13px;
  padding: 22px;
  background: #17222d;
  border-color: #2c3a47;
  border-radius: 14px;
}

.sdz-landing-page .sdz-lp-security-card--ok {
  border-color: #7fd3a6;
}

.sdz-landing-page .sdz-lp-security-card__head strong {
  color: #ffffff;
  font-size: 18px;
}

.sdz-landing-page .sdz-lp-security-card > p {
  color: #c3d2de;
  font-size: 14px;
}

.sdz-landing-page .sdz-lp-security-card .sdz-lp-mode-list li {
  color: #dce7f0;
}

.sdz-lp-security-card__foot {
  margin-top: auto;
  padding: 10px 12px;
  color: #7fd3a6;
  background: #0f1720;
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.45;
}

.sdz-lp-security-card__foot--warning {
  color: #d9a63f;
}

.sdz-landing-page .sdz-lp-security .sdz-lp-grid-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sdz-landing-page .sdz-lp-security-tile {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 14px;
  padding: 20px;
  background: #17222d;
  border-color: #2c3a47;
}

.sdz-landing-page .sdz-lp-security-tile .sdz-card__icon {
  grid-row: 1 / 3;
  margin: 0;
  color: #7fd3a6;
  background: #12332a;
}

.sdz-landing-page .sdz-lp-security-tile h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 15px;
}

.sdz-landing-page .sdz-lp-security-tile p {
  margin: 0;
  color: #c3d2de;
  font-size: 13.5px;
}

.sdz-landing-page .sdz-lp-security-doc {
  color: #8ac2e9;
  background: #17222d;
  border-color: #2c3a47;
}

/* Program, proof and FAQ */
.sdz-landing-page #program .sdz-section__heading {
  margin-bottom: 22px;
}

.sdz-landing-page .sdz-subjects {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 40px;
}

.sdz-landing-page .sdz-lp-books {
  margin: 0 0 20px;
}

.sdz-landing-page .sdz-lp-books .sdz-chip {
  padding: 9px 13px;
  color: #33475a;
  background: #f4f7fa;
  border: 1px solid #d5dee7;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}

.sdz-landing-page .sdz-lp-books .sdz-chip::first-letter {
  color: #2e9e96;
}

.sdz-landing-page .sdz-lp-facts {
  margin-top: 0;
}

.sdz-landing-page .sdz-lp-facts__item {
  font-weight: 500;
  line-height: 1.35;
}

.sdz-landing-page .sdz-lp-facts__item b {
  line-height: 1;
}

.sdz-landing-page .sdz-lp-rubric-card {
  border-radius: 13px;
}

.sdz-landing-page .sdz-lp-rubric-card__list .sdz-lp-mock__node {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #152a3a;
}

.sdz-landing-page .sdz-lp-rubric-card__list .sdz-lp-mock__node small {
  margin-left: auto;
  color: #5a6e80;
  font-size: 11px;
  font-weight: 500;
}

.sdz-landing-page #proof {
  padding: 64px 0;
}

.sdz-landing-page #proof h2 {
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sdz-landing-page .sdz-lp-proof-card {
  gap: 12px;
  padding: 20px;
}

.sdz-landing-page .sdz-lp-proof-card p {
  color: #152a3a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.sdz-landing-page .sdz-lp-proof-card__who > span:last-child {
  display: flex;
  flex-direction: column;
}

.sdz-landing-page .sdz-lp-proof-card__who b {
  color: #152a3a;
  font-size: 13px;
}

.sdz-landing-page .sdz-lp-proof-card__who small {
  color: #5a6e80;
  font-size: 11.5px;
}

.sdz-landing-page #faq .sdz-container {
  max-width: 900px;
}

.sdz-landing-page #faq .sdz-section__heading {
  margin-bottom: 24px;
}

.sdz-landing-page .sdz-faq-list {
  gap: 10px;
}

.sdz-landing-page .sdz-faq-item {
  border-color: #d5dee7;
  border-radius: 12px;
}

.sdz-landing-page .sdz-faq-item[open] {
  background: #f4f7fa;
  border-color: #b6c4d1;
}

.sdz-landing-page .sdz-faq-item summary {
  padding: 0;
  color: #152a3a;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}

.sdz-landing-page .sdz-faq-item p {
  padding: 0 52px 18px 18px;
  color: #33475a;
  font-size: 14.5px;
  line-height: 1.65;
}

/* CTA and footer */
.sdz-landing-page .sdz-lp-final-cta {
  padding: 76px 0;
  background: #2d6a9f;
}

.sdz-landing-page .sdz-lp-final-cta__inner {
  gap: 20px;
}

.sdz-landing-page .sdz-lp-final-cta h2 {
  max-width: 24ch;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.sdz-landing-page .sdz-lp-final-cta p {
  max-width: 52ch;
  color: #dce9f4;
  font-size: 17px;
}

.sdz-landing-page .sdz-lp-final-cta__actions {
  padding-top: 6px;
}

.sdz-landing-page .sdz-lp-final-cta__actions .sdz-btn {
  min-height: 54px;
  height: 54px;
  padding: 0 28px;
  border-radius: 11px;
  font-size: 16.5px;
}

.sdz-landing-page .sdz-lp-final-cta__actions .sdz-lp-final-cta__btn-outline {
  padding-inline: 22px;
  font-size: 15.5px;
  /* Перебиваем .sdz-public-page a (0,1,1) — иначе текст кнопки синий на синем. */
  color: #fff;
}

.sdz-landing-page .sdz-lp-footer {
  color: #c3d2de;
  background: #152a3a;
}

.sdz-landing-page .sdz-lp-footer__grid {
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 52px;
  padding-bottom: 28px;
}

.sdz-landing-page .sdz-lp-footer__logo .sdz-brand__word {
  color: #ffffff;
  font-size: 18px;
}

.sdz-landing-page .sdz-lp-footer__logo .sdz-brand__word-accent {
  color: #6fb2e0;
}

.sdz-landing-page .sdz-lp-footer__brand p,
.sdz-landing-page .sdz-lp-footer__col a {
  color: #c3d2de;
  font-size: 13.5px;
}

.sdz-landing-page .sdz-lp-footer__legal {
  padding-top: 18px;
  padding-bottom: 40px;
  color: #6c7f91;
}

@media (max-width: 900px) {
  .sdz-landing-page .sdz-container {
    width: min(calc(100% - 40px), 1240px);
  }

  .sdz-landing-page .sdz-hero__grid,
  .sdz-landing-page .sdz-lp-demo-grid,
  .sdz-lp-benefits-grid,
  .sdz-landing-page .sdz-subjects {
    grid-template-columns: 1fr;
  }

  .sdz-landing-page .sdz-lp-grid-3,
  .sdz-landing-page .sdz-lp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sdz-lp-benefits-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* На планшете и уже — гасим любой горизонтальный вылет за вьюпорт. Класс
     висит на <body>, поэтому клип ставим и на него, и на сам скролл-контейнер
     <html> — иначе overflow-x на body не всегда останавливает прокрутку. */
  .sdz-landing-page {
    overflow-x: hidden;
  }

  html:has(body.sdz-landing-page) {
    overflow-x: hidden;
  }

  /* Заголовок «По вашей программе» без переноса только на десктопе. */
  .sdz-landing-page #program .sdz-section__heading h2 {
    white-space: normal;
  }

  .sdz-landing-page .sdz-lp-support {
    grid-template-columns: 1fr;
  }

  .sdz-landing-page .sdz-lp-support__intro,
  .sdz-landing-page .sdz-lp-support__panel {
    padding: 32px 34px;
  }

  .sdz-landing-page .sdz-lp-support__intro h2 {
    font-size: 27px;
  }

  .sdz-landing-page .sdz-lp-support__panel {
    border-left: 0;
    border-top: 1px solid var(--sdz-color-border);
  }
}

/* Факты «По вашей программе» — 4 в ряд только когда реально помещаются
   (планшет от 768px). Ниже — базовые 2 колонки, иначе строка вылезает за экран. */
@media (min-width: 768px) and (max-width: 900px) {
  .sdz-landing-page .sdz-lp-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sdz-landing-page {
    overflow-x: hidden;
  }

  .sdz-landing-page .sdz-container {
    width: min(calc(100% - 32px), 1240px);
  }

  .sdz-landing-page .sdz-section,
  .sdz-landing-page .sdz-lp-security,
  .sdz-landing-page .sdz-lp-final-cta {
    padding: 52px 0;
  }

  .sdz-landing-page .sdz-hero {
    padding: 42px 0 48px;
  }

  .sdz-landing-page .sdz-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(29px, 8.1vw, 34px);
  }

  .sdz-landing-page .sdz-section__heading h2,
  .sdz-landing-page .sdz-lp-benefits-main > h2 {
    font-size: 29px;
  }

  .sdz-landing-page .sdz-lp-mock__body {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .sdz-landing-page .sdz-lp-mock {
    overflow: hidden;
  }

  .sdz-landing-page .sdz-lp-mock__side {
    padding: 12px 10px;
  }

  .sdz-landing-page .sdz-lp-mock__main {
    min-width: 0;
    padding: 12px 10px;
  }

  .sdz-landing-page .sdz-lp-mock__head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
  }

  .sdz-landing-page .sdz-lp-mock__head strong {
    grid-row: 1 / 3;
  }

  .sdz-landing-page .sdz-lp-mock__row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .sdz-landing-page .sdz-lp-mock__p {
    display: none;
  }

  .sdz-landing-page .sdz-lp-mock__foot {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sdz-landing-page .sdz-lp-mock__time {
    margin: 0;
    text-align: left;
  }

  .sdz-landing-page .sdz-hero__actions,
  .sdz-landing-page .sdz-lp-final-cta__actions {
    align-items: stretch;
  }

  .sdz-landing-page .sdz-hero__actions .sdz-btn,
  .sdz-landing-page .sdz-lp-final-cta__actions .sdz-btn {
    width: 100%;
  }

  .sdz-landing-page .sdz-lp-features-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .sdz-landing-page .sdz-lp-features-cta .sdz-btn {
    width: 100%;
  }

  .sdz-landing-page .sdz-lp-trust {
    align-items: flex-start;
  }

  .sdz-landing-page .sdz-lp-demo-tabs {
    width: 100%;
  }

  .sdz-landing-page .sdz-lp-demo-tab {
    flex: 1 1 0;
    padding-inline: 8px;
  }

  .sdz-landing-page .sdz-lp-demo__bar,
  .sdz-landing-page .sdz-lp-control-row,
  .sdz-landing-page .sdz-lp-demo__answer-row,
  .sdz-landing-page .sdz-lp-demo__foot,
  .sdz-landing-page .sdz-lp-demo__cta,
  .sdz-landing-page .sdz-lp-graph-row,
  .sdz-landing-page .sdz-lp-security-card__head,
  .sdz-landing-page .sdz-lp-security-docs {
    align-items: stretch;
    flex-direction: column;
  }

  .sdz-landing-page .sdz-lp-demo__subject,
  .sdz-landing-page .sdz-lp-demo__optional-note {
    margin-left: 0;
  }

  .sdz-landing-page .sdz-lp-demo__answer-row .sdz-btn,
  .sdz-landing-page .sdz-lp-demo__foot .sdz-btn,
  .sdz-landing-page .sdz-lp-demo__cta .sdz-btn {
    width: 100%;
  }

  /* flex-basis: 220px/128px on these two are meant as widths for the
     side-by-side desktop row; once .sdz-lp-control-row switches to a
     column above, the same basis applies to height instead and inflates
     each row to 300+px. Reset to content-sized on this axis. */
  .sdz-landing-page .sdz-lp-control-row__q {
    flex: 1 1 auto;
  }

  .sdz-landing-page .sdz-lp-control-row__input {
    flex: 0 0 auto;
    width: 100%;
  }

  .sdz-landing-page .sdz-lp-types-head,
  .sdz-landing-page .sdz-lp-steps-head {
    align-items: stretch;
    flex-direction: column;
  }

  .sdz-landing-page .sdz-lp-types-note {
    width: 100%;
  }

  .sdz-landing-page .sdz-lp-grid-3,
  .sdz-landing-page .sdz-lp-steps,
  .sdz-lp-benefit-cards,
  .sdz-lp-benefits-side,
  .sdz-landing-page .sdz-lp-security .sdz-lp-grid-wrap,
  .sdz-landing-page .sdz-lp-plans,
  .sdz-landing-page .sdz-lp-regimes {
    grid-template-columns: 1fr;
  }

  .sdz-landing-page .sdz-lp-feature-row,
  .sdz-landing-page .sdz-lp-feature-row--reverse {
    flex-direction: column;
    align-items: stretch;
  }

  /* В колонке у мокапа с overflow:hidden авто-min-height становится 0 и при
     flex:1 1 0 он схлопывается в невидимую полоску — фиксируем высоту по
     содержимому и полную ширину. */
  .sdz-landing-page .sdz-lp-feature-shot {
    flex: none;
    width: 100%;
  }

  .sdz-landing-page #features .sdz-lp-feature-row--practice,
  .sdz-landing-page #features .sdz-lp-feature-row--results {
    flex-direction: column;
  }

  .sdz-lp-regime-card__shot {
    grid-template-columns: 1fr;
  }

  .sdz-landing-page .sdz-lp-referral {
    grid-template-columns: 1fr;
  }

  .sdz-landing-page .sdz-lp-referral__day {
    width: 128px;
  }

  .sdz-landing-page .sdz-lp-referral__day small {
    display: none;
  }

  .sdz-landing-page .sdz-lp-referral__row {
    grid-template-columns: 24px minmax(0, 1fr) 104px;
  }

  .sdz-landing-page .sdz-lp-security-doc {
    width: 100%;
  }

  .sdz-landing-page .sdz-subjects {
    gap: 28px;
  }

  .sdz-landing-page .sdz-lp-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sdz-landing-page .sdz-lp-support__intro,
  .sdz-landing-page .sdz-lp-support__panel {
    padding: 26px 22px;
  }

  .sdz-landing-page .sdz-lp-support__intro h2 {
    font-size: 24px;
  }

  .sdz-landing-page .sdz-lp-final-cta h2 {
    font-size: 31px;
  }

  .sdz-landing-page .sdz-lp-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sdz-landing-page .sdz-lp-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ===========================================================================
   Screenshot gallery (#gallery) + lightbox (0.98.49)
   ========================================================================== */

.sdz-lp-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  background: var(--sdz-color-surface-muted);
  border-radius: 12px;
}

.sdz-lp-gallery-tab {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--sdz-color-text-muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.sdz-lp-gallery-tab.is-active {
  color: var(--sdz-color-heading);
  background: var(--sdz-color-surface);
  box-shadow: var(--sdz-shadow-card);
}

.sdz-lp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sdz-lp-gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sdz-lp-gallery-item[hidden] {
  display: none;
}

.sdz-lp-gallery-item__frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--sdz-color-border);
  border-radius: var(--sdz-radius-md);
  overflow: hidden;
  background: var(--sdz-color-surface-muted);
  cursor: zoom-in;
}

.sdz-lp-gallery-item__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 368;
  object-fit: cover;
  object-position: top;
}

.sdz-lp-gallery-item__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sdz-color-heading) 65%, transparent);
  color: #fff;
  font-size: 15px;
}

.sdz-lp-gallery-item figcaption {
  display: grid;
  gap: 3px;
}

.sdz-lp-gallery-item figcaption strong {
  color: var(--sdz-color-heading);
  font-size: 14.5px;
}

.sdz-lp-gallery-item figcaption span {
  color: var(--sdz-color-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.sdz-lp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
}

.sdz-lp-lightbox[hidden] {
  display: none;
}

.sdz-lp-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--sdz-color-heading) 94%, transparent);
  backdrop-filter: blur(6px);
}

.sdz-lp-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 60px 84px;
}

.sdz-lp-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  border-radius: var(--sdz-radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: var(--sdz-color-surface);
}

.sdz-lp-lightbox__caption {
  display: grid;
  gap: 4px;
  max-width: 640px;
  margin-top: 16px;
  text-align: center;
}

.sdz-lp-lightbox__caption strong {
  color: #fff;
  font-size: 15px;
}

.sdz-lp-lightbox__caption span {
  color: color-mix(in srgb, #fff 78%, transparent);
  font-size: 13.5px;
  line-height: 1.45;
}

.sdz-lp-lightbox__close,
.sdz-lp-lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 16%, transparent);
  color: #fff;
  cursor: pointer;
}

.sdz-lp-lightbox__close:hover,
.sdz-lp-lightbox__nav:hover {
  background: color-mix(in srgb, #fff 26%, transparent);
}

.sdz-lp-lightbox__close {
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.sdz-lp-lightbox__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 26px;
  transform: translateY(-50%);
}

.sdz-lp-lightbox__nav--prev {
  left: 20px;
}

.sdz-lp-lightbox__nav--next {
  right: 20px;
}

@media (max-width: 900px) {
  .sdz-lp-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sdz-lp-lightbox__dialog {
    padding: 60px 20px;
  }

  .sdz-lp-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .sdz-lp-lightbox__nav--prev {
    left: 6px;
  }

  .sdz-lp-lightbox__nav--next {
    right: 6px;
  }
}

@media (max-width: 640px) {
  .sdz-lp-gallery-grid {
    grid-template-columns: 1fr;
  }

  .sdz-lp-gallery-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .sdz-lp-gallery-tab {
    flex: none;
  }
}

/* ---------------- Попап заявки на доступ (вместо прямой регистрации) ------ */
.sdz-lead-dialog {
  padding: 0;
  border: 0;
  border-radius: var(--sdz-radius-lg);
  box-shadow: var(--sdz-shadow-card);
  width: 100%;
  max-width: 480px;
}

.sdz-lead-dialog::backdrop {
  background: rgba(16, 40, 56, 0.55);
}

.sdz-lead-dialog__content {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 32px;
  background: var(--sdz-color-surface);
}

.sdz-lead-dialog__content h2 {
  margin: 0;
  padding-right: 28px;
}

.sdz-lead-dialog__intro {
  margin: 0;
  color: var(--sdz-color-text-muted);
  font-size: 14px;
}

.sdz-lead-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--sdz-color-surface-muted);
  color: var(--sdz-color-text);
  font-size: 13px;
  cursor: pointer;
}

.sdz-lead-dialog [data-sdz-lead-form] {
  display: grid;
  gap: 14px;
}

.sdz-field--honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .sdz-lead-dialog {
    max-width: none;
  }

  .sdz-lead-dialog__content {
    padding: 24px;
  }
}
