/* ════════════════════════════════════════════════════════════════
   M365 Guardian — "Nedscaper / Pragmatic Trust" design system
   Light-first, calm cobalt-on-white, navy anchor bands, soft depth,
   rounded geometry, Voxel iconography. Tokens centralized in :root.
   ════════════════════════════════════════════════════════════════ */
:root {
  /* Surfaces & ink */
  --canvas: #ffffff;
  --canvas-soft: #f6f8fc;
  --surface: #ffffff;
  --surface-tint: #eef3fb;
  --ink: #0a1a33;
  --ink-muted: #51617a;
  --ink-subtle: #8593a8;

  /* Navy anchor */
  --navy-deep: #060f22;
  --navy-base: #0b1b33;
  --navy-elevated: #13294b;
  --on-navy: #eef3fb;
  --on-navy-muted: #9db0cb;
  --navy-border: rgba(255, 255, 255, 0.10);

  /* Accent & brand spectrum */
  --accent: #2d6ff7;
  --accent-bright: #4684ff;
  --accent-deep: #1b52cc;
  --accent-tint: #eaf1fe;
  --accent-glow: rgba(45, 111, 247, 0.18);
  --voxel-violet: #6e63f2;
  --voxel-cyan: #38c6e8;

  /* Semantic */
  --secure: #1fb46b; --secure-tint: #e6f7ef;
  --attention: #f5a524; --attention-tint: #fdf2dd;
  --alert: #ee4d3a; --alert-tint: #fde7e4;

  /* Borders */
  --border: #e4eaf2;
  --border-strong: #d2dbe8;
  --border-accent: rgba(45, 111, 247, 0.35);

  /* Shadows — soft, large, navy-tinted */
  --shadow-card: 0 1px 2px rgba(10,26,51,0.04), 0 8px 24px rgba(10,26,51,0.06);
  --shadow-card-hover: 0 2px 4px rgba(10,26,51,0.05), 0 16px 40px rgba(10,26,51,0.10);
  --shadow-voxel: 0 16px 34px rgba(45,111,247,0.26);
  --shadow-accent: 0 2px 8px rgba(45,111,247,0.25), 0 8px 24px rgba(45,111,247,0.20);

  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3 { margin: 0; }
.muted { color: var(--ink-muted); }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Accessible focus rings everywhere */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(45,111,247,0.55);
  border-radius: 8px;
}

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-subtle); margin: 0 0 10px;
}
.gradient-text { color: var(--ink); } /* headlines stay crisp & solid in this system */

/* ───────── Background: bright, airy, quietly lit ───────── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--canvas); }
.bg-halo {
  position: absolute; inset: 0;
  background: radial-gradient(60% 48% at 50% -6%, var(--accent-glow) 0%, rgba(255,255,255,0) 70%);
}
.bg-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(var(--ink) 1px, transparent 1px),
                    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 75%);
}

/* ───────── App shell ───────── */
.app { max-width: 1200px; margin: 0 auto; padding: 0 28px 64px; }

.topbar { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 24px; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  background: linear-gradient(145deg, var(--accent) 0%, var(--voxel-violet) 60%, var(--voxel-cyan) 115%);
  display: grid; place-items: center; font-size: 21px; color: #fff;
  box-shadow: var(--shadow-voxel);
}
.brand h1 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.brand-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-muted); }
.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.updated { font-size: 12px; color: var(--ink-subtle); }

