* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f7f9;
  color: #171717;
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

.site-header,
.site-footer {
  margin: 0 auto;
  max-width: 760px;
  padding: 20px;
}

.brand {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.page {
  margin: 0 auto;
  max-width: 760px;
  padding: 24px 20px 48px;
}

.panel {
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 28px;
}

.eyebrow {
  color: #47656f;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.lead {
  color: #4b5563;
  font-size: 18px;
  margin: 0 0 24px;
}

.facts {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
}

.facts span,
.note,
.access-check {
  background: #eef5f4;
  border-radius: 6px;
  padding: 10px 12px;
}

.client-path {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.client-path li {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 34px 1fr;
  padding: 14px;
}

.step-number {
  align-items: center;
  background: #175c62;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.client-path h2 {
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 4px;
}

.client-path p {
  color: #4b5563;
  margin: 0;
}

.price-highlight {
  color: #175c62;
  white-space: nowrap;
}

.full-width {
  width: 100%;
}

.cta-note {
  color: #4b5563;
  font-size: 15px;
  margin: 12px 0 0;
  text-align: center;
}

.supported-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.supported-formats span {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 10px;
}

.file-picker input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.file-picker .button {
  display: block;
}

.selected-file {
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  color: #344054;
  font-weight: 700;
  margin: 0;
  padding: 10px 12px;
}

.sandbox-banner {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  color: #9a3412;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 18px;
  padding: 10px 12px;
}

.review-state {
  margin-top: 0;
}

.review-progress-list {
  counter-reset: review-step;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.review-progress-list li {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  color: #475467;
  display: grid;
  gap: 10px;
  grid-template-columns: 28px 1fr;
  min-height: 48px;
  padding: 10px 12px;
}

.review-progress-list li::before {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  color: #667085;
  content: "";
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.review-progress-list li.is-complete {
  color: #175c62;
}

.review-progress-list li.is-complete::before {
  background: #175c62;
  border-color: #175c62;
  color: #ffffff;
  content: "✓";
}

.review-progress-list li.is-current::before {
  animation: reviewPulse 900ms ease-in-out infinite;
  border-color: #175c62;
  border-width: 3px;
}

@keyframes reviewPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(23, 92, 98, 0.25);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(23, 92, 98, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(23, 92, 98, 0);
  }
}

.form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
textarea {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
}

.primary {
  background: #175c62;
  color: #ffffff;
}

.secondary {
  background: #e5e7eb;
  color: #171717;
}

.success,
.error,
.field-error {
  color: #b42318;
}

.success,
.error {
  border-radius: 6px;
  margin-bottom: 18px;
  padding: 10px 12px;
}

.success {
  background: #ecfdf3;
  color: #027a48;
}

.upload-complete {
  align-items: center;
  display: grid;
  font-size: 20px;
  font-weight: 700;
  min-height: 96px;
  text-align: center;
}

.error {
  background: #fff1f0;
}

.field-error {
  font-size: 14px;
  font-weight: 400;
}

.status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 18px 0;
}

.status-grid > div {
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  padding: 12px;
}

.status-grid span {
  color: #667085;
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.price {
  font-weight: 700;
}

.result-value,
.payment-offer,
.document-list,
.after-payment {
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  margin: 0 0 18px;
  padding: 16px;
}

.result-value {
  background: #f8fafc;
}

.result-value h2,
.document-list h2,
.after-payment h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.result-value ul,
.document-list ul,
.after-payment ul {
  color: #344054;
  margin: 0;
  padding-left: 20px;
}

.result-value li,
.document-list li,
.after-payment li {
  margin: 6px 0;
}

.payment-offer {
  background: #ffffff;
}

.payment-amount {
  color: #175c62;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 6px;
}

.payment-caption,
.payment-security {
  color: #4b5563;
  margin: 0;
}

.payment-caption {
  margin-bottom: 14px;
}

.payment-security {
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}

.document-list,
.after-payment {
  background: #f8fafc;
}

.data-completion-form {
  gap: 18px;
}

.completion-section {
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 16px;
}

.completion-section h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 6px;
}

.completion-section > p {
  color: #4b5563;
  font-size: 15px;
  margin: 0 0 14px;
}

.completion-fields {
  display: grid;
  gap: 12px;
}

.completion-field {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 12px;
}

.completion-field label {
  color: #1f2937;
}

.clarification-panel {
  margin-top: 22px;
}

.clarification-panel h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.clarification-panel > p {
  color: #4b5563;
  margin: 0 0 16px;
}

.clarification-form {
  margin-top: 12px;
}

.clarification-field {
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 12px;
}

.field-hint {
  color: #667085;
  font-size: 14px;
  margin: 6px 0 0;
}

.field-value {
  color: #1f2937;
  font-size: 16px;
  margin: 6px 0 0;
}

.offer h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.offer p {
  color: #475467;
  margin-top: 0;
}

.site-footer {
  color: #667085;
  font-size: 14px;
}

@media (max-width: 520px) {
  .panel {
    padding: 20px;
  }

  h1 {
    font-size: 28px;
  }

  .client-path li {
    grid-template-columns: 30px 1fr;
    padding: 12px;
  }

  .step-number {
    height: 30px;
    width: 30px;
  }
}
