/* Public landing page. Self-hosted fonts (SIL OFL 1.1; see fonts/LICENSE-*). */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/site/fonts/libre-baskerville-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/site/fonts/libre-baskerville-latin-400-italic.woff2) format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 400;
  font-display: swap;
  src: url(/site/fonts/dm-sans-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 500;
  font-display: swap;
  src: url(/site/fonts/dm-sans-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-weight: 400;
  font-display: swap;
  src: url(/site/fonts/dm-mono-latin-400-normal.woff2) format("woff2");
}
:root {
  --ink: #191a18;
  --muted: #5c5c57;
  --line: #bdb4a8;
  --accent: #a44830;
  --paper: #f7f0e6;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0 auto;
  max-width: 1040px;
  min-width: 320px;
  padding: 0 24px;
  background: radial-gradient(ellipse at 50% 10%, #fbf5eb 0, #f7f0e6 75%);
  background-color: var(--paper);
}
a {
  color: var(--accent);
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--paper);
  padding: 8px 12px;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.04em;
}
.open-app {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  min-height: 44px;
  justify-content: center;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.small {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(38px, 7vw, 64px);
  margin: 0 0 18px;
}
h2 {
  font-size: 28px;
  margin: 0 0 16px;
}
h3 {
  font-size: 21px;
  margin: 0 0 6px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px 48px;
  align-items: center;
  padding: 48px 0 40px;
}
.hero .eyebrow,
.hero h1,
.hero .lede {
  grid-column: 1;
}
.lede {
  font-size: 19px;
  color: var(--muted);
  margin: 0;
  max-width: 34em;
}
.picture {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
}
.picture img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 36px #3a2b2014;
}
figcaption {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
section {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.hero {
  border-top: 0;
}
.how ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.how li {
  counter-increment: step;
}
.how li::before {
  content: counter(step);
  font-family: var(--mono);
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.how p,
.not li,
.status p,
.research p {
  color: var(--muted);
  margin: 0 0 10px;
  max-width: 40em;
}
.not ul {
  padding-left: 20px;
  margin: 0;
}
.research-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 28px;
}
.research-list li {
  min-width: 0;
  max-width: 44em;
  overflow-wrap: anywhere;
}
.research-list h3 {
  font-size: 20px;
  line-height: 1.4;
}
.research .evidence-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.research .citation {
  font-size: 14px;
}
.research-list h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.4;
  margin: 2px 0 4px;
}
.principles {
  margin: 0 0 16px;
  padding-left: 22px;
  max-width: 40em;
  display: grid;
  gap: 8px;
}
.principles li {
  color: var(--muted);
}
.principles strong {
  color: var(--ink);
  font-weight: 500;
}
.research .research-qualifier {
  color: var(--ink);
  font-size: 15px;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}
.read-more {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.read-more > summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 500;
  list-style: none;
}
.read-more > summary::-webkit-details-marker {
  display: none;
}
.read-more > summary::before {
  content: "+";
  font-family: var(--mono);
  width: 1em;
}
.read-more[open] > summary::before {
  content: "−";
}
.read-more > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.read-more-body {
  padding: 4px 0 20px;
}
.read-more-body > h3 {
  margin: 20px 0 6px;
  font-size: 22px;
}
.paper-link {
  display: inline-block;
  padding: 6px 0;
}
footer a {
  padding: 12px 0;
  margin: -12px 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
footer .maker {
  flex-basis: 100%;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 760px) {
  :root {
    font-size: 16px;
  }
  body {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
  .picture {
    grid-column: 1;
    grid-row: auto;
  }
  .how ol {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
