:root {
  --bg-deep: #22040c;
  --bg-mid: #4f0f22;
  --bg-soft: #8f2943;
  --line: rgba(255, 219, 209, 0.16);
  --line-strong: rgba(255, 221, 214, 0.24);
  --text: #fff3ee;
  --muted: rgba(255, 232, 226, 0.78);
  --muted-strong: rgba(255, 238, 232, 0.9);
  --accent: #ff8aa5;
  --accent-strong: #ffd2c2;
  --accent-warm: #f7c6b5;
  --shadow-lg: 0 24px 80px rgba(12, 1, 4, 0.35);
  --shadow-md: 0 14px 36px rgba(12, 1, 4, 0.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --touch-target: 52px;
  --app-dvh: 100vh;
  --form-action-height: 0px;
  --funnel-safe-top: env(safe-area-inset-top, 0px);
  --funnel-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-deep);
}

html.is-scroll-locked,
body.is-scroll-locked {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  color: var(--text);
  background-color: var(--bg-deep);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 184, 0.12), transparent 26%),
    linear-gradient(150deg, var(--bg-deep) 0%, #320813 36%, var(--bg-mid) 68%, var(--bg-soft) 100%);
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body.is-funnel-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  max-width: 100%;
}

.page-backdrop__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.78;
  animation: drift 18s ease-in-out infinite alternate;
}

.page-backdrop__glow--left {
  width: min(58vw, 420px);
  height: min(58vw, 420px);
  top: -8%;
  left: -6%;
  background: radial-gradient(circle, rgba(255, 200, 188, 0.22), rgba(255, 200, 188, 0));
}

.page-backdrop__glow--right {
  width: min(50vw, 360px);
  height: min(50vw, 360px);
  right: -8%;
  bottom: -6%;
  background: radial-gradient(circle, rgba(255, 141, 165, 0.2), rgba(255, 141, 165, 0));
  animation-duration: 22s;
}

.page-backdrop__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 40%),
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  opacity: 0.36;
  mix-blend-mode: screen;
}

.site-shell {
  position: relative;
  width: min(1180px, calc(100% - 28px));
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 0 24px;
  overflow-x: clip;
}

.hero-card,
.catalog-card,
.support-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 244, 240, 0.08), rgba(255, 244, 240, 0.02)),
    rgba(14, 2, 6, 0.46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  padding: 12px;
  overflow: hidden;
}

.catalog-card,
.support-card {
  margin-top: 14px;
}

.catalog-card {
  padding: 12px 10px 14px;
}

.support-card {
  padding: 14px 12px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 226, 214, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 142, 167, 0.16), transparent 30%);
  pointer-events: none;
  opacity: 0.9;
}

.hero-topline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-badge,
.hero-kicker,
.section-kicker,
.hero-pill,
.chip-inline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 245, 0.06);
  color: var(--muted-strong);
  letter-spacing: 0.04em;
  font-size: 0.74rem;
  max-width: 100%;
}

.hero-copy {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
}

.hero-layout {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.hero-copy h1,
.section-heading h2,
.funnel-progress__copy h2,
.step-card h3,
.status-box h3,
.confirmation-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(1.82rem, 6.2vw, 3rem);
  line-height: 0.96;
  max-width: 11ch;
  color: var(--text);
  opacity: 1;
  text-wrap: balance;
}

.hero-description,
.section-description,
.selected-profile-card__description,
.step-card__copy,
.status-box__copy,
.field__hint,
.confirmation-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-kicker,
.hero-spotlight__eyebrow,
.hero-copy h1,
.hero-description,
.hero-profile-card__name,
.hero-profile-card__city,
.hero-profile-card__summary,
.profile-card__name,
.profile-card__city,
.profile-card__summary {
  opacity: 1;
  visibility: visible;
  filter: none;
}

.hero-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button-primary,
.button-secondary,
.option-button {
  border: none;
  border-radius: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: #2d0813;
  -webkit-text-fill-color: #2d0813;
}

.button-primary--hero {
  width: 100%;
  max-width: 220px;
  min-height: 48px;
  line-height: 1.1;
  font-size: 0.98rem;
}

.section-heading--support {
  margin-bottom: 10px;
}

.support-card {
  background:
    linear-gradient(180deg, rgba(255, 244, 240, 0.05), rgba(255, 244, 240, 0.015)),
    rgba(14, 2, 6, 0.42);
}

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

.trust-card {
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 227, 220, 0.12);
  background: rgba(255, 244, 240, 0.05);
  min-height: 0;
}

.trust-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-strong);
  font-size: 0.88rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.38;
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(1.26rem, 4.7vw, 1.9rem);
}

.section-description {
  max-width: 42ch;
}

.hero-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  align-items: stretch;
}

.hero-spotlight__header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
}

.hero-spotlight__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 239, 233, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-spotlight__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(255, 222, 214, 0.4);
}

.hero-profile-card {
  position: relative;
  min-height: 148px;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 225, 0.16);
  background: rgba(11, 2, 5, 0.45);
  box-shadow: var(--shadow-md);
}

