﻿/* ===== Tokens ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.24);
  --ink: #0c1524;
  --ink-muted: rgba(12, 21, 36, 0.58);
  --ink-faint: rgba(12, 21, 36, 0.38);
  --surface: #ffffff;
  --surface-2: #f4f6f9;
  --line: rgba(12, 21, 36, 0.09);
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.125rem;
  --radius-xl: 1.5rem;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(12, 21, 36, 0.06);
  --shadow-md: 0 12px 40px rgba(12, 21, 36, 0.1);
  --shadow-lg: 0 24px 64px rgba(12, 21, 36, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 0px;
  --dp-survey-head-h: 7rem;
  --dp-survey-foot-h: 4rem;
  --container-w: 40rem;
}

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

html, body {
  margin: 0;
  height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; }

.dp-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.dp-root {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* ===== Screens ===== */
.dp-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
  overflow: hidden;
}

.dp-view--visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.dp-view--exit {
  opacity: 0;
  transform: translateY(-8px) scale(0.99);
}

.dp-view--locked {
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

.dp-view--locked.dp-view--visible {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

/* ===== Buttons ===== */
.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  min-height: 3rem;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.2s, opacity 0.2s, border-color 0.2s;
}

.dp-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.dp-btn--main {
  background: linear-gradient(135deg, #3b82f6 0%, var(--primary) 45%, #1e40af 100%);
  color: #fff;
  padding: 0.9375rem 1.875rem;
  font-size: 1rem;
  box-shadow: 0 10px 28px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dp-btn--main:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.dp-btn--main:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.dp-btn--shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dp-btn--shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.28) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: sheen 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sheen {
  0%, 68% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

.dp-btn--ghost {
  background: #fff;
  color: var(--primary);
  border: 2px solid rgba(37, 99, 235, 0.38);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.dp-btn--ghost:not(:disabled):hover {
  background: var(--primary-soft);
  border-color: rgba(37, 99, 235, 0.55);
  transform: translateY(-1px);
}

.dp-btn--wide {
  width: 100%;
  min-height: 3.25rem;
}

.dp-btn.is-busy,
.dp-nav.is-busy {
  pointer-events: none;
  opacity: 0.72;
}

/* ===== Nav buttons ===== */
.dp-aux {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  min-height: 3rem;
  padding: 0 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.dp-aux .dp-icon { width: 1.125rem; height: 1.125rem; }

.dp-aux--ghost {
  width: 3rem;
  padding: 0;
  border-radius: 50%;
}

.dp-aux--ghost:hover {
  border-color: rgba(37, 99, 235, 0.25);
  background: var(--primary-soft);
  color: var(--primary);
}

.dp-aux--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  padding: 0 1.25rem 0 1.375rem;
  min-width: 7.5rem;
}

.dp-aux--accent:not(:disabled):hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.dp-aux--accent.is-auto-loading {
  pointer-events: none;
  opacity: 0.7;
}

.dp-aux--sm {
  width: 2.5rem;
  min-height: 2.5rem;
}

.dp-aux__label { line-height: 1; }

/* ===== Start page ===== */
.dp-view--hero.dp-view--visible {
  height: 100dvh;
  min-height: 100dvh;
}

.dp-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  color: #fff;
}

.dp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.dp-hero__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: driftZoom 18s ease-in-out infinite alternate;
}

@media (max-width: 900px) {
  .dp-hero__photo {
    animation: none;
    transform: none;
    object-position: center 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dp-hero__photo,
  .dp-btn--shine::after {
    animation: none !important;
  }
}

@keyframes driftZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

.dp-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(8, 15, 30, 0.88) 0%,
    rgba(8, 15, 30, 0.72) 50%,
    rgba(8, 15, 30, 0.32) 72%,
    rgba(8, 15, 30, 0.06) 100%
  );
}

.dp-hero__aside {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: min(100%, 50%);
  max-width: 48rem;
  margin-right: auto;
  min-height: 100%;
  height: 100%;
  padding: clamp(1.25rem, 2.5vh, 2rem) clamp(1.25rem, 3vw, 2.5rem);
  background: transparent;
}

.dp-hero__header {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  animation: riseIn 0.8s var(--ease) 0.15s both;
}

.dp-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: 1.5rem 0;
  animation: riseIn 0.8s var(--ease) 0.25s both;
}

