:root {
  --accent: #e5a00d;
  --accent-dark: #c98d0b;
  --accent-muted: rgba(229, 160, 13, 0.12);
  --accent-glow: rgba(229, 160, 13, 0.25);
  --bg: #141414;
  --bg-card: #1e1e1e;
  --bg-elevated: #262626;
  --border: #2e2e2e;
  --border-light: #3a3a3a;
  --text: #f0f0f0;
  --text-muted: #8a8a8a;
  --success: #3fb950;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ─────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-brand-icon { font-size: 1.25rem; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-muted);
  border: 1px solid rgba(229, 160, 13, 0.3);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.3rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), #f7c948);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Sections ────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}

.section-header { margin-bottom: 3rem; }

/* ── How it Works steps ──────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--accent-muted);
  border: 1px solid rgba(229, 160, 13, 0.3);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step-icon { font-size: 1.75rem; margin-bottom: 0.875rem; }
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Features ────────────────────────────────────── */
.features-bg {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

.feature:hover { border-color: var(--border-light); }
.feature-icon { font-size: 1.5rem; margin-bottom: 0.875rem; }
.feature h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Requirements ────────────────────────────────── */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.req-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.req-icon { font-size: 1.375rem; flex-shrink: 0; margin-top: 0.1rem; }
.req-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.3rem; }
.req-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }
.req-card a { color: var(--accent); }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.badge-required { background: rgba(248, 81, 73, 0.15); color: #f85149; }
.badge-optional { background: rgba(63, 185, 80, 0.15); color: #3fb950; }

/* ── Multi-user callout ──────────────────────────── */
.callout {
  background: var(--accent-muted);
  border: 1px solid rgba(229, 160, 13, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.callout-icon { font-size: 2rem; flex-shrink: 0; }
.callout h3 { font-size: 1.0625rem; font-weight: 600; color: var(--accent); margin-bottom: 0.4rem; }
.callout p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ── Quick Setup ─────────────────────────────────── */
.setup-steps {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.setup-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

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

.setup-num {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent-muted);
  border: 1px solid rgba(229, 160, 13, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.setup-step h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.setup-step p { font-size: 0.8375rem; color: var(--text-muted); line-height: 1.55; }

code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8em;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  color: var(--accent);
}

/* ── CTA ─────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.875rem;
}

.cta-section p { color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; }

/* ── Footer ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── Divider ─────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 0 1rem; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .section { padding: 3.5rem 1.25rem; }
  .callout { flex-direction: column; gap: 0.75rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
