:root {
  --theme-color-bg: #131316;
  --theme-color-navbar: #0a0a0d;
  --theme-color-cream: #faf8f0;
  --theme-color-tan: #ccaa77;
  --theme-color-copy: #faf8f0;
  --theme-color-modal-stroke: #ffffff14;
  --theme-color-success-bright: #2fdd7f;
  --theme-color-link: #b9b1ff;
  --theme-color-headings: #ccaa77;
  --theme-color-lilac: #bb85ff;
  --theme-color-white: #fcfcfc;
  --theme-color-dropdown: #222225;
  --spacing: 0.25rem;
}

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

body.support-page,
body.about-page {
  background-color: var(--theme-color-bg);
  color: var(--theme-color-copy);
  font-family: var(--font-dm-sans, "DM Sans", ui-sans-serif, system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: hidden;
}

/* NAV */
.site-nav {
  background-color: var(--theme-color-navbar);
  border-bottom: 1px solid var(--theme-color-modal-stroke);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--theme-color-cream);
  font-weight: 500;
  font-size: 1.125rem;
}

.site-nav .nav-logo svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.site-nav .nav-links a {
  color: rgba(250, 248, 240, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.site-nav .nav-links a:hover {
  color: var(--theme-color-cream);
}

.site-nav .nav-links a.active {
  color: var(--theme-color-tan);
  font-weight: 500;
}

@media (max-width: 40rem) {
  .site-nav .nav-links {
    gap: 1rem;
  }

  .site-nav .nav-links a {
    font-size: 0.75rem;
  }
}

/* MAIN CONTENT */
.page-main {
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

@media (max-width: 40rem) {
  .page-main {
    padding: 2rem 1rem 4rem;
  }
}

@media (min-width: 80rem) {
  .page-main {
    padding: 4rem 5rem 6rem;
  }
}

/* PAGE HERO */
.page-hero {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--theme-color-modal-stroke);
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--theme-color-headings);
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

@media (max-width: 40rem) {
  .page-hero h1 {
    font-size: 1.75rem;
  }
}

@media (min-width: 48rem) {
  .page-hero h1 {
    font-size: 2.5rem;
  }
}

.page-hero .page-subtitle {
  font-size: 1rem;
  color: rgba(250, 248, 240, 0.7);
  max-width: 600px;
  line-height: 1.6;
}

/* SECTION HEADINGS */
.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--theme-color-tan);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--theme-color-modal-stroke);
  letter-spacing: -0.3px;
}

@media (max-width: 40rem) {
  .content-section h2 {
    font-size: 1.25rem;
  }
}

.content-section p {
  color: rgba(250, 248, 240, 0.85);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section a {
  color: var(--theme-color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.content-section a:hover {
  color: var(--theme-color-lilac);
}

/* FAQ / Q&A */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--theme-color-modal-stroke);
}

.faq-item:first-child {
  border-top: 1px solid var(--theme-color-modal-stroke);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--theme-color-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.15s ease;
  font-family: inherit;
  line-height: 1.5;
}

.faq-question:hover {
  color: var(--theme-color-tan);
}

.faq-question h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(250, 248, 240, 0.5);
  transition: transform 0.2s ease, color 0.15s ease;
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(180deg);
  color: var(--theme-color-tan);
}

.faq-item.open .faq-question {
  color: var(--theme-color-tan);
}

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  padding-right: 2rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  color: rgba(250, 248, 240, 0.75);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--theme-color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: var(--theme-color-lilac);
}

/* ABOUT SECTIONS */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 40rem) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .about-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-card {
  background-color: rgba(250, 248, 240, 0.04);
  border: 1px solid var(--theme-color-modal-stroke);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) {
  .about-card:hover {
    background-color: rgba(250, 248, 240, 0.06);
    border-color: rgba(204, 170, 119, 0.3);
  }
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--theme-color-tan);
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.7);
  line-height: 1.6;
  margin-bottom: 0;
}

