@font-face {
  font-family: "Fraunces";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
:root {
  --paper: #f7f5f0;
  --ink: #2f3a44;
  --zinc: #6b757d;
  --rule: #d9d5cc;
  --vest: #e8641b;
  --vest-ink: #ffffff;
  --field: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1f262c;
    --ink: #ede9e1;
    --zinc: #a3acb3;
    --rule: #3a444c;
    --vest: #f07a36;
    --vest-ink: #1f262c;
    --field: #2a333a;
  }
}
:root[data-theme="dark"] {
  --paper: #1f262c;
  --ink: #ede9e1;
  --zinc: #a3acb3;
  --rule: #3a444c;
  --vest: #f07a36;
  --vest-ink: #1f262c;
  --field: #2a333a;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-block: 2.5rem 4rem;
  padding-inline: 1.25rem;
}
main {
  max-width: 34rem; /* phone-first; the desktop breakpoint below widens it */
  margin: 0 auto;
}
h1,
h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
}
h2 {
  font-size: 1.375rem;
  margin-block: 2.5rem 0.75rem;
}
.brand {
  margin: 0 0 2.75rem;
}
.brand img {
  display: block;
  height: 1.75rem;
  width: auto;
}
.why {
  margin-top: 0.5rem;
}
.why p {
  margin: 0;
}
.why p + p {
  margin-top: 0.75rem;
}
.next {
  margin-top: 2.75rem;
  border-top: 1px solid var(--rule);
  padding-top: 0.5rem;
}
.lede-next {
  color: var(--zinc);
  margin: 0 0 1.5rem;
}
.next-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}
.next-list li {
  display: grid;
  gap: 0.3rem;
}
.next-title {
  font-weight: 500;
  margin: 0;
}
.next-more {
  margin: 1.5rem 0 0;
}
.lede {
  color: var(--zinc);
  margin-block: 1rem 0;
}
.pains {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: grid;
  gap: 1.75rem;
}
.pains li {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.pain-title {
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--zinc);
  margin: 0 0 0.15rem;
}
.pain {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
}
.answer {
  margin: 0;
}
.answer {
  color: var(--zinc);
}
.property {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.25rem;
  margin-block: 2.5rem;
}
.property p {
  margin: 0;
}
.property p + p {
  margin-top: 0.75rem;
}
form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
label {
  font-weight: 500;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--field);
  color: var(--ink);
}
input[type="email"]:focus-visible,
button:focus-visible {
  outline: 3px solid var(--vest);
  outline-offset: 2px;
}
button {
  font: inherit;
  font-weight: 500;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 4px;
  background: var(--vest);
  color: var(--vest-ink);
  cursor: pointer;
}
.small {
  color: var(--zinc);
  font-size: 0.9375rem;
  margin: 0;
}
.status {
  min-height: 1.5rem;
}
footer {
  margin-top: 3.5rem;
  color: var(--zinc);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
footer a {
  color: inherit;
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: transform 120ms ease;
  }
  button:active {
    transform: translateY(1px);
  }
}

/* Desktop: the single phone column is too narrow on a wide screen. From 56rem the frame widens,
   the four pains and the roadmap list sit in two columns, and every running-text block keeps a
   readable measure (~34rem) so the lines do not stretch with the frame. */
@media (min-width: 56rem) {
  body {
    padding-block: 4rem 6rem;
    padding-inline: 3rem;
  }
  /* Only the landing page widens: the legal pages are bare prose and keep the phone measure. */
  main.landing {
    max-width: 62rem;
  }
  h1 {
    font-size: clamp(2.5rem, 3.6vw, 3.25rem);
    max-width: 44rem;
  }
  .lede,
  .property,
  .why,
  .lede-next,
  .next-more,
  form,
  .small {
    max-width: 38rem;
  }
  .pains {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 3.5rem;
  }
  .pains li {
    padding-block: 1.5rem 1.75rem;
  }
  .pains li:nth-child(-n + 2) {
    border-top: 1px solid var(--rule);
  }
  .pain {
    font-size: 1.25rem;
  }
  .next-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 3rem;
  }
  .property {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: none;
  }
  .property p + p {
    margin-top: 0;
  }
}
