:root {
  --color-bg: #ffffff;
  --color-text: #2b1f3e;
  --color-text-secondary: #5c4f6e;
  --color-accent: #d4a84e;
  --color-accent-hover: #c49842;
  --color-surface: #f7f5f9;
  --color-border: #e2dce8;
  --color-dark: #2b1f3e;
  --color-gold: #d4a84e;
  --max-width: 960px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */

nav {
  position: sticky;
  top: 0;
  background: var(--color-dark);
  z-index: 100;
}

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

nav .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
  text-transform: lowercase;
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav .nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero */

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.badge {
  display: inline-block;
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 500;
}

/* Features */

.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
}

.feature-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Section */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section p,
.section li {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.section ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.section li {
  margin-bottom: 0.4rem;
}

/* How it works */

.how-it-works {
  background: var(--color-dark);
  padding: 4rem 1.5rem;
}

.how-it-works .inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.how-it-works h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-dark);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-gold);
}

.step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.mission-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 1rem;
  text-align: center;
}

.contact-section {
  text-align: center;
  padding-bottom: 4rem;
}

.contact-section a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* CTA */

.cta {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.cta .social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.cta .btn {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.cta .btn:hover {
  background: var(--color-accent-hover);
}

.cta .btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.cta .btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

/* Footer */

footer {
  background: var(--color-dark);
  padding: 2rem 1.5rem;
}

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

footer .footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
}

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

footer .copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Page header (for non-landing pages) */

.page-header {
  padding: 3rem 1.5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
}

.page-header .updated {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Legal / policy content */

.legal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal p {
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal li {
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.legal th,
.legal td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.legal th {
  font-weight: 600;
  color: var(--color-text);
}

.legal td {
  color: var(--color-text-secondary);
}

/* Support page */

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

.support-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
}

.support-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.support-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.support-card a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.support-card a:hover {
  text-decoration: underline;
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.faq-item p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  nav .nav-links {
    gap: 1rem;
  }

  footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
