:root {
  color: #1e2a25;
  background: #f5f2e9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

.site-header,
main {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.site-header {
  padding: 4rem 0 2rem;
}

.site-header h1 {
  margin: 0.2rem 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.site-header > p:last-child {
  margin: 0;
  color: #58635e;
  font-size: 1.1rem;
}

.eyebrow {
  margin: 0;
  color: #8a4b2f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: 2rem;
  padding-bottom: 4rem;
  align-items: start;
}

.panel {
  padding: 1.5rem;
  border: 1px solid #d8d2c3;
  border-radius: 0.75rem;
  background: #fffdf7;
  box-shadow: 0 0.8rem 2rem rgb(70 55 35 / 8%);
}

h2 {
  margin: 0 0 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #aaa79e;
  border-radius: 0.35rem;
  color: inherit;
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #315c4d;
  outline: 3px solid rgb(49 92 77 / 18%);
}

[aria-invalid="true"] {
  border-color: #a22f2f;
}

.field-error {
  min-height: 1.1rem;
  margin: 0.3rem 0 0;
  color: #a22f2f;
  font-size: 0.85rem;
}

button {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 0.35rem;
  color: white;
  background: #315c4d;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #25483c;
}

button:focus-visible {
  outline: 3px solid rgb(49 92 77 / 35%);
  outline-offset: 2px;
}

.section-heading {
  padding: 0.25rem 0 0.75rem;
}

.section-heading h2 {
  margin: 0.2rem 0 0;
}

.empty-state {
  padding: 2.5rem 1.5rem;
  border: 1px dashed #bdb7a8;
  border-radius: 0.75rem;
  color: #58635e;
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #1e2a25;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.decision-card {
  padding: 1.5rem 0;
  border-top: 1px solid #d8d2c3;
}

.decision-card:first-child {
  border-top: 2px solid #315c4d;
}

.decision-card h3 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.decision-card dl {
  margin: 0;
}

.decision-card dt {
  margin-top: 1rem;
  color: #8a4b2f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-card dd {
  margin: 0.3rem 0 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

@media (max-width: 45rem) {
  .site-header {
    padding-top: 2.5rem;
  }

  main {
    grid-template-columns: 1fr;
  }
}