.hero-profile-card--primary {
  grid-column: 1 / -1;
  min-height: 208px;
}

.hero-profile-card .media-frame {
  height: 100%;
  aspect-ratio: auto;
}

.hero-profile-card .media-frame__placeholder {
  align-content: end;
  gap: 4px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(12, 2, 5, 0.28)),
    radial-gradient(circle at top right, rgba(255, 210, 194, 0.14), transparent 28%);
}

.hero-profile-card .media-frame__slot {
  font-size: 0.62rem;
  padding: 5px 8px;
}

.hero-profile-card .media-frame__placeholder strong {
  font-size: 0.86rem;
  color: rgba(255, 232, 225, 0.94);
}

.hero-profile-card .media-frame__placeholder p {
  margin: 0;
  color: rgba(255, 232, 226, 0.72);
  font-size: 0.74rem;
  line-height: 1.28;
  max-width: 18ch;
}

.hero-profile-card:not(.hero-profile-card--primary) .media-frame__placeholder p {
  display: none;
}

.hero-profile-card__overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  z-index: 1;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(19, 3, 8, 0) 0%, rgba(19, 3, 8, 0.84) 42%, rgba(19, 3, 8, 0.96) 100%);
}

.hero-profile-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-profile-card__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

.hero-profile-card__city {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 246, 242, 0.1);
  color: var(--accent-strong);
  font-size: 0.74rem;
  white-space: nowrap;
}

.hero-profile-card__summary {
  margin: 0;
  max-width: 24ch;
  color: rgba(255, 238, 232, 0.84);
  line-height: 1.34;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.hero-profile-card__button {
  width: 100%;
  min-height: 42px;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 0.92rem;
  font-weight: 800;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 222, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 241, 236, 0.08), rgba(255, 241, 236, 0.03)),
    rgba(16, 3, 7, 0.54);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 214, 199, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(88, 18, 35, 0.85), rgba(25, 6, 12, 0.96));
}

.media-frame__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.media-frame.has-image .media-frame__image {
  opacity: 1;
}

.media-frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(12, 2, 5, 0.34)),
    radial-gradient(circle at top right, rgba(255, 210, 194, 0.2), transparent 28%);
}

.media-frame.has-image .media-frame__placeholder {
  opacity: 0;
  pointer-events: none;
}

.media-frame__slot {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 226, 220, 0.12);
  color: rgba(255, 239, 233, 0.8);
  font-size: 0.68rem;
  background: rgba(255, 252, 251, 0.08);
}

.media-frame__placeholder strong {
  font-size: 0.9rem;
  color: var(--accent-warm);
}

.media-frame__placeholder p {
  margin: 0;
  max-width: 18ch;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.profile-card__body {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.profile-card__headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.profile-card__meta {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.profile-card__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.profile-card__city {
  display: inline-flex;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.profile-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(124, 255, 197, 0.18);
  background: rgba(124, 255, 197, 0.12);
  color: #c8ffe4;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.profile-card__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7cffc5;
  box-shadow: 0 0 10px rgba(124, 255, 197, 0.55);
}

.profile-card .button-primary {
  min-height: 42px;
  padding: 10px 12px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.button-primary:hover,
.button-secondary:hover,
.option-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  width: 100%;
  min-height: var(--touch-target);
  padding: 12px 14px;
  color: #2d0813;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffd7c7, #ff9cb1);
  box-shadow: 0 10px 24px rgba(255, 136, 165, 0.22);
}

.button-secondary {
  width: 100%;
  min-height: var(--touch-target);
  padding: 14px 15px;
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 241, 236, 0.08);
  border: 1px solid var(--line);
}

.button-secondary.is-inline,
.button-primary.is-inline {
  width: auto;
  min-width: 140px;
}

.button-primary:disabled,
.button-secondary:disabled,
.option-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.funnel-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--app-dvh);
  min-height: var(--app-dvh);
  max-height: var(--app-dvh);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
  z-index: 20;
  overflow: hidden;
  overscroll-behavior: none;
  background: rgba(6, 1, 2, 0.02);
}

.funnel-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.funnel-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 1, 2, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.funnel-dialog {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: var(--app-dvh);
  max-height: var(--app-dvh);
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at top, rgba(255, 214, 198, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(35, 7, 15, 0.98), rgba(27, 5, 12, 0.98));
  overscroll-behavior: none;
}

.funnel-close {
  position: absolute;
  top: calc(10px + var(--funnel-safe-top));
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 228, 221, 0.14);
  color: var(--text);
  background: rgba(13, 3, 7, 0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 1.4rem;
  z-index: 5;
}

.funnel-layout {
  display: block;
  height: 100%;
}

.funnel-profile-pane,
.funnel-progress {
  display: none;
}

