.ushp-page {
  --ushp-light: #faf8f4;
  --ushp-concrete: #f2eee7;
  --ushp-ink: #141414;
  --ushp-copy: #4a443c;
  --ushp-muted: #6e665c;
  --ushp-line: #ddd5c8;
  background: var(--surface-page-dark);
}

.ushp-page [hidden] {
  display: none !important;
}

.ushp-page h1,
.ushp-page h2,
.ushp-page h3,
.ushp-page strong,
.ushp-page b {
  font-family: "Onest", Arial, sans-serif;
}

.ushp-page h1,
.ushp-page h2,
.ushp-page h3,
.ushp-page p,
.ushp-page ol,
.ushp-page ul,
.ushp-page blockquote {
  margin-top: 0;
}

.ushp-page main {
  display: block;
}

.ushp-index,
.ushp-overline,
.ushp-ledger-label {
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ushp-index,
.ushp-overline {
  color: var(--text-on-dark-muted);
}

.ushp-light .ushp-index,
.ushp-concrete .ushp-index,
.ushp-ledger-label {
  color: var(--ushp-muted);
}

.ushp-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface-technical-dark);
  color: var(--text-on-dark-muted);
}

.ushp-media::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(246, 242, 234, 0.08);
  content: "";
  pointer-events: none;
}

.ushp-media > span {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ushp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ushp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Golos Text", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.ushp-button:hover {
  transform: translateY(-1px);
}

.ushp-button:active {
  transform: translateY(0);
}

.ushp-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.ushp-button-gradient {
  background: var(--gradient-primary);
  color: var(--ushp-ink);
}

.ushp-button-gradient:hover {
  background: var(--gradient-primary-hover);
}

.ushp-button-gradient:active {
  background: var(--gradient-primary-pressed);
}

.ushp-button-flat {
  background: var(--color-orange);
  color: var(--ushp-ink);
}

.ushp-button-flat:hover {
  background: var(--color-orange-deep);
}

.ushp-button-dark {
  border-color: var(--border-dark);
  background: transparent;
  color: var(--text-on-dark);
}

.ushp-button-dark:hover {
  border-color: var(--border-dark-strong);
  background: rgba(246, 242, 234, 0.035);
}

.ushp-button-light {
  border-color: var(--ushp-line);
  background: transparent;
  color: var(--ushp-ink);
}

.ushp-button-light:hover {
  border-color: #b9ad9d;
  background: rgba(20, 20, 20, 0.025);
}

.ushp-button-phone svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
}

/* 01 — Hero */
.ushp-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark-hairline);
  background: var(--surface-page-dark);
}

.ushp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(420px, 5fr);
  min-height: calc(100svh - 80px);
}

.ushp-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 70px 64px 64px 0;
}

