@font-face {
  font-family: "Red Hat Display";
  src: url("/red-hat-display.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #5f5a52;
  --rule: #ebe6dd;
  --accent: #8a6a3f;
  --space: clamp(24px, 6vw, 64px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 "Red Hat Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main, footer {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--space);
}
main { flex: 1; padding-top: clamp(56px, 14vh, 140px); }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* home */
.logo { display: block; width: min(320px, 100%); height: auto; margin: 0 0 32px; }
h1 { margin: 0; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); margin: 0 0 56px; max-width: 30em; }
.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 16px;
}
.apps { list-style: none; padding: 0; margin: 0 0 56px; border-top: 1px solid var(--rule); }
.apps li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 16px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.app-name { font-weight: 600; }
.app-desc { color: var(--muted); margin: 4px 0 0; }
.status { font-size: 14px; color: var(--accent); white-space: nowrap; }
.contact p { margin: 0 0 8px; }

/* footer */
footer {
  padding-top: 48px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}
footer p { margin: 0 0 4px; }
footer nav { display: flex; gap: 16px; margin: 0 0 12px; }

/* long-form pages */
.doc { padding-top: clamp(40px, 8vh, 80px); }
.home-link { display: inline-block; margin: 0 0 40px; }
.home-link img { display: block; width: 180px; height: auto; }
.doc h1 { font-size: clamp(30px, 5vw, 38px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.effective { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.summary { background: #faf7f2; border: 1px solid var(--rule); border-radius: 12px; padding: 20px 24px; margin: 0 0 40px; }
.summary p { margin: 0 0 8px; font-weight: 600; }
.summary ul { margin: 0; padding-left: 20px; }
.summary li { margin: 4px 0; }
.doc h2 { font-size: 24px; line-height: 1.25; font-weight: 600; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
.doc h3 { font-size: 18px; line-height: 1.3; font-weight: 600; margin: 32px 0 8px; }
.doc p, .doc li { max-width: 36em; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
