:root {
  color-scheme: light;
  --page-bg: #050608;
  --screen-bg:
    radial-gradient(circle at 10% 3%, rgba(135, 193, 255, 0.34), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(255, 251, 244, 0.22), transparent 30%),
    radial-gradient(circle at 92% 35%, rgba(220, 249, 239, 0.18), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(223, 237, 255, 0.34), transparent 30%),
    linear-gradient(180deg, #d9ecff 0%, #e8f5f6 49%, #f7f8f1 100%);
  --text: #10213a;
  --heading: #142a51;
  --muted: #142b48;
  --placeholder: #7d8ca3;
  --panel: rgba(255, 255, 255, 0.82);
  --field-bg: rgba(255, 255, 255, 0.70);
  --field-border: #d4deeb;
  --field-error: #e23b2e;
  --step-bg: rgba(255, 255, 255, 0.78);
  --step-line: rgba(112, 148, 188, 0.28);
  --icon: #207aff;
  --submit-bg: linear-gradient(100deg, #0665fd 0%, #54badb 48%, #b3edb4 100%);
  --submit-text: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --screen-bg:
    radial-gradient(circle at 18% 4%, rgba(31, 103, 232, 0.025), transparent 31%),
    radial-gradient(circle at 91% 24%, rgba(91, 238, 190, 0.025), transparent 32%),
    linear-gradient(180deg, #070a0f 0%, #080c11 100%);
  --text: #f6faff;
  --heading: linear-gradient(100deg, #2687ff 0%, #1fc2ef 46%, #86ecb6 100%);
  --muted: #d4dce6;
  --placeholder: #8d98a6;
  --panel: rgba(9, 15, 23, 0.86);
  --field-bg: linear-gradient(180deg, #172434, #121d2b);
  --field-border: #30435b;
  --field-error: #ff766a;
  --step-bg: rgba(13, 23, 35, 0.74);
  --step-line: #314358;
  --icon: #5de6c7;
  --submit-bg: linear-gradient(100deg, #0a62fb 0%, #1fa8de 48%, #8cecaf 100%);
  --submit-text: #06121b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.promo-shell {
  width: 100%;
  min-height: 100vh;
  display: block;
  padding: 0;
  overflow-x: hidden;
}

.promo-phone {
  width: 100vw;
  max-width: 402px;
  min-height: 100vh;
  overflow: hidden;
  background: var(--screen-bg);
}

.promo-screen {
  min-height: 100vh;
  padding: 42px 20px 20px;
}

.promo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  min-width: 0;
  overflow: hidden;
}

.promo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  font-size: 17.5px;
  font-weight: 440;
  letter-spacing: 0.014em;
}

.promo-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0.10) contrast(1.18);
  opacity: 0.78;
}

.switchers {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-switcher a {
  min-width: 30px;
  padding: 6px 7px;
  border-radius: 999px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: 0.01em;
  line-height: 1;
}

.language-switcher .is-active {
  background: #2f78ff;
  color: #fff;
}

html[data-theme="dark"] .language-switcher .is-active {
  background: transparent;
  box-shadow: inset 0 0 0 1.4px #5ff3d3;
  color: #d9fff6;
}

.rabbit-card {
  height: 204px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 8%, rgba(255,255,255,0.50), transparent 32%),
    radial-gradient(circle at 14% 8%, rgba(255,255,255,0.28), transparent 36%),
    radial-gradient(circle at 91% 77%, rgba(190,246,224,0.34), transparent 44%),
    radial-gradient(circle at 3% 100%, rgba(188,222,216,0.32), transparent 34%),
    linear-gradient(135deg, #e5f1fc 0%, #d9edf2 48%, #cfeae7 100%);
}

html[data-theme="dark"] .rabbit-card {
  border-color: #34475e;
  background:
    radial-gradient(circle at 94% 8%, rgba(255,255,255,0.015), transparent 30%),
    linear-gradient(135deg, #161d28 0%, #151c27 55%, #18212b 100%);
}

.rabbit-card img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  transform: translate(-15px, -43px);
}

h1 {
  margin: 0 0 13px;
  color: var(--heading);
  font-size: 33px;
  line-height: 1.12;
  letter-spacing: 0.002em;
  font-weight: 600;
}

html[data-theme="dark"] h1 .line {
  background: var(--heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 .line {
  display: block;
  width: fit-content;
}

.lead {
  margin: 0 0 22px;
  max-width: 346px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 360;
  letter-spacing: 0.012em;
}

.lead span {
  display: block;
}

.steps {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 8px 25px;
}

.step {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-size: 12.6px;
  font-weight: 500;
  letter-spacing: 0.004em;
  text-align: center;
}

.step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  color: var(--icon);
  background: var(--step-bg);
}

html[data-theme="dark"] .step-icon {
  border: 1px solid #2a3f59;
}

.step:not(:last-child) .step-icon::after {
  content: "";
  position: absolute;
  left: calc(100% + 9px);
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--step-line);
  transform: translateY(-50%);
}

.step:first-child .step-icon {
  color: #207aff;
}

html[data-theme="dark"] .step:first-child .step-icon {
  color: #11b8f0;
}

html[data-theme="dark"] .step:last-child .step-icon {
  color: #c8eaa2;
}

.step-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-text-block {
  min-width: 0;
  margin: 10px 0 26px;
}

.share-text-field {
  min-width: 0;
  min-height: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  border: 1px solid #dbdee2;
  border-radius: 9px;
  color: var(--muted);
  background: #eeeff0;
  box-shadow: inset 0 1px 1px rgba(15, 31, 52, 0.03);
}

html[data-theme="dark"] .share-text-field {
  border-color: #30435b;
  background: rgba(13, 23, 35, 0.62);
}

.copy-text-button {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-left: 1px solid #dbdee2;
  border-radius: 0 8px 8px 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  transition:
    background-color 140ms ease,
    color 140ms ease;
}

html[data-theme="dark"] .copy-text-button {
  border-left-color: #30435b;
}

.copy-text-button:active {
  background: rgba(32, 122, 255, 0.08);
}

.copy-text-button.is-copied {
  color: #207aff;
  background: rgba(32, 122, 255, 0.10);
}

html[data-theme="dark"] .copy-text-button:active,
html[data-theme="dark"] .copy-text-button.is-copied {
  background: rgba(93, 230, 199, 0.12);
}

.copy-text-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-text-button .copied-icon {
  display: none;
}

.copy-text-button.is-copied .copy-icon {
  display: none;
}

.copy-text-button.is-copied .copied-icon {
  display: block;
}

.share-text-value {
  min-width: 0;
  padding: 10px 12px;
  color: #8d919e;
  font-family: "SF Mono", "Roboto Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.submission-form {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  background: var(--panel);
}

html[data-theme="dark"] .submission-form {
  border: 1px solid #2f4057;
}

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

.field span,
.consent {
  font-size: 13.4px;
  font-weight: 430;
  letter-spacing: 0.012em;
}

.submission-form input,
.submission-form textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  background: var(--field-bg);
  font: inherit;
  font-size: 15.2px;
  font-weight: 360;
  letter-spacing: 0.012em;
}

.submission-form input[type="file"] {
  padding: 6px 8px;
  color: var(--placeholder);
}

.submission-form input::placeholder,
.submission-form textarea::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.submission-form input[type="file"]::file-selector-button {
  color: var(--text);
}

.field.is-invalid span,
.consent.is-invalid {
  color: var(--field-error);
}


.submission-form textarea {
  min-height: 46px;
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: start;
  margin: 2px 0 5px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.5;
  font-weight: 390;
  letter-spacing: 0.024em;
  min-width: 0;
}

.consent span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  padding: 0;
}

.submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  padding: 14px;
  color: var(--submit-text);
  background: var(--submit-bg);
  font: inherit;
  font-size: 18px;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #f0c4bd;
  border-radius: 8px;
  background: #fff4f2;
  color: #8a2f20;
  font-size: 16px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-shell--text {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 28px 20px;
  color: var(--text);
}

.text-page,
.success-panel {
  display: grid;
  gap: 16px;
}

.success-screen {
  display: grid;
  align-content: start;
}

.success-panel {
  padding-top: 22px;
}

.success-panel__body {
  display: grid;
  gap: 10px;
  margin: 0;
  line-height: 1.55;
}

.success-panel__body span {
  display: block;
}

.success-panel__mark {
  width: 84px;
  height: 84px;
}

@media (min-width: 760px) {
  .promo-shell {
    display: grid;
    place-items: start center;
    padding: 18px;
  }

  .promo-phone {
    min-height: 943px;
    border-radius: 31px;
    box-shadow: 0 28px 78px rgba(0, 0, 0, 0.48);
  }

  .promo-screen {
    min-height: 943px;
  }
}