.ushp-hero h1 {
  position: static;
  grid-row: auto;
  grid-column: auto;
  margin: 26px 0 0;
  font-size: clamp(58px, 3.75vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.ushp-hero h1 span {
  display: block;
}

.ushp-hero h1 span:last-child {
  color: var(--color-orange);
}

.ushp-hero-lead {
  max-width: 58ch;
  margin-bottom: 0;
  margin-top: 30px;
  color: var(--text-on-dark-secondary);
  font-size: 21px;
  line-height: 1.5;
}

.ushp-hero-price {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-top: 38px;
}

.ushp-hero-price strong {
  flex: none;
  font-size: clamp(52px, 3.4vw, 66px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 0.98;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.ushp-hero-price span {
  padding-bottom: 4px;
  color: var(--text-on-dark-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.ushp-hero-actions {
  margin-top: 38px;
}

.ushp-trust {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 22px 0 0;
  color: var(--text-on-dark-secondary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.ushp-trust span {
  width: 28px;
  height: 1px;
  background: var(--color-orange);
}

.ushp-hero-media {
  min-height: 700px;
  background: #2a2622;
}

/* 02 — When */
.ushp-light {
  background: var(--ushp-light);
  color: var(--ushp-ink);
}

.ushp-concrete {
  background: var(--ushp-concrete);
  color: var(--ushp-ink);
}

.ushp-when {
  padding: 112px 0;
}

.ushp-when-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(64px, 6vw, 110px);
  align-items: start;
}

.ushp-when h2,
.ushp-price h2,
.ushp-calculator h2,
.ushp-structure h2,
.ushp-process h2,
.ushp-communications h2,
.ushp-object h2,
.ushp-control h2,
.ushp-rescue h2,
.ushp-next h2,
.ushp-final h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 3.1vw, 60px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.ushp-when h2 {
  margin-top: 18px;
  max-width: 16ch;
}

.ushp-when-copy > p:not(.ushp-index),
.ushp-communications-copy > p,
.ushp-rescue-layout > div > p:not(.ushp-index),
.ushp-final-layout > div > p:not(.ushp-index) {
  max-width: 46ch;
  margin: 24px 0 0;
  color: var(--ushp-copy);
  font-size: 18px;
  line-height: 1.65;
}

.ushp-when-closing {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--ushp-ink);
}

.ushp-when-closing p {
  max-width: 44ch;
  margin-bottom: 22px;
  color: var(--ushp-ink);
  font-size: 18px;
  line-height: 1.62;
}

.ushp-factor-ledger {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ushp-ink);
  list-style: none;
}

.ushp-factor-ledger li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 28px;
  align-items: baseline;
  min-height: 98px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

.ushp-factor-ledger li:last-child {
  border-bottom-color: var(--ushp-ink);
}

.ushp-factor-ledger span {
  color: var(--ushp-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ushp-factor-ledger li:first-child span {
  color: var(--color-orange);
}

.ushp-factor-ledger strong {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.16;
}

/* 03 — Price */
.ushp-price {
  padding: 112px 0 120px;
  border-top: 1px solid var(--ushp-line);
}

.ushp-split-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: end;
}

.ushp-split-heading h2 {
  margin-top: 18px;
}

.ushp-split-heading > p {
  margin-bottom: 4px;
  color: var(--ushp-copy);
  font-size: 22px;
  line-height: 1.45;
}

.ushp-price-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: clamp(56px, 5vw, 88px);
  margin-top: 54px;
  align-items: start;
}

.ushp-package-ledger {
  margin-top: 16px;
  border-top: 1px solid var(--ushp-ink);
}

.ushp-package-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 210px;
  gap: 20px;
  align-items: baseline;
  padding: 25px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

.ushp-package-row.is-primary {
  padding-left: 20px;
  background: rgba(252, 140, 13, 0.08);
  box-shadow: inset 3px 0 0 var(--color-orange);
}

.ushp-package-row h3 {
  margin-bottom: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
}

.ushp-package-row p {
  margin: 6px 0 0;
  color: var(--ushp-copy);
  font-size: 18px;
  line-height: 1.45;
}

.ushp-package-row > span {
  color: var(--ushp-copy);
  font-size: 16px;
}

.ushp-package-row > strong {
  font-size: 42px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.ushp-price-context {
  max-width: 82ch;
  margin: 15px 0 0;
  color: var(--ushp-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ushp-ledger-label-secondary {
  margin-top: 42px;
}

.ushp-extra-ledger {
  margin-top: 16px;
  border-top: 1px solid rgba(20, 20, 20, 0.35);
}

.ushp-extra-ledger > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 210px;
  gap: 20px;
  align-items: baseline;
  min-height: 68px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
}

.ushp-extra-ledger span {
  font-size: 18px;
  line-height: 1.4;
}

.ushp-extra-ledger i {
  color: var(--ushp-copy);
  font-size: 16px;
  font-style: normal;
}

.ushp-extra-ledger strong {
  font-size: 28px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.ushp-price-actions {
  margin-top: 30px;
}

.ushp-composition {
  padding: 10px 30px 24px;
  border-top: 3px solid var(--ushp-ink);
  background: var(--ushp-light);
}

.ushp-composition > .ushp-ledger-label {
  margin-top: 17px;
}

.ushp-composition ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ushp-composition li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

.ushp-composition li:last-child {
  border-bottom: 0;
}

.ushp-composition li span {
  color: var(--ushp-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ushp-composition li strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

/* 04 — Calculator */
.ushp-calculator {
  padding: 112px 0 120px;
  background: var(--surface-elevated-dark);
}

.ushp-calculator-heading {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: end;
}

.ushp-calculator-heading h2 {
  grid-column: 2;
  max-width: 22ch;
}

.ushp-calculator-heading .ushp-index {
  grid-column: 1;
  grid-row: 1;
}

.ushp-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 56px;
  margin-top: 50px;
  align-items: start;
}

.ushp-calc-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 4px;
  border-radius: 6px;
  background: var(--surface-page-dark);
}

.ushp-calc-tabs button {
  min-width: 150px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-on-dark-muted);
  cursor: pointer;
  font-weight: 700;
}

.ushp-calc-tabs button.is-active {
  background: var(--surface-technical-dark);
  color: var(--text-on-dark);
}

.ushp-calc-panel {
  margin-top: 20px;
}

.ushp-calc-panel > label,
.ushp-dimensions-panel label > span:first-child,
.ushp-contact-form label {
  color: var(--text-on-dark-secondary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.ushp-input-shell {
  display: flex;
  align-items: center;
  min-height: 66px;
  margin-top: 8px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  background: var(--surface-void);
}

.ushp-input-shell:focus-within {
  border-color: var(--color-orange);
}

.ushp-input-shell input {
  width: 100%;
  min-width: 0;
  height: 64px;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-on-dark);
  font-family: "Onest", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ushp-input-shell input::placeholder {
  color: #625c55;
  font-family: "Golos Text", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.ushp-input-shell > span {
  flex: none;
  padding-right: 18px;
  color: var(--text-on-dark-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.ushp-dimensions-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.ushp-multiply {
  padding-bottom: 22px;
  color: var(--text-on-dark-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 22px;
  text-align: center;
}

.ushp-dimensions-total {
  grid-column: 1 / -1;
  color: var(--text-on-dark-secondary);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.ushp-package-selector {
  display: grid;
  gap: 8px;
  margin: 38px 0 0;
  padding: 0;
  border: 0;
}

.ushp-package-selector legend {
  margin-bottom: 14px;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ushp-package-selector label {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 18px 20px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  background: var(--surface-page-dark);
  cursor: pointer;
}

.ushp-package-selector label.is-selected {
  border-color: var(--color-orange);
}

.ushp-package-selector input {
  position: absolute;
  opacity: 0;
}

.ushp-radio-mark {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-dark-strong);
  border-radius: 50%;
}

.ushp-package-selector label.is-selected .ushp-radio-mark {
  border: 6px solid var(--color-orange);
}

.ushp-package-selector label > span:nth-of-type(2) {
  min-width: 0;
}

.ushp-package-selector label strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.ushp-package-selector label small {
  display: block;
  margin-top: 5px;
  color: var(--text-on-dark-muted);
  font-size: 13px;
  line-height: 1.35;
}

.ushp-package-selector label b {
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ushp-package-note {
  margin: 14px 0 0;
  color: var(--text-on-dark-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ushp-result-panel {
  position: sticky;
  top: 112px;
  overflow: hidden;
  padding: 38px 40px 40px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  background: var(--surface-page-dark);
}

.ushp-result-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--gradient-primary);
  content: "";
}

.ushp-result-panel.is-updated {
  border-color: var(--border-dark-strong);
}

.ushp-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ushp-result-head > span {
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ushp-result-head b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  background: var(--surface-technical-dark);
  color: var(--color-orange);
  font-family: "Golos Text", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ushp-result-empty strong,
.ushp-result-value strong {
  display: block;
  margin-top: 28px;
  font-size: clamp(52px, 4vw, 76px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 0.98;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.ushp-result-empty > p,
.ushp-result-value > p {
  margin: 12px 0 0;
  color: var(--text-on-dark-secondary);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.ushp-result-copy {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  color: var(--text-on-dark-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.ushp-result-reference {
  margin: 15px 0 0;
  color: var(--text-on-dark-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ushp-result-actions {
  margin-top: 28px;
}

.ushp-file-name {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--text-on-dark-secondary);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ushp-contact-form {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
}

.ushp-form-heading h3 {
  margin-bottom: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}

.ushp-form-heading p {
  margin: 7px 0 0;
  color: var(--text-on-dark-muted);
  font-size: 14px;
  line-height: 1.45;
}

.ushp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.ushp-contact-form label {
  display: grid;
  gap: 8px;
}

.ushp-contact-form input:not([type="file"]) {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  outline: 0;
  background: var(--surface-void);
  color: var(--text-on-dark);
  font: 16px/1.2 "Golos Text", Arial, sans-serif;
}

.ushp-contact-form input:focus {
  border-color: var(--color-orange);
}

.ushp-contact-form input[aria-invalid="true"] {
  border-color: #e36d55;
}

.ushp-field-error {
  margin: 8px 0 0;
  color: #f2a392;
  font-size: 13px;
  line-height: 1.4;
}

.ushp-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ushp-form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--text-on-dark-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.ushp-form-status.is-error {
  color: #f2a392;
}

.ushp-form-status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 05 — Structure */
.ushp-structure {
  padding: 112px 0 120px;
}

.ushp-structure-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(64px, 6vw, 110px);
  align-items: start;
}

.ushp-structure h2 {
  max-width: 12ch;
  margin-top: 18px;
}

.ushp-structure-copy > p:not(.ushp-index) {
  max-width: 40ch;
  margin: 24px 0 0;
  color: var(--ushp-copy);
  font-size: 18px;
  line-height: 1.65;
}

.ushp-scheme-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 28px;
  padding: 0 12px;
  border: 1px solid var(--ushp-ink);
  color: var(--ushp-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ushp-structure-system {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.ushp-layer-stack {
  margin: 14px 0 0;
  padding: 0;
  border: 1px solid #c4b9a6;
  list-style: none;
}

.ushp-layer-stack li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
}

.ushp-layer-stack li:first-child {
  border-top: 0;
}

.ushp-layer-stack li span {
  font-family: "Onest", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ushp-layer-stack li strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.ushp-layer-stack li small {
  color: inherit;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.82;
}

.ushp-layer-stack .layer-concrete {
  min-height: 74px;
  background: #817a72;
  color: #faf8f4;
}

.ushp-layer-stack .layer-rebar {
  background: #a8a096;
}

.ushp-layer-stack .layer-xps {
  min-height: 58px;
  background: #e5dfd4;
}

.ushp-layer-stack .layer-base {
  background: #cfc6b8;
}

.ushp-layer-stack .layer-aggregate {
  min-height: 72px;
  background: #bdb2a0;
}

.ushp-layer-stack .layer-geo {
  min-height: 38px;
  background: #6e665c;
  color: #faf8f4;
}

.ushp-layer-stack .layer-ground {
  min-height: 76px;
  background: #4a443c;
  color: #faf8f4;
}

.ushp-embedded {
  padding-top: 0;
}

.ushp-embedded > div {
  position: relative;
  margin-left: 5px;
  padding: 24px 0 24px 24px;
  border-left: 1px solid var(--ushp-ink);
}

.ushp-embedded > div + div {
  padding-top: 8px;
}

.ushp-embedded > div > span {
  position: absolute;
  top: 29px;
  left: -5px;
  width: 9px;
  height: 9px;
  background: var(--ushp-ink);
}

.ushp-embedded > div + div > span {
  top: 13px;
}

.ushp-embedded strong {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.ushp-embedded > p:last-child {
  margin: 18px 0 0;
  color: var(--ushp-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* 06 — Process */
.ushp-process {
  padding: 112px 0 120px;
  background: var(--surface-page-dark);
}

.ushp-process-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: end;
}

.ushp-process-heading h2 {
  margin-top: 18px;
}

.ushp-process-heading > p {
  margin-bottom: 5px;
  color: var(--text-on-dark-secondary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.ushp-process-story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
  margin-top: 48px;
}

.ushp-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px;
  background: var(--surface-elevated-dark);
}

.ushp-stage-1 {
  grid-column: span 7;
}

.ushp-stage-2 {
  grid-column: span 5;
}

.ushp-stage-3 {
  grid-column: span 5;
}

.ushp-stage-4 {
  grid-column: span 7;
}

.ushp-stage-copy {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}

.ushp-stage-copy > span {
  color: var(--text-on-dark-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ushp-stage-1 .ushp-stage-copy > span {
  color: var(--color-orange);
  font-size: 42px;
}

.ushp-stage-4 .ushp-stage-copy > span {
  color: var(--text-on-dark);
  font-size: 42px;
}

.ushp-stage h3 {
  margin-bottom: 0;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.13;
}

.ushp-stage p {
  max-width: 48ch;
  margin: 9px 0 0;
  color: var(--text-on-dark-secondary);
  font-size: 17px;
  line-height: 1.55;
}

.ushp-stage-media {
  flex: 1;
  min-height: 230px;
  margin-top: 28px;
}

.ushp-stage-1 .ushp-stage-media {
  min-height: 300px;
}

.ushp-stage-4 .ushp-stage-media {
  min-height: 340px;
}

.ushp-process > .shell > .ushp-button {
  margin-top: 30px;
}

/* 07 — Communications */
.ushp-communications {
  padding: 0;
}

.ushp-communications-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: 620px;
}

.ushp-communications-media {
  background: #d3c9b6;
  color: var(--ushp-copy);
}

.ushp-communications-media::before {
  border-color: rgba(20, 20, 20, 0.08);
}

.ushp-communications-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 72px 64px;
}

.ushp-communications h2 {
  max-width: 16ch;
  margin-top: 18px;
  font-size: clamp(42px, 2.7vw, 52px);
}

.ushp-communications-copy > div {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(20, 20, 20, 0.3);
}

.ushp-communications-copy > div > span {
  color: var(--ushp-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ushp-communications-copy > div p {
  max-width: 42ch;
  margin: 12px 0 0;
  color: var(--ushp-ink);
  font-size: 18px;
  line-height: 1.62;
}

/* 08 — Object */
.ushp-object {
  padding: 112px 0 120px;
  background: var(--surface-void);
}

.ushp-object-heading {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 56px;
  align-items: start;
}

.ushp-object-heading h2 {
  grid-column: 2;
  max-width: 17ch;
}

.ushp-object-heading .ushp-index {
  grid-column: 1;
  grid-row: 1;
}

.ushp-object-story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
  margin-top: 52px;
}

.ushp-object-1 {
  grid-column: 1 / -1;
  min-height: 560px;
}

.ushp-object-2 {
  grid-column: span 7;
  min-height: 390px;
}

.ushp-object-3 {
  grid-column: span 5;
  min-height: 390px;
}

.ushp-object-4 {
  grid-column: span 4;
  min-height: 520px;
}

.ushp-object-5 {
  grid-column: span 8;
  min-height: 520px;
  background: #312c27;
}

.ushp-object-actions {
  margin-top: 30px;
}

/* 09 — Control */
.ushp-control {
  padding: 112px 0 120px;
}

.ushp-control-heading {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 56px;
}

.ushp-control-heading h2 {
  grid-column: 2;
  max-width: 22ch;
}

.ushp-control-heading .ushp-index {
  grid-column: 1;
  grid-row: 1;
}

.ushp-control-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(56px, 6vw, 104px);
  margin-top: 54px;
  align-items: start;
}

.ushp-control-ledger {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ushp-ink);
  list-style: none;
}

.ushp-control-ledger li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 21px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

.ushp-control-ledger li > span {
  color: var(--ushp-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ushp-control-ledger li p {
  margin: 0;
  font-family: "Onest", Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.ushp-control-ledger li p strong {
  font-weight: 700;
}

.ushp-control-ledger li.is-accent {
  padding-left: 18px;
  background: rgba(252, 140, 13, 0.08);
  box-shadow: inset 3px 0 0 var(--color-orange);
}

.ushp-control-actions {
  margin-top: 28px;
}

.ushp-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.ushp-evidence-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  padding: 18px;
  background: #e5dfd4;
  color: var(--ushp-muted);
}

.ushp-evidence-item::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(20, 20, 20, 0.08);
  content: "";
}

.ushp-evidence-contract {
  grid-column: 1 / -1;
  min-height: 340px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(12, 11, 10, 0.13);
}

.ushp-evidence-item span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 10 — Rescue */
.ushp-rescue {
  padding: 82px 0 88px;
  background: var(--surface-page-dark);
}

.ushp-rescue-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(56px, 6vw, 104px);
  align-items: start;
}

.ushp-rescue h2 {
  max-width: 16ch;
  margin-top: 18px;
  font-size: clamp(38px, 2.5vw, 48px);
}

.ushp-rescue-layout > div > p:not(.ushp-index) {
  color: var(--text-on-dark-secondary);
}

.ushp-rescue-layout .ushp-actions {
  margin-top: 28px;
}

.ushp-rescue-ledger {
  border-top: 1px solid var(--border-dark);
}

.ushp-rescue-ledger a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark-hairline);
}

.ushp-rescue-ledger a:last-child {
  border-bottom-color: var(--border-dark);
}

.ushp-rescue-ledger span {
  font-family: "Onest", Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.ushp-rescue-ledger i {
  color: var(--text-on-dark-muted);
  font-size: 22px;
  font-style: normal;
}

.ushp-rescue-ledger a:hover i {
  color: var(--color-orange);
}

/* 11 — Review */
.ushp-review {
  padding: 108px 0 112px;
  border-top: 1px solid var(--border-dark);
  background: var(--surface-elevated-dark);
}

.ushp-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
}

.ushp-review blockquote {
  max-width: 35ch;
  margin: 26px 0 0;
  padding-left: 40px;
  border-left: 4px solid var(--color-orange);
  color: var(--text-on-dark);
  font-family: "Golos Text", Arial, sans-serif;
  font-size: clamp(34px, 2.45vw, 47px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.ushp-review blockquote + p {
  margin: 28px 0 0 44px;
  color: var(--text-on-dark-secondary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* 12 — Next */
.ushp-next {
  padding: 112px 0 120px;
  background: var(--surface-void);
}

.ushp-next-heading {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 56px;
  align-items: end;
}

.ushp-next-heading h2 {
  margin-top: 18px;
}

.ushp-next-heading > p {
  margin-bottom: 4px;
  color: var(--text-on-dark-secondary);
  font-size: 18px;
  line-height: 1.62;
}

.ushp-next-routes {
  display: grid;
  grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr);
  gap: 2px;
  margin-top: 48px;
}

.ushp-next-works {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 36px 32px;
  background: var(--surface-page-dark);
}

.ushp-next-works > p,
.ushp-next-house > div:last-child > p:first-child {
  margin-bottom: 0;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ushp-next-works h3 {
  margin: 18px 0 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
}

.ushp-next-works .ushp-button {
  margin-top: auto;
}

.ushp-next-house {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--surface-technical-dark);
}

.ushp-next-house > .ushp-media {
  position: absolute;
  inset: 0;
}

.ushp-next-house > div:last-child {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 72%;
  min-height: 520px;
  padding: 48px 56px;
  background: rgba(12, 11, 10, 0.8);
}

.ushp-next-house h3 {
  margin: 20px 0 0;
  font-size: clamp(44px, 3.1vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.ushp-next-house h3 + p {
  margin: 18px 0 0;
  color: var(--text-on-dark-secondary);
  font-size: 20px;
  line-height: 1.5;
}

.ushp-next-house .ushp-button {
  align-self: flex-start;
  margin-top: 30px;
}

/* 13 — Final */
.ushp-final {
  padding: 120px 0 124px;
  border-top: 1px solid var(--border-dark);
  background: var(--surface-void);
}

.ushp-final-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(64px, 6vw, 110px);
  align-items: start;
}

.ushp-final h2 {
  max-width: 14ch;
  margin-top: 20px;
  font-size: clamp(56px, 4vw, 76px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.ushp-final-layout > div > p:not(.ushp-index) {
  max-width: 52ch;
  color: var(--text-on-dark-secondary);
  font-size: 21px;
  line-height: 1.55;
}

.ushp-final-actions {
  margin-top: 36px;
}

.ushp-final-facts {
  margin: 40px 0 0;
  padding: 0 0 0 54px;
  border-left: 1px solid var(--border-dark);
  list-style: none;
}

.ushp-final-facts::before {
  display: block;
  margin-bottom: 14px;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  content: "Условия";
}

.ushp-final-facts li {
  padding: 19px 0;
  border-bottom: 1px solid var(--border-dark-hairline);
  font-size: 20px;
  line-height: 1.42;
}

.ushp-final-facts li:last-child {
  border-bottom: 0;
}

/* Footer */
.ushp-footer {
  padding: 52px 0 42px;
  border-top: 1px solid var(--border-dark);
  background: var(--surface-page-dark);
}

.ushp-footer-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: start;
}

.ushp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 13px;
}

.ushp-footer nav a,
.ushp-footer-phone {
  min-height: 34px;
  color: var(--text-on-dark-secondary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.ushp-footer nav a:hover,
.ushp-footer-phone:hover {
  color: var(--text-on-dark);
}

.ushp-footer-phone {
  padding-top: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ushp-footer p,
.ushp-footer small {
  grid-column: 2;
  margin: 0;
  color: var(--text-on-dark-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ushp-footer small {
  grid-column: 3;
  grid-row: 2;
  text-align: right;
}

.ushp-mobile-sticky {
  display: none;
}

@media (max-width: 1439px) {
  .ushp-hero h1 {
    font-size: 58px;
  }

  .ushp-hero-lead {
    font-size: 19px;
  }

  .ushp-hero-price strong {
    font-size: 54px;
  }

  .ushp-when,
  .ushp-price,
  .ushp-calculator,
  .ushp-structure,
  .ushp-process,
  .ushp-object,
  .ushp-control,
  .ushp-next {
    padding-top: 92px;
    padding-bottom: 98px;
  }

  .ushp-final {
    padding-top: 100px;
    padding-bottom: 104px;
  }

  .ushp-package-row,
  .ushp-extra-ledger > div {
    grid-template-columns: minmax(0, 1fr) 52px 178px;
  }

  .ushp-package-row > strong {
    font-size: 36px;
  }

  .ushp-result-empty strong,
  .ushp-result-value strong {
    font-size: 58px;
  }

  .ushp-stage {
    padding: 30px;
  }
}

@media (max-width: 1199px) {
  .ushp-hero-grid {
    grid-template-columns: minmax(0, 6.5fr) minmax(360px, 5.5fr);
  }

  .ushp-hero-copy {
    padding-right: 40px;
  }

  .ushp-hero h1 {
    font-size: 50px;
  }

  .ushp-hero-price {
    display: block;
  }

  .ushp-hero-price span {
    display: block;
    margin-top: 10px;
  }

  .ushp-price-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 44px;
  }

  .ushp-package-row,
  .ushp-extra-ledger > div {
    grid-template-columns: minmax(0, 1fr) 42px 150px;
    gap: 14px;
  }

  .ushp-package-row > strong {
    font-size: 32px;
  }

  .ushp-calculator-grid {
    gap: 38px;
  }

  .ushp-package-selector label {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .ushp-package-selector label b {
    grid-column: 2;
  }

  .ushp-result-panel {
    padding: 32px;
  }

  .ushp-result-empty strong,
  .ushp-result-value strong {
    font-size: 50px;
  }

  .ushp-structure-system {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .ushp-layer-stack li {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .ushp-layer-stack li small {
    grid-column: 2;
  }

  .ushp-control-layout {
    gap: 44px;
  }

  .ushp-next-house > div:last-child {
    width: 82%;
    padding: 42px;
  }
}

@media (max-width: 1099px) {
  .ushp-hero-grid {
    grid-template-columns: minmax(0, 6.2fr) minmax(335px, 5.8fr);
  }

  .ushp-hero-copy {
    padding: 58px 32px 58px 0;
  }

  .ushp-hero h1 {
    font-size: 46px;
  }

  .ushp-hero-lead {
    font-size: 17px;
  }

  .ushp-hero-price strong {
    font-size: 45px;
  }

  .ushp-hero-media {
    min-height: 610px;
  }

  .ushp-when-layout,
  .ushp-price-layout,
  .ushp-calculator-grid,
  .ushp-structure-layout,
  .ushp-control-layout,
  .ushp-rescue-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .ushp-when-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }

  .ushp-when-copy .ushp-index,
  .ushp-when-copy h2 {
    grid-column: 1;
  }

  .ushp-when-copy > p:not(.ushp-index) {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .ushp-when-closing {
    grid-column: 1 / -1;
  }

  .ushp-price-layout {
    margin-top: 44px;
  }

  .ushp-composition {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
    padding: 26px 30px;
  }

  .ushp-composition > .ushp-ledger-label {
    margin-top: 0;
  }

  .ushp-composition ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    margin-top: 0;
  }

  .ushp-result-panel {
    position: static;
  }

  .ushp-structure-system {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .ushp-process-story {
    grid-template-columns: 1fr 1fr;
  }

  .ushp-stage-1,
  .ushp-stage-2,
  .ushp-stage-3,
  .ushp-stage-4 {
    grid-column: auto;
  }

  .ushp-stage-1 .ushp-stage-media,
  .ushp-stage-4 .ushp-stage-media,
  .ushp-stage-media {
    min-height: 250px;
  }

  .ushp-communications-layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .ushp-communications-copy {
    padding-left: 42px;
  }

  .ushp-object-1 {
    min-height: 450px;
  }

  .ushp-object-2,
  .ushp-object-3 {
    min-height: 310px;
  }

  .ushp-object-4,
  .ushp-object-5 {
    min-height: 400px;
  }

  .ushp-control-layout,
  .ushp-rescue-layout {
    gap: 48px;
  }

  .ushp-next-routes {
    grid-template-columns: 1fr 2fr;
  }

  .ushp-next-house > div:last-child {
    width: 92%;
  }

  .ushp-final-layout {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .ushp-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ushp-hero-copy {
    padding: 64px 0 48px;
  }

  .ushp-hero h1 {
    max-width: 15ch;
    font-size: 54px;
  }

  .ushp-hero-lead {
    max-width: 52ch;
    font-size: 19px;
  }

  .ushp-hero-media {
    min-height: 520px;
    margin: 0 calc(var(--shell-pad) * -1);
  }

  .ushp-split-heading,
  .ushp-calculator-heading,
  .ushp-process-heading,
  .ushp-next-heading,
  .ushp-final-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ushp-calculator-heading h2,
  .ushp-object-heading h2,
  .ushp-control-heading h2,
  .ushp-calculator-heading .ushp-index,
  .ushp-object-heading .ushp-index,
  .ushp-control-heading .ushp-index {
    grid-column: 1;
  }

  .ushp-calculator-heading h2,
  .ushp-object-heading h2,
  .ushp-control-heading h2 {
    grid-row: 2;
  }

  .ushp-calculator-heading .ushp-index,
  .ushp-object-heading .ushp-index,
  .ushp-control-heading .ushp-index {
    grid-row: 1;
  }

  .ushp-object-heading,
  .ushp-control-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ushp-communications-layout {
    grid-template-columns: 1fr;
  }

  .ushp-communications-media {
    min-height: 480px;
    margin: 0 calc(var(--shell-pad) * -1);
  }

  .ushp-communications-copy {
    padding: 64px 0 72px;
  }

  .ushp-next-routes {
    grid-template-columns: 1fr;
  }

  .ushp-next-works {
    min-height: auto;
  }

  .ushp-next-works .ushp-button {
    margin-top: 28px;
  }

  .ushp-final-facts {
    margin-top: 10px;
    padding-left: 0;
    border-top: 1px solid var(--border-dark);
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .ushp-page h2,
  .ushp-when h2,
  .ushp-price h2,
  .ushp-calculator h2,
  .ushp-structure h2,
  .ushp-process h2,
  .ushp-communications h2,
  .ushp-object h2,
  .ushp-control h2,
  .ushp-rescue h2,
  .ushp-next h2 {
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  .ushp-button {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    font-size: 16px;
  }

  .ushp-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ushp-hero-grid.shell {
    width: 100%;
  }

  .ushp-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ushp-hero-copy {
    display: contents;
  }

  .ushp-overline,
  .ushp-hero h1,
  .ushp-hero-lead,
  .ushp-hero-price,
  .ushp-hero-actions {
    margin-right: 20px;
    margin-left: 20px;
  }

  .ushp-overline {
    order: 1;
    margin-top: 28px;
  }

  .ushp-hero h1 {
    order: 2;
    max-width: none;
    margin-top: 17px;
    font-size: 34px;
    line-height: 1.04;
  }

  .ushp-hero-lead {
    order: 3;
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.56;
  }

  .ushp-hero-price {
    order: 4;
    margin-top: 26px;
  }

  .ushp-hero-price strong {
    font-size: 40px;
  }

  .ushp-hero-price span {
    margin-top: 9px;
  }

  .ushp-hero-actions {
    order: 5;
    margin-top: 22px;
  }

  .ushp-hero-media {
    order: 6;
    min-height: 0;
    margin: 26px 0 0;
    aspect-ratio: 4 / 5;
  }

  .ushp-trust {
    order: 7;
    margin: 0;
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--border-dark-hairline);
  }

  .ushp-when,
  .ushp-price,
  .ushp-calculator,
  .ushp-structure,
  .ushp-process,
  .ushp-object,
  .ushp-control,
  .ushp-next,
  .ushp-final {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .ushp-when-layout,
  .ushp-price-layout,
  .ushp-calculator-grid,
  .ushp-structure-layout,
  .ushp-control-layout,
  .ushp-rescue-layout {
    gap: 34px;
  }

  .ushp-when-copy {
    display: block;
  }

  .ushp-when h2,
  .ushp-split-heading h2,
  .ushp-structure h2,
  .ushp-process-heading h2,
  .ushp-next-heading h2 {
    margin-top: 12px;
  }

  .ushp-when-copy > p:not(.ushp-index),
  .ushp-structure-copy > p:not(.ushp-index),
  .ushp-communications-copy > p,
  .ushp-rescue-layout > div > p:not(.ushp-index),
  .ushp-final-layout > div > p:not(.ushp-index) {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.6;
  }

  .ushp-when-closing {
    margin-top: 26px;
    padding-top: 20px;
  }

  .ushp-when-closing p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.6;
  }

  .ushp-factor-ledger li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 17px 0;
  }

  .ushp-factor-ledger span {
    font-size: 24px;
  }

  .ushp-factor-ledger strong {
    font-size: 19px;
    line-height: 1.25;
  }

  .ushp-split-heading {
    gap: 10px;
  }

  .ushp-split-heading > p {
    margin: 0;
    font-size: 17px;
  }

  .ushp-price-layout {
    margin-top: 30px;
  }

  .ushp-package-row {
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
    padding: 20px 0;
  }

  .ushp-package-row.is-primary {
    padding-left: 14px;
  }

  .ushp-package-row > div {
    grid-column: 1 / -1;
  }

  .ushp-package-row h3 {
    font-size: 22px;
  }

  .ushp-package-row p {
    font-size: 17px;
  }

  .ushp-package-row > span {
    grid-column: 1;
  }

  .ushp-package-row > strong {
    grid-column: 2;
    font-size: 34px;
  }

  .ushp-price-context {
    font-size: 13px;
  }

  .ushp-ledger-label-secondary {
    margin-top: 32px;
  }

  .ushp-extra-ledger > div {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 15px 0;
  }

  .ushp-extra-ledger span {
    grid-column: 1 / -1;
    font-size: 17px;
  }

  .ushp-extra-ledger i {
    grid-column: 1;
  }

  .ushp-extra-ledger strong {
    grid-column: 2;
    font-size: 22px;
  }

  .ushp-composition {
    display: block;
    padding: 20px 18px 10px;
  }

  .ushp-composition ol {
    display: block;
    margin-top: 12px;
  }

  .ushp-composition li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
  }

  .ushp-composition li strong {
    font-size: 17px;
  }

  .ushp-calculator-heading {
    gap: 12px;
  }

  .ushp-calculator-grid {
    margin-top: 28px;
  }

  .ushp-calc-tabs {
    display: grid;
    width: 100%;
  }

  .ushp-calc-tabs button {
    min-width: 0;
  }

  .ushp-dimensions-panel {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    gap: 6px;
  }

  .ushp-input-shell input {
    padding: 0 14px;
    font-size: 25px;
  }

  .ushp-input-shell > span {
    padding-right: 14px;
    font-size: 16px;
  }

  .ushp-package-selector {
    margin-top: 30px;
  }

  .ushp-package-selector label {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 17px 16px;
  }

  .ushp-package-selector label b {
    grid-column: 2;
    font-size: 21px;
  }

  .ushp-result-panel {
    padding: 26px 20px 28px;
  }

  .ushp-result-head {
    gap: 10px;
  }

  .ushp-result-empty strong,
  .ushp-result-value strong {
    margin-top: 22px;
    font-size: 40px;
  }

  .ushp-result-empty > p,
  .ushp-result-value > p {
    font-size: 16px;
  }

  .ushp-result-copy {
    margin-top: 21px;
    padding-top: 18px;
    font-size: 15px;
  }

  .ushp-result-reference {
    font-size: 14px;
  }

  .ushp-result-actions,
  .ushp-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ushp-form-heading h3 {
    font-size: 23px;
  }

  .ushp-form-grid {
    grid-template-columns: 1fr;
  }

  .ushp-structure-system {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ushp-layer-stack li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 14px;
  }

  .ushp-layer-stack li strong {
    font-size: 16px;
  }

  .ushp-layer-stack li small {
    grid-column: 2;
    font-size: 14px;
  }

  .ushp-embedded > div {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .ushp-process-heading {
    gap: 14px;
  }

  .ushp-process-heading > p {
    margin: 0;
    font-size: 14px;
  }

  .ushp-process-story {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .ushp-stage {
    padding: 22px 20px 20px;
  }

  .ushp-stage-copy {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .ushp-stage-copy > span,
  .ushp-stage-1 .ushp-stage-copy > span,
  .ushp-stage-4 .ushp-stage-copy > span {
    font-size: 25px;
  }

  .ushp-stage h3 {
    font-size: 22px;
  }

  .ushp-stage p {
    font-size: 16px;
  }

  .ushp-stage-1 .ushp-stage-media,
  .ushp-stage-4 .ushp-stage-media,
  .ushp-stage-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .ushp-communications-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .ushp-communications-copy {
    padding: 40px 0 62px;
  }

  .ushp-communications-copy > div {
    margin-top: 26px;
    padding-top: 20px;
  }

  .ushp-communications-copy > div p {
    font-size: 17px;
  }

  .ushp-object-heading {
    gap: 12px;
  }

  .ushp-object h2 br,
  .ushp-control h2 br {
    display: none;
  }

  .ushp-object-story {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 28px;
  }

  .ushp-object-1,
  .ushp-object-2,
  .ushp-object-3,
  .ushp-object-4,
  .ushp-object-5 {
    grid-column: auto;
    min-height: 0;
  }

  .ushp-object-1,
  .ushp-object-5 {
    aspect-ratio: 4 / 5;
  }

  .ushp-object-2,
  .ushp-object-3 {
    aspect-ratio: 3 / 2;
  }

  .ushp-object-4 {
    aspect-ratio: 1 / 1;
  }

  .ushp-control-heading {
    gap: 12px;
  }

  .ushp-control-layout {
    margin-top: 30px;
  }

  .ushp-control-ledger li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 0;
  }

  .ushp-control-ledger li p {
    font-size: 18px;
  }

  .ushp-control-ledger li.is-accent {
    padding-left: 12px;
  }

  .ushp-evidence {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ushp-evidence-contract {
    grid-column: auto;
  }

  .ushp-evidence-item,
  .ushp-evidence-contract {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .ushp-rescue {
    padding: 60px 0 64px;
  }

  .ushp-rescue-ledger a {
    min-height: 64px;
  }

  .ushp-rescue-ledger span {
    font-size: 20px;
  }

  .ushp-review {
    padding: 66px 0 70px;
  }

  .ushp-review-layout {
    grid-template-columns: 1fr;
  }

  .ushp-review blockquote {
    margin-top: 18px;
    padding-left: 18px;
    font-size: 23px;
    line-height: 1.42;
  }

  .ushp-review blockquote br {
    display: none;
  }

  .ushp-review blockquote + p {
    margin: 18px 0 0 22px;
  }

  .ushp-next-heading {
    gap: 16px;
  }

  .ushp-next-heading > p {
    margin: 0;
    font-size: 17px;
  }

  .ushp-next-routes {
    margin-top: 28px;
  }

  .ushp-next-works {
    min-height: 0;
    padding: 24px 20px;
  }

  .ushp-next-works h3 {
    font-size: 23px;
  }

  .ushp-next-house {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .ushp-next-house > .ushp-media {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 5;
  }

  .ushp-next-house > div:last-child {
    width: 100%;
    min-height: 0;
    padding: 24px 20px 28px;
    background: var(--surface-page-dark);
  }

  .ushp-next-house h3 {
    margin-top: 12px;
    font-size: 34px;
    line-height: 1.06;
  }

  .ushp-next-house h3 + p {
    font-size: 17px;
  }

  .ushp-next-house .ushp-button {
    align-self: stretch;
    margin-top: 20px;
  }

  .ushp-final h2 {
    margin-top: 14px;
    font-size: 35px;
    line-height: 1.06;
  }

  .ushp-final-facts {
    margin-top: 24px;
  }

  .ushp-final-facts li {
    padding: 15px 0;
    font-size: 17px;
  }

  .ushp-footer {
    padding: 42px 0 34px;
  }

  .ushp-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ushp-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
    padding-top: 4px;
  }

  .ushp-footer nav a,
  .ushp-footer-phone {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-top: 0;
  }

  .ushp-footer p,
  .ushp-footer small {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .ushp-mobile-sticky {
    position: fixed;
    z-index: 75;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    transform: translateY(110%);
    border-top: 1px solid var(--border-dark);
    background: rgba(12, 11, 10, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .ushp-mobile-sticky.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .ushp-mobile-sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
  }

  .ushp-mobile-sticky a:first-child {
    background: var(--color-orange);
    color: var(--ushp-ink);
  }

  .ushp-mobile-sticky a:last-child {
    border: 1px solid var(--border-dark);
    color: var(--text-on-dark);
  }
}

@media (max-width: 370px) {
  .ushp-hero h1 {
    font-size: 31px;
  }

  .ushp-hero-price strong {
    font-size: 35px;
  }

  .ushp-result-head {
    align-items: flex-start;
  }

  .ushp-result-empty strong,
  .ushp-result-value strong {
    font-size: 35px;
  }

  .ushp-dimensions-panel {
    grid-template-columns: 1fr;
  }

  .ushp-multiply {
    display: none;
  }

  .ushp-dimensions-total {
    grid-column: 1;
  }

  .ushp-footer nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ushp-button,
  .ushp-mobile-sticky {
    transition: none;
  }
}
