@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/big-shoulders.woff2") format("woff2-variations"),
       url("/fonts/big-shoulders.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f2f2f2;
  --gray-300: #cfcfcf;
  --gray-500: #8c8c8c;
  --gray-700: #3a3a3a;
  --gray-900: #1f1f1f;
  --green: #30b072;
  --green-deep: #1f7a4d;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --pad: clamp(20px, 5vw, 64px);
  --band: clamp(72px, 9vw, 136px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 19px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
  line-height: 0.92;
  letter-spacing: 0;
}
h2 { font-size: clamp(44px, 6.2vw, 86px); margin-bottom: 0.35em; }
h3 { font-size: 28px; font-weight: 700; line-height: 1.05; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.band { padding-top: var(--band); padding-bottom: var(--band); }
.band-black { background: var(--black); color: var(--white); }
.band-light { background: var(--gray-100); color: var(--black); }
.band-dark { background: var(--gray-900); color: var(--white); }
.lede { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; max-width: 46ch; }
.band-black .muted, .band-dark .muted { color: var(--gray-300); }
.band-light .muted { color: var(--gray-700); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.logo { display: block; line-height: 0; }
.logo img { height: 24px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 16px 26px 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  background: var(--green);
  color: var(--black);
  transition: background-color 120ms ease, transform 120ms ease;
}
.btn:hover { background: #3fc383; }
.btn:active { transform: translateY(1px); }
.btn-sm { font-size: 18px; padding: 12px 18px 11px; }
.textlink {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
}
.textlink:hover { border-bottom-color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.band-light :focus-visible { outline-color: var(--black); }

/* Hero */
.hero { padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero h1 { font-size: clamp(50px, 8.6vw, 118px); }
.hero h1 .line { display: block; white-space: nowrap; }
.hero-copy { margin-top: clamp(28px, 4vw, 48px); max-width: 60ch; }
.hero-copy .lede { margin-bottom: 1.4em; color: var(--gray-300); }
.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Proof */
.proof {
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 2px solid var(--gray-700);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}
.proof .big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.88;
  white-space: nowrap;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.proof .big small {
  display: block;
  font-size: 0.42em;
  color: var(--white);
  margin-top: 0.18em;
}
.proof p { font-size: clamp(19px, 1.8vw, 22px); color: var(--gray-300); max-width: 34ch; }

/* Ads */
.ads-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.ads-grid .lede { max-width: 30ch; }
.ads-grid p { color: var(--black); }
.ads-grid .col2 { padding-top: clamp(0px, 1vw, 14px); }

/* Steps */
.steps {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(40px, 6vw, 96px);
}
.step .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 76px;
  line-height: 0.9;
  margin-bottom: 14px;
  color: var(--green);
}
.step h3 { margin-bottom: 10px; }
.step p { max-width: 40ch; color: var(--gray-300); }

/* FAQ */
.faq { margin-top: clamp(28px, 3vw, 40px); max-width: 820px; }
.faq details { border-top: 2px solid var(--gray-300); }
.faq details:last-child { border-bottom: 2px solid var(--gray-300); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.05;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 600;
  font-size: 34px;
  line-height: 0.6;
  color: var(--green-deep);
  transition: transform 160ms ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 26px; max-width: 60ch; }

/* Apply */
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.apply-grid .lede { color: var(--gray-300); }
.form { display: grid; gap: 22px; }
.field label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.field .hint { font-size: 16px; color: var(--gray-500); margin: -4px 0 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 0;
  padding: 13px 14px;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'><path d='M1 1l7 7 7-7' fill='none' stroke='%23000000' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-500); }
.form .btn { justify-self: start; margin-top: 8px; }
.hidden { display: none; }
.form-note { font-size: 16px; color: var(--gray-500); max-width: 44ch; }

/* Footer */
.footer { padding-top: 48px; padding-bottom: 40px; border-top: 2px solid var(--gray-700); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.footer p { margin: 0; font-size: 17px; color: var(--gray-500); }
.footer .logo img { height: 18px; margin-bottom: 10px; }
.footer a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--gray-700); }
.footer a.logo { border: 0; }
.footer a:hover { border-bottom-color: var(--green); }

/* Thanks page */
.thanks { min-height: 100vh; display: flex; flex-direction: column; }
.thanks-main { flex: 1; display: grid; align-content: center; padding-top: var(--band); padding-bottom: var(--band); }
.thanks h1 { font-size: clamp(56px, 9vw, 128px); max-width: 9ch; margin-bottom: 0.3em; }
.thanks .lede { color: var(--gray-300); }

/* One motion moment: the headline lines rise in on load */
.rise { opacity: 0; transform: translateY(18px); animation: rise 620ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.rise:nth-child(1) { animation-delay: 40ms; }
.rise:nth-child(2) { animation-delay: 120ms; }
.rise:nth-child(3) { animation-delay: 200ms; }
.rise:nth-child(4) { animation-delay: 280ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; opacity: 1; transform: none; }
  .btn, .faq summary::after { transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .proof { grid-template-columns: minmax(0, 1fr); }
  .proof .big { white-space: normal; font-size: clamp(44px, 10.5vw, 72px); }
  .apply-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 0; }
  .logo img { height: 18px; }
  .hero h1 { font-size: clamp(42px, 13vw, 72px); }
  .ads-grid { grid-template-columns: minmax(0, 1fr); }
  .ads-grid .lede { max-width: 46ch; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step .n { font-size: 60px; }
  .faq summary { font-size: 23px; }
  .form .btn { justify-self: stretch; text-align: center; }
}
