:root {
  --bsg-cream: #f6f0e8;
  --bsg-sand: #e9dbce;
  --bsg-sage: #bec2b3;
  --bsg-olive: #8c968b;
  --bsg-forest: #5d6d60;
  --bsg-clay: #ad9b8e;
  --bsg-ink: #111111;
}

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

body {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

.page-orchard {
  background:
    radial-gradient(circle at top right, rgba(173, 155, 142, 0.18), transparent 32%),
    radial-gradient(circle at 15% 20%, rgba(93, 109, 96, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 240, 232, 0.98));
}

.hero-frame {
  position: relative;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 1.5rem;
  pointer-events: none;
}

.hero-image {
  filter: saturate(1.03) contrast(1.02);
}

.floating-card {
  backdrop-filter: blur(14px);
}

.flow-progress-item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.9rem;
  align-items: start;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.flow-progress-item.is-current {
  border-color: rgba(93, 109, 96, 0.55);
  background: rgba(243, 245, 239, 0.96);
  transform: translateX(2px);
}

.flow-progress-item.is-complete {
  border-color: rgba(93, 109, 96, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.flow-progress-index {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bsg-sand);
  color: var(--bsg-ink);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.flow-progress-item.is-current .flow-progress-index,
.flow-progress-item.is-complete .flow-progress-index {
  background: var(--bsg-forest);
  color: #fff;
}

.field-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.25rem;
}

.choice-card {
  position: relative;
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 250, 251, 0.92));
  padding: 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.choice-card:hover {
  border-color: rgba(93, 109, 96, 0.35);
  box-shadow: 0 22px 60px -38px rgba(17, 17, 17, 0.25);
  transform: translateY(-1px);
}

.choice-card input {
  position: absolute;
  inset: 1rem auto auto 1rem;
}

.choice-card.is-selected,
.choice-card:has(input:checked) {
  border-color: rgba(93, 109, 96, 0.65);
  background: linear-gradient(180deg, rgba(243, 245, 239, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 20px 60px -36px rgba(93, 109, 96, 0.32);
}

.route-link-active {
  outline: 2px solid var(--bsg-forest);
  outline-offset: 2px;
}

.field-label {
  display: block;
  margin-bottom: 0.55rem;
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 700;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
  font: inherit;
  padding: 0.95rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: rgba(93, 109, 96, 0.65);
  box-shadow: 0 0 0 4px rgba(93, 109, 96, 0.14);
}

.field-textarea {
  min-height: 9rem;
  resize: vertical;
}

.radio-row,
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.selection-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.selection-card {
  display: flex;
  min-width: 15rem;
  flex: 1 1 16rem;
  align-items: flex-start;
  gap: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.25rem;
  background: #fff;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.selection-card input {
  margin-top: 0.2rem;
}

.selection-card:has(input:checked) {
  border-color: rgba(93, 109, 96, 0.55);
  background: rgba(243, 245, 239, 0.96);
  box-shadow: 0 18px 50px -36px rgba(93, 109, 96, 0.35);
}

.selection-card strong {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 700;
}

.selection-card span {
  display: block;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.6;
}

.mini-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: #fff;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mini-choice:has(input:checked) {
  border-color: rgba(93, 109, 96, 0.55);
  background: rgba(243, 245, 239, 0.96);
}

.field-help {
  margin-top: 0.65rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.address-feedback {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.address-feedback.is-neutral {
  color: #64748b;
}

.address-feedback.is-success {
  color: var(--bsg-forest);
}

.address-feedback.is-error {
  color: #b42318;
}

.submit-feedback {
  margin-top: 1rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(93, 109, 96, 0.16);
  padding: 1rem 1.25rem;
  color: #1f2937;
  outline: none;
}

.submit-feedback-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.submit-feedback-text {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.submit-feedback-pending {
  background: #f7efe3;
  border-color: rgba(173, 155, 142, 0.42);
}

.submit-feedback-success {
  background: #eef5ee;
  border-color: rgba(93, 109, 96, 0.3);
  box-shadow: 0 14px 26px rgba(93, 109, 96, 0.12);
}

.submit-feedback-error {
  background: #fef3f2;
  border-color: rgba(180, 35, 24, 0.2);
}

.flow-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.flow-summary dl {
  display: grid;
  gap: 0.7rem;
}

.flow-summary .summary-row {
  display: grid;
  gap: 0.15rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  padding-bottom: 0.75rem;
}

.flow-summary dt {
  color: #475569;
  font-size: 0.92rem;
  font-weight: 700;
}

.flow-summary dd {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.6;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.js .no-js-only {
  display: none !important;
}

.no-js .js-only {
  display: none !important;
}

.flow-loading #flow-panel {
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

@media (max-width: 1279px) {
  .left-card,
  .right-card {
    display: none;
  }
}

@media (max-width: 767px) {
  .flow-progress-item {
    grid-template-columns: 2.25rem 1fr;
    padding: 0.85rem;
  }

  .flow-progress-index {
    height: 2rem;
    width: 2rem;
    font-size: 0.9rem;
  }

  .field-card,
  .choice-card {
    padding: 1rem;
  }
}
