:root {
  color-scheme: light;
  --ink: #073f32;
  --leaf: #0c6b55;
  --gold: #dfbd45;
  --cream: #fff8e8;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(12, 107, 85, 0.12), rgba(223, 189, 69, 0.18)),
    var(--cream);
  color: var(--ink);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.hero {
  width: min(1040px, 100%);
}

.brand {
  display: grid;
  grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.logo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(7, 63, 50, 0.14);
}

.copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--leaf);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro {
  margin: 24px 0 28px;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.5;
}

.phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--gold);
}

.phone:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.content-shell,
.form-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.content-shell h1,
.form-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.content-shell h2,
legend {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
}

.content-shell section,
fieldset {
  margin: 24px 0;
  padding: 24px;
  border: 2px solid rgba(7, 63, 50, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.content-shell pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
}

.form-header {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.form-logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.intake-form label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  font-weight: 800;
}

.intake-form input,
.intake-form textarea,
.intake-form select {
  width: 100%;
  border: 1px solid rgba(7, 63, 50, 0.34);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.intake-form textarea {
  min-height: 92px;
  resize: vertical;
}

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

.actions button {
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0 20px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.actions button:last-child {
  background: var(--leaf);
  color: var(--paper);
}

.status {
  min-height: 1.5rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .page-shell {
    align-items: start;
  }

  .brand {
    grid-template-columns: 1fr;
  }

  .logo {
    max-width: 320px;
  }

  .form-header {
    grid-template-columns: 1fr;
  }
}
