:root {
  --green-950: #0d3d18;
  --green-900: #145a24;
  --green-800: #1b7130;
  --yellow-400: #ffd739;
  --yellow-300: #ffe57a;
  --ink: #122017;
  --muted: #466051;
  --paper: #f6f8f2;
  --line: #cad7c4;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(15, 61, 24, 0.14);
  --error: #b01f29;
  --ok: #136833;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Lora", Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 231, 122, 0.7), transparent 45%),
    radial-gradient(circle at 95% 0%, rgba(27, 113, 48, 0.14), transparent 36%),
    linear-gradient(180deg, #fdfef9 0%, var(--paper) 80%);
  display: grid;
  place-items: center;
  padding: 20px;
}

.card {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: clamp(18px, 4vw, 30px);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green-900);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.step-pill {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  border: 1px solid #8fb79a;
  border-radius: 999px;
  padding: 5px 11px;
  background: #f3fbe9;
  color: #1f5a2b;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 10px 0 8px;
  line-height: 1.08;
  font-size: clamp(1.8rem, 4.8vw, 2.6rem);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--green-950);
}

p {
  margin: 0;
  line-height: 1.5;
}

.lead {
  color: #234230;
}

form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #2b4433;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #b8c8b2;
  border-radius: 11px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

.helper {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.5fr 1fr;
}

.btn {
  border: 1px solid var(--green-900);
  border-radius: 11px;
  padding: 12px 14px;
  background: var(--yellow-400);
  color: #14361f;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.btn:hover {
  background: #ffe05f;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.details {
  margin-top: 2px;
  border: 1px solid #d2ddce;
  border-radius: 11px;
  background: #f9fcf5;
  padding: 9px 10px;
}

.details summary {
  cursor: pointer;
  color: #24412e;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.details-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.details-grid .full {
  grid-column: 1 / -1;
}

.status {
  margin-top: 12px;
  min-height: 1.2em;
  font-size: 0.95rem;
  color: var(--muted);
}

.status.error {
  color: var(--error);
}

.status.success {
  color: var(--ok);
}

.mini-links {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

.actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.next-steps {
  margin-top: 14px;
  border: 1px solid #d2ddce;
  border-radius: 11px;
  background: #f9fcf5;
  padding: 11px 12px;
}

.next-steps h2 {
  margin: 0 0 6px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1f5a2b;
}

.next-steps ol {
  margin: 0;
  padding-left: 19px;
  color: #2d4736;
}

.next-steps li {
  margin: 5px 0;
}

.mini-links a {
  color: var(--green-900);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.mini-links a:hover {
  text-decoration: underline;
}

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