.dp-hero__logo-ring {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(12, 21, 36, 0.08));
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.dp-hero__logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.dp-hero__brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: #fff;
}

.dp-hero__heading { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 1rem; color: #fff; }

.dp-hero__text {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 2rem;
}

.dp-hero__bottom {
  flex-shrink: 0;
  padding-top: 0;
  animation: riseIn 0.8s var(--ease) 0.4s both;
}

.dp-hero__tel {
  display: inline-block;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  margin-bottom: 0.375rem;
  color: #fff;
}

.dp-hero__tel:hover { color: rgba(255, 255, 255, 0.82); }

.dp-hero__info {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
  max-width: 100%;
}

@media (max-width: 900px) {
  .dp-view--hero.dp-view--visible {
    height: auto;
    min-height: 100dvh;
    max-height: none;
  }

  .dp-hero {
    display: grid;
    grid-template-rows: 42vh auto;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100dvh;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
    color: var(--ink);
    justify-content: stretch;
  }

  .dp-hero__media {
    grid-area: 1 / 1;
    position: relative;
    inset: unset;
    height: 42vh;
    min-height: 42vh;
    max-height: 42vh;
    z-index: 0;
    overflow: hidden;
  }

  .dp-hero__photo {
    object-position: center 72%;
  }

  .dp-hero__shade {
    grid-area: 1 / 1;
    position: relative;
    height: 42vh;
    min-height: 42vh;
    max-height: 42vh;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      135deg,
      rgba(12, 21, 36, 0.72) 0%,
      rgba(12, 21, 36, 0.25) 55%,
      rgba(12, 21, 36, 0.08) 100%
    );
  }

  .dp-hero__aside {
    grid-area: 2 / 1;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    min-height: auto;
    height: auto;
    padding: 1.125rem 1.25rem 1.25rem;
    background: var(--surface);
  }

  .dp-hero__content,
  .dp-hero__bottom {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .dp-hero__brand {
    color: var(--ink);
  }

  .dp-hero__heading {
    color: var(--ink);
    font-size: clamp(1.375rem, 6.5vw, 1.875rem);
    line-height: 1.15;
    max-width: 100%;
  }

  .dp-hero__text {
    color: var(--ink-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .dp-hero__tel {
    color: var(--ink);
  }

  .dp-hero__tel:hover {
    color: var(--primary);
  }

  .dp-hero__info {
    color: var(--ink-faint);
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  .dp-hero__content {
    flex: none;
    padding: 1.25rem 0 1.5rem;
  }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Quiz stage (без рамки — только контейнер) ===== */
.dp-survey {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface);
}

.dp-survey__wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vh, 3rem) 1.25rem;
}

.dp-survey__box {
  width: 100%;
  max-width: var(--container-w);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dp-survey__top {
  flex-shrink: 0;
  min-height: var(--dp-survey-head-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 1.75rem;
}

.dp-survey__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.dp-survey__counter {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

.dp-survey__bar {
  flex: 1;
  height: 3px;
  background: rgba(12, 21, 36, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.dp-survey__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: inherit;
  transition: width 0.55s var(--ease);
}

.dp-survey__question {
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.025em;
  margin: 0;
  min-height: 2.5em;
}

.dp-survey__top:has(#step-note:not([hidden])) .dp-survey__question {
  min-height: auto;
}

.dp-survey__note {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.3125rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.375rem 0 0;
  padding: 0.25rem 0.4375rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 0.4375rem;
  background: var(--primary-soft);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
}

.dp-survey__note-dp-icon {
  width: 0.8125rem;
  height: 0.8125rem;
  flex-shrink: 0;
}

.dp-survey__note[hidden] {
  display: none;
}

.dp-survey__body {
  flex: 1;
  animation: slideUp 0.45s var(--ease);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Image answers — сетка 3 в ряд */
.dp-picks {
  display: grid;
  gap: 0.875rem;
}

.dp-picks--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dp-picks--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 520px) {
  .dp-picks--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dp-pick-card {
  cursor: pointer;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.22s var(--ease), box-shadow 0.22s;
  animation: tileIn 0.4s var(--ease) both;
}

.dp-pick-card:nth-child(1) { animation-delay: 0.03s; }
.dp-pick-card:nth-child(2) { animation-delay: 0.06s; }
.dp-pick-card:nth-child(3) { animation-delay: 0.09s; }
.dp-pick-card:nth-child(4) { animation-delay: 0.12s; }
.dp-pick-card:nth-child(5) { animation-delay: 0.15s; }
.dp-pick-card:nth-child(6) { animation-delay: 0.18s; }

@keyframes tileIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.dp-pick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
}

.dp-pick-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.dp-pick-card__mark {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.22s var(--ease);
  z-index: 1;
}

.dp-pick-card.is-active .dp-pick-card__mark {
  opacity: 1;
  transform: scale(1);
}

.dp-pick-card__media {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.dp-pick-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s var(--ease);
}

.dp-pick-card:hover .dp-pick-card__media img {
  transform: scale(1.05);
}

.dp-pick-card__name {
  flex-shrink: 0;
  padding: 0.5rem 0.5rem 0.625rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Variant answers */
.dp-options {
  display: grid;
  gap: 0.625rem;
}

.dp-options--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 540px) {
  .dp-options--two {
    grid-template-columns: 1fr;
  }
}

.dp-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9375rem 1.125rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
  animation: tileIn 0.38s var(--ease) both;
}

.dp-option:nth-child(1) { animation-delay: 0.02s; }
.dp-option:nth-child(2) { animation-delay: 0.05s; }
.dp-option:nth-child(3) { animation-delay: 0.08s; }
.dp-option:nth-child(4) { animation-delay: 0.11s; }
.dp-option:nth-child(5) { animation-delay: 0.14s; }
.dp-option:nth-child(6) { animation-delay: 0.17s; }

.dp-option:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.dp-option.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.dp-option__dot {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 2px solid rgba(12, 21, 36, 0.14);
  flex-shrink: 0;
  position: relative;
}

.dp-option.is-active .dp-option__dot {
  border-color: var(--primary);
}

.dp-option.is-active .dp-option__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--primary);
}

.dp-option__label {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Input */
.dp-input-wrap { max-width: 100%; }

.dp-input {
  width: 100%;
  padding: 1.125rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 500;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  outline: none;
  background: var(--surface-2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dp-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.dp-input::placeholder { color: var(--ink-faint); }

/* Budget slider */
.dp-budget {
  max-width: 100%;
  animation: slideUp 0.45s var(--ease);
}

.dp-budget__value {
  display: block;
  width: fit-content;
  min-width: 11rem;
  max-width: 100%;
  margin: 0 0 0.875rem;
  padding: 0.6875rem 0.875rem;
  border: 1.5px solid rgba(12, 21, 36, 0.1);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.dp-budget__value:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-soft), 0 4px 16px rgba(37, 99, 235, 0.08);
}

.dp-budget__wrap {
  position: relative;
  height: 3.5rem;
  margin-bottom: 0.5rem;
}

.dp-budget__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2.75rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  overflow: hidden;
  cursor: pointer;
}

.dp-budget__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: inherit;
  transition: width 0.08s linear;
  pointer-events: none;
}

.dp-budget__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.625rem;
  height: 1.625rem;
  margin-left: -0.8125rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 10px rgba(12, 21, 36, 0.12);
  cursor: grab;
  z-index: 2;
  padding: 0;
  transition: left 0.08s linear, box-shadow 0.2s, transform 0.2s;
}

.dp-budget__knob:hover {
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: translateY(-50%) scale(1.06);
}

.dp-budget__knob.is-grabbing {
  cursor: grabbing;
  box-shadow: 0 6px 18px var(--primary-glow);
  transform: translateY(-50%) scale(1.08);
}

.dp-budget__ends {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Quiz footer — стиль Marquiz */
.dp-survey__dock {
  flex-shrink: 0;
  margin-top: 2.25rem;
  padding-top: 0.25rem;
}

.dp-survey__dock-inner {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dp-survey__dock-ring { flex-shrink: 0; }

.dp-survey__dock-btns {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: auto;
}

.dp-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s, opacity 0.2s, box-shadow 0.2s;
}

.dp-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.dp-nav--prev {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-muted);
  box-shadow: 0 2px 10px rgba(12, 21, 36, 0.06);
}

.dp-nav--prev svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dp-nav--prev:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.dp-nav__next-wrap {
  display: flex;
  align-items: center;
}

.dp-nav--fwd {
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.375rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6 0%, var(--primary) 50%, #1e40af 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 8px 22px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.dp-nav--fwd:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dp-nav--fwd:not(:disabled):active {
  transform: translateY(0);
}

.dp-nav--fwd svg {
  width: 1.125rem;
  height: 1.125rem;
}

.dp-nav--fwd.is-busy {
  pointer-events: none;
  opacity: 0.68;
}

.dp-ring {
  position: relative;
  width: 3rem;
  height: 3rem;
}

.dp-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dp-ring__bg {
  fill: none;
  stroke: rgba(12, 21, 36, 0.08);
  stroke-width: 2.5;
}

.dp-ring__bar {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s var(--ease);
}

.dp-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp-ring__num {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--ink);
}

/* Desktop: фиксированная навигация, скролл только у ответов */
@media (min-width: 769px) {
  .dp-view.dp-view--survey.dp-view--visible {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .dp-survey {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .dp-survey__wrap {
    flex: 1;
    min-height: 0;
    justify-content: center;
    align-items: stretch;
    padding: clamp(1.5rem, 4vh, 2.5rem) 1.25rem var(--dp-survey-foot-h);
    overflow: hidden;
  }

  .dp-survey__box {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .dp-survey__top {
    margin-bottom: 1.5rem;
  }

  .dp-survey__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(12, 21, 36, 0.15) transparent;
  }

  .dp-survey__body::-webkit-scrollbar {
    width: 6px;
  }

  .dp-survey__body::-webkit-scrollbar-thumb {
    background: rgba(12, 21, 36, 0.15);
    border-radius: 999px;
  }

  .dp-survey__dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 0.625rem 1.25rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 24px rgba(12, 21, 36, 0.06);
    z-index: 50;
  }
}

/* Mobile: фиксированные шапка и навигация, скролл только у ответов */
@media (max-width: 768px) {
  .dp-view.dp-view--survey.dp-view--visible {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .dp-survey {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .dp-survey__wrap {
    flex: 1;
    min-height: 0;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0 0 var(--dp-survey-foot-h);
    overflow: hidden;
  }

  .dp-survey__box {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }

  .dp-survey__top {
    flex-shrink: 0;
    min-height: auto;
    margin-bottom: 0;
    justify-content: flex-start;
    padding: calc(0.875rem + env(safe-area-inset-top, 0px)) 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .dp-survey__meta {
    margin-bottom: 0.625rem;
  }

  .dp-survey__question {
    min-height: auto;
    font-size: 1.375rem;
  }

  .dp-survey__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1.25rem 0.5rem;
  }

  .dp-survey__dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 0.625rem 1.25rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 24px rgba(12, 21, 36, 0.06);
    z-index: 50;
  }
}

@media (max-width: 480px) {
  :root { --dp-survey-head-h: 6.25rem; --container-w: 100%; }
}

/* ===== Form page (one dp-view) ===== */
.dp-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  max-height: 100dvh;
}

.dp-contact__banner {
  position: relative;
  min-height: 100%;
  background-color: #dfe5eb;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 65%;
  overflow: hidden;
}

.dp-contact__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,38,66,0.15), rgba(0,38,66,0.55));
}

