:root {
  --brand-navy: #363f47;
  --brand-yellow: #ebff7c;

  --bg: #fafaf7;
  --text: var(--brand-navy);
  --muted: #666d75;
  --accent: var(--brand-navy);
  --border: #e2e2dc;
  --card: #ffffff;
  --highlight-bg: var(--brand-yellow);
  --highlight-text: var(--brand-navy);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1e23;
    --text: #f2f2ee;
    --muted: #a7acb3;
    --accent: var(--brand-yellow);
    --border: #2e333a;
    --card: #262b31;
    --highlight-bg: var(--brand-yellow);
    --highlight-text: var(--brand-navy);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

header.site {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1;
}

.brand span {
  color: var(--brand-yellow);
  -webkit-text-stroke: 0.5px var(--brand-navy);
}

@media (prefers-color-scheme: dark) {
  .brand span {
    -webkit-text-stroke: 0;
  }
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 420px) {
  header.site .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  nav.site a {
    margin-left: 0;
    margin-right: 1rem;
  }
}

nav.site a:hover {
  color: var(--text);
}

main {
  padding: 3rem 0 4rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.hero-logo {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 20px;
}

.hero-text {
  min-width: 0;
}

@media (max-width: 520px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.3rem;
  margin-top: 2.25rem;
}

p.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

a {
  color: var(--accent);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.card.highlight {
  background: var(--highlight-bg);
  color: var(--highlight-text);
  border-color: transparent;
}

.card.highlight a {
  color: var(--highlight-text);
  text-decoration: underline;
}

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 2rem 0;
}
