*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:        #8b0000;
  --brand-strong: #600000;
  --brand-light:  #fff0f0;
  --text:         #1a1a2e;
  --muted:        #64748b;
  --border:       #f0e4e4;
  --white:        #ffffff;
  --radius-sm:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__logo-img { width: 36px; height: 36px; border-radius: 10px; }

.nav__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  align-items: center;
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav__link:hover {
  color: var(--brand);
  background: var(--brand-light);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav__cta:hover { background: var(--brand-strong); }

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

@media (min-width: 900px) {
  .nav__burger { display: none; }
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem 1.25rem;
  gap: 0.25rem;
}

.nav__mobile-menu.is-open { display: flex; }

.nav__mobile-link {
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
}

.nav__mobile-link:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.nav__mobile-cta {
  display: block;
  margin-top: 0.5rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.page__meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.page h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.card-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.card-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  background: #fff;
}

.card-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.card-list a:hover { color: var(--brand); }

.card-list span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.page__back {
  display: inline-block;
  margin-top: 2rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.page__back:hover { text-decoration: underline; }

.hub-directory {
  margin: 2rem 0;
  display: grid;
  gap: 1.5rem;
}

.hub-directory__summary {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.hub-directory__section {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  background: #fafafa;
}

.hub-directory__heading {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.65rem;
}

.hub-directory__list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.hub-directory__item a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
}

.hub-directory__item a:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.hub-directory__link--planned a {
  color: var(--muted);
  font-weight: 500;
}

.hub-directory__link--planned a:hover {
  color: var(--brand);
}
