:root {
  --bg-page: #080c14;
  --bg-card: #0f1624;
  --bg-card-hover: #152033;
  --border-subtle: #1c2738;
  --border-accent: #2e3e57;
  --text-main: #e8edf5;
  --text-muted: #95a3b8;
  --text-dim: #64748b;
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dim: #8c7322;
  --blue-accent: #3b82f6;
  --font-serif: 'EB Garamond', Georgia, Cambria, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 960px;
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  text-decoration: none;
}

.main-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.hero {
  text-align: center;
  padding: 3rem 0 4rem;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge-gold {
  border-color: var(--gold-dim);
  color: var(--gold-light);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: #080c14;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: #080c14;
  text-decoration: none;
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: #fff;
  text-decoration: none;
}

.feature-banner {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin: 2rem 0 4rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.feature-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--border-accent);
}

.card-glyph {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.prose .meta-date {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin: 2.25rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 1.5rem 0 0.5rem;
}

.prose p {
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-main);
}

.prose li {
  margin-bottom: 0.5rem;
}

.callout {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.callout strong {
  color: #fff;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.faq-item h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  background: #05080e;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .nav-container {
    flex-direction: column;
    text-align: center;
  }
}
