:root {
  --bg: #fafaf7;
  --ink: #1f2937;
  --muted: #6b7280;
  --primary: #4f46e5;
  --primary-light: #eef2ff;
  --card-bg: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 247, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 130px 0 100px;
  text-align: center;
  background:
    linear-gradient(rgba(17, 24, 39, 0.15) 0%, rgba(17, 24, 39, 0.55) 65%, rgba(17, 24, 39, 0.7) 100%),
    url("https://loremflickr.com/1920/820/school,classroom,teacher?lock=10") center / cover no-repeat,
    var(--primary-light);
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 16px;
  color: #fff;
}

.hero p {
  color: #f3f4f6;
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto;
}

.stock-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 16px 0 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--primary);
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--ink);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--primary-light);
}

.section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin: 0 0 16px;
}

/* What We Do */
.feature-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.feature-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-top: 2px;
}

.feature-list h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.feature-list p {
  color: var(--muted);
  margin: 0;
}

/* How It Works */
.flow {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.flow-step {
  flex: 1;
  text-align: center;
}

.step-num {
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin: 0 auto 14px;
}

.flow-step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.flow-step p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Members */
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  background: var(--border);
  margin: 0 auto 12px;
}

.member h4 {
  margin: 0 0 2px;
}

.member p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

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

/* Page header (Members page) */
.page-header {
  padding: 72px 0 32px;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  margin: 0 0 8px;
}

.page-header p {
  color: var(--muted);
  margin: 0;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 700px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { flex-direction: column; }
  .feature-list li { align-items: center; }
  .hero h1 { font-size: 1.8rem; }
  nav a { margin-left: 14px; font-size: 0.9rem; }
}
