/* Фирменный стиль Hulk Fit (тёмная тема). Палитра строго из ТЗ, п.6. */
:root {
  --bg: #0a0a0a;
  --accent: #39FF14;   /* неоново-зелёный — единственный яркий цвет */
  --text: #ffffff;
  --muted: #cccccc;    /* не темнее — иначе нечитаемо на тёмном фоне */
  --field-bg: #141414;
  --field-border: #2a2a2a;
  --error: #ff5a5a;    /* только для текста ошибок — не элемент фирстиля */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Oswald', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

.screen {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Логотип */
.logo {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 30px;
  letter-spacing: 2px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 28px;
}
.logo span { color: var(--text); margin-left: 4px; }

/* Заголовки — только заглавные, Bebas Neue */
.title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 46px;
  line-height: 0.9;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.title .accent { color: var(--accent); }

.subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 28px;
}

/* Форма */
#lead-form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  background: var(--field-bg);
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.15s ease;
}
input::placeholder { color: #6a6a6a; }
input:focus { border-color: var(--accent); }
input.invalid { border-color: var(--error); }

.linklike {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 14px;
  padding: 2px 0;
  cursor: pointer;
  text-decoration: underline;
}

/* Согласие */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  cursor: pointer;
}
.consent input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  accent-color: var(--accent);
}
.consent a { color: var(--accent); }

.error {
  color: var(--error);
  font-size: 14px;
  margin: 0;
}

/* Кнопка */
.btn {
  width: 100%;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px;
  margin-top: 6px;
  cursor: pointer;
  transition: transform 0.06s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.99); }
.btn:disabled { opacity: 0.55; cursor: default; }

/* Экраны результата */
.result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  margin: 12px 0 20px;
}
.result-icon.success { background: var(--accent); color: #0a0a0a; }
.result-icon.error {
  background: transparent;
  border: 3px solid var(--error);
  color: var(--error);
}

#success-screen, #error-screen { display: flex; flex-direction: column; }

/* Контакты */
.contacts {
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Загрузка */
.loading { pointer-events: none; }
