:root{
  --forest:#133024;
  --ink:#16201a;
  --muted:#5d6d63;
  --paper:#ffffff;
  --wash:#f1f5ef;
  --sprout:#7fb04a;
  --line:#dfe6db;

  --display:"Fraunces",Georgia,serif;
  --body:"Karla",system-ui,-apple-system,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}
.wrap{width:100%;max-width:1040px;margin:0 auto;padding:0 28px}
.narrow{max-width:720px}

a{color:inherit}
a:focus-visible{outline:2px solid var(--sprout);outline-offset:3px;border-radius:2px}

/* masthead */
.masthead{background:var(--forest);color:#f2f6ef}
.masthead .wrap{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding-top:22px;padding-bottom:22px;
}
.wordmark{
  font-family:var(--display);font-weight:600;font-size:25px;
  letter-spacing:-0.015em;text-decoration:none;
}
.wordmark .cap{color:var(--sprout)}
.contact-link{
  font-size:14px;letter-spacing:.06em;text-transform:uppercase;
  color:#b9cbbe;text-decoration:none;
}
.contact-link:hover{color:#f2f6ef}

main{flex:1}

/* hero */
.hero{padding:88px 0 74px}
.eyebrow{
  font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);display:flex;align-items:center;gap:11px;margin:0 0 28px;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--sprout);flex:none}
h1{
  font-family:var(--display);font-weight:600;
  font-size:clamp(2.5rem,7.2vw,4.5rem);
  line-height:1.04;letter-spacing:-0.028em;
  margin:0 0 28px;max-width:15ch;
}
h1 em{font-style:normal;color:var(--sprout)}
.lede{
  font-size:clamp(1.06rem,2.1vw,1.28rem);
  color:var(--muted);max-width:52ch;margin:0;
}

/* how it works */
.how{background:var(--wash);border-top:1px solid var(--line);padding:68px 0 74px}
.how h2{
  font-family:var(--display);font-weight:600;
  font-size:1.7rem;letter-spacing:-0.018em;margin:0 0 38px;
}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;counter-reset:step}
.step{counter-increment:step}
.step .num{
  font-family:var(--mono);font-size:12px;letter-spacing:.14em;
  color:var(--sprout);display:block;margin-bottom:12px;
}
.step .num::before{content:"0" counter(step)}
.step h3{font-family:var(--body);font-weight:700;font-size:15.5px;margin:0 0 8px}
.step p{margin:0;color:var(--muted);font-size:15.5px}

/* about */
.about{padding:70px 0 78px}
.about h2{
  font-family:var(--display);font-weight:600;
  font-size:1.7rem;letter-spacing:-0.018em;margin:0 0 20px;
}
.about p{color:var(--muted);max-width:60ch;margin:0 0 16px}
.about p:last-child{margin-bottom:0}

/* legal pages */
.doc{padding:64px 0 80px}
.doc h1{
  font-size:clamp(2rem,4.6vw,2.75rem);
  margin-bottom:12px;max-width:none;
}
.doc .updated{
  font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);margin:0 0 42px;
}
.doc h2{
  font-family:var(--display);font-weight:600;
  font-size:1.32rem;letter-spacing:-0.012em;
  margin:42px 0 12px;
}
.doc h2:first-of-type{margin-top:0}
.doc p,.doc li{color:var(--muted)}
.doc p{margin:0 0 14px}
.doc ul{margin:0 0 14px;padding-left:20px}
.doc li{margin-bottom:7px}
.doc strong{color:var(--ink);font-weight:700}
.doc a{color:var(--ink);text-decoration-color:var(--sprout);text-underline-offset:3px}

/* footer */
footer{background:var(--forest);color:#b9cbbe;font-size:14.5px;margin-top:auto}
footer .wrap{
  padding:32px 28px;display:flex;flex-wrap:wrap;gap:12px 28px;
  align-items:center;justify-content:space-between;
}
footer nav{display:flex;flex-wrap:wrap;gap:12px 24px}
footer a{color:#f2f6ef;text-decoration-color:var(--sprout);text-underline-offset:3px}

/* motion */
.rise{opacity:0;transform:translateY(14px);animation:rise .62s cubic-bezier(.2,.7,.3,1) forwards}
.d1{animation-delay:.05s}.d2{animation-delay:.14s}.d3{animation-delay:.23s}
@keyframes rise{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.rise{animation:none;opacity:1;transform:none}}

@media (max-width:860px){
  .steps{grid-template-columns:1fr;gap:28px}
  .hero{padding:60px 0 52px}
  .wrap{padding:0 22px}
}
