:root {
  --bg: #0F1117;
  --bg-raised: #161923;
  --bg-card: #1C2030;
  --border: #2A2F40;
  --accent: #F59E0B;
  --accent-dim: rgba(245,158,11,0.15);
  --text: #F8F9FA;
  --text-muted: #8B95A8;
  --text-dim: #4A5568;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  line-height: 1.15;
}

/* ── Manifesto / Hero ── */
.manifesto {
  padding: 100px 24px 80px;
  background: var(--bg);
}

.manifesto-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.manifesto h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 780px;
}

.lede {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 52px;
  line-height: 1.7;
}

.proof-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: fit-content;
}

.proof-item {
  padding: 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.proof-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.proof-label {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Dashboard mockup */
.visual-block { width: 100%; }

.mock-shell {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.mock-dot.red { background: #FF5F57; }
.mock-dot.amber { background: #FFBD2E; }
.mock-dot.green { background: #28C840; }

.mock-title {
  margin-left: 8px;
  color: var(--text-muted);
  font-size: 12px;
}

.mock-body { display: flex; min-height: 340px; }

.mock-sidebar {
  width: 140px;
  border-right: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.sidebar-item {
  padding: 10px 16px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
}
.sidebar-item.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
  border-left: 2px solid var(--accent);
}

.mock-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-heading {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.mock-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(245,158,11,0.15);
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 3px 8px;
  border-radius: 20px;
}

.mock-shifts { display: flex; flex-direction: column; gap: 10px; }

.shift-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.shift-card.warning { border-color: rgba(245,158,11,0.4); }

.shift-time {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  width: 120px;
  flex-shrink: 0;
}

.shift-post {
  flex: 1;
  font-size: 13px;
}

.shift-guard {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-ok { color: #28C840; font-size: 11px; }
.status-urgent { color: var(--accent); font-size: 11px; font-weight: 600; }

.mock-incident {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.incident-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.incident-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.incident-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── How it works ── */
.how-it-works { padding: 80px 24px; background: var(--bg-raised); }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.how-it-works h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 60px;
  max-width: 640px;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  padding: 0 32px 0 0;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 28px;
  flex-shrink: 0;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-icon {
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Automations ── */
.automations { padding: 80px 24px; background: var(--bg); }

.automations h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 52px;
  max-width: 580px;
}

.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.auto-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.auto-icon-wrap {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.auto-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.auto-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Who it's for ── */
.who-for { padding: 80px 24px; background: var(--bg-raised); }

.who-for h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 52px;
  max-width: 560px;
}

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

.persona {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.persona-tag {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.persona h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.persona p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Closing ── */
.closing { padding: 100px 24px; background: var(--bg); }

.closing-statement { max-width: 780px; }

.closing h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.2;
}

.closing > .section-inner > .closing-statement > p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.65;
}

.closing-detail {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.closing-detail p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-note {
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .proof-row {
    flex-direction: column;
    width: 100%;
  }
  .proof-divider {
    width: 100%;
    height: 1px;
  }
  .proof-item { padding: 16px 20px; }
  .mock-sidebar { display: none; }
  .step { padding: 0; }
  .step-connector { display: none; }
  .steps-grid { gap: 40px; }
  .footer-inner { flex-direction: column; }
}