:root {
  color-scheme: light;
  --bg: #f3f2ee;
  --text: #1c1c1a;
  --muted: #3e3c38;
  --accent: #1c3d34;
  --line: #dddcd6;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #141413;
    --text: #e7e5df;
    --muted: #c2beb4;
    --accent: #d5e3db;
    --line: #2c2c29;
  }
}

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

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

.page {
  max-width: 40rem;
  margin-inline: auto;
  padding: 1.75rem 1.25rem 3.5rem;
}

h1,
h2,
p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

h1,
h2 {
  font-weight: 500;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.lang {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.lang button {
  font: inherit;
  letter-spacing: inherit;
  color: var(--muted);
  background: none;
  border: 0;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.45rem 0.4rem;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.lang-sep {
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.lede {
  max-width: 36rem;
  margin-top: 4.5rem;
}

main p + p,
main h2 {
  margin-top: 1.15rem;
}

main h2 {
  margin-top: 2.75rem;
}

.founder {
  margin-top: 2.75rem;
}

.contact {
  margin-top: 1.15rem;
}

.contact + .contact {
  margin-top: 0.35rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

footer {
  margin-top: 4.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

footer p + p {
  margin-top: 0.7rem;
}

footer .year {
  margin-top: 0.95rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 40rem) {
  .page {
    padding: 5.5rem 1.5rem 5rem;
  }

  .lede {
    margin-top: 6rem;
  }
}
