:root {
  color-scheme: light;
  --paper: #f3efe6;
  --ink: #1c1915;
  --muted: #4a453c;
  --line: #d4ccbc;
  --green: #1b4636;
  --green-deep: #123328;
  --green-ink: #f4f0e6;
  --white: #fffdf8;
  --focus: #0c4a6e;
  --alert: #7f1d1d;
  --alert-bg: #f8e8e4;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 5;
}

.skip:focus {
  transform: none;
}

.shell {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

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

a:hover {
  color: var(--green-deep);
}

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

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  align-items: center;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav-cta {
  background: var(--green);
  color: var(--green-ink) !important;
  text-decoration: none !important;
  padding: 0.45rem 0.75rem;
}

.nav-cta:hover {
  background: var(--green-deep);
}

main {
  padding-bottom: 3rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0 0.5rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  max-width: 14ch;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.45;
}

.callout {
  margin: 0;
  align-self: end;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 1.15rem 1.25rem;
  max-width: 22rem;
}

.callout p {
  margin: 0;
}

.section {
  padding-top: 2.75rem;
}

.measure {
  max-width: 40rem;
}

.measure p:last-child,
.loan p:last-child {
  margin-bottom: 0;
}

.pair {
  display: grid;
  gap: 1rem;
}

.loan {
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}

.loan a {
  font-weight: 600;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumbs a {
  color: var(--muted);
}

.faq {
  margin: 0;
}

.faq dt {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  margin-top: 1.25rem;
}

.faq dd {
  margin: 0.4rem 0 0;
  max-width: 40rem;
}

.deal {
  display: grid;
  gap: 1.25rem 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

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

.deal-form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 1.15rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hint {
  font-weight: 400;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b7ad9c;
  border-radius: 0;
  padding: 0.7rem 0.75rem;
}

textarea {
  resize: vertical;
  min-height: 8rem;
}

.botcheck {
  display: none;
}

.form-alert {
  margin: 0;
  color: var(--alert);
  background: var(--alert-bg);
  padding: 0.75rem 0.85rem;
}

.form-alert[hidden] {
  display: none;
}

button {
  appearance: none;
  justify-self: start;
  background: var(--green);
  color: var(--green-ink);
  border: 0;
  font: inherit;
  font-weight: 600;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
}

button:hover {
  background: var(--green-deep);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-name {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
  max-width: 42rem;
}

.funnel {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  padding-top: 1.6rem;
}

.pitch h1 {
  max-width: 20ch;
}

.pitch .lede {
  margin-bottom: 0.25rem;
}

.before {
  margin-top: 1.35rem;
  max-width: 36rem;
}

.before h2 {
  font-size: 1.45rem;
}

.before .faq dt:first-child {
  margin-top: 0.35rem;
}

.steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 36rem;
}

.steps li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.fine {
  max-width: 36rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.deal-form h2 {
  font-size: 1.65rem;
  margin-bottom: 0.15rem;
}

.thanks {
  padding-top: 2.5rem;
  max-width: 38rem;
}

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

@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.7fr);
    align-items: end;
    gap: 2rem;
  }

  .pair,
  .form-row,
  .deal {
    grid-template-columns: 1fr 1fr;
  }

  .deal {
    align-items: start;
  }
}

@media (min-width: 960px) {
  .funnel {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 28rem);
    gap: 2.75rem;
  }

  .funnel .deal-form {
    position: sticky;
    top: 1rem;
  }

  .funnel .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .shell {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  h1 {
    font-size: 2.15rem;
  }
}
