:root {
  --bg: #f4f7f5;
  --card: #ffffff;
  --text: #10281c;
  --muted: #5b6f63;
  --brand: #0f5132;
  --brand-light: #d1fae5;
  --accent: #f59e0b;
  --border: #d8e3dc;
  --danger: #b91c1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--brand);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  border-bottom: 1px solid var(--border);
}

.site-header nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 98px;
  width: auto;
  display: block;
}

.wizard-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.wizard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(16, 40, 28, 0.08);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 700;
}

.lead {
  color: var(--muted);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.stepper li {
  text-align: center;
  font-size: 0.8rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: #eef2ef;
  color: var(--muted);
}

.stepper li.active,
.stepper li.done {
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 700;
}

.step.hidden {
  display: none;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field span {
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  font: inherit;
}

.field.checkbox {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  max-height: 420px;
  overflow: auto;
  margin-top: 1rem;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.85rem;
  cursor: pointer;
  background: white;
}

.product-card.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(15, 81, 50, 0.15);
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.product-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.summary-box,
.trust-box,
.compliance-panel {
  background: #f8fbf9;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  margin: 1rem 0;
}

.compliance-panel h3 {
  margin-top: 0;
}

.trust-box h3 {
  margin-top: 0;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  border: 0;
  border-radius: 0.65rem;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  background: var(--brand);
  color: white;
}

.btn.secondary {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.inline {
  display: inline-block;
  text-decoration: none;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  margin-bottom: 1rem;
}

.alert.error {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

.alert.success {
  background: #ecfdf5;
  color: var(--brand);
  border: 1px solid #a7f3d0;
}

.muted-text {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.path-card {
  text-align: left;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  background: white;
  cursor: pointer;
  font: inherit;
}

.path-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.path-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.path-card.selected {
  border-color: var(--brand);
  background: var(--brand-light);
}

.path-card.disabled,
.path-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.line-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.sample-options {
  margin-bottom: 1rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .grid-2,
  .stepper {
    grid-template-columns: 1fr;
  }
}
