@font-face {
  font-family: "Fraunces";
  src: url("Fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --text: #3D2E1F;
  --muted: #8A7A68;
  --line: #E8E3DC;
  --accent: #9B6FD1;
  --accent-soft: rgba(155, 111, 209, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171513;
    --card: #23201D;
    --text: #F2EBE3;
    --muted: #A3978A;
    --line: #36312C;
    --accent: #B591E0;
    --accent-soft: rgba(181, 145, 224, 0.16);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.site { padding: 28px 0 8px; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: 22px; }
nav.site { display: flex; gap: 18px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--text); }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: 40px; margin: 40px 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 23px; margin: 36px 0 6px; }
h3 { font-size: 19px; margin: 24px 0 4px; }
p { margin: 8px 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); font-size: 15px; }

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px 22px;
  margin-top: 20px;
}
.summary { border-left: 4px solid var(--accent); }

.apps { display: grid; gap: 16px; margin-top: 28px; }
.app { display: flex; gap: 18px; align-items: flex-start; }
.app img { width: 72px; height: 72px; border-radius: 17px; flex: none; }
.app h3 { margin: 2px 0 2px; }
.app p { margin: 2px 0 10px; color: var(--muted); font-size: 16px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.pill.solid { background: var(--accent); color: #fff; }
.tag { font-size: 13px; color: var(--muted); }

ul { padding-left: 22px; }
li { margin: 4px 0; }

footer.site { margin: 64px 0 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  h1 { font-size: 32px; margin-top: 28px; }
  nav.site { gap: 12px; }
  .app img { width: 60px; height: 60px; border-radius: 14px; }
}
