:root {
  --bg: #F5F3EF;
  --text: #131110;
  --text-muted: #4a4744;
  --accent: #35996A;
  --border: #e8e5e0;

  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  --content-max: 720px;
  --section-gap: 64px;
}

@media (min-width: 720px) {
  :root {
    --section-gap: 96px;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { text-decoration-thickness: 2px; }

.hero,
main,
.footer {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

.hero {
  padding-top: clamp(96px, 18vw, 160px);
  padding-bottom: var(--section-gap);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.hero__meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero__lede {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 560px;
}

main {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.section > * + * { margin-top: 1.25rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.receives {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.receives li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.receives li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 1px;
}

.application-frame {
  display: block;
  width: 100%;
  margin-top: 2rem;
  border: none;
  border-radius: 8px;
  background: #fff;
}

.footer {
  padding-top: var(--section-gap);
  padding-bottom: clamp(48px, 10vw, 96px);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.footer > * + * { margin-top: 0.25rem; }

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero {
  animation: fade-in 600ms ease-out both;
}

main > .section {
  animation: fade-rise 600ms ease-out both;
}

main > .section:nth-child(1) { animation-delay: 80ms; }
main > .section:nth-child(2) { animation-delay: 160ms; }
main > .section:nth-child(3) { animation-delay: 240ms; }
main > .section:nth-child(4) { animation-delay: 320ms; }
main > .section:nth-child(5) { animation-delay: 400ms; }
main > .section:nth-child(6) { animation-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .hero,
  main > .section {
    animation: none;
  }
}