.dp-contact__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vh, 2rem) clamp(1.25rem, 4vw, 2.5rem);
  background: var(--surface);
  min-height: 0;
  overflow: hidden;
}

.dp-contact__inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0.25rem 0;
}

.dp-contact__heading {
  font-size: clamp(1.4375rem, 2.6vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.625rem;
  line-height: 1.15;
}

.dp-contact__error {
  margin: 0.75rem 0 0;
  color: #dc2626;
  font-size: 0.875rem;
  line-height: 1.45;
}

.dp-contact__desc {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
}

.dp-contact__benefits {
  list-style: none;
  margin: 0 0 2.625rem;
  padding: 0 0 2.625rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
  position: relative;
}

.dp-contact__benefits::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(12, 21, 36, 0.14) 0%,
    rgba(12, 21, 36, 0.08) 55%,
    transparent 100%
  );
}

.dp-contact__benefits li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.5rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.dp-contact__benefit-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dp-contact__benefit-icon svg {
  width: 1.0625rem;
  height: 1.0625rem;
}

.dp-contact__benefit-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-muted);
}

/* рамка, фон и отступы убраны временно — можно вернуть:
   padding: 1.625rem 1.25rem;
   border: 1px solid var(--line);
   border-radius: var(--radius-lg);
   background: var(--surface-2); */