.funnel-content-pane {
  display: block;
  height: 100%;
  min-width: 0;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-button {
  min-height: var(--touch-target);
  padding: 16px 14px;
  color: var(--text);
  font-weight: 800;
  background: rgba(255, 241, 236, 0.07);
  border: 1px solid var(--line);
}

.option-button.is-selected {
  color: #2b0710;
  background: linear-gradient(135deg, #ffe2d4, #ff9bb1);
}

.field-stack,
.field {
  display: grid;
  gap: 12px;
}

.field label {
  color: var(--muted-strong);
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: var(--touch-target);
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 252, 251, 0.06);
  outline: none;
}

.field input::placeholder {
  color: rgba(255, 235, 230, 0.46);
}

.field input:focus,
.field select:focus {
  border-color: rgba(255, 194, 178, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 182, 177, 0.08);
}

.field__error {
  min-height: 1.1em;
  color: #ffbbc6;
  font-size: 0.83rem;
}

.field-row {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.field-row > .field,
.field {
  min-width: 0;
}

.review-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-inline {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-row > * {
  flex: 1 1 100%;
}

.button-row--form-actions {
  position: sticky;
  bottom: 0;
}

#selectedProfileCard,
.funnel-profile-pane,
.funnel-progress {
  display: none !important;
}

#funnelContent {
  position: relative;
  z-index: 1;
  height: 100%;
}

.funnel-screen {
  width: 100%;
  height: 100%;
  min-height: var(--app-dvh);
  margin: 0;
}

.funnel-screen__shell {
  min-height: var(--app-dvh);
}

.funnel-screen--question .funnel-screen__shell,
.funnel-screen--status .funnel-screen__shell {
  display: grid;
  min-height: var(--app-dvh);
  padding:
    calc(74px + var(--funnel-safe-top))
    clamp(18px, 5vw, 34px)
    calc(24px + var(--funnel-safe-bottom));
}

.funnel-screen--form .funnel-screen__shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: var(--app-dvh);
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(255, 219, 205, 0.18), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(192, 74, 110, 0.12), transparent 28%),
    linear-gradient(180deg, #592033 0%, #451728 26%, #2d0d17 100%);
  overflow: hidden;
  isolation: isolate;
}

.funnel-screen__scroll {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  overscroll-behavior-x: none;
}

.question-screen {
  align-content: center;
  gap: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 204, 188, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(59, 14, 27, 0.98), rgba(32, 7, 15, 0.98));
}

.question-screen__header,
.question-screen__copy,
.question-screen__answers,
.question-screen__detail {
  display: grid;
}

.question-screen__header {
  gap: 14px;
}

.question-screen__summary {
  display: grid;
  gap: 3px;
}

.question-screen__summary-name,
.form-screen__summary-title {
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

.question-screen__summary-meta,
.form-screen__summary-meta,
.question-screen__helper,
.status-screen__copy {
  color: var(--muted);
}

.question-screen__summary-name {
  font-size: 0.92rem;
}

.question-screen__summary-meta,
.form-screen__summary-meta {
  font-size: 0.8rem;
  line-height: 1.4;
}

.question-screen__progress {
  display: grid;
  gap: 8px;
}

.question-screen__step-label,
.form-screen__step-label,
.status-screen__eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 226, 218, 0.14);
  background: rgba(255, 246, 242, 0.06);
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-screen__progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 244, 240, 0.08);
}

.question-screen__progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffc2b7, #ff8da6);
}

.question-screen__body {
  display: grid;
  align-content: center;
  gap: 24px;
  min-height: min(60svh, 640px);
}

.question-screen__copy {
  gap: 12px;
}

.question-screen__copy h2,
.form-screen__title-block h2,
.status-screen__body h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.question-screen__copy h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 7.8vw, 3.3rem);
  line-height: 0.96;
}

.question-screen__helper {
  max-width: 26ch;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.question-screen__answers {
  gap: 14px;
}

.option-grid--question {
  grid-template-columns: 1fr;
  gap: 12px;
}

.question-screen .option-button {
  min-height: 60px;
  padding: 18px 18px;
  border-radius: 18px;
  font-size: 1rem;
  text-align: left;
  background: rgba(255, 246, 242, 0.06);
}

.question-screen__detail {
  gap: 12px;
}

.question-screen__actions {
  margin-top: 2px;
}

.form-screen__header {
  display: grid;
  position: relative;
  z-index: 2;
  gap: 10px;
  padding:
    calc(18px + var(--funnel-safe-top))
    clamp(14px, 3.5vw, 20px)
    10px;
  background:
    linear-gradient(180deg, rgba(24, 6, 11, 0.56), rgba(24, 6, 11, 0.14) 72%, rgba(24, 6, 11, 0));
}

.form-screen__summary {
  display: grid;
  gap: 3px;
  padding: 0;
}

.form-screen__summary-title {
  font-size: 1rem;
}

.form-screen__title-block {
  display: grid;
  gap: 6px;
}

.form-screen__title-block h2 {
  font-size: clamp(1.22rem, 4.4vw, 1.62rem);
  line-height: 1.08;
  max-width: none;
}

.form-screen__scroll {
  display: grid;
  position: relative;
  z-index: 2;
  align-content: start;
  gap: 12px;
  padding:
    0
    clamp(14px, 3.5vw, 20px)
    calc(var(--form-action-height) + 12px + var(--funnel-safe-bottom));
}

.form-screen__fields {
  gap: 10px;
}

.form-screen__decor {
  position: absolute;
  right: clamp(-44px, -4vw, -18px);
  bottom: max(52px, calc(var(--funnel-safe-bottom) + 34px));
  width: min(56vw, 330px);
  height: min(76svh, 620px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 239, 233, 0.26), transparent 18%),
    radial-gradient(circle at 52% 58%, rgba(255, 214, 221, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 244, 239, 0.16), rgba(255, 244, 239, 0.03));
  filter: blur(1px) saturate(0.88);
}

