:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --text: #14213d;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #d97706;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--blue); text-decoration: none; }
.hero { background: radial-gradient(circle at top left, #dbeafe, transparent 28%), linear-gradient(135deg, #ffffff 0%, #eff6ff 100%); border-bottom: 1px solid var(--line); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.logo { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,99,235,.28); }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; padding: 56px 0 70px; align-items: center; }
h1 { font-size: clamp(40px, 5vw, 68px); line-height: .95; margin: 18px 0; letter-spacing: -.045em; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.7; max-width: 680px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { border: 0; background: var(--blue); color: #fff; padding: 13px 18px; border-radius: 13px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px rgba(37,99,235,.24); }
.button:hover { background: var(--blue-dark); }
.button.secondary { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 45px rgba(15,23,42,.06); }
.mock { padding: 22px; }
.flow-row { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; background: #fff; }
.icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eff6ff; color: #1d4ed8; font-weight: 900; }
.main { padding: 28px 0 60px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { padding: 20px; }
.stat strong { display: block; font-size: 30px; margin-top: 8px; }
.label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 20px; }
.sidebar { padding: 16px; height: max-content; position: sticky; top: 16px; }
.sidebar a { display: block; color: var(--text); padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.sidebar a.active, .sidebar a:hover { background: #eff6ff; color: #1d4ed8; }
.panel { padding: 20px; margin-bottom: 18px; }
.panel h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.02em; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.status { display: inline-flex; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 800; background: #e2e8f0; color: #334155; }
.status.published, .status.active { background: #dcfce7; color: #166534; }
.status.failed, .status.inactive { background: #fee2e2; color: #991b1b; }
.status.queued, .status.running { background: #fef3c7; color: #92400e; }
.form { max-width: 440px; margin: 60px auto; padding: 28px; }
.input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px; font-size: 16px; margin: 8px 0 16px; }
.alert { border-radius: 14px; padding: 13px 15px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; margin-bottom: 16px; }
@media (max-width: 900px) { .hero-grid, .layout, .grid { grid-template-columns: 1fr; } .sidebar { position: static; } }
