:root {
  color-scheme: light;
  --magenta: #ca0a6d;
  --black: #0b0b0d;
  --ink: #33373d;
  --muted: #73767a;
  --line: #dedfe1;
  --surface: #f3f3f3;
  font-family: "DIN OT", "Arial Narrow", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(202, 10, 109, 0.05), transparent 35%),
    var(--surface);
}

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.site-header img {
  display: block;
  width: 130px;
  height: auto;
}

main {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.75fr);
}

.intro-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 128px);
  color: #fff;
  background:
    radial-gradient(circle at 20% 90%, rgba(202, 10, 109, 0.32), transparent 35%),
    var(--black);
}

.eyebrow,
.step {
  margin: 0 0 22px;
  color: var(--magenta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--magenta);
}

.intro {
  max-width: 630px;
  margin: 32px 0 0;
  color: inherit;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 7vw, 104px);
  background: #fff;
}

.card .step {
  margin-bottom: 34px;
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
}

input {
  width: 100%;
  padding: 17px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 1.2rem;
}

input::placeholder {
  color: #a3a5a7;
}

input:focus {
  border-color: var(--magenta);
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 2px solid var(--magenta);
  border-radius: 999px;
  padding: 12px 25px;
  background: var(--magenta);
  color: #fff;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

button:hover,
.button:hover {
  transform: translateY(-2px);
  background: var(--black);
  border-color: var(--black);
}

button.secondary {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

button.secondary:hover {
  background: var(--black);
  color: #fff;
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

#message {
  min-height: 24px;
  margin: 24px 0 0;
  color: var(--ink);
  line-height: 1.5;
}

#accounts {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.account {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--black);
  font-weight: 700;
  text-transform: capitalize;
}

aside {
  margin-top: 36px;
  padding: 16px 18px;
  border-left: 3px solid var(--magenta);
  background: #f7f7f7;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.confirmation {
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--black);
}

.confirmation .card {
  width: min(760px, 100%);
}

.confirmation h1 {
  color: var(--black);
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.confirmation .button {
  align-self: flex-start;
  margin-top: 32px;
}

@media (max-width: 900px) {
  main {
    grid-template-columns: 1fr;
  }

  .intro-panel {
    min-height: 46vh;
    padding: 56px 28px;
  }

  h1 {
    font-size: clamp(3.4rem, 15vw, 6rem);
  }

  .card {
    padding: 52px 28px 64px;
  }

  .confirmation {
    min-height: calc(100vh - 72px);
  }
}

@media (max-width: 520px) {
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