.form-screen__decor::before,
.form-screen__decor::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.form-screen__decor::before {
  background: linear-gradient(180deg, rgba(255, 246, 241, 0.82), rgba(255, 226, 228, 0.7));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 640'%3E%3Cpath fill='black' d='M192 54c0 30-19 53-45 53s-45-23-45-53 19-54 45-54 45 24 45 54Zm-94 112c12-28 36-42 67-42 42 0 74 27 84 67 8 30 8 73 24 106 15 31 38 65 38 108 0 39-22 79-61 91-22 6-46 4-63 21-12 13-16 33-21 50-6 22-17 46-43 46-23 0-36-18-43-39-8-23-8-49-23-69-19-25-53-40-62-72-12-43 9-89 34-123 22-30 44-58 54-94 9-34 2-71 18-105Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 640'%3E%3Cpath fill='black' d='M192 54c0 30-19 53-45 53s-45-23-45-53 19-54 45-54 45 24 45 54Zm-94 112c12-28 36-42 67-42 42 0 74 27 84 67 8 30 8 73 24 106 15 31 38 65 38 108 0 39-22 79-61 91-22 6-46 4-63 21-12 13-16 33-21 50-6 22-17 46-43 46-23 0-36-18-43-39-8-23-8-49-23-69-19-25-53-40-62-72-12-43 9-89 34-123 22-30 44-58 54-94 9-34 2-71 18-105Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.form-screen__decor::after {
  inset: -4% -8% -8% -20%;
  background:
    radial-gradient(circle at 42% 26%, rgba(255, 250, 248, 0.7), transparent 16%),
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(90deg, transparent 0%, rgba(34, 10, 18, 0.04) 24%, rgba(34, 10, 18, 0.16) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 16%, black 46%, rgba(0, 0, 0, 0.46) 74%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 16%, black 46%, rgba(0, 0, 0, 0.46) 74%, transparent 100%);
  filter: blur(16px);
  opacity: 0.54;
}

.form-screen .field label {
  color: rgba(255, 240, 235, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.form-screen .field input,
.form-screen .field select {
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border-color: rgba(255, 233, 227, 0.18);
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.14), rgba(255, 251, 249, 0.08));
  color: #fff9f7;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-screen .field input::placeholder {
  color: rgba(255, 234, 228, 0.46);
}

.form-screen .field input:focus,
.form-screen .field select:focus {
  border-color: rgba(255, 213, 204, 0.52);
  box-shadow:
    0 0 0 4px rgba(255, 214, 207, 0.08),
    0 18px 34px rgba(12, 3, 6, 0.18);
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.18), rgba(255, 251, 249, 0.11));
}

.form-screen__submission-error,
.form-screen__submission-hint {
  margin: 0;
}

.form-screen__footer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding:
    10px
    clamp(14px, 3.5vw, 20px)
    calc(10px + var(--funnel-safe-bottom));
  border-top: 1px solid rgba(255, 233, 227, 0.08);
  background:
    linear-gradient(180deg, rgba(45, 14, 24, 0), rgba(45, 14, 24, 0.88) 24%),
    rgba(45, 14, 24, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 -10px 26px rgba(6, 1, 3, 0.16);
}

.form-screen__footer > * {
  flex: 1 1 0;
}

.form-screen__footer .button-secondary {
  background: rgba(255, 248, 244, 0.07);
  color: rgba(255, 240, 235, 0.92);
}

.form-screen__footer .button-primary {
  box-shadow: 0 14px 30px rgba(255, 136, 165, 0.14);
}

.status-screen {
  align-content: center;
  gap: 20px;
  background:
    radial-gradient(circle at top, rgba(255, 210, 200, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(44, 9, 19, 0.98), rgba(26, 5, 11, 0.98));
}

.status-screen__body {
  display: grid;
  gap: 14px;
  max-width: 34rem;
}

.status-screen__body h2 {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  line-height: 0.98;
  max-width: 12ch;
}

.status-screen__copy,
.status-screen__hint {
  margin: 0;
  line-height: 1.55;
}

.status-screen__actions > * {
  flex: 0 0 auto;
}

.confirmation-copy__profile {
  display: inline-flex;
  width: fit-content;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 241, 236, 0.08);
  color: var(--accent-strong);
  font-weight: 700;
}

