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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fef9f0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.container {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  padding: 60px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fade-in 0.2s ease forwards;
}

.container.top-aligned {
  justify-content: flex-start;
}

.container.centered {
  justify-content: center;
  text-align: center;
}

.container.centered .divider {
  margin-left: auto;
  margin-right: auto;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.business-label {
  font-size: 15px;
  font-weight: 600;
  color: #d97706;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1c1a17;
  line-height: 1.2;
  margin-bottom: 12px;
}

.subtext {
  font-size: 17px;
  color: #78716c;
  line-height: 1.6;
  margin-bottom: 40px;
}

.divider {
  width: 32px;
  height: 3px;
  background: #d97706;
  margin-bottom: 36px;
  border-radius: 2px;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 22px;
  background: #d97706;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn-primary:active {
  opacity: 0.85;
  transform: scale(0.98);
}

.btn-secondary {
  display: block;
  width: 100%;
  padding: 22px;
  background: #ffffff;
  color: #1c1a17;
  border: 1.5px solid #d4c5a9;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s ease, transform 0.1s ease, background 0.15s ease;
}

.btn-secondary:active {
  background: #fef9f0;
  transform: scale(0.98);
}

.btn-label {
  font-size: 13px;
  color: #a8a29e;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 24px;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: #fde68a;
  margin-bottom: 40px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #d97706;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.question {
  margin-bottom: 32px;
}

.question-label {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #1c1a17;
  margin-bottom: 12px;
  line-height: 1.4;
}

.question input[type="text"],
textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: #1c1a17;
  background: #ffffff;
  border: 1.5px solid #d4c5a9;
  border-radius: 8px;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.question input[type="text"]:focus,
textarea:focus {
  border-color: #d97706;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #d4c5a9;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  color: #1c1a17;
  font-weight: 400;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option input[type="radio"] {
  accent-color: #d97706;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.option:has(input:checked) {
  border-color: #d97706;
  background: #fffbeb;
  color: #92400e;
  font-weight: 500;
}

.reveal-field {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: #1c1a17;
  background: #ffffff;
  border: 1.5px solid #d97706;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease;
  margin-top: 12px;
}

.reveal-field:focus {
  border-color: #b45309;
}

.instruction {
  font-size: 16px;
  color: #666360;
  line-height: 1.6;
  margin-bottom: 24px;
}

.review-box {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-family: inherit;
  color: #1c1a17;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 10px;
  line-height: 1.6;
  resize: vertical;
  margin-bottom: 16px;
  outline: none;
  min-height: 150px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.review-box:focus {
  border-color: #d97706;
  background: #ffffff;
}

@keyframes subtle-pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.3); }
  70% { box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

.btn-primary.pulse {
  animation: subtle-pulse 1.5s ease 0.5s 2;
}

.confirm-icon {
  width: 52px;
  height: 52px;
  background: #fffbeb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1.5px solid #fde68a;
}

.google-link {
  font-size: 14px;
  color: #78716c;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f0e6d3;
  line-height: 1.6;
}

.google-link a {
  color: #d97706;
  text-decoration: underline;
}

.paste-instruction {
  font-size: 15px;
  color: #7b7774;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #fef9f0;
  border-radius: 8px;
  border-left: 3px solid #d97706;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #fde68a;
  border-top: 3px solid #d97706;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 32px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 12px;
}

.loading-headline {
  font-size: 36px;
  font-weight: 800;
  color: #1c1a17;
  line-height: 1.15;
  margin-bottom: 16px;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
}

.review-transition {
  font-size: 16px;
  color: #666360;
  line-height: 1.6;

  margin-top: 24px;
  margin-bottom: 12px;
}

.btn-primary {
  margin-top: 8px;
}