.dp-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.dp-field { margin-bottom: 1rem; }

.dp-field:last-of-type { margin-bottom: 0.875rem; }

.dp-field__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.dp-field__box {
  position: relative;
  display: block;
  width: 100%;
}

.dp-field__box:focus-within .dp-field__icon {
  color: var(--primary);
}

.dp-field__control {
  width: 100%;
  padding: 0.9375rem 0.875rem 0.9375rem 2.625rem;
  font-size: 0.9375rem;
  border: 1.5px solid rgba(12, 21, 36, 0.1);
  border-radius: var(--radius-md);
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.dp-field__control::placeholder { color: var(--ink-faint); }

.dp-field__control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-soft), 0 4px 16px rgba(37, 99, 235, 0.08);
}

.dp-field__control.is-invalid {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dp-field__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
  transition: color 0.2s;
}

.dp-field__icon svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}

.dp-field__phone {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1.5px solid rgba(12, 21, 36, 0.12);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dp-field__phone:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft), 0 4px 16px rgba(37, 99, 235, 0.08);
}

.dp-field__phone.is-invalid {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dp-field__prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0 0.75rem 0 0.875rem;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
  flex-shrink: 0;
}

.dp-field__flag {
  width: 1.375rem;
  height: 0.875rem;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(12, 21, 36, 0.08);
  flex-shrink: 0;
}