.payload-box {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 229, 223, 0.1);
  background: rgba(255, 248, 245, 0.04);
}

.payload-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
}

.payload-box code {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255, 232, 226, 0.84);
  font-size: 0.8rem;
  line-height: 1.5;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(0.98);
  }
  to {
    transform: translate3d(18px, -12px, 0) scale(1.04);
  }
}

@media (min-width: 680px) {
  .site-shell {
    width: min(1180px, calc(100% - 44px));
    padding: 20px 0 34px;
  }

  .hero-card,
  .catalog-card,
  .support-card {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-copy {
    margin-top: 0;
  }

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

  .funnel-layout {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: start;
  }

  .funnel-dialog {
    min-height: auto;
    max-height: calc(100vh - 24px);
    max-height: calc(100svh - 24px);
    padding: 18px;
    border-radius: 32px;
  }

  .button-row > * {
    flex: 0 0 auto;
  }

  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
    align-items: end;
  }

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

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

@media (max-width: 679px) {
  .hero-card,
  .catalog-card,
  .support-card {
    border-radius: 24px;
  }

  .hero-topline {
    align-items: stretch;
  }

  .brand-badge,
  .hero-kicker {
    width: 100%;
    justify-content: center;
  }

  .hero-copy {
    gap: 9px;
  }

  .hero-description,
  .section-description,
  .selected-profile-card__description,
  .step-card__copy,
  .status-box__copy,
  .field__hint,
  .confirmation-copy p {
    font-size: 0.95rem;
  }

  .hero-pill-list,
  .review-bar {
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    min-height: auto;
  }

  .funnel-progress {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 6px 0 6px;
    background: linear-gradient(180deg, rgba(11, 2, 5, 0.98), rgba(11, 2, 5, 0.82));
  }

  .funnel-layout {
    gap: 10px;
  }

  .selected-profile-card {
    gap: 8px;
    padding: 10px;
  }

  .selected-profile-card__label {
    font-size: 0.68rem;
  }

  .selected-profile-card__name {
    font-size: 1rem;
  }

  .selected-profile-card .media-frame {
    aspect-ratio: 1.5;
    max-height: 148px;
    border-radius: 18px;
  }

  .funnel-content-pane {
    gap: 8px;
  }

  .funnel-progress__eyebrow {
    font-size: 0.72rem;
  }

  .progress-track {
    height: 7px;
  }

  .step-card,
  .status-box,
  .confirmation-copy,
  .form-shell {
    padding: 13px 12px;
    gap: 10px;
  }

  .funnel-overlay.is-question-mode .step-card--question {
    min-height: calc(100svh - 220px);
    padding: 18px 14px;
  }

  .funnel-overlay.is-question-mode .step-card--question h3 {
    font-size: clamp(1.58rem, 8.2vw, 2.02rem);
    max-width: 11.5ch;
  }

  .funnel-overlay.is-question-mode .step-card--question .step-card__copy {
    font-size: 0.94rem;
  }

  .funnel-overlay.is-form-mode .funnel-layout {
    display: block;
  }

  .funnel-overlay.is-form-mode .selected-profile-card__summary-title {
    font-size: 0.9rem;
  }

  .funnel-overlay.is-form-mode .selected-profile-card__summary-meta {
    font-size: 0.75rem;
  }

  .funnel-overlay.is-form-mode .funnel-progress {
    display: none;
  }

  .funnel-overlay.is-form-mode .form-shell {
    gap: 12px;
    border-radius: 20px;
  }

  .funnel-overlay.is-form-mode .funnel-content-pane {
    padding: calc(50px + var(--funnel-safe-top)) 10px 0;
  }

  .funnel-overlay.is-form-mode .form-shell__scroll {
    padding: 14px 12px calc(var(--form-action-height) + 18px + var(--funnel-safe-bottom));
  }

  .funnel-overlay.is-form-mode .form-shell__header h3 {
    font-size: 1.26rem;
  }

  .funnel-overlay.is-form-mode .field-stack {
    gap: 9px;
  }

  .funnel-overlay.is-form-mode .button-row--form-actions {
    padding: 10px 12px calc(10px + var(--funnel-safe-bottom));
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .hero-kicker {
    padding: 7px 10px;
    font-size: 0.67rem;
    justify-content: center;
    text-align: left;
  }

  .support-card {
    margin-top: 12px;
  }

  .hero-pill-list {
    display: none;
  }
}

@media (max-width: 430px) {
  .funnel-dialog {
    padding: 12px 10px 14px;
  }

  .funnel-close {
    width: 42px;
    height: 42px;
    top: 8px;
    right: 8px;
  }

  .selected-profile-card {
    gap: 7px;
    padding: 9px;
    border-radius: 20px;
  }

  .selected-profile-card .media-frame {
    aspect-ratio: 1.6;
    max-height: 132px;
    border-radius: 16px;
  }

  .selected-profile-card__meta {
    gap: 6px;
  }

  .selected-profile-card__name {
    font-size: 0.98rem;
  }

  .selected-profile-card__city {
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .funnel-content-pane {
    gap: 7px;
  }

  .funnel-progress {
    padding-top: 2px;
  }

  .funnel-overlay.is-form-mode .funnel-dialog {
    padding: 0;
  }

  .funnel-overlay.is-form-mode .funnel-close {
    top: 6px;
    right: 6px;
  }

  .funnel-overlay.is-form-mode .form-shell {
    border-radius: 18px;
  }

  .funnel-overlay.is-form-mode .funnel-content-pane {
    padding: calc(48px + var(--funnel-safe-top)) 10px 0;
  }

  .funnel-overlay.is-form-mode .form-shell__scroll {
    padding: 13px 11px calc(var(--form-action-height) + 16px + var(--funnel-safe-bottom));
  }

  .funnel-overlay.is-question-mode .step-card--question {
    min-height: calc(100svh - 212px);
    padding: 16px 13px;
  }

  .site-shell {
    width: min(100%, calc(100% - 22px));
    padding-top: 10px;
  }

  .hero-card {
    padding: 13px 13px 11px;
  }

  .hero-topline {
    gap: 8px;
  }

  .hero-layout {
    gap: 8px;
  }

  .hero-copy {
    gap: 8px;
    margin-top: 8px;
  }

  .hero-copy h1 {
    max-width: 10.5ch;
    line-height: 1;
  }

  .button-primary--hero {
    max-width: none;
  }

  .profile-grid {
    gap: 8px;
  }

  .profile-card {
    border-radius: 16px;
  }

  .profile-card__body {
    gap: 7px;
    padding: 9px;
  }

  .profile-card__name {
    font-size: 0.94rem;
  }

  .profile-card__city {
    font-size: 0.78rem;
  }

  .profile-card__badge {
    font-size: 0.66rem;
    padding: 4px 7px;
  }

  .support-card {
    padding: 13px 11px;
  }

  .section-heading--support {
    margin-bottom: 10px;
  }
}

@media (max-width: 412px) {
  .site-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 10px;
  }

  .hero-card,
  .catalog-card,
  .support-card {
    border-radius: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(1.72rem, 8.4vw, 2.2rem);
    max-width: 10.6ch;
  }

  .button-primary--hero {
    min-height: 48px;
  }

  .section-heading h2,
  .funnel-progress__copy h2 {
    font-size: clamp(1.35rem, 6.4vw, 1.75rem);
  }

  .profile-card__body,
  .selected-profile-card,
  .step-card,
  .status-box,
  .confirmation-copy,
  .form-shell {
    gap: 12px;
  }

  .profile-card__body {
    padding: 9px;
  }

  .selected-profile-card {
    padding: 8px;
    gap: 6px;
  }

  .selected-profile-card .media-frame {
    max-height: 122px;
  }

  .funnel-overlay.is-form-mode .field input,
  .funnel-overlay.is-form-mode .field select {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .form-mode-summary {
    padding: 9px 10px;
    border-radius: 16px;
  }

  .trust-card {
    padding: 12px;
  }

  .field input,
  .field select {
    padding-left: 13px;
    padding-right: 13px;
  }

  .media-frame__placeholder {
    padding: 12px;
  }

  .hero-description {
    max-width: 29ch;
    line-height: 1.36;
    color: var(--muted-strong);
  }

  .funnel-overlay.is-form-mode .form-shell__header h3 {
    font-size: 1.18rem;
  }
}

@media (max-width: 390px) {
  .hero-card {
    padding: 13px 13px 11px;
  }

  .catalog-card,
  .support-card {
    padding: 14px 10px 12px;
  }

  .trust-card,
  .profile-card__body,
  .step-card,
  .status-box,
  .confirmation-copy,
  .form-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .selected-profile-card__meta,
  .profile-card__headline {
    align-items: flex-start;
    flex-direction: column;
  }

  .selected-profile-card__name {
    font-size: 0.94rem;
  }

  .selected-profile-card .media-frame {
    max-height: 116px;
  }

  .funnel-overlay.is-question-mode .step-card--question {
    min-height: calc(100svh - 204px);
  }

  .profile-card__city {
    font-size: 0.75rem;
  }

  .button-row--form-actions {
    padding-top: 12px;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .funnel-overlay.is-form-mode .selected-profile-card__summary-title {
    font-size: 0.86rem;
  }

  .funnel-overlay.is-form-mode .selected-profile-card__summary-meta {
    font-size: 0.72rem;
  }
}

@media (max-width: 360px) {
  :root {
    --touch-target: 50px;
  }

  .site-shell {
    width: min(100%, calc(100% - 16px));
  }

  .hero-copy h1 {
    font-size: 1.52rem;
    max-width: 10.2ch;
  }

  .hero-description,
  .section-description,
  .selected-profile-card__description,
  .step-card__copy,
  .status-box__copy,
  .field__hint,
  .confirmation-copy p {
    font-size: 0.92rem;
  }

  .brand-badge,
  .hero-kicker,
  .section-kicker,
  .hero-pill,
  .chip-inline {
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .hero-card {
    padding: 12px 12px 10px;
  }

  .hero-layout {
    gap: 8px;
  }

  .hero-copy {
    margin-top: 8px;
  }

  .profile-card__body {
    padding: 8px;
  }

  .selected-profile-card {
    padding: 8px;
  }

  .selected-profile-card__label {
    font-size: 0.64rem;
  }

  .selected-profile-card__name {
    font-size: 0.9rem;
  }

  .selected-profile-card .media-frame {
    max-height: 108px;
    border-radius: 15px;
  }

  .funnel-overlay.is-form-mode .form-shell {
    border-radius: 16px;
  }

  .funnel-overlay.is-form-mode .form-shell__scroll {
    padding: 12px 10px calc(var(--form-action-height) + 14px + var(--funnel-safe-bottom));
  }

  .funnel-overlay.is-form-mode .form-shell__header h3 {
    font-size: 1.1rem;
  }

  .funnel-overlay.is-form-mode .selected-profile-card__summary-title {
    font-size: 0.82rem;
  }

  .funnel-overlay.is-form-mode .selected-profile-card__summary-meta {
    font-size: 0.7rem;
  }

  .form-mode-summary {
    padding: 8px 9px;
  }

  .funnel-overlay.is-question-mode .step-card--question {
    min-height: calc(100svh - 198px);
    padding: 15px 12px;
  }

  .funnel-overlay.is-question-mode .step-card--question .option-button {
    min-height: 54px;
  }

  .profile-card__name {
    font-size: 0.9rem;
  }

  .profile-card__badge {
    font-size: 0.64rem;
  }

  .funnel-dialog {
    padding-left: 10px;
    padding-right: 10px;
  }

  .funnel-close {
    top: 8px;
    right: 8px;
  }

  .field input,
  .field select,
  .button-primary,
  .button-secondary,
  .option-button {
    border-radius: 13px;
  }
}

@media (min-width: 680px) {
  .funnel-overlay .funnel-dialog {
    width: min(100%, 520px);
    margin-left: auto;
    box-shadow: -24px 0 60px rgba(6, 1, 2, 0.22);
  }
}

@media (max-width: 679px) {
  .funnel-overlay .funnel-dialog {
    width: 100%;
  }

  .question-screen__body {
    min-height: calc(var(--app-dvh) - 180px - var(--funnel-safe-top) - var(--funnel-safe-bottom));
  }
}

@media (max-width: 430px) {
  .funnel-overlay .funnel-close {
    top: calc(8px + var(--funnel-safe-top));
    right: 8px;
    width: 42px;
    height: 42px;
  }

  .funnel-screen--question .funnel-screen__shell,
  .funnel-screen--status .funnel-screen__shell {
    padding:
      calc(68px + var(--funnel-safe-top))
      16px
      calc(18px + var(--funnel-safe-bottom));
  }

  .form-screen__header {
    gap: 16px;
    padding:
      calc(66px + var(--funnel-safe-top))
      14px
      16px;
  }

  .form-screen__scroll {
    padding:
      0
      14px
      calc(var(--form-action-height) + 18px + var(--funnel-safe-bottom));
  }

  .form-screen__footer {
    padding: 12px 14px calc(12px + var(--funnel-safe-bottom));
  }

  .question-screen__copy h2 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }
}

@media (max-width: 412px) {
  .question-screen__summary-name,
  .form-screen__summary-title {
    font-size: 0.9rem;
  }

  .question-screen__summary-meta,
  .form-screen__summary-meta,
  .question-screen__helper {
    font-size: 0.9rem;
  }

  .form-screen__title-block h2 {
    font-size: 1.38rem;
  }
}

@media (max-width: 390px) {
  .question-screen__body {
    gap: 20px;
  }

  .question-screen .option-button {
    min-height: 58px;
    padding: 17px 16px;
  }

  .form-screen__fields {
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .funnel-screen--question .funnel-screen__shell,
  .funnel-screen--status .funnel-screen__shell {
    padding:
      calc(64px + var(--funnel-safe-top))
      14px
      calc(16px + var(--funnel-safe-bottom));
  }

  .form-screen__header {
    padding:
      calc(62px + var(--funnel-safe-top))
      12px
      14px;
  }

  .form-screen__scroll {
    padding:
      0
      12px
      calc(var(--form-action-height) + 16px + var(--funnel-safe-bottom));
  }

  .form-screen__footer {
    padding: 11px 12px calc(11px + var(--funnel-safe-bottom));
  }

  .question-screen__copy h2 {
    font-size: 1.72rem;
  }

  .question-screen__helper,
  .status-screen__copy,
  .status-screen__hint {
    font-size: 0.92rem;
  }
}



/* manual-form-compact-v2 */
.form-screen__step-label {
  display: none;
}

.form-screen__header {
  gap: 6px;
  padding:
    calc(12px + var(--funnel-safe-top))
    clamp(14px, 3.5vw, 18px)
    8px;
}

.form-screen__summary {
  gap: 2px;
}

.form-screen__summary-title {
  font-size: 0.94rem;
  line-height: 1.2;
}

.form-screen__summary-meta {
  font-size: 0.76rem;
  line-height: 1.25;
}

.form-screen__title-block {
  gap: 4px;
}

.form-screen__title-block h2 {
  font-size: clamp(1.02rem, 3.9vw, 1.26rem);
  line-height: 1.08;
  max-width: none;
}

.form-screen__scroll {
  gap: 10px;
  padding:
    0
    clamp(14px, 3.5vw, 18px)
    calc(var(--form-action-height) + 10px + var(--funnel-safe-bottom));
}

.form-screen__fields {
  gap: 8px;
}

.form-screen .field {
  gap: 6px;
}

.form-screen .field label {
  font-size: 0.79rem;
}

.form-screen .field input,
.form-screen .field select {
  min-height: 46px;
  padding: 11px 13px;
  border-radius: 13px;
}

.field-row--location {
  gap: 8px;
}

.form-screen__footer {
  gap: 8px;
  padding:
    8px
    clamp(14px, 3.5vw, 18px)
    calc(8px + var(--funnel-safe-bottom));
}

.form-screen__footer .button-secondary,
.form-screen__footer .button-primary {
  min-height: 48px;
}

\n\n
/* manual-form-compact-v3 */
.form-screen__summary-meta {
  display: none;
}

.form-screen__header {
  gap: 4px;
  padding:
    calc(8px + var(--funnel-safe-top))
    clamp(12px, 3vw, 16px)
    6px;
}

.form-screen__summary-title {
  font-size: 0.88rem;
  line-height: 1.18;
}

.form-screen__title-block h2 {
  font-size: clamp(0.94rem, 3.7vw, 1.08rem);
  line-height: 1.1;
  max-width: none;
}

.form-screen__scroll {
  gap: 8px;
  padding:
    0
    clamp(12px, 3vw, 16px)
    calc(var(--form-action-height) + 8px + var(--funnel-safe-bottom));
}

.form-screen__fields {
  gap: 7px;
}

.form-screen .field {
  gap: 4px;
}

.form-screen .field label {
  font-size: 0.76rem;
}

.form-screen .field input,
.form-screen .field select {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
}

.form-screen__footer {
  gap: 8px;
  padding:
    7px
    clamp(12px, 3vw, 16px)
    calc(7px + var(--funnel-safe-bottom));
}

.form-screen__footer .button-secondary,
.form-screen__footer .button-primary {
  min-height: 44px;
  font-size: 1rem;
}
\n


/* manual-form-compact-v4 */
.form-screen__summary-meta {
  display: none !important;
}

.form-screen__header {
  gap: 2px !important;
  padding:
    calc(10px + var(--funnel-safe-top))
    12px
    6px !important;
}

.form-screen__summary-title {
  font-size: 0.86rem !important;
  line-height: 1.22 !important;
  color: rgba(255, 242, 238, 0.96);
}

.form-screen__title-block h2 {
  font-size: 1.06rem !important;
  line-height: 1.14 !important;
  letter-spacing: -0.02em !important;
}

.form-screen__scroll {
  position: relative;
  z-index: 2;
  padding:
    0
    12px
    calc(var(--form-action-height) + 12px + var(--funnel-safe-bottom)) !important;
}

.form-screen .field label {
  font-size: 0.75rem !important;
}

.form-screen .field input,
.form-screen .field select {
  min-height: 44px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
}

.form-screen__footer {
  padding:
    8px
    12px
    calc(8px + var(--funnel-safe-bottom)) !important;
}

.form-screen__footer .button-secondary,
.form-screen__footer .button-primary {
  min-height: 44px !important;
  font-size: 0.96rem !important;
}

@media (max-width: 430px) {
  .form-screen__decor {
    right: -56px;
    bottom: max(44px, calc(var(--funnel-safe-bottom) + 26px));
    width: min(58vw, 250px);
    height: min(58svh, 440px);
    opacity: 0.15;
  }
}

@media (max-width: 412px) {
  .form-screen__decor {
    right: -62px;
    bottom: max(40px, calc(var(--funnel-safe-bottom) + 20px));
    opacity: 0.13;
  }
}

@media (max-width: 390px) {
  .form-screen__decor {
    right: -68px;
    bottom: max(34px, calc(var(--funnel-safe-bottom) + 18px));
    width: min(56vw, 220px);
    height: min(50svh, 380px);
    opacity: 0.11;
  }
}

@media (max-width: 360px) {
  .form-screen__decor {
    right: -76px;
    bottom: max(28px, calc(var(--funnel-safe-bottom) + 14px));
    width: min(54vw, 192px);
    height: min(44svh, 324px);
    opacity: 0.09;
  }
}
