:root {
  --bg: #f9f9f9;
  --text: #1a1c1c;
  --muted: #5a84c2;
  --border: #d9dde7;
  --primary: #1a2c6b;
  --primary-hover: #132257;
  --primary-2: #274188;
  --white: #ffffff;
  --danger: #b02a37;
}

* {
  box-sizing: border-box;
}

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

.page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 920px;
  text-align: center;
}

.brand {
  margin-bottom: 32px;
}

.brand a {
  display: inline-block;
}

.brand-logo {
  display: block;
  width: clamp(170px, 28vw, 250px);
  height: auto;
  margin: 0 auto;
}

.brand-name {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: 0.2px;
}

.progress {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
}

.title {
  margin: 0 0 28px;
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  line-height: 1.12;
}

#questionStep .title {
  font-size: clamp(1.4rem, 3.3vw, 2.5rem);
}

.title-form {
  margin-top: 0;
}

.intro {
  margin: 0 auto 20px;
  max-width: 860px;
  color: #6f7280;
  font-size: clamp(1rem, 2vw, 1.7rem);
}

.input {
  width: 100%;
  max-width: 760px;
  height: 72px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  color: #3f4450;
  padding: 0 24px;
  margin: 0 auto 22px;
  display: block;
}

.input:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}

.input-error {
  border-color: #b02a37;
}

.input-error::placeholder {
  color: #b02a37;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--primary), var(--primary-2));
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.9rem);
  padding: 18px 36px;
  min-width: 180px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--primary-hover);
}

.button:disabled {
  background: #676a8c;
  cursor: not-allowed;
}

.consent {
  width: 100%;
  max-width: 760px;
  margin: 6px auto 24px;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #5f6470;
}

.consent input {
  margin-top: 3px;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.consent a {
  color: inherit;
}

.message {
  width: 100%;
  max-width: 760px;
  margin: -6px auto 20px;
  text-align: left;
  font-size: 1rem;
}

.message-error {
  color: var(--danger);
}

.footer {
  min-height: 48px;
  padding: 0 16px 20px;
  color: #666b76;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 720px) {
  .page {
    padding-top: 18px;
  }

  .card {
    max-width: 680px;
  }

  .input {
    height: 62px;
    margin-bottom: 16px;
  }

  .button {
    min-width: 150px;
    padding: 14px 28px;
  }
}
