:root {
  --bg: #0e0c0a;
  --bg-2: #17130f;
  --card: #171310;
  --text: #f5efe6;
  --muted: #bcae9e;
  --line: rgba(245, 239, 230, 0.16);
  --brass: #d4a574;
  --ember: #e08a5f;
  --ink: #0e0c0a;
  --focus: #f0c390;
  --radius: 4px;
  --step: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 100% -8%, rgba(224, 138, 95, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 60%);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 22px 96px;
}

a {
  color: var(--brass);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
}

.mark {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.back {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.back:hover {
  color: var(--text);
}

section {
  padding: var(--step) 0;
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

h1 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.lede {
  color: var(--muted);
  font-size: 19px;
  max-width: 48ch;
  margin-bottom: 24px;
}

.lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero {
  padding-top: 40px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  background: var(--text);
  color: var(--ink);
  border: 1px solid var(--text);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--brass);
  border-color: var(--brass);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn.ghost:hover {
  border-color: var(--text);
  background: transparent;
}

.steps {
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 20px 72px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  color: var(--brass);
}

.steps h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}

.steps p {
  color: var(--muted);
  font-size: 17px;
}

.voice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.voice p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 14px;
}

.voice p:last-child {
  margin-bottom: 0;
}

.voice .quote {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  font-size: 21px;
  line-height: 1.4;
}

.consent {
  border-left: 3px solid var(--brass);
  padding-left: 18px;
}

.consent p {
  color: var(--muted);
  font-size: 17px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 26px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
}

label .hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 16px;
}

input,
textarea {
  font: inherit;
  font-size: 18px;
  min-height: 52px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--ember);
}

input[type="checkbox"] {
  min-height: 0;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  accent-color: var(--ember);
}

.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  color: var(--muted);
  font-size: 16px;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form button[type="submit"] {
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  min-height: 52px;
  background: var(--ember);
  color: var(--ink);
  border: 1px solid var(--ember);
  border-radius: var(--radius);
  padding: 14px 24px;
  cursor: pointer;
}

form button[type="submit"]:hover {
  filter: brightness(1.08);
}

form button[type="submit"][disabled] {
  opacity: 0.6;
  cursor: progress;
}

.form-note {
  font-size: 16px;
  color: var(--muted);
}

.form-note a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.fallback {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 20px;
}

.fallback[hidden] {
  display: none;
}

.fallback h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.fallback p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 12px;
}

.fallback .contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.thankyou {
  background: var(--card);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.thankyou[hidden] {
  display: none;
}

.thankyou h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.thankyou p {
  color: var(--muted);
  font-size: 17px;
}

footer {
  padding-top: 24px;
  color: var(--muted);
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

footer a {
  color: var(--text);
  text-decoration: none;
}

footer a:hover {
  color: var(--brass);
}

@media (min-width: 640px) {
  .wrap {
    padding: 28px 28px 112px;
  }

  header {
    padding: 12px 0 24px;
  }

  section {
    padding: 40px 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  form {
    padding: 30px 28px 32px;
  }

  .voice {
    padding: 30px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
