@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Literata:wght@600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: #FCFAF9;
  color: #000;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  letter-spacing: -0.26px;
}

.container {
  max-width: 540px;
  width: 100%;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 0.375rem 1.5rem 0 rgb(140 152 164 / 13%);
}

.logo {
  display: block;
  height: 32px;
  margin-bottom: 1.25rem;
}

h1 {
  font-family: 'Literata', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.56px;
  margin-bottom: 0.5rem;
  color: #1A0429;
}

.subtitle {
  color: #686868;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.subtitle.hint {
  font-size: 0.8rem;
  color: #959595;
}

.cta-hint {
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #686868;
  margin-bottom: 0.3rem;
}

.form-group input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #DBDBDB;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  letter-spacing: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus {
  border-color: #7F20B2;
}

.btn {
  width: 100%;
  padding: 0.85rem;
  background: #1A0429;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.14px;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 0.5rem;
}

.btn:hover { background: #000; }
.btn:active { background: #000; }
.btn:disabled { background: #949494; color: #2C2C2C; cursor: default; }

.progress-wrap {
  display: none;
  margin-top: 1.5rem;
}

.progress-wrap.active { display: block; }

.progress-label {
  font-size: 0.85rem;
  color: #686868;
  margin-bottom: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #EDEDFA;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #7F20B2;
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
}

.done-msg {
  display: none;
  text-align: center;
  margin-top: 1.5rem;
}

.done-msg.active { display: block; }

.done-msg .checkmark {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #008709;
}

.done-msg p {
  color: #686868;
  font-size: 0.95rem;
}

.done-msg.error .checkmark { color: #ED000B; }

.done-msg.error p {
  color: #363534;
}

.copy-btn {
  margin-top: 1rem;
  background: #7F20B2;
}
.copy-btn:hover { background: #601886; }
.copy-btn:active { background: #601886; }


.optional-label {
  font-size: 0.75rem;
  color: #959595;
  font-weight: 400;
}
