:root {
  --bg: #eef1f5; --panel: #fff; --ink: #22303c; --muted: #6a7684;
  --line: #dfe4ea; --accent: #0a6ed1; --accent2: #6a5acd;
  --ok: #107e3e; --shadow: 0 2px 8px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.6 -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink);
  background: linear-gradient(160deg, #e9eef6 0%, #eef1f5 60%); min-height: 100vh; }

.bar { display: flex; align-items: center; gap: 14px; padding: 14px 26px; background: var(--panel);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.bar .brand { font-weight: 800; letter-spacing: .4px; font-size: 17px; }
.bar .brand span { color: var(--accent); }
.bar .spacer { flex: 1; }
.bar .who { color: var(--muted); font-size: 14px; }

.hero { max-width: 860px; margin: 8vh auto 0; padding: 0 24px; text-align: center; }
.hero h1 { font-size: 34px; margin: 0 0 10px; }
.hero p { color: var(--muted); font-size: 17px; margin: 0 auto 26px; max-width: 620px; }

.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; padding: 11px 22px;
  border-radius: 9px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.ghost { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.btn.small { padding: 6px 14px; font-size: 14px; }

.wrap { max-width: 1000px; margin: 40px auto; padding: 0 24px; }
.wrap h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 0 0 16px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 20px; min-height: 148px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease; position: relative; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.tile .icon { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  font-size: 22px; color: #fff; background: var(--accent); margin-bottom: 14px; }
.tile.ocr .icon { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.tile .t-title { font-weight: 700; font-size: 17px; }
.tile .t-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tile.locked { opacity: .55; cursor: not-allowed; pointer-events: none; }
.tile .lock { position: absolute; top: 16px; right: 16px; font-size: 13px; color: var(--muted); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 30px; max-width: 460px; margin: 12vh auto; text-align: center; }
.center { min-height: 70vh; display: grid; place-items: center; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
