@font-face {
  font-family: "Helvetica Now Display";
  src: url("/survey/HelveticaNowDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Display";
  src: url("/survey/HelveticaNowDisplay-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line-strong: #cfcfcf;
  --bg: #f4f4f5;
  --card: #ffffff;
  --error: #d12c2c;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --font: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.card {
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  background: #ececec;
}

.banner__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body */
.card__body {
  padding: 32px;
}

.card__header {
  margin-bottom: 24px;
}

.card__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

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

/* Form groups */
.form__group {
  border: none;
  padding: 0;
  margin: 0 0 28px;
}

.form__legend {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0;
  margin-bottom: 14px;
}

/* Fields */
.field {
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field__input {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field__input::placeholder {
  color: #b0b0b0;
}

.field__input:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.field__input--area {
  resize: vertical;
  min-height: 80px;
}

.field__input.is-invalid {
  border-color: var(--error);
}

.field__error {
  display: block;
  color: var(--error);
  font-size: 12px;
  margin-top: 5px;
  min-height: 14px;
}

/* Choices (radio / checkbox) */
.choice-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.choice--inline {
  margin-top: 4px;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choice__mark {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.choice__mark--square {
  border-radius: 6px;
}

.choice input:focus-visible + .choice__mark {
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.12);
}

.choice input:checked + .choice__mark {
  background: var(--black);
  border-color: var(--black);
}

.choice input:checked + .choice__mark::after {
  content: "";
  flex: 0 0 auto;
}

/* radio dot */
.choice input:checked + .choice__mark:not(.choice__mark--square)::after {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
}

/* checkbox tick */
.choice input:checked + .choice__mark--square::after {
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  /* the rotated tick's ink sits below its box centre, so nudge it up */
  transform: translateY(-1.8px) rotate(45deg);
}

/* Actions + buttons */
.form__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  padding: 13px 28px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--black);
  color: #fff;
}

.btn--primary:hover {
  background: #262626;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--black);
}

/* Success */
.success {
  text-align: center;
  padding: 20px 0 8px;
}

.success__check {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
}

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

/* Responsive */
@media (max-width: 480px) {
  .card__body {
    padding: 22px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Honeypot: kept in the layout but off-screen, so bots still see and fill it.
   Not display:none, since some bots skip hidden inputs. */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submit status / error message */
.form__status {
  margin: 0 0 14px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 12px;
  border: 1px solid rgba(209, 44, 44, 0.28);
  background: rgba(209, 44, 44, 0.07);
  color: var(--error);
}

.form__status--info {
  border-color: var(--line-strong);
  background: rgba(10, 10, 10, 0.04);
  color: var(--muted);
}

/* Buttons while submitting */
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Required-field asterisk */
.req {
  color: var(--error);
  margin-left: 3px;
  font-weight: 800;
}

/* Caution / note text under a field */
.field__caution {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #8a6100;
  background: rgba(245, 176, 24, 0.1);
  border: 1px solid rgba(245, 176, 24, 0.3);
  border-radius: 10px;
  padding: 8px 10px;
}

.field__caution::before {
  content: "!";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border-radius: 999px;
  background: #f5b018;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

/* "Launching Soon" translucent label */
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 12px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  background: rgba(10, 10, 10, 0.06);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.badge-soon__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 6px 1px rgba(239, 68, 68, 0.9);
  animation: badge-soon-pulse 1.4s ease-in-out infinite;
}

@keyframes badge-soon-pulse {
  0%,
  100% {
    box-shadow: 0 0 4px 0 rgba(239, 68, 68, 0.7);
    opacity: 0.85;
  }
  50% {
    box-shadow: 0 0 10px 3px rgba(239, 68, 68, 1);
    opacity: 1;
  }
}
