:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: rgba(13, 15, 18, 0.78);
  --panel-strong: rgba(18, 20, 24, 0.92);
  --text: #f5f5f0;
  --muted: #b8b9b7;
  --subtle: #797d83;
  --line: rgba(255, 255, 255, 0.16);
  --red: #e1111c;
  --red-deep: #8f0911;
  --gold: #d8b15f;
  --blue: #4a86ff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

a {
  color: var(--text);
}

.shell {
  min-height: 100vh;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  padding: 24px clamp(16px, 4vw, 64px) 32px;
}

.stage::before,
.stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.stage::before {
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.94) 0%, rgba(3, 4, 6, 0.7) 41%, rgba(3, 4, 6, 0.28) 100%),
    linear-gradient(0deg, rgba(3, 4, 6, 0.94) 0%, rgba(3, 4, 6, 0.14) 48%, rgba(3, 4, 6, 0.78) 100%);
}

.stage::after {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 120px),
    linear-gradient(135deg, transparent 0 58%, rgba(225, 17, 28, 0.28) 58.2% 69%, transparent 69.2%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.media,
.media picture,
.media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.media img {
  object-fit: cover;
  object-position: center;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(150px, 17vw, 230px);
  height: auto;
}

.status-pill {
  min-width: 120px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.58);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.58);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.language-switch select {
  width: auto;
  min-height: 30px;
  padding: 0 24px 0 8px;
  border: 0;
  background-color: transparent;
  background-position: calc(100% - 12px) 13px, calc(100% - 7px) 13px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.7fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  width: min(1320px, 100%);
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 42px 0 0;
}

.intro {
  max-width: 720px;
  padding-bottom: clamp(20px, 7vh, 84px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
legend {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  font-size: clamp(76px, 10vw, 148px);
  line-height: 0.86;
  text-wrap: balance;
}

html:not([lang="en"]) h1 {
  max-width: 720px;
  font-size: clamp(56px, 7.8vw, 116px);
  line-height: 0.9;
}

.lead {
  max-width: 580px;
  margin: 24px 0 0;
  color: #dddeda;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.form-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(225, 17, 28, 0.12), transparent 38%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(24px);
}

form {
  min-height: 560px;
  padding: clamp(22px, 4vw, 36px);
}

.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.progress {
  height: 4px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress div {
  width: 16.66%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 220ms ease;
}

.step {
  display: none;
  min-height: 380px;
  margin: 0;
  padding: 28px 0 0;
  border: 0;
}

.step.active {
  display: block;
}

legend,
.success h2 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.92;
}

.hint,
.success p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.field {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.field span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: 0;
  padding: 0 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 26px, calc(100% - 14px) 26px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

select option {
  background: #111318;
}

input:focus,
select:focus {
  border-color: rgba(216, 177, 95, 0.8);
  box-shadow: 0 0 0 3px rgba(216, 177, 95, 0.14);
}

.options {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.options label,
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  cursor: pointer;
}

.options span,
.check span {
  display: block;
  min-height: 52px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.options input,
.check input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--red);
}

.options label:has(input:checked) span,
.check:has(input:checked) span {
  border-color: rgba(216, 177, 95, 0.8);
  background: rgba(216, 177, 95, 0.13);
}

.check {
  align-items: start;
  margin-top: 28px;
}

.check span {
  min-height: 92px;
  color: var(--muted);
  line-height: 1.55;
}

.error,
.system-error {
  min-height: 21px;
  margin: 12px 0 0;
  color: #ff7a82;
  font-size: 13px;
  font-weight: 700;
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

button {
  min-width: 116px;
  min-height: 52px;
  border: 0;
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 18px 46px rgba(225, 17, 28, 0.32);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.success {
  display: none;
  min-height: 420px;
  padding-top: 62px;
}

.success.active {
  display: block;
}

.success h2 {
  max-width: 560px;
}

.success p {
  max-width: 520px;
}

.is-complete .step,
.is-complete .actions,
.is-complete .progress {
  display: none;
}

@media (max-width: 980px) {
  .stage {
    min-height: auto;
  }

  .content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .intro {
    padding: 24px 0 0;
  }

  .form-panel {
    margin-bottom: 22px;
  }
}

@media (max-width: 620px) {
  .stage {
    padding: 18px 14px 20px;
  }

  .topbar {
    align-items: flex-start;
  }

  .top-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
  }

  .language-switch span {
    display: none;
  }

  .brand img {
    width: 142px;
  }

  .status-pill {
    min-width: 104px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(62px, 18vw, 88px);
  }

  .lead {
    font-size: 15px;
  }

  form {
    min-height: 540px;
    padding: 20px;
  }

  legend,
  .success h2 {
    font-size: 42px;
  }

  .actions {
    position: sticky;
    bottom: 12px;
  }

  button {
    width: 100%;
    min-width: 0;
  }
}
