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

/* Ember, the app's default theme. Light mode uses darker oranges so text stays readable on white. */
:root {
  --bg: #FFF8F2;
  --surface: #FFFFFF;
  --line: #F0DFD2;
  --ink: #1A0E07;
  --muted: #6B4F3D;
  --accent: #B8460B;
  --accent-tint: #FFEBDC;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140B06;
    --surface: #22140C;
    --line: #3A2618;
    --ink: #FFF3EA;
    --muted: #C9A994;
    --accent: #FF7A1A;
    --accent-tint: #3D2112;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }

header.site { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
header.site a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
header.site img { width: 40px; height: 40px; border-radius: 10px; }
header.site span { font-weight: 800; font-size: 20px; }
header.site nav { margin-left: auto; display: flex; gap: 20px; }
header.site nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
header.site nav a[aria-current="page"] { color: var(--accent); }

h1 { font-size: 40px; line-height: 1.1; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 40px 0 8px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent); text-underline-offset: 3px; }
strong { font-weight: 700; }
.lead { font-size: 20px; color: var(--muted); }
.updated { color: var(--muted); font-size: 15px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; margin-bottom: 20px; }

.cards { display: grid; gap: 12px; margin: 32px 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
.card p:last-child { margin-bottom: 0; }

.contact {
  background: var(--accent-tint);
  border-radius: 18px;
  padding: 20px;
  margin: 32px 0;
}
.contact p:last-child { margin-bottom: 0; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 18px; }
details[open] summary { margin-bottom: 8px; }
details p:last-child, details ul:last-child { margin-bottom: 0; }

footer { margin-top: 56px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  header.site nav { gap: 14px; }
}
