@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-serif-4-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-serif-4-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --bg: #f3efe6;
  --ink: #1c1914;
  --muted: #514c44;
  --forest: #234033;
  --forest-deep: #1a3127;
  --line: #ddd6c8;
  --row: #e7efe6;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --page: 40rem;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(1100px 420px at 50% -120px, #f8f5ee, var(--bg) 68%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #d5e3d8;
  color: var(--forest-deep);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--forest);
  color: var(--bg);
  padding: 0.45rem 0.75rem;
  z-index: 5;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--page), calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 2.75rem;
}

.brand img {
  width: 2rem;
  height: 2rem;
  display: block;
}

.brand span {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0;
}

nav a:hover {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero {
  padding: 4.25rem 0 0.5rem;
}

.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  color: var(--forest);
  font-size: 0.95rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  flex: 0 0 1.75rem;
  height: 1px;
  margin-top: 0.62rem;
  background: var(--forest);
}

.eyebrow span {
  min-width: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.022em;
}

h1 {
  margin: 0.9rem 0 1rem;
  max-width: 12em;
  font-size: clamp(2.35rem, 6.2vw, 3.45rem);
  line-height: 1.12;
}

.lede {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.section {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1.25rem;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.7rem;
  line-height: 1.2;
}

.section p,
.section-note {
  margin: 0;
  max-width: 36rem;
}

.section-note {
  color: var(--muted);
}

.apps {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
}

.app {
  padding: 1.05rem 0 1.1rem;
  border-top: 1px solid var(--line);
}

.app:last-child {
  border-bottom: 1px solid var(--line);
}

.app-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.15rem 1rem;
  margin-bottom: 0.3rem;
}

.app h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.app h3 a {
  color: inherit;
  text-decoration: none;
  padding: 0.2rem 0;
}

.app .url {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--forest);
}

.app h3 a:hover,
.app h3 a:focus-visible {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.app p {
  margin: 0;
  color: var(--muted);
}

.contact-line {
  margin-top: 0.85rem;
}

.email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest);
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
  padding: 0.15rem 0;
}

.email:hover {
  color: var(--forest-deep);
}

a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer {
  margin-top: 3.25rem;
  padding: 1.35rem 0 2.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 420px) {
  .wrap {
    width: min(var(--page), calc(100% - 2rem));
  }

  .hero {
    padding-top: 2.75rem;
  }

  .app .url {
    flex-basis: 100%;
  }
}

@media (forced-colors: active) {
  .eyebrow::before {
    background: CanvasText;
  }
}

@media print {
  .skip,
  nav {
    display: none;
  }

  body {
    background: #fff;
  }

  a {
    text-decoration: underline;
  }
}