.badge {
  font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--surface-tint); border: 1px solid var(--border); color: var(--ink-muted);
}
.badge.mock { color: #8a5e0c; background: var(--attention-tint); border-color: rgba(245,165,36,0.3); }
.badge.live { color: #0e7a47; background: var(--secure-tint); border-color: rgba(31,180,107,0.3); }
.badge.writes-on { color: #c0392b; background: var(--alert-tint); border-color: rgba(238,77,58,0.3); }
.badge.writes-off { color: var(--ink-muted); }

.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-card); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--voxel-violet)); color: #fff; font-size: 11px; font-weight: 700; }
.user-name { font-size: 12.5px; font-weight: 600; color: var(--ink); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signout { border: none; background: transparent; color: var(--ink-subtle); font-size: 13px; padding: 2px 6px; border-radius: 6px; }
.signout:hover { color: var(--ink); background: var(--surface-tint); }

/* ───────── Buttons ───────── */
.btn {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--surface-tint); border-color: var(--border-accent); color: var(--accent-deep); }
.btn:active { transform: scale(0.99); }
.btn-primary {
  background: var(--accent); border: 1px solid transparent; color: #fff; box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--accent-bright); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(45,111,247,0.3), 0 12px 30px rgba(45,111,247,0.24); }
.btn-primary:active { background: var(--accent-deep); transform: scale(0.99); }
.btn-lg { padding: 13px 22px; font-size: 14px; border-radius: var(--radius); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn-spin { display: inline-block; }
.btn.loading .btn-spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────── Cards ───────── */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* ───────── Hero ───────── */
.hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; margin-bottom: 20px; }
.hero-score { display: flex; align-items: center; gap: 32px; }
.ring {
  width: 138px; height: 138px; border-radius: 50%; position: relative; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--ring-color, var(--accent)) calc(var(--pct,0)*1%), var(--border) 0);
  transition: background 0.9s var(--ease);
}
.ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-card); }
.ring-center { position: relative; text-align: center; z-index: 1; }
.ring-value { display: block; font-size: 42px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.ring-label { font-size: 10px; color: var(--ink-subtle); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.hero-meta h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.hero-meta p { margin: 8px 0 16px; max-width: 46ch; color: var(--ink-muted); }
.status-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; display: inline-flex; gap: 7px; align-items: center; border: 1px solid transparent; }
.chip.pass { background: var(--secure-tint); color: #0e7a47; border-color: rgba(31,180,107,0.25); }
.chip.warn { background: var(--attention-tint); color: #8a5e0c; border-color: rgba(245,165,36,0.25); }
.chip.fail { background: var(--alert-tint); color: #c0392b; border-color: rgba(238,77,58,0.25); }
.chip.na   { background: var(--surface-tint); color: var(--ink-muted); }

.sev-bars { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.sev-row { display: grid; grid-template-columns: 78px 1fr 26px; align-items: center; gap: 12px; }
.sev-name { font-size: 13px; font-weight: 600; text-transform: capitalize; color: var(--ink-muted); }
.sev-track { height: 8px; background: var(--surface-tint); border-radius: 999px; overflow: hidden; }
.sev-fill { height: 100%; border-radius: 999px; width: 0; transition: width 0.8s var(--ease); }
.sev-fill.critical { background: var(--alert); }
.sev-fill.high { background: #f5715f; }
.sev-fill.medium { background: var(--attention); }
.sev-fill.low { background: var(--accent); }
.sev-count { font-size: 13px; font-weight: 700; text-align: right; }

/* ───────── Service cards w/ Voxel tiles ───────── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.svc-card { display: flex; gap: 18px; align-items: flex-start; cursor: pointer; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--border-strong); }
.svc-card:hover .svc-link { color: var(--accent-deep); }
.svc-card:hover .svc-link .arr { transform: translateX(4px); }
.voxel {
  width: 66px; height: 66px; border-radius: var(--radius); flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--accent) 0%, var(--voxel-violet) 58%, var(--voxel-cyan) 120%);
  box-shadow: var(--shadow-voxel);
  animation: voxelFloat 7s ease-in-out infinite;
}
.svc-card:nth-child(2) .voxel { animation-delay: -2.3s; }
.svc-card:nth-child(3) .voxel { animation-delay: -4.6s; }
.voxel svg { width: 32px; height: 32px; stroke: #fff; stroke-width: 1.8; fill: none; }
@keyframes voxelFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
.svc-info { flex: 1; min-width: 0; }
.svc-info h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.svc-line { font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; }
.svc-meter { height: 7px; background: var(--surface-tint); border-radius: 999px; overflow: hidden; margin: 14px 0 10px; }
.svc-meter-fill { display: block; height: 100%; border-radius: 999px; transition: width 0.8s var(--ease); }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.svc-score { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.svc-score small { font-size: 12px; font-weight: 600; color: var(--ink-subtle); }
.svc-link { font-size: 12.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; transition: color 0.2s var(--ease); }
.svc-link.clear { color: var(--secure); }
.svc-link .arr { transition: transform 0.2s var(--ease); }

/* ───────── Controls ───────── */
.controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search, .select {
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px 13px; font-size: 13px;
  background: var(--surface); color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.search { min-width: 230px; }
.search::placeholder { color: var(--ink-subtle); }
.search:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.select { cursor: pointer; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 3px; }
.seg-btn { border: none; background: transparent; padding: 7px 13px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink-muted); transition: all 0.2s var(--ease); }
.seg-btn:hover { color: var(--ink); }
.seg-btn.active { background: var(--accent-tint); color: var(--accent-deep); }
.result-count { font-size: 12.5px; color: var(--ink-subtle); }

/* ───────── Table ───────── */
.table-card { padding: 0; overflow: hidden; }
.checks { width: 100%; border-collapse: collapse; }
.checks thead th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-subtle); font-weight: 600; padding: 15px 22px; border-bottom: 1px solid var(--border);
  background: var(--canvas-soft);
}
.checks tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s var(--ease); }
.checks tbody tr:last-child { border-bottom: none; }
.checks tbody tr:hover { background: var(--canvas-soft); cursor: pointer; }
.checks td { padding: 15px 22px; vertical-align: middle; }
.check-title { font-weight: 600; color: var(--ink); }
.check-id { font-size: 11px; color: var(--ink-subtle); margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; text-transform: capitalize; border: 1px solid transparent; }
.pill.pass { background: var(--secure-tint); color: #0e7a47; border-color: rgba(31,180,107,0.25); }
.pill.warn { background: var(--attention-tint); color: #8a5e0c; border-color: rgba(245,165,36,0.25); }
.pill.fail { background: var(--alert-tint); color: #c0392b; border-color: rgba(238,77,58,0.25); }
.pill.na, .pill.manual { background: var(--surface-tint); color: var(--ink-muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot.pass { background: var(--secure); } .dot.warn { background: var(--attention); }
.dot.fail { background: var(--alert); } .dot.na, .dot.manual { background: var(--ink-subtle); }
.sev-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.sev-tag.critical { color: var(--alert); } .sev-tag.high { color: #d6452f; }
.sev-tag.medium { color: #b9791a; } .sev-tag.low { color: var(--ink-subtle); }
.val-cell { font-size: 12.5px; color: var(--ink-muted); }
.val-cell .arrow { color: var(--ink-subtle); margin: 0 6px; }
.col-status { width: 96px; } .col-svc, .col-sev, .col-base { width: 1%; white-space: nowrap; }
.col-svc { color: var(--ink-muted); } .col-base { color: var(--ink-subtle); font-size: 12.5px; }
.chev { color: var(--ink-subtle); font-size: 17px; transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
tr:hover .chev { transform: translateX(3px); color: var(--accent); }
.empty { padding: 48px; text-align: center; color: var(--ink-muted); }

/* ───────── Footer (navy anchor band) ───────── */
.foot {
  margin-top: 30px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-base), var(--navy-deep));
  color: var(--on-navy-muted); padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.06);
}
.foot-tagline { color: var(--on-navy); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.foot-sub { font-size: 12.5px; margin-top: 4px; }

/* ───────── Drawer ───────── */
.drawer-overlay { position: fixed; inset: 0; background: rgba(10,26,51,0.32); backdrop-filter: blur(3px); z-index: 40; animation: fade 0.25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: 500px; max-width: 93vw; z-index: 50;
  background: var(--canvas);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(10,26,51,0.18); overflow-y: auto;
  animation: slidein 0.3s var(--ease);
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.drawer-close { position: absolute; top: 18px; right: 18px; border: 1px solid var(--border); background: var(--surface); width: 32px; height: 32px; border-radius: 10px; font-size: 13px; color: var(--ink-muted); transition: all 0.2s var(--ease); }
.drawer-close:hover { color: var(--ink); background: var(--surface-tint); }
.drawer-body { padding: 32px 30px 56px; }
.d-sev { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.d-title { font-size: 23px; font-weight: 600; margin: 10px 0 4px; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.d-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 24px; }
.d-section { margin-bottom: 24px; }
.d-section h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-subtle); margin: 0 0 10px; font-weight: 600; }
.d-section p { margin: 0; color: var(--ink-muted); }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--ink-subtle); }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); }
.code {
  background: var(--surface-tint); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11.5px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word; overflow-x: auto;
}
.code .method { color: var(--accent-deep); font-weight: 700; }
.code .url { color: #0e7a47; }
.remediate-box { background: var(--canvas-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.remediate-box.none { opacity: 0.9; }
.remediate-box strong { font-size: 14px; color: var(--ink); }
.note { background: var(--attention-tint); color: #8a5e0c; border: 1px solid rgba(245,165,36,0.25); border-radius: 10px; padding: 11px 13px; font-size: 12.5px; margin-top: 12px; }
.apply-row { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.btn-apply { background: var(--accent); color: #fff; border: none; padding: 11px 18px; border-radius: var(--radius-sm); font-weight: 600; box-shadow: var(--shadow-accent); transition: all 0.2s var(--ease); }
.btn-apply:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-apply:active { background: var(--accent-deep); transform: scale(0.99); }
.btn-apply:disabled { background: var(--ink-subtle); box-shadow: none; transform: none; }
.btn-ghost { background: var(--surface); border: 1px solid var(--border-strong); color: var(--ink); padding: 11px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.btn-ghost:hover { background: var(--surface-tint); border-color: var(--border-accent); color: var(--accent-deep); }
.apply-hint { font-size: 12px; color: var(--ink-muted); }
.apply-hint code { background: var(--surface-tint); padding: 1px 5px; border-radius: 4px; font-family: ui-monospace, monospace; }
.confirm-text { font-size: 13px; font-weight: 600; color: var(--alert); }

/* ───────── Login screen ───────── */
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.login-card {
  position: relative; max-width: 470px; width: 100%; text-align: center;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 42px 38px;
  box-shadow: var(--shadow-card-hover); animation: rise 0.5s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.login-mark { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px; display: grid; place-items: center; font-size: 29px; color: #fff;
  background: linear-gradient(150deg, var(--accent) 0%, var(--voxel-violet) 58%, var(--voxel-cyan) 120%); box-shadow: var(--shadow-voxel);
  animation: voxelFloat 7s ease-in-out infinite; }
.login-title { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--ink); }
.login-sub { color: var(--ink-muted); font-size: 14px; line-height: 1.65; margin: 0 auto 26px; max-width: 40ch; }
.login-card .btn-primary { width: 100%; justify-content: center; }
.ms-logo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 16px; height: 16px; }
.ms-logo span { display: block; }
.ms-logo span:nth-child(1) { background: #f25022; } .ms-logo span:nth-child(2) { background: #7fba00; }
.ms-logo span:nth-child(3) { background: #00a4ef; } .ms-logo span:nth-child(4) { background: #ffb900; }
.login-err { color: var(--alert); font-size: 12.5px; margin: 14px 0 0; }
.login-scopes { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--border); text-align: left; display: flex; flex-direction: column; gap: 12px; }
.login-scopes li { font-size: 12.5px; color: var(--ink-muted); padding-left: 24px; position: relative; }
.login-scopes li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ───────── Toast ───────── */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--navy-base); color: var(--on-navy); padding: 12px 20px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; z-index: 80;
  box-shadow: 0 12px 40px rgba(10,26,51,0.28); animation: rise 0.3s var(--ease);
}
.toast.ok { background: #0e7a47; color: #fff; }
.toast.err { background: #c0392b; color: #fff; }

/* ───────── Reveal on scroll ───────── */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }

/* ───────── Responsive ───────── */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .hero-score { flex-direction: column; text-align: center; }
  .hero-meta p { margin-left: auto; margin-right: auto; }
  .status-chips { justify-content: center; }
  .col-base, .col-val { display: none; }
}
@media (max-width: 560px) {
  .app { padding: 0 16px 56px; }
  .hero-meta h2 { font-size: 25px; }
  .col-svc { display: none; }
  .foot { flex-direction: column; align-items: flex-start; }
}

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  .voxel, .login-mark { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.05ms !important; }
}
