/* Prion Registry — flat static site
   Palette and type echo the original prionregistry.org (mustard gold,
   warm cream, charcoal text, green accent, rounded sans-serif). */

:root {
  --cream: #f7f2e7;
  --gold: #dda521;
  --gold-dark: #a9801f;
  --charcoal: #30291f;
  --body-text: #4a4336;
  --green: #7fae53;
  --rule: #e7dcc4;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  background: var(--gold);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}

.brand-mark {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px dotted var(--charcoal);
}

.brand-mark.small {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--charcoal);
}

.site-nav a {
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--charcoal);
}

/* Content */

.content {
  padding-top: 48px;
  padding-bottom: 56px;
}

.content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.5em;
}

.content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-top: 1.6em;
  margin-bottom: 0.3em;
  padding-bottom: 0.3em;
  border-bottom: 3px solid var(--gold);
}

.content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-top: 1.5em;
  margin-bottom: 0.3em;
}

.content p em:only-child {
  color: var(--gold-dark);
  font-weight: 700;
  font-style: normal;
}

.badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.badge-recruiting {
  background: var(--green);
}

.badge-not-recruiting {
  background: #8a8378;
}

.content hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2em 0;
}

.content a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

.content a:hover {
  color: var(--gold-dark);
}

.content strong {
  color: var(--charcoal);
}

.content ul {
  padding-left: 1.3em;
}

.content li {
  margin-bottom: 0.4em;
}

/* Footer */

.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  padding: 28px 0 40px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .brand-name {
  font-size: 1rem;
  color: var(--charcoal);
}

.footer-meta {
  display: flex;
  gap: 18px;
}

.footer-meta a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-meta a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .site-header .wrap,
  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
