:root {
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --ink: #22251f;
  --muted: #687064;
  --line: #e4dacb;
  --green: #557a52;
  --green-dark: #385d39;
  --focus: rgba(85, 122, 82, 0.22);
  --shadow: 0 24px 70px rgba(48, 42, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.9), transparent 28rem),
    linear-gradient(135deg, #fbf8f1, var(--bg));
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.signup-panel {
  width: min(100%, 760px);
  padding: clamp(24px, 5vw, 48px);
  background: color-mix(in srgb, var(--surface) 94%, white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 12px;
  border: 1px solid #c9dcc2;
  background: #e4f1df;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.05rem;
}

.signup-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

label,
legend {
  color: var(--ink);
  font-weight: 800;
}

input[type="email"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  outline: none;
}

input[type="email"],
select {
  min-height: 52px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--focus);
}

.choice,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
}

.choice input,
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--green);
  flex: 0 0 auto;
}

button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

button:hover {
  background: var(--green-dark);
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-message {
  min-height: 28px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 560px) {
  .page-shell {
    align-items: start;
    padding: 14px;
  }

  .signup-panel {
    padding: 22px;
  }
}
