@font-face {
  font-family: "Sour Gummy";
  src: url("/assets/sour-gummy-semibold.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
}

:root {
  --page: #faf6ed;
  --paper: #fffdf7;
  --ink: #242924;
  --soft-ink: #50574c;
  --green: #316347;
  --rule: #d8d3c6;
  --heading: "Sour Gummy", ui-rounded, system-ui, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
}

a {
  color: var(--green);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.08;
}

.page-shell {
  width: min(100% - clamp(2rem, 9vw, 8rem), 75rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--paper);
  transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
  transform: translateY(0);
}

.masthead, .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  padding-block: 1.15rem;
}

.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.masthead a, .site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
}

.masthead a:hover, .site-footer a:hover {
  color: var(--green);
}

.wordmark {
  gap: 0.55rem;
  font: 600 1.625rem/1 var(--heading);
  text-decoration: none;
}

.wordmark img {
  flex: none;
  border-radius: 29%;
  background: #efeadc;
}

.home-main {
  padding-block: 1.1rem 4.75rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  padding: clamp(1.5rem, 3.3vw, 3rem);
  border: 1px solid #e4dbc9;
  border-radius: clamp(1.5rem, 2.8vw, 2.4rem);
  background: #f2ebdc;
}

.hero h1 {
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  max-width: 29rem;
  margin: clamp(1rem, 2vw, 1.7rem) 0 1.6rem;
  color: var(--soft-ink);
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.75rem;
  background: #28513d;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.jump-link:hover {
  background: #1e3a2d;
  color: #fff;
}

.jump-link span {
  font-size: 1.2em;
}

