body { min-width: 0; }

.page { max-width: 1280px; margin: 0 auto; padding: 0 64px; }

/* ── Nav ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.nav-brand { display: flex; align-items: center; gap: 18px; }
.nav-brand .mark { width: 56px; height: 56px; display:flex; align-items:center; justify-content:center; }
.nav-brand .word {
  font-family: var(--sans); font-weight: 400; font-size: 13px;
  letter-spacing: 0.42em; text-transform: uppercase; opacity: 0.85;
}
.nav-links { display: flex; gap: 48px; flex: 1; justify-content: center; }
.nav-links a {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--on-surface); text-decoration: none;
  opacity: 0.75; transition: opacity 200ms;
}
.nav-links a:hover { opacity: 1; }
.nav-back {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--on-surface); text-decoration: none;
  opacity: 0.75;
}
.nav-back:hover { opacity: 1; }

/* ── Layout ── */
.demo {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(0, 1.5fr);
  min-height: calc(100vh - 105px);
}
.demo-left {
  padding: 80px 56px;
  background: var(--bone-soft);
  display: flex; flex-direction: column; gap: 40px;
  border-right: 1px solid var(--rule);
}
.demo-right {
  padding: 80px 80px 80px 64px;
  max-width: 720px;
}

/* ── Left side ── */
.lead-eyebrow {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--brass);
}
.lead-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.1; letter-spacing: -0.015em;
  margin: 16px 0 24px;
  text-wrap: balance;
}
.lead-body {
  font-size: 15px; line-height: 1.7; opacity: 0.78;
  margin: 0;
}

.promises {
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.promise {
  display: flex; gap: 18px; align-items: flex-start;
}
.promise-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--brass); padding-top: 4px; flex-shrink: 0;
  width: 28px;
}
.promise-text {
  font-size: 14px; line-height: 1.7;
}
.promise-text strong {
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.promise-text span {
  opacity: 0.72;
}

.lead-meta {
  display: flex; flex-direction: column; gap: 8px;
}
.lead-meta-line {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.65;
}
.lead-meta-line svg { width: 14px; height: 14px; color: var(--brass); flex-shrink: 0; }

/* ── Right side: form ── */
.form-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 12px;
}
.form-head {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3; letter-spacing: -0.005em;
  margin: 0 0 48px;
  text-wrap: balance;
}

form { display: flex; flex-direction: column; gap: 32px; }

.field {
  display: flex; flex-direction: column; gap: 10px;
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.field label,
fieldset legend {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; opacity: 0.7;
}
.field-hint {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  opacity: 0.5; margin-left: 8px;
}
.field-required {
  color: var(--brass); margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
  font-family: var(--sans); font-weight: 300;
  font-size: 16px; line-height: 1.5;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--on-surface);
  width: 100%;
  transition: border-color 200ms;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--brass);
}
input::placeholder, textarea::placeholder {
  color: var(--on-surface); opacity: 0.45; font-weight: 300;
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
}
.field-select-wrap { position: relative; display: block; width: 100%; }
.field-select-wrap select { width: 100%; }
.field-select-wrap::after {
  content: '';
  position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  opacity: 0.6;
  color: var(--on-surface);
}
textarea {
  resize: vertical;
  min-height: 96px;
  border-bottom: 1px solid var(--rule);
}

/* ── Radio / checkbox grids ── */
fieldset {
  border: 0; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.opt-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.opt-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.opt {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
  background: var(--surface);
  font-size: 14px;
}
.opt:hover { border-color: var(--ink-mute); }
.opt input {
  position: absolute; opacity: 0; pointer-events: none;
}
.opt .dot {
  width: 14px; height: 14px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 200ms, background 200ms;
  position: relative;
}
.opt input[type="checkbox"] ~ .dot { border-radius: 2px; }
.opt input:checked ~ .dot {
  border-color: var(--brass);
  background: var(--brass);
  box-shadow: inset 0 0 0 3px var(--surface);
}
.opt input[type="checkbox"]:checked ~ .dot {
  box-shadow: inset 0 0 0 2.5px var(--surface);
}
.opt input:checked ~ .opt-label { font-weight: 400; }
.opt:has(input:checked) {
  border-color: var(--on-surface);
  background: var(--surface-soft);
}

.submit-row {
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.submit-note {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; opacity: 0.55; line-height: 1.6;
  max-width: 320px;
}
button.submit {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; padding: 18px 40px;
  border: 1px solid var(--surface-inverse); background: var(--surface-inverse); color: var(--on-surface-inverse);
  cursor: pointer; transition: background 200ms, border-color 200ms;
  white-space: nowrap;
}
button.submit:hover { background: var(--brass); border-color: var(--brass); }
button.submit:disabled { opacity: 0.5; cursor: wait; }

/* ── Success state ── */
.success {
  display: none;
  padding: 80px 0;
  text-align: center;
}
.success.shown { display: block; }
.success .check {
  width: 56px; height: 56px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brass);
  margin-bottom: 32px;
}
.success h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: 36px; line-height: 1.2; letter-spacing: -0.005em;
  margin: 0 0 16px;
}
.success p {
  font-size: 16px; line-height: 1.7; opacity: 0.78;
  max-width: 440px; margin: 0 auto 32px;
}
.success .meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  opacity: 0.5; margin-top: 24px;
}

/* ── Footer ── */
.foot {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  opacity: 0.55;
}
