/* Base */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface2: #21262d;
  --border: #30363d;
  --accent: #00e5b8;
  --accent-dim: rgba(0, 229, 184, 0.12);
  --text: #f0f6fc;
  --text-muted: #8b949e;
  --text-dim: #484f58;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

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

/* Nav */
.nav { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.nav-tagline { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

/* Section base */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-eyebrow { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.section-headline { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); margin-bottom: 1.25rem; }
.section-lede { font-size: 1.05rem; color: var(--text-muted); max-width: 620px; line-height: 1.7; margin-bottom: 3rem; }

/* Hero */
.hero { padding: 5rem 0 4rem; border-bottom: 1px solid var(--border); }
.hero-content { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-eyebrow { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.hero-headline { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 1.5rem; }
.hero-lede { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; max-width: 480px; }

/* Schedule Board */
.schedule-board { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-family: var(--font-body); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.board-header { background: var(--surface2); padding: 0.75rem 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.board-title { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.board-status { font-size: 0.7rem; font-weight: 600; background: rgba(0,229,184,0.15); color: var(--accent); padding: 0.2rem 0.6rem; border-radius: 20px; letter-spacing: 0.05em; }
.board-columns { display: grid; grid-template-columns: 1fr 1fr; }
.board-col { padding: 1rem; border-right: 1px solid var(--border); }
.board-col:last-child { border-right: none; }
.col-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.75rem; }

.staff-card { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 0.75rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.staff-card.staff-maybe { opacity: 0.55; }
.staff-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.staff-info { flex: 1; min-width: 0; }
.staff-name { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.staff-meta { font-size: 0.65rem; color: var(--text-muted); }
.staff-score { font-size: 0.7rem; font-weight: 700; color: var(--accent); width: 28px; text-align: right; }

.shift-card { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 0.75rem; margin-bottom: 0.5rem; }
.shift-card.shift-urgent { border-color: var(--accent); background: var(--accent-dim); }
.shift-time { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.2rem; }
.shift-site { font-size: 0.8rem; font-weight: 500; color: var(--text); margin-bottom: 0.15rem; }
.shift-req { font-size: 0.65rem; color: var(--text-muted); }
.shift-match { font-size: 0.65rem; color: var(--accent); font-weight: 600; margin-top: 0.25rem; }

.board-action { padding: 0.75rem 1rem; border-top: 1px solid var(--border); background: var(--accent-dim); }
.action-row { display: flex; align-items: center; gap: 0.6rem; }
.action-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--bg); font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.action-text { font-size: 0.75rem; color: var(--text); }

/* Engine */
.engine { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.factors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.factor-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.factor-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.factor-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.factor-icon { margin-bottom: 1rem; }

/* Workflow */
.workflow { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.roles-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.role-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.role-badge { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 20px; margin-bottom: 1rem; }
.role-badge.role-admin { background: rgba(0,229,184,0.15); color: var(--accent); }
.role-badge.role-staff { background: rgba(99,110,250,0.15); color: #8b8ffc; }
.role-badge.role-client { background: rgba(249,135,85,0.15); color: #f98755; }
.role-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.role-features { list-style: none; }
.role-features li { font-size: 0.85rem; color: var(--text-muted); padding: 0.4rem 0; padding-left: 1rem; position: relative; line-height: 1.5; }
.role-features li::before { content: '—'; position: absolute; left: 0; color: var(--text-dim); }

/* Scenarios */
.scenarios { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.scenarios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.scenario-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.scenario-icon { margin-bottom: 1.25rem; }
.scenario-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.scenario-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* Closing */
.closing { padding: 6rem 0; text-align: center; }
.closing-headline { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); margin-bottom: 1rem; }
.closing-sub { font-size: 1.05rem; color: var(--text-muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--text); }
.footer-tagline { font-size: 0.75rem; color: var(--text-muted); }
.footer-copy { font-size: 0.75rem; color: var(--text-dim); }

/* Responsive */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .factors-grid { grid-template-columns: 1fr; }
  .roles-row { grid-template-columns: 1fr; }
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 0; }
  .hero-headline { font-size: 2rem; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .board-columns { grid-template-columns: 1fr; }
  .board-col { border-right: none; border-bottom: 1px solid var(--border); }
  .board-col:last-child { border-bottom: none; }
  .engine, .workflow, .scenarios { padding: 3rem 0; }
  .closing { padding: 4rem 0; }
}