.workbench {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.16;
  overflow: hidden;
  border: 1px solid #aecaac;
  border-radius: clamp(1rem, 2vw, 1.65rem);
  background-color: #cce1be;
  background-image: radial-gradient(#78946848 1px, transparent 1px), linear-gradient(136deg, #deecd0, #bdd7b0);
  background-size: 14px 14px, auto;
  box-shadow: inset 0 0 2.5rem #6377641a, 0 4px 0 #aecaac;
  container-type: inline-size;
}

.workbench-halo {
  position: absolute;
  inset: 21% auto auto 18%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid #fffdf6a0;
  border-radius: 50%;
  background: #fffbee56;
}

.prompt-note {
  position: absolute;
  inset: 12% auto auto 8.5%;
  z-index: 2;
  width: 39%;
  padding: 1.9% 4% 2.45%;
  border: 1px solid #e1c48b;
  border-radius: 0.3rem;
  background: #ffeab3;
  color: #543f25;
  box-shadow: 0 6px 12px #4c583326;
  font: 600 clamp(0.76rem, 5cqw, 1.7rem)/1.08 var(--heading);
  transform: rotate(-9deg);
}

.prompt-note::before {
  position: absolute;
  inset: -10% auto auto 34%;
  width: 34%;
  height: 21%;
  background: #fcf1d6b8;
  box-shadow: 0 1px 2px #6e55361a;
  content: "";
  transform: rotate(4deg);
}

.project-note {
  position: absolute;
  inset: 11% 7% auto auto;
  z-index: 1;
  width: 32.5%;
  padding: 2.9% 2.5% 3.4%;
  border: 1px solid #d7cbb4;
  border-radius: 8%;
  background: #fffdf4;
  box-shadow: 0 0.45rem 0 #b7c19e, 0 0.85rem 1.2rem #48533435;
  color: #31573d;
  text-align: center;
  font: 600 clamp(0.7rem, 4cqw, 1.4rem)/1.1 var(--heading);
  transform: rotate(12deg);
}

.project-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.05;
  margin-bottom: 11%;
  border-radius: 8%;
  background: radial-gradient(ellipse at 30% 5%, #f7edc0, #ebdca8);
}

.seedling {
  width: 48%;
  height: 49%;
  position: relative;
}

.seedling::before {
  position: absolute;
  inset: auto auto 0 50%;
  width: 7%;
  height: 68%;
  border-radius: 50%;
  background: #54754e;
  content: "";
  transform: rotate(7deg);
}

.seedling span {
  position: absolute;
  width: 54%;
  height: 40%;
  border: 1px solid #53774e;
  border-radius: 5% 62% 5% 62%;
  background: #84a365;
  transform: rotate(12deg);
}

.seedling span:first-child {
  inset: 29% auto auto 0;
}

.seedling span:last-child {
  inset: 4% 0 auto auto;
  border-radius: 62% 5% 62% 5%;
  background: #a6bd71;
  transform: rotate(-16deg);
}

.mascot {
  position: absolute;
  z-index: 1;
  inset: auto auto 1.5% 7%;
  width: 67%;
  filter: drop-shadow(0 8px 8px #4c69402e);
}

.workbench-star, .workbench-spark {
  position: absolute;
  z-index: 2;
  width: 10%;
  aspect-ratio: 1;
  background: #ffefb7;
  clip-path: polygon(50% 0, 61% 37%, 100% 50%, 61% 63%, 50% 100%, 38% 63%, 0 50%, 38% 37%);
}

.workbench-star {
  inset: auto 13% 23% auto;
  transform: rotate(10deg);
}

.workbench-spark {
  inset: 38% auto auto 8%;
  width: 6%;
  background: #fff8df;
  transform: rotate(-13deg);
}

.workbench-clip {
  position: absolute;
  inset: auto 8.5% 10% auto;
  width: 4.3%;
  aspect-ratio: 0.47;
  border: clamp(1px, 0.6cqw, 4px) solid #526951;
  border-radius: 2rem;
  transform: rotate(32deg);
}

.workbench-clip::before {
  position: absolute;
  inset: 5% 17% 10% -3%;
  border: inherit;
  border-left: 0;
  border-radius: inherit;
  content: "";
}

.how-it-works {
  margin-top: clamp(2.85rem, 6.6vw, 5.5rem);
  scroll-margin-block-start: 1.5rem;
}

.how-it-works h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  letter-spacing: -0.035em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 1.15rem 0 0;
  border-top: 3px solid #8cae93;
}

.steps li:nth-child(2) {
  border-color: #d5a96b;
}

.steps li:nth-child(3) {
  border-color: #91abc2;
}

.steps h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.steps p {
  max-width: 34ch;
  margin: 0.5rem 0 0;
  color: var(--soft-ink);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 1.4rem 1.85rem;
}

.site-footer .wordmark {
  font-size: 1.35rem;
}

.legal-main {
  max-width: 59rem;
  padding-block: clamp(1rem, 3vw, 2.2rem) clamp(2rem, 5vw, 4rem);
}

.legal-article {
  padding: clamp(1.15rem, 4.8vw, 4rem);
  border: 1px solid var(--rule);
  border-radius: clamp(1rem, 3vw, 2rem);
  background: var(--paper);
  overflow-wrap: anywhere;
}

.legal-article h1 {
  font-size: clamp(2.75rem, 6.6vw, 5.2rem);
  letter-spacing: -0.04em;
}

.legal-article h2 {
  margin: 2.35rem 0 0.7rem;
  font-size: clamp(1.6rem, 3.3vw, 2.2rem);
}

.legal-article h3 {
  margin-top: 1.35rem;
  font-size: 1.4rem;
}

.legal-article p, .legal-article ul, .legal-article ol {
  margin-block: 0.65rem 1rem;
}

.legal-article [id] {
  scroll-margin-block-start: 1.5rem;
}

.legal-intro {
  margin-bottom: 2rem;
}

.legal-toc {
  margin-block: 1.5rem 2rem;
  padding: clamp(1rem, 3.2vw, 1.65rem);
  border: 1px solid #d4dfd3;
  border-radius: 1rem;
  background: #eaf1e6;
}

.legal-toc ol, .legal-toc ul {
  padding-inline-start: 1.3rem;
  margin-block-end: 0;
}

.legal-toc h2 {
  margin-top: 0;
}

.legal-toc a {
  display: inline-block;
  padding-block: 0.2rem;
}

@media (max-width: 43rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 4.25rem);
  }

  .workbench {
    aspect-ratio: 1.3;
  }
}

@media (max-width: 38rem) {
  .masthead {
    padding-block: 0.85rem;
  }

  .masthead, .site-footer {
    column-gap: 0.5rem;
  }

  .masthead a, .site-footer a {
    font-size: 0.9rem;
  }

  .masthead .wordmark, .site-footer .wordmark {
    gap: 0.4rem;
    font-size: 1.25rem;
  }

  .masthead .wordmark img, .site-footer .wordmark img {
    width: 2rem;
  }

  .home-main {
    padding-block: 0.5rem 2.5rem;
  }

  .hero {
    padding: 1.25rem;
  }

  .hero p {
    margin-bottom: 1.15rem;
  }

  .project-note {
    inset-block-start: 9%;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.3rem;
  }

  .steps p {
    max-width: none;
  }
}
