:root {
  --ink: #17201d;
  --ink-soft: #29312e;
  --paper: #f3f0e9;
  --paper-deep: #e7e1d6;
  --white: #ffffff;
  --accent: #9f3e31;
  --gold: #b49a68;
  --line: #cfc9bd;
  --muted: #676d69;
  --error: #a12921;
  --success: #2e6a50;
  --shadow: 0 24px 70px rgba(23, 32, 29, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button, input, select, textarea { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid rgba(23, 32, 29, .14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.12;
}

.brand small {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--muted);
}

.brand-logo { display: block; width: min(300px, 55vw); height: auto; }

.access-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
}

main { padding-bottom: 90px; }

.intro {
  max-width: 1520px;
  margin: 0 auto;
  padding: 82px clamp(22px, 6.5vw, 100px) 68px;
}

.eyebrow, .section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow {
  position: relative;
  padding-left: 48px;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 1px;
  background: currentColor;
}

h1, h2, legend {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

.intro h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(54px, 7.2vw, 108px);
  line-height: .98;
}

.intro > p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.layout {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 clamp(22px, 6.5vw, 100px);
  display: grid;
  grid-template-columns: minmax(260px, .66fr) minmax(600px, 1.6fr);
  align-items: start;
  gap: clamp(28px, 5vw, 78px);
}

.trust-panel {
  position: sticky;
  top: 30px;
  padding: 44px 38px;
  background: var(--ink);
  color: var(--white);
}

.trust-panel h2 {
  margin: 0 0 38px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
}

.trust-panel .section-label { color: #d78577; }
.trust-panel ol { margin: 0; padding: 0; list-style: none; }

.trust-panel li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid #46504c;
}

.trust-panel li > span { padding-top: 3px; color: #9da5a1; font-size: 11px; }
.trust-panel strong { font-size: 15px; }
.trust-panel li p { margin: 5px 0 0; color: #b9c0bd; font-size: 13px; }

.contact-note {
  display: grid;
  gap: 3px;
  margin-top: 36px;
  padding-top: 25px;
  border-top: 1px solid #46504c;
  font-size: 13px;
}

.contact-note span { margin-bottom: 5px; color: #9da5a1; }
.contact-note a { width: fit-content; color: var(--white); text-decoration-color: #77807c; text-underline-offset: 4px; }

.form-card {
  min-width: 0;
  padding: clamp(28px, 5vw, 64px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.progress {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 58px;
}

.progress-item { display: flex; align-items: center; gap: 9px; color: #929793; font-size: 12px; }
.progress-item span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; }
.progress-item.is-active { color: var(--ink); }
.progress-item.is-active span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.progress-line { height: 1px; background: var(--line); }

.form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.form-heading h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 48px);
  line-height: 1.05;
}

.form-heading > p { max-width: 210px; margin: 0 0 4px; color: var(--muted); font-size: 12px; text-align: right; }

.alert {
  margin: -18px 0 34px;
  border-left: 3px solid var(--error);
  padding: 12px 14px;
  background: #faf0ee;
  color: #7c241e;
  font-size: 14px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 42px;
  border: 0;
}

fieldset + fieldset { padding-top: 38px; border-top: 1px solid #e4e0d9; }

legend {
  width: 100%;
  margin-bottom: 25px;
  padding: 0;
  font-size: 24px;
  line-height: 1.2;
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 22px; }
.field-full { grid-column: 1 / -1; }
.field label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #3e4642; font-size: 12px; font-weight: 700; }
.field label > span:first-of-type, .form-heading span, .consent > span > span { color: var(--accent); }
.field .optional { color: #8a8f8c; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

input, select, textarea {
  display: block;
  width: 100%;
  border: 1px solid #bdb8ae;
  border-radius: 0;
  background: #fdfcf9;
  color: var(--ink);
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

input, select { min-height: 50px; padding: 0 14px; }
textarea { min-height: 110px; padding: 13px 14px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #92958f; }

input:focus, select:focus, textarea:focus {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(23, 32, 29, .09);
}

input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: #fff9f8;
}

.error { display: block; min-height: 18px; margin-top: 5px; color: var(--error); font-size: 11px; }
.field-meta { display: flex; justify-content: space-between; align-items: start; gap: 12px; color: #8b8f8c; font-size: 10px; }
.field-meta .error { flex: 1; }

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: #4d5451;
  cursor: pointer;
  font-size: 12px;
}

.consent input { width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.consent-error { margin-left: 32px; }

.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 38px; }
.form-actions-right { justify-content: flex-end; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 13px 20px;
  font-weight: 720;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(159, 62, 49, .28); outline-offset: 2px; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--accent); border-color: var(--accent); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--paper); }

.review-heading { align-items: start; }

.summary { border-top: 1px solid var(--ink); }

.summary-section {
  display: grid;
  grid-template-columns: minmax(130px, .42fr) 1fr;
  gap: 28px;
  padding: 27px 0;
  border-bottom: 1px solid #ddd8cf;
}

.summary-section h3 {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.summary-section dl { margin: 0; display: grid; gap: 15px; }
.summary-row { display: grid; grid-template-columns: minmax(130px, .48fr) 1fr; gap: 18px; }
.summary-row dt { color: var(--muted); font-size: 12px; }
.summary-row dd { margin: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 650; white-space: pre-wrap; }

.send-note {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 30px;
  padding: 17px;
  background: #eef4f0;
  color: #2f5343;
  font-size: 12px;
}

.send-note > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #86aa98; border-radius: 50%; }
.send-note p { margin: 0; }
.send-note strong { display: block; margin-bottom: 2px; color: #234435; }
.submit-status { min-height: 22px; margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: right; }
.honey { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

footer {
  max-width: 1520px;
  margin: 0 auto;
  padding: 26px clamp(22px, 6.5vw, 100px);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer p { margin: 0; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .trust-panel { position: static; display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px 42px; }
  .trust-panel h2 { margin-bottom: 0; }
  .trust-panel ol { grid-column: 2; grid-row: 1 / span 2; }
  .contact-note { margin-top: 0; }
}

@media (max-width: 680px) {
  .site-header { min-height: 74px; padding: 15px 20px; }
  .brand { font-size: 11px; letter-spacing: .12em; }
  .access-badge { padding: 7px 9px; font-size: 10px; }
  main { padding-bottom: 55px; }
  .intro { padding: 58px 22px 45px; }
  .intro h1 { font-size: clamp(46px, 15vw, 68px); }
  .intro > p:last-child { margin-top: 22px; font-size: 16px; }
  .layout { padding: 0; gap: 0; }
  .trust-panel { display: block; padding: 42px 22px; }
  .trust-panel h2 { font-size: 40px; margin-bottom: 26px; }
  .trust-panel li { padding: 16px 0; }
  .contact-note { margin-top: 24px; }
  .form-card { padding: 36px 22px 42px; box-shadow: none; }
  .progress { margin-bottom: 43px; }
  .progress-item strong { display: none; }
  .progress-item span { width: 30px; height: 30px; }
  .form-heading { display: block; margin-bottom: 35px; }
  .form-heading h2 { font-size: 36px; }
  .form-heading > p { max-width: none; margin: 13px 0 0; text-align: left; }
  fieldset { padding-bottom: 35px; }
  fieldset + fieldset { padding-top: 32px; }
  legend { font-size: 22px; }
  .field-grid { grid-template-columns: 1fr; gap: 19px; }
  .field-full { grid-column: auto; }
  input, select { min-height: 52px; }
  .summary-section { grid-template-columns: 1fr; gap: 16px; }
  .summary-row { grid-template-columns: 1fr; gap: 2px; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions-right { flex-direction: column; }
  .button { width: 100%; }
  .submit-status { text-align: left; }
  footer { padding: 24px 22px; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
