:root {
  --brand: #2563eb;
  --ink: #182033;
  --muted: #667085;
  --panel: #ffffff;
  --line: #e7ecf5;
  --soft: #f7f9fc;
  --accent: #10b981;
}

body {
  color: var(--ink);
  background: #fbfcfe;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.navbar-brand span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(16,185,129,.09)), #fff;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: 0; }
.hero-panel, .app-card, .stat-card, .auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}
.section-pad { padding: 76px 0; }
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--brand);
  font-weight: 800;
}
.app-shell { display: flex; min-height: calc(100vh - 64px); }
.app-sidebar {
  width: 252px;
  flex: 0 0 252px;
  background: #101828;
  padding: 22px 14px;
}
.app-sidebar a {
  display: block;
  color: #d0d5dd;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
}
.app-sidebar a:hover, .app-sidebar a.active {
  background: #1d2939;
  color: #fff;
  text-decoration: none;
}
.app-main { flex: 1; min-width: 0; padding: 28px; }
.stat-card { padding: 18px; }
.stat-card strong { display: block; font-size: 1.8rem; }
.form-control, .form-select, .btn { border-radius: 8px; }
.btn-primary { background: var(--brand); border-color: var(--brand); }
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-lg-end; }
.flow-step {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 6px;
}
.flow-arrow { color: var(--brand); font-weight: 700; }
.editable-section textarea { min-height: 130px; }
@media (max-width: 991px) {
  .app-shell { display: block; }
  .app-sidebar { width: 100%; display: flex; overflow-x: auto; gap: 8px; }
  .app-sidebar a { white-space: nowrap; }
  .app-main { padding: 20px 14px; }
}

