/* Global Reset for Static Pages */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Navbar & Header */
.site-header,
.page-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 64px;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line, #232A35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-sizing: border-box;
  z-index: 1000;
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.light-mode .site-header,
.light-mode .page-navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #E2E8F0;
}

.brand,
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-badge span,
.brand-logo span {
  color: var(--gold, #f59e0b);
}

.main-nav,
.page-nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a,
.page-nav-links a {
  color: var(--text-dim, #94a3b8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.page-nav-links a:hover,
.main-nav a.active,
.page-nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.light-mode .main-nav a,
.light-mode .page-nav-links a {
  color: #475569;
}

.light-mode .main-nav a:hover,
.light-mode .page-nav-links a:hover,
.light-mode .main-nav a.active,
.light-mode .page-nav-links a.active {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.05);
}

.header-actions,
.page-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary-sm,
.nav-cta-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

.btn-primary-sm:hover,
.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}

@media (max-width: 900px) {
  .site-header,
  .page-navbar {
    padding: 10px 16px;
    height: auto;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .main-nav,
  .page-nav-links {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }
  .header-actions {
    display: none;
  }
}

/* Content Container */
.page-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.light-mode .page-container {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.page-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 46px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #FDE047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header p {
  font-size: 15px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Typography & Content styling */
article h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

article h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

article p, article li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 16px;
}

article ul {
  padding-left: 20px;
}

article li {
  margin-bottom: 10px;
}

article a {
  color: var(--teal);
  text-decoration: none;
}
article a:hover {
  text-decoration: underline;
}

/* FAQ specifics */
.faq-item {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.faq-item h3 {
  color: var(--gold);
  margin-top: 0;
  margin-bottom: 8px;
}

.faq-item p {
  margin-bottom: 0;
}

/* Footer */
.page-footer {
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 14px;
}

.page-footer a {
  color: var(--text-dim);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.2s;
}

.page-footer a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .page-container {
    margin: 20px;
    padding: 24px;
  }
  .page-header h1 {
    font-size: 32px;
  }
  .page-nav-links {
    gap: 8px;
  }
  .page-nav-links a {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* Ink-friendly Print Styles */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .site-header,
  .page-navbar,
  .global-footer,
  .cookie-consent-banner,
  .back-to-top-btn,
  .btn-primary-sm,
  .nav-cta-btn {
    display: none !important;
  }
  .page-container,
  article,
  main {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  h1, h2, h3, h4, p, li {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }
}
