/* Omni: matte black ground, glossy black surfaces, one cool-white accent. */
:root {
  --bg: #0e0e0f; --bg-grain: #121214; --card: #141416; --card-hi: #1c1c1f; --line: #26262a; --line-hi: #3a3a40;
  --text: #ecedf0; --muted: #9a9ca3; --faint: #6b6d74; --accent: #e9eef6;
  --green: #3ddc84; --yellow: #f2c94c; --red: #ff5c5c;
  --radius: 14px; --shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 10px 30px rgba(0,0,0,.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body { background-image: radial-gradient(1200px 600px at 20% -10%, #1a1a1d 0%, transparent 60%); min-height: 100vh; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(14,14,15,.82); backdrop-filter: blur(12px);
       border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .14em; color: var(--text); }
.brand img { width: 34px; height: 34px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 4px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-size: 14px; }
.nav a.on, .nav a:hover { color: var(--text); background: var(--card-hi); text-decoration: none; }
.top form { margin: 0; }
.chip { font-size: 12px; border: 1px solid var(--line-hi); background: var(--card); color: var(--muted); border-radius: 999px;
        padding: 5px 11px; cursor: pointer; white-space: nowrap; }
.chip.on { color: #111; background: var(--yellow); border-color: var(--yellow); font-weight: 600; }
.demo-banner { background: var(--yellow); color: #111; text-align: center; font-size: 13px; font-weight: 600; padding: 4px; letter-spacing: .08em; }

h1 { font-size: 26px; margin: 26px 0 4px; letter-spacing: -.01em; }
h2 { font-size: 16px; margin: 0 0 10px; color: var(--text); }
.sub { color: var(--muted); margin: 0 0 22px; }

/* cards */
.grid { display: grid; gap: 14px; align-items: start; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: linear-gradient(180deg, var(--card-hi), var(--card) 40%); border: 1px solid var(--line);
        border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
a.card { display: block; color: var(--text); transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--line-hi); transform: translateY(-1px); text-decoration: none; }
.card .name { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; }
.card .tag { color: var(--faint); font-size: 13px; margin: 2px 0 10px; }
.card .head { color: var(--text); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot.green { background: var(--green); box-shadow: 0 0 8px rgba(61,220,132,.6); }
.dot.yellow { background: var(--yellow); box-shadow: 0 0 8px rgba(242,201,76,.6); }
.dot.red { background: var(--red); box-shadow: 0 0 8px rgba(255,92,92,.6); }

.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 18px; }
.kpi .v { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.kpi .l { color: var(--muted); font-size: 13px; }
.kpi .h { color: var(--faint); font-size: 12px; }

.section { margin-bottom: 18px; }
.tbl { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--faint); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
     padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 10px; border-bottom: 1px solid #1d1d20; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.note { color: var(--faint); font-size: 13px; margin: 10px 0 0; }
.empty { color: var(--faint); font-size: 14px; padding: 6px 0; }
.svc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }

.svc > span { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
            display: inline-flex; gap: 6px; align-items: center; }
.err { border-color: #5a2a2a; color: #ffb4b4; }
.ok { border-color: #1f4d33; color: #a8f0c6; }

/* forms */
input, textarea, select { width: 100%; background: #0b0b0c; color: var(--text); border: 1px solid var(--line-hi);
       border-radius: 10px; padding: 10px 12px; font: inherit; }
input:focus, textarea:focus { outline: 2px solid #4a4f58; border-color: transparent; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
.btn { display: inline-block; background: linear-gradient(180deg, #f4f6fa, #c9ced6); color: #0b0b0c; font-weight: 650;
       border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer; font: inherit; font-weight: 650; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-hi); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.check { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; margin: 8px 0; }
.check input { width: auto; }

/* landing */
.hero { text-align: center; padding: 70px 0 40px; }
.hero img { width: min(300px, 70vw); filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); margin: 18px 0 8px; letter-spacing: .02em; }
.hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto 26px; }
.foot { color: var(--faint); font-size: 13px; text-align: center; padding: 40px 0; }
.narrow { max-width: 460px; margin: 60px auto; }
.mid { max-width: 760px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) {
  .top .wrap { height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .nav { order: 3; flex-basis: 100%; }
  h1 { font-size: 22px; }
  .kpi .v { font-size: 20px; }
}

.kpis.inline { grid-template-columns: repeat(3, 1fr); }