/* STAT CARDS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 48rem) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background-color: rgba(250, 248, 240, 0.04);
  border: 1px solid var(--theme-color-modal-stroke);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--theme-color-tan);
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: -0.3px;
}

.stat-card .stat-label {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* INLINE LINKS */
.inline-link {
  color: var(--theme-color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.inline-link:hover {
  color: var(--theme-color-lilac);
}

/* BREADCRUMB / NAV LINKS */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(250, 248, 240, 0.5);
  flex-wrap: wrap;
}

.page-breadcrumb a {
  color: rgba(250, 248, 240, 0.5);
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-breadcrumb a:hover {
  color: var(--theme-color-tan);
}

.page-breadcrumb .separator {
  opacity: 0.4;
}

.page-breadcrumb .current {
  color: rgba(250, 248, 240, 0.8);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6875rem 1.5rem;
  background-color: var(--theme-color-tan);
  color: #0e0b31;
  border: none;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

@media (hover: hover) {
  .btn-primary:hover {
    background-color: #b29568;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6875rem 1.5rem;
  background-color: transparent;
  color: var(--theme-color-cream);
  border: 1px solid rgba(204, 170, 119, 0.5);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

@media (hover: hover) {
  .btn-outline:hover {
    background-color: rgba(10, 10, 13, 0.7);
    border-color: rgba(204, 170, 119, 0.7);
  }
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* RETURN HOME */
.return-home {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--theme-color-modal-stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.return-home p {
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.5);
}

/* FOOTER */
.page-footer {
  background-color: var(--theme-color-navbar);
  border-top: 1px solid var(--theme-color-modal-stroke);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-footer p {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.4);
}

.page-footer .footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.page-footer .footer-links a {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.5);
  text-decoration: none;
  transition: color 0.15s ease;
}

@media (hover: hover) {
  .page-footer .footer-links a:hover {
    color: var(--theme-color-tan);
  }
}

@media (max-width: 40rem) {
  .page-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* TEAM / PEOPLE */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background-color: rgba(250, 248, 240, 0.04);
  border: 1px solid var(--theme-color-modal-stroke);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.team-card .team-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--theme-color-cream);
  margin-bottom: 0.125rem;
}

.team-card .team-role {
  font-size: 0.8125rem;
  color: var(--theme-color-tan);
  margin-bottom: 0.5rem;
}

.team-card .team-bio {
  font-size: 0.8125rem;
  color: rgba(250, 248, 240, 0.6);
  line-height: 1.6;
}

/* TIMELINE */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.375rem;
  bottom: 0.375rem;
  width: 1px;
  background-color: var(--theme-color-modal-stroke);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.5625rem;
  top: 0.375rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--theme-color-tan);
  border: 1px solid rgba(204, 170, 119, 0.4);
}

.timeline-item .timeline-label {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--theme-color-cream);
  margin-bottom: 0.25rem;
}

.timeline-item p {
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.65);
  line-height: 1.6;
}

/* HIGHLIGHT BOX */
.highlight-box {
  background-color: rgba(204, 170, 119, 0.08);
  border: 1px solid rgba(204, 170, 119, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.highlight-box p {
  font-size: 0.9375rem;
  color: rgba(250, 248, 240, 0.85);
  line-height: 1.7;
  margin-bottom: 0;
}

.highlight-box p strong {
  color: var(--theme-color-tan);
  font-weight: 500;
}

/* INFO NOTICE */
.notice-box {
  background-color: rgba(185, 177, 255, 0.07);
  border: 1px solid rgba(185, 177, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.75);
  line-height: 1.6;
}

/* DIVIDER */
.section-divider {
  height: 1px;
  background-color: var(--theme-color-modal-stroke);
  margin: 2.5rem 0;
}

/* UTILITY */
.text-muted {
  color: rgba(250, 248, 240, 0.55);
}

.text-accent {
  color: var(--theme-color-tan);
}

.text-link-color {
  color: var(--theme-color-link);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* RESPONSIVE NAV TOGGLE */
@media (max-width: 36rem) {
  .site-nav .nav-links li:not(:first-child):not(:last-child) {
    display: none;
  }
}