.dp-field__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dp-field__code {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.dp-field__tel {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: none;
  border-radius: 0;
  padding: 0.9375rem 0.875rem;
  box-shadow: none !important;
  background: transparent;
}

.dp-field__tel:focus {
  box-shadow: none !important;
}

.dp-field__msg {
  margin: 0.3125rem 0 0;
  font-size: 0.75rem;
  color: var(--primary);
}

.dp-form .dp-check {
  margin: 0.875rem 0 1.25rem;
  padding: 0;
  background: none;
  border: none;
}

.dp-form .dp-btn--main {
  margin-top: 0.25rem;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  min-height: 3.25rem;
  box-shadow: 0 10px 28px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dp-check {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: 0.875rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.dp-check input { display: none; }

.dp-check__mark {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid var(--line);
  border-radius: 0.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.dp-check input:checked + .dp-check__mark {
  background: var(--primary);
  border-color: var(--primary);
}

.dp-check input:checked + .dp-check__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.625rem;
  height: 0.625rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-4.5' fill='none' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border: none;
  transform: none;
}

.dp-check a { color: var(--primary); }

@media (max-width: 768px) {
  .dp-contact {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 32vh minmax(0, 1fr);
  }

  .dp-contact__banner {
    min-height: 32vh;
    background-position: center 72%;
  }

  .dp-contact__panel {
    padding: 1rem 1.125rem;
    justify-content: flex-start;
  }

  .dp-contact__inner {
    justify-content: flex-start;
    overflow-y: auto;
  }

  .dp-contact__desc {
    margin-bottom: 1.5rem;
  }

  .dp-contact__benefits {
    gap: 0.625rem;
    margin-bottom: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .dp-contact__benefit-text {
    font-size: 0.6875rem;
  }
}

/* ===== Success (one dp-view) ===== */
.dp-done {
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  background:
    radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.1), transparent 55%),
    var(--surface);
}

.dp-done__halo {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.dp-done__badge {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: bounceIn 0.55s var(--ease);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.dp-done__badge .dp-icon { width: 2rem; height: 2rem; }

@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

.dp-done__heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.625rem;
  position: relative;
  z-index: 1;
}

.dp-done__note {
  max-width: 22rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  position: relative;
  z-index: 1;
}

/* ===== Hero — клікабельний бренд + правовая навигация ===== */
.dp-hero__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}
.dp-hero__brand-link:hover,
.dp-hero__brand-link:focus-visible {
  opacity: 0.85;
  outline: none;
}

.dp-hero__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.dp-hero__legal a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.dp-hero__legal a:hover,
.dp-hero__legal a:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
  outline: none;
}
.dp-hero__legal span[aria-hidden="true"] {
  opacity: 0.5;
}

/* ============================================================
   Legal pages — privacy, terms, 404
   ============================================================ */
.legal-body {
  background: #f6f8fc;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.legal-topbar__inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.legal-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: opacity 0.2s var(--ease);
}
.legal-topbar__brand:hover {
  opacity: 0.78;
}
.legal-topbar__logo-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 6px 18px var(--primary-glow);
}
.legal-topbar__logo-ring img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}
.legal-topbar__brand-text {
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.legal-topbar__home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px var(--primary-glow);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.legal-topbar__home:hover,
.legal-topbar__home:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px var(--primary-glow);
  outline: none;
}
.legal-topbar__home svg {
  width: 18px;
  height: 18px;
}

