:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #505052;
  --line: #e5e5e7;
  --black: #111111;
  --soft-white: #f5f5f7;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}

a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid #515155;
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.wrap { width: min(1160px, calc(100% - 64px)); margin: auto; }
.wrap-narrow { width: min(720px, calc(100% - 64px)); margin: auto; }

header { border-bottom: 1px solid var(--line); }

nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wordmark {
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-inline-start: 0.18em;
}

.brand {
  font-size: 23px;
  text-decoration: none;
}

header .brand { font-size: clamp(22px, 3vw, 30px); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--black);
  color: white;
  padding: 10px 19px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.btn:hover { background: #333333; }

.btn.secondary {
  border-color: #c4c4c7;
  background: transparent;
  color: var(--black);
}

.btn.secondary:hover { background: #f5f5f7; }

.btn:disabled { opacity: 0.48; cursor: default; }

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: var(--sans);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 36px 0 10px;
  letter-spacing: -0.04em;
}

h3 { line-height: 1.3; margin-bottom: 5px; }

.kicker {
  margin: 0 0 12px;
  color: #505052;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 18px;
}

.intro p {
  max-width: 46ch;
  margin: 0 0 14px;
}

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

.hero-art {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 0 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 54px;
  align-items: start;
  margin: 64px auto 80px;
}

.form-card {
  background: var(--soft-white);
  padding: clamp(20px, 4vw, 44px);
  border-radius: 12px;
}

form {
  background: white;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 10px;
}

label {
  display: block;
  margin: 12px 0 4px;
  font-weight: 650;
}

label[for="name"] { margin-top: 0; }

input[type="text"],
input[type="tel"] {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #a0a0a4;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.hint, .form-note, .disclosure {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 4px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}

.consent input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--black);
  cursor: pointer;
}

.consent .consent-text a { text-underline-offset: 3px; }

.form-actions { margin-top: 22px; }

.form-actions .btn { width: 100%; }

.error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #d8c4c4;
  border-radius: 6px;
  background: #faf4f4;
  color: #6b2a2a;
  font-size: 14px;
}

.under-form {
  margin-top: 20px;
}

.disclosure { max-width: none; }

.back-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 650;
  text-underline-offset: 3px;
}

.legal {
  margin: 56px auto 80px;
}

.legal p, .legal li {
  color: var(--ink);
}

.legal ul { padding-left: 1.2em; }

.legal li { margin: 0 0 8px; }

.legal a { text-underline-offset: 3px; }

.thanks {
  margin: 80px auto 100px;
  max-width: 46ch;
}

.thanks .lead { margin-bottom: 22px; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding: 30px 0 38px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
  align-items: flex-start;
}

footer p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

footer .tagline { margin-top: 4px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  font-weight: 650;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 800px) {
  .page { grid-template-columns: 1fr; gap: 28px; margin: 36px auto 64px; }
  .hero-art { max-width: 100%; margin-bottom: 20px; }
}

@media (max-width: 720px) {
  .wrap, .wrap-narrow { width: calc(100% - 40px); }

  header nav {
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 0;
    min-height: 0;
  }

  .nav-links {
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }

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

  .thanks { margin: 48px auto 72px; }
  footer { margin-top: 45px; }
}

@media (max-width: 370px) {
  nav { flex-wrap: wrap; gap: 6px; padding: 12px 0; }
}

.legal-callout {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink);
  background: var(--soft-white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 28px;
}
