/* Nexus — Referral network for tax accountants & CPAs */

:root {
  --bg: #0c0f14;
  --bg-elevated: #141922;
  --text: #e8eaed;
  --text-muted: #9ca3af;
  --accent: #d4a853;
  --accent-soft: rgba(212, 168, 83, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #e0b85c;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-ghost {
  color: var(--text-muted);
  padding: 0.5rem 1rem;
}

.btn-large {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}

.hero-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.hero-price {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.125rem;
}

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

/* Motto */
.motto {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.motto-quote {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 2rem 2rem 2.25rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.motto-highlight {
  font-weight: 700;
  color: var(--accent);
}

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

/* Sections */
.section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

/* Community — value list */
.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.value-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.value-list li:last-child {
  border-bottom: none;
}

.value-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

/* How it works */
.how-it-works .section-title {
  margin-bottom: 2rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  counter-increment: step;
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg);
  background: var(--accent);
  border-radius: 50%;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA section */
.cta {
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta .section-lead {
  margin: 0 auto 1.5rem;
  max-width: 480px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
  .nav-links {
    gap: 1.25rem;
  }

  .hero {
    padding: 4rem 1.25rem 3.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .motto-quote {
    padding: 1.5rem 1.25rem 1.5rem 1.5rem;
    font-size: 1.125rem;
  }

  .step {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }
}