.legal-page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

.legal-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.legal-card__head {
  padding: 2.25rem 2rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}
.legal-card__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 700;
}
.legal-card__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.legal-card__meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.legal-card__body {
  padding: 1.75rem 2rem 2.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.legal-card__body h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.legal-card__body h2:first-child {
  margin-top: 0;
}
.legal-card__body p {
  margin: 0 0 0.85rem;
  color: rgba(12, 21, 36, 0.82);
}
.legal-card__body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.legal-card__body li {
  margin-bottom: 0.4rem;
  color: rgba(12, 21, 36, 0.82);
}
.legal-card__body a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.25);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.legal-card__body a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}
.legal-card__body strong {
  color: var(--ink);
}

.legal-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.legal-cta .dp-btn {
  min-width: 280px;
}

.legal-footer {
  flex-shrink: 0;
  padding: 1.75rem 1.25rem 2rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.legal-footer__inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  color: var(--ink-muted);
}
.legal-footer__info,
.legal-footer__addr {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.55;
}
.legal-footer__addr {
  color: var(--ink-faint);
}
.legal-footer__nav {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}
.legal-footer__nav a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.legal-footer__nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.legal-footer__nav span[aria-hidden="true"] {
  opacity: 0.4;
}

@media (max-width: 640px) {
  .legal-topbar__inner {
    padding: 0.75rem 1rem;
  }
  .legal-topbar__brand-text {
    display: none;
  }
  .legal-topbar__home span {
    display: none;
  }
  .legal-topbar__home {
    padding: 0.55rem;
    width: 40px;
    height: 40px;
    justify-content: center;
  }
  .legal-page {
    padding: 1.5rem 1rem 1rem;
  }
  .legal-card__head {
    padding: 1.5rem 1.25rem 1rem;
  }
  .legal-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    font-size: 0.9375rem;
  }
  .legal-cta .dp-btn {
    min-width: 0;
    width: 100%;
  }
}

