/* Lemma brand tokens. Start here to try a new color, font, or page width. */
:root {
  --ink: #201b37;
  --ink-soft: #4e455f;
  --paper: #fff8ec;
  --periwinkle: #bdadff;
  --lime: #ddfa73;
  --coral: #ff785d;
  --rule: #d8ccca;
  --serif: Newsreader, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --width: 80rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-space: clamp(3.75rem, 8vw, 7.5rem);
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .99; }
h2 { font-size: clamp(2.7rem, 5.6vw, 5rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); letter-spacing: -.035em; }
.skip { position: absolute; left: var(--gutter); top: .5rem; padding: .6rem 1rem; background: var(--lime); z-index: 1; }
.skip:not(:focus) { clip-path: inset(50%); }

.top, .hero-inner, .three, .who, .contact, footer {
  width: min(100%, var(--width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.top, footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.site-header { background: var(--ink); color: var(--paper); }
.top { min-height: 5rem; padding-block: .9rem; }
.wordmark {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .22em;
  color: var(--ink);
  text-decoration: none;
  font: 500 2.35rem/1 var(--serif);
  letter-spacing: -.07em;
}
.wordmark img { width: .86em; height: .86em; }
.site-header .wordmark, footer .wordmark { color: inherit; }
.site-header .wordmark img, footer .wordmark img { filter: brightness(0) invert(1); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem clamp(.7rem, 2.8vw, 2rem); font-size: .9rem; }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover { text-decoration: underline; }
.nav-cta { border: 1px solid currentColor; border-radius: 100px; padding: .5rem .8rem; }
.nav-cta span { margin-left: .25em; }

.hero { background: var(--periwinkle); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.25rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 1; padding-block: 1rem; }
.eyebrow { display: flex; align-items: center; gap: .55em; font-size: .72rem; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-size: clamp(3.5rem, 6.4vw, 5.875rem); line-height: 1.032; letter-spacing: -.065em; margin: 1.9rem 0 1.5rem; text-wrap: balance; }
h1 em { font-weight: inherit; }
.lede { max-width: 32rem; font-size: clamp(1.04rem, 1.6vw, 1.23rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.35rem; margin-top: 1.65rem; }
.button {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .75rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}
.button:hover { background: var(--lime); color: var(--ink); }
.quiet { font-size: .88rem; font-weight: 600; }

.hero-example { position: relative; min-width: 0; padding-block: 1.1rem; }
.example { position: relative; background: var(--paper); border: 1px solid var(--ink); border-radius: 1.1rem; box-shadow: .45rem .45rem 0 var(--ink); overflow: hidden; }
.example-top { justify-content: space-between; padding: .85rem 1.15rem; background: var(--ink); color: var(--paper); }
.example-label { color: var(--lime); }
.example-answer { padding: 2.5rem 1.25rem 2.1875rem; }
.example-answer h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: .98; }
.example details { border-top: 1px solid var(--rule); }
.example summary { display: flex; align-items: center; gap: .65rem; padding: 2.1875rem 1.25rem .75rem; font-size: .83rem; font-weight: 700; cursor: pointer; list-style: none; }
.example summary::-webkit-details-marker { display: none; }
.example summary:focus-visible { outline-offset: -4px; }
.example summary:hover { background: var(--lime); }
.step { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--lime); color: var(--ink); font: 700 .75rem/1 var(--sans); }
.disclosure { margin-left: auto; width: .55rem; height: .55rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
details[open] .disclosure { transform: rotate(225deg); }
.passages { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; padding: .15rem 1.25rem 2.1875rem; }
.passages dt { font-size: .72rem; color: var(--ink-soft); margin-bottom: .3rem; }
.passages dd { font: 500 1.25rem/1.2 var(--serif); }
mark { background: var(--lime); color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.source { padding: .6rem 1.25rem .85rem; font-size: .72rem; color: var(--ink-soft); border-top: 1px solid var(--rule); }

.three, .who, .contact { padding-block: var(--section-space); }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2.25rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.cards article { border-top: 1px solid var(--ink); padding-top: 1.15rem; }
.cards .step { margin-bottom: 1rem; }
.cards article:nth-child(2) .step { background: var(--periwinkle); }
.cards article:nth-child(3) .step { background: var(--coral); }
.cards h3 { margin-bottom: .6rem; }
.cards p, .audiences { color: var(--ink-soft); }
.who, .contact { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.75rem clamp(1.75rem, 7vw, 6rem); border-top: 1px solid var(--rule); }
.who h2, .contact h2 { margin-top: .8rem; }
.audiences { display: grid; gap: 1rem; }
.audiences strong { color: var(--ink); }
.contact, footer {
  width: 100%;
  padding-inline: max(var(--gutter), calc((100% - var(--width)) / 2 + var(--gutter)));
}
.contact { background: var(--lime); border: none; }
.contact .button { margin-top: 1rem; }
.contact .button:hover { background: var(--paper); }
footer { padding-block: 1.6rem; background: var(--ink); color: var(--paper); }
footer .wordmark { font-size: 1.8rem; }
.fine { font-size: .8rem; }

@media (max-width: 50rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-example { max-width: 33rem; width: 100%; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
  .top, footer { align-items: flex-start; flex-direction: column; gap: .65rem; }
  nav { font-size: .8rem; }
  .who, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 22rem) {
  h1 { font-size: 3.25rem; }
  .passages { grid-template-columns: 1fr; }
}
