:root {
  --gold: #bb8c25;
  --gold-dark: #96701d;
  --ink: #202127;
  --muted: #686a71;
  --line: #dedfe3;
  --surface: #ffffff;
  --background: #fafafb;
  --error: #a52a2a;
  --success: #24613c;
  --shadow: 0 1px 2px rgba(32, 33, 39, .05), 0 14px 40px rgba(32, 33, 39, .08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Objectivity, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

.shell {
  width: min(100% - 32px, 780px);
  margin: 0 auto;
  padding: 40px 0 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--gold);
  border-radius: 12px;
  font-size: 14px;
}

.hero { margin-bottom: 28px; }
.eyebrow { margin: 0 0 8px; color: var(--gold-dark); font-size: 14px; font-weight: 700; }
h1 { margin: 0 0 14px; font-size: clamp(32px, 6vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.lead { margin: 0; color: var(--muted); font-size: 18px; max-width: 64ch; }

.notice,
.form-card,
.success-card {
  background: var(--surface);
  border: 1px solid rgba(32, 33, 39, .08);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.notice { margin-bottom: 18px; padding: 16px 18px; }
.notice--dry { border-left: 4px solid var(--gold); }
.notice--error { border-left: 4px solid var(--error); color: var(--error); }
.form-card { padding: clamp(20px, 5vw, 42px); }
.success-card { padding: 42px; }

.section { margin: 0 0 36px; padding: 0 0 34px; border: 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 0; }
legend { width: 100%; margin-bottom: 8px; font-size: 22px; font-weight: 750; letter-spacing: -.025em; }
.section-intro { margin: 0 0 20px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
label, .label { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 700; }
.required { color: var(--gold-dark); }
.help { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.error { margin: 7px 0 0; color: var(--error); font-size: 14px; font-weight: 650; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c9cad0;
  border-radius: 11px;
  color: var(--ink);
  background: white;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(187, 140, 37, .2); border-color: var(--gold); }
[aria-invalid="true"] { border-color: var(--error) !important; }

.options { display: grid; gap: 10px; }
.options--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-weight: 550;
  cursor: pointer;
}
.option:hover { border-color: var(--gold); background: #fffdf8; }
.option input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--gold-dark); }

.conditional { margin: 14px 0 20px; padding: 18px; background: #f7f4ec; border-radius: 12px; }
.conditional[hidden] { display: none; }

.privacy { padding: 18px; background: #f4f5f6; border-radius: 12px; }
.privacy p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }

.button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.button:hover { background: var(--gold-dark); transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(187, 140, 37, .35); outline-offset: 3px; }

.footer { margin-top: 26px; color: var(--muted); font-size: 13px; text-align: center; }
.footer a { color: inherit; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 640px) {
  .shell { width: min(100% - 22px, 780px); padding-top: 22px; }
  .grid, .options--inline { grid-template-columns: 1fr; }
  .form-card, .success-card { border-radius: 16px; }
}
