/* moimemoir.com: the approved forest and teal direction (DESIGN_HANDOFF). */
@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --background: #0b241f;
  --surface: #143c33;
  --raised: #214b40;
  --text: #f1f7f4;
  --text-secondary: #b5ccc3;
  --action: #48c6b6;
  --on-action: #082f28;
  --accent: #82dacb;
  --divider: #31584c;
  --focus: #82dacb;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--background);
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Figtree,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--text);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: min(1080px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(720px, 100% - 32px);
  margin-inline: auto;
}
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
}
.wordmark {
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.wordmark .o {
  color: var(--action);
}
nav.site {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
nav.site a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
}
nav.site a:hover,
nav.site a[aria-current='page'] {
  color: var(--text);
}
.hero {
  text-align: center;
  padding-block: 72px 48px;
}
.hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.hero p.lead {
  margin: 24px auto 0;
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.3rem;
}
.pill {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--divider);
  color: var(--text-secondary);
  font-size: 1rem;
}
.example {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 32px 36px;
  border: 1px solid var(--divider);
  border-radius: 24px;
}
.example .label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.example .q {
  margin: 14px 0 0;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1.45;
}
.example .a {
  margin: 14px 0 0;
  font-size: 1.35rem;
  line-height: 1.45;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-block: 72px;
}
.step {
  background: var(--surface);
  border-radius: 22px;
  padding: 28px;
}
.step .n {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}
.step h2 {
  margin: 8px 0 8px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  color: var(--text-secondary);
}
main.page {
  padding-block: 32px 64px;
}
main.page h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 16px 0 8px;
  font-weight: 600;
}
main.page h2 {
  font-size: 1.4rem;
  margin: 40px 0 8px;
  font-weight: 600;
}
main.page p,
main.page li {
  color: var(--text-secondary);
}
main.page strong {
  color: var(--text);
  font-weight: 600;
}
.updated {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
footer.site {
  border-top: 1px solid var(--divider);
  padding-block: 32px 48px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 1rem;
}
footer.site nav {
  display: flex;
  gap: 20px;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    padding-block: 48px;
  }
  .hero {
    padding-block: 40px 32px;
  }
  .example {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
