/* ============================================================
   GovConnect — Premium metallic patriotic design system
   Standalone build (no framework). Brand: Compliance Authority Group.
   ============================================================ */

:root {
  /* Surfaces */
  --page: #0b0d10;
  --panel: #15181d;
  --panel-2: #16191F;
  --panel-line: rgba(255, 255, 255, 0.07);
  --panel-line-strong: rgba(255, 255, 255, 0.12);

  /* Brand */
  --navy: #13233f;
  --navy-field-1: #1d3459;
  --navy-field-2: #0a1428;
  --accent: #7a0e22;   /* Burgundy */
  --accent-bright: #96142f;
  --accent-deep: #6b0c1e;
  --crimson: #c8102e;
  --gold: #d8b45a;
  --gold-soft: #fbeeb8;

  /* Text */
  --text: #e8ecf1;
  --text-strong: #f2f5f9;
  --muted: #8b96a3;
  --faint: #6a7480;
  --faintest: #59636e;

  /* Signals */
  --ok: #1f9d55;
  --watch: #e8a33d;
  --urgent: #e23b2e;

  --radius: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--page);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Metallic text ---- */
.gc-silver {
  background: linear-gradient(180deg, #ffffff 0%, #d7dde5 38%, #97a1b0 58%, #e9edf3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.45));
}
.gc-maroon {
  background: linear-gradient(180deg, #d0607a 0%, #96142f 46%, #56091a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.45));
}
.wordmark { font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: -0.02em; }

.mono { font-family: 'IBM Plex Mono', monospace; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}
.display { font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: -0.02em; color: var(--text-strong); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 11px; font-size: 14px; font-weight: 600;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 20px rgba(122,14,34,.35);
  border: 1px solid rgba(122,14,34,.5);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 26px rgba(122,14,34,.45); }
.btn-ghost { border: 1px solid var(--panel-line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, #a67c2e);
  color: #3a2c07; font-weight: 700; box-shadow: 0 8px 20px rgba(216,180,90,.25);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-block { width: 100%; }

.hairline { display: flex; align-items: center; gap: 14px; }
.hairline .line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold)); }
.hairline .line.rev { background: linear-gradient(90deg, var(--gold), transparent); }
.hairline .label { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; }

/* ---- Routing views ---- */
.view { display: none; }
.view.active { display: block; animation: gcFade .4s ease; }
@keyframes gcFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes gcPop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ============================================================
   MARKETING LANDING
   ============================================================ */
.mk-wrap { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.mk-nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px); background: rgba(11,13,16,.72);
  border-bottom: 1px solid var(--panel-line);
}
.mk-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mk-logo { display: flex; align-items: center; gap: 11px; }
.mk-logo img { height: 42px; width: auto; filter: drop-shadow(0 3px 7px rgba(0,0,0,.55)); }
.mk-logo .wordmark { font-size: 20px; }
.mk-links { display: flex; align-items: center; gap: 30px; }
.mk-links a { font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .15s; }
.mk-links a:hover { color: var(--text); }
.mk-nav-cta { display: flex; align-items: center; gap: 12px; }

.mk-hero { position: relative; overflow: hidden; padding: 74px 0 40px; }
.mk-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(80% 55% at 50% 0%, #1c2129 0%, #0e1013 55%, #0b0d10 100%);
  z-index: -1;
}
.mk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.mk-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid rgba(216,180,90,.3); background: rgba(216,180,90,.06);
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.mk-h1 { font-size: 58px; line-height: 1.03; margin: 22px 0 0; }
.mk-sub { font-size: 17.5px; color: var(--muted); max-width: 520px; margin: 20px 0 0; line-height: 1.6; }
.mk-hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.mk-hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.mk-stat .n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 30px; }
.mk-stat .l { font-size: 12px; color: var(--faint); margin-top: 2px; }
.mk-hero-art { display: flex; align-items: center; justify-content: center; position: relative; }
.mk-hero-art::after {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,14,34,.28), transparent 65%); filter: blur(20px); z-index: -1;
}
.mk-hero-art img { height: 440px; width: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }

.mk-logos { border-top: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line); padding: 22px 0; margin-top: 30px; }
.mk-logos-inner { display: flex; align-items: center; justify-content: center; gap: 42px; flex-wrap: wrap; }
.mk-logos-inner .lbl { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .18em; color: var(--faintest); text-transform: uppercase; }
.mk-logos-inner .org { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: #6f7a86; letter-spacing: .01em; }

.mk-section { padding: 82px 0; }
.mk-section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.mk-section-head .display { font-size: 38px; margin: 12px 0 0; }
.mk-section-head p { color: var(--muted); font-size: 16px; margin: 14px 0 0; }

.mk-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mk-card {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .18s ease, border-color .18s ease;
}
.mk-card:hover { transform: translateY(-4px); border-color: rgba(216,180,90,.35); }
.mk-card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 30% 15%, #23282f, #14171c);
  border: 1px solid var(--panel-line-strong); margin-bottom: 18px;
}
.mk-card .ico svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.7; }
.mk-card h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--text-strong); margin: 0 0 8px; }
.mk-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }

.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mk-split-panel {
  background: radial-gradient(90% 90% at 50% 10%, #1a1f26, #101216); border: 1px solid var(--panel-line);
  border-radius: var(--radius); padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.mk-steps { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mk-steps li { display: flex; gap: 15px; align-items: flex-start; }
.mk-steps .num { font-family: 'IBM Plex Mono', monospace; color: var(--gold); font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.mk-steps b { color: var(--text-strong); font-weight: 600; }
.mk-steps span.d { color: var(--muted); font-size: 14px; }

/* mini dashboard preview */
.mini-dash { display: flex; flex-direction: column; gap: 12px; }
.mini-row { display: flex; gap: 12px; }
.mini-kpi { flex: 1; background: var(--panel-2); border: 1px solid var(--panel-line); border-radius: 12px; padding: 14px; }
.mini-kpi .k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mini-kpi .v { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; margin-top: 5px; color: var(--text-strong); }
.mini-kpi .v.teal { color: #4ec2c2; }
.mini-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 10px; overflow: hidden; }
.mini-bar > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-bright), var(--gold)); }

/* pricing */
.mk-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; position: relative;
}
.price-card.feat { border-color: rgba(216,180,90,.4); background: radial-gradient(100% 80% at 50% 0%, #1c1a15 0%, #15181d 55%); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.price-card .tier { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.price-card .amt { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 42px; margin: 14px 0 2px; color: var(--text-strong); }
.price-card .amt small { font-size: 15px; color: var(--faint); font-weight: 500; }
.price-card .desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; min-height: 40px; }
.price-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text); }
.price-card li svg { width: 16px; height: 16px; stroke: var(--ok); fill: none; stroke-width: 2.2; flex-shrink: 0; margin-top: 2px; }
.tag-pop { position: absolute; top: -12px; right: 22px; background: linear-gradient(180deg,var(--gold-soft),var(--gold)); color: #3a2c07; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }

.mk-cta-band {
  background: radial-gradient(90% 140% at 50% 0%, #182c4d 0%, #0e1d38 70%);
  border: 1px solid rgba(216,180,90,.28); border-radius: 24px; padding: 56px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.mk-cta-band .display { font-size: 36px; }
.mk-cta-band p { color: #aebbcf; font-size: 16px; margin: 14px auto 28px; max-width: 520px; }

.mk-footer { border-top: 1px solid var(--panel-line); padding: 40px 0 30px; margin-top: 40px; }
.mk-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.mk-footer .mono { font-size: 10px; letter-spacing: .14em; color: var(--faintest); text-transform: uppercase; }

/* ============================================================
   AUTH
   ============================================================ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-brand {
  position: relative; overflow: hidden; padding: 54px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(85% 90% at 50% 0%, #1c2129 0%, #12151a 55%, #0b0d10 100%);
  border-right: 1px solid var(--panel-line);
}
.auth-brand-art { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; text-align: center; }
.auth-brand-art img { height: 340px; width: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.auth-brand-art .quote { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--text-strong); margin-top: 18px; line-height: 1.2; max-width: 380px; }
.auth-brand-art .qs { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 380px; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px; background: var(--page); }
.auth-box { width: 100%; max-width: 400px; }
.auth-box .mk-logo { justify-content: center; margin-bottom: 30px; }
.auth-box h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 27px; letter-spacing: -.02em; color: var(--text-strong); margin: 0; text-align: center; }
.auth-box .lead { color: var(--muted); font-size: 14px; text-align: center; margin: 8px 0 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 7px; letter-spacing: .02em; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--panel-line-strong); color: var(--text); font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #5c6672; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,180,90,.14); }
.field input.err, .field select.err { border-color: var(--urgent); box-shadow: 0 0 0 3px rgba(226,59,46,.14); }
.field .msg { font-size: 11.5px; color: var(--urgent); margin-top: 6px; display: none; }
.field .msg.show { display: block; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; font-size: 12.5px; }
.auth-row a { color: var(--gold); }
.auth-check { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.auth-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 22px; }
.auth-alt a { color: var(--gold); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--panel-line); }
.auth-back { position: absolute; top: 28px; left: 28px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.auth-back:hover { color: var(--text); }

/* ============================================================
   APP SHELL
   ============================================================ */
.app { display: flex; min-height: 100vh; background: #f2f4f6; color: var(--navy); }
.app-side {
  width: 252px; flex-shrink: 0; background: linear-gradient(180deg, #14171c 0%, #0e1013 100%);
  display: flex; flex-direction: column; padding: 20px 16px 18px; color: #e8ecf1; position: sticky; top: 0; height: 100vh;
}
.app-side .brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 16px; border-bottom: 1px solid rgba(255,255,255,.07); cursor: pointer; }
.app-side .brand img { height: 50px; width: auto; margin: -4px -3px; filter: drop-shadow(0 3px 7px rgba(0,0,0,.55)); }
.app-side .brand .wordmark { font-size: 18px; }
.app-side .brand .tag { font-family: 'IBM Plex Mono', monospace; font-size: 8px; letter-spacing: .13em; color: var(--faint); text-transform: uppercase; }
.nav { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; overflow-y: auto; }
.nav::-webkit-scrollbar { width: 0; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; cursor: pointer; transition: background .12s; }
.nav-item:hover { filter: brightness(1.25); }
.nav-item svg { width: 17px; height: 17px; flex-shrink: 0; stroke: #8b96a3; fill: none; stroke-width: 1.8; }
.nav-item .lab { display: block; font-size: 13px; font-weight: 600; color: #c6cdd6; line-height: 1.25; }
.nav-item .sub { display: block; font-size: 10px; color: var(--faint); line-height: 1.2; margin-top: 1px; }
.nav-item.active { background: linear-gradient(180deg, #96142f, #6b0c1e); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 4px 10px rgba(0,0,0,.3); }
.nav-item.active svg { stroke: #fff; }
.nav-item.active .lab { color: #fff; }
.nav-item.active .sub { color: rgba(255,255,255,.68); }
.nav-head { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .2em; color: #525c66; text-transform: uppercase; padding: 14px 12px 6px; }
.level-card {
  margin-top: auto; background: radial-gradient(120% 140% at 50% 0%, #182c4d 0%, #0e1d38 70%);
  border: 1px solid rgba(216,180,90,.32); border-radius: 14px; padding: 15px 15px 13px; display: flex; flex-direction: column; gap: 10px; cursor: pointer;
}
.level-card:hover { border-color: rgba(216,180,90,.6); }
.level-card .k { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.level-segs { display: flex; gap: 5px; }
.level-segs i { flex: 1; height: 5px; border-radius: 3px; }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-top {
  position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e3e9ea;
  padding: 14px 30px; display: flex; align-items: center; gap: 18px;
}
.app-search { flex: 1; max-width: 460px; position: relative; }
.app-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: #94a2ab; fill: none; stroke-width: 2; }
.app-search input { width: 100%; padding: 10px 14px 10px 38px; border-radius: 10px; border: 1px solid #dae1e5; background: #f7f9fa; font-size: 13.5px; color: var(--navy); }
.app-search input:focus { outline: none; border-color: var(--accent); background: #fff; }
.top-spacer { flex: 1; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #dae1e5; background: #fff; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: #f2f4f6; }
.icon-btn svg { width: 19px; height: 19px; stroke: #5b6675; fill: none; stroke-width: 1.9; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--urgent); border: 2px solid #fff; }
.avatar { display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 5px; border-radius: 10px; cursor: pointer; }
.avatar:hover { background: #f2f4f6; }
.avatar .circ { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--navy), #274472); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.avatar .nm { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.avatar .rl { font-size: 11px; color: #94a2ab; }

.app-body { padding: 26px 30px 40px; }
.screen { display: none; }
.screen.active { display: block; animation: gcFade .35s ease; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head .eyebrow { color: var(--accent); }
.page-head h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--navy); margin: 7px 0 0; }
.page-head .lead { color: #5b6675; font-size: 14px; margin-top: 6px; }
.head-actions { display: flex; gap: 10px; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid #e3e9ea; border-radius: 16px; padding: 20px 22px; box-shadow: 0 2px 8px rgba(19,35,63,.04); }
.kpi .k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #94a2ab; font-weight: 600; }
.kpi .v { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 30px; color: var(--navy); margin-top: 8px; line-height: 1; }
.kpi .d { font-size: 12px; margin-top: 8px; color: #5b6675; }
.kpi .d.up { color: var(--ok); } .kpi .d.warn { color: #c9821f; }

.grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.card { background: #fff; border: 1px solid #e3e9ea; border-radius: 16px; padding: 22px 24px; box-shadow: 0 2px 8px rgba(19,35,63,.04); }
.card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-h h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; color: var(--navy); margin: 0; }
.card-h a { font-size: 12.5px; color: var(--accent); font-weight: 600; cursor: pointer; }

.opp-row { display: grid; grid-template-columns: 46px 1fr auto auto auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid #eef1f3; }
.opp-row:last-child { border-bottom: none; }
.fit-badge { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15px; }
.opp-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.opp-sub { font-size: 12px; color: #94a2ab; margin-top: 2px; }
.opp-val { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy); }
.chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mini-btn { padding: 7px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 600; border: 1px solid #d9dfe4; background: #fff; color: #5b6675; }
.mini-btn:hover { background: #f2f4f6; border-color: #c2ccd2; }
.mini-btn.pri { background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep)); color: #fff; border-color: rgba(122,14,34,.5); }
.mini-btn.pri:hover { filter: brightness(1.08); }

.ring-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { transform: rotate(-90deg); }
.ring .rn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .rn b { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 38px; color: var(--navy); }
.ring .rn s { font-size: 11px; color: #94a2ab; text-decoration: none; }

.list-toolbar { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.fchip { padding: 8px 16px; border-radius: 9px; font-size: 13px; font-weight: 600; border: 1px solid #d9dfe4; background: #fff; color: #5b6675; }
.fchip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: start; }
.pcol { background: #fafbfc; border: 1px solid #e3e9ea; border-radius: 14px; padding: 12px; min-height: 120px; }
.pcol-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 2px; }
.pcol-h .t { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pcol-h .c { font-size: 11px; color: #94a2ab; font-weight: 600; }
.pcard { background: #fff; border: 1px solid #e8edef; border-left-width: 3px; border-radius: 9px; padding: 11px 12px; margin-bottom: 9px; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(19,35,63,.1); }
.pcard .nm { font-size: 12.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.pcard .mt { font-size: 11px; color: #94a2ab; margin-top: 5px; display: flex; justify-content: space-between; }

.stage-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 20px; }
.stile { border-radius: 14px; padding: 15px 16px; border: 1px solid; }
.stile .l { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stile .n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 24px; margin-top: 6px; }
.stile .v { font-size: 12px; color: #5b6675; margin-top: 2px; }

.domain-row { display: grid; grid-template-columns: 1.3fr 2fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eef1f3; }
.domain-row:last-child { border-bottom: none; }
.dname { font-weight: 600; font-size: 14px; color: var(--navy); }
.dbar { height: 8px; border-radius: 5px; background: #eef1f3; overflow: hidden; }
.dbar > i { display: block; height: 100%; border-radius: 5px; }

.alert-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid; margin-bottom: 10px; }
.alert-row .adot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.alert-row .at { font-weight: 600; font-size: 13.5px; color: var(--navy); }
.alert-row .am { font-size: 11px; font-weight: 700; letter-spacing: .04em; margin-top: 2px; }

.task-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid #eef1f3; }
.task-row:last-child { border-bottom: none; }
.checkbox { width: 22px; height: 22px; border-radius: 7px; border: 1px solid #c2ccd2; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all .12s; }
.checkbox.on { background: var(--ok); border-color: var(--ok); }
.checkbox svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 3; opacity: 0; }
.checkbox.on svg { opacity: 1; }
.task-lab { font-size: 14px; font-weight: 500; color: var(--navy); }
.task-lab.done { text-decoration: line-through; color: #94a2ab; }
.task-sub { font-size: 12px; color: #94a2ab; margin-top: 2px; }
.task-pts { font-family: 'IBM Plex Mono', monospace; font-size: 11px; margin-left: auto; color: #94a2ab; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #94a2ab; font-weight: 700; padding: 10px 12px; border-bottom: 1px solid #e3e9ea; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid #eef1f3; font-size: 13.5px; color: var(--navy); }
.tbl tr:last-child td { border-bottom: none; }

.integ-grid, .report-grid, .partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: #fff; border: 1px solid #e3e9ea; border-radius: 14px; padding: 20px; }
.tile h4 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy); margin: 0 0 4px; }
.tile p { font-size: 12.5px; color: #5b6675; margin: 0 0 16px; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.toggle { width: 40px; height: 22px; border-radius: 999px; position: relative; cursor: pointer; transition: background .15s; flex-shrink: 0; }
.toggle i { position: absolute; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }

.insight { background: radial-gradient(90% 100% at 0% 0%, #182c4d, #0e1d38); border: 1px solid rgba(216,180,90,.25); border-radius: 16px; padding: 24px; color: #e8ecf1; }
.insight .tag { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.insight h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; margin: 10px 0 8px; color: #fff; }
.insight p { font-size: 13.5px; color: #aebbcf; margin: 0 0 16px; line-height: 1.6; }
.insight .stat { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 30px; color: var(--gold); }
.insight .statl { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8fa5c4; }

/* drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(11,14,20,.5); z-index: 60; display: none; }
.drawer-scrim.open { display: block; animation: gcFade .2s; }
.drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 440px; background: #fff; z-index: 61; box-shadow: -20px 0 60px rgba(0,0,0,.25); transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-h { padding: 22px 26px; border-bottom: 1px solid #e3e9ea; display: flex; align-items: flex-start; justify-content: space-between; }
.drawer-b { padding: 24px 26px; overflow-y: auto; flex: 1; }
.drawer-f { padding: 18px 26px; border-top: 1px solid #e3e9ea; display: flex; gap: 10px; }
.dstat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.dstat .b { background: #f7f9fa; border: 1px solid #e8edef; border-radius: 12px; padding: 14px; }
.dstat .b .k { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #94a2ab; font-weight: 700; }
.dstat .b .v { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; color: var(--navy); margin-top: 5px; }

/* modal */
.modal-scrim { position: fixed; inset: 0; background: rgba(11,14,20,.55); z-index: 70; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-scrim.open { display: flex; animation: gcFade .2s; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 460px; padding: 28px 30px; animation: gcPop .25s ease; }
.modal h3 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; color: var(--navy); margin: 0 0 4px; }
.modal .msub { font-size: 13px; color: #5b6675; margin-bottom: 20px; }
.modal .field label { color: #5b6675; }
.modal .field input { background: #f7f9fa; border-color: #dae1e5; color: var(--navy); }
.modal .ferr { font-size: 12.5px; color: var(--urgent); margin: 4px 0 10px; display: none; }
.modal .ferr.show { display: block; }

/* walkthrough video modal */
.walkthrough-scrim {
  position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center;
  padding: 22px; background: rgba(11, 14, 20, .78); backdrop-filter: blur(10px); animation: gcFade .2s;
}
.walkthrough-scrim[hidden] { display: none; }
.walkthrough-card {
  position: relative; width: min(860px, 94vw); border: 1px solid rgba(216, 180, 90, .28); border-radius: 22px;
  background: radial-gradient(100% 100% at 50% 0%, #1c2129, #0b0d10 70%); box-shadow: 0 30px 90px rgba(0,0,0,.55);
  padding: 18px; animation: gcPop .25s ease;
}
.walkthrough-close {
  position: absolute; top: 10px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 999px;
  background: rgba(0,0,0,.42); color: #fff; font-size: 30px; line-height: 1;
}
.walkthrough-close:hover { background: rgba(255,255,255,.12); }
.walkthrough-card video {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 15px; background: #05070a; border: 1px solid var(--panel-line); display: block;
}
.walkthrough-note { margin: 12px 2px 0; color: #aebbcf; font-size: 13px; text-align: center; }
.walkthrough-note code { color: #fff; background: rgba(255,255,255,.08); border-radius: 6px; padding: 2px 6px; }

/* dropdowns */
.dd { position: absolute; top: 52px; right: 0; background: #fff; border: 1px solid #e3e9ea; border-radius: 14px; box-shadow: 0 20px 50px rgba(19,35,63,.2); width: 300px; z-index: 30; overflow: hidden; animation: gcPop .18s ease; }
.dd-h { padding: 14px 16px; border-bottom: 1px solid #eef1f3; font-weight: 700; font-size: 13px; color: var(--navy); }
.dd-item { padding: 12px 16px; border-bottom: 1px solid #eef1f3; cursor: pointer; display: flex; gap: 11px; align-items: flex-start; }
.dd-item:hover { background: #f7f9fa; }
.dd-item:last-child { border-bottom: none; }
.dd-item .qi { width: 30px; height: 30px; border-radius: 8px; background: #f2f4f6; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dd-item .qi svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.9; }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 12px; font-size: 13.5px; font-weight: 500; box-shadow: 0 16px 40px rgba(0,0,0,.35); z-index: 90; opacity: 0; pointer-events: none; transition: all .3s ease; display: flex; align-items: center; gap: 10px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .tk { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* responsive */
@media (max-width: 1080px) {
  .mk-hero-grid, .mk-split, .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .mk-features, .mk-pricing, .integ-grid, .report-grid, .partner-grid { grid-template-columns: 1fr; }
  .mk-hero-art { display: none; }
  .mk-h1 { font-size: 42px; }
  .grid-2 { grid-template-columns: 1fr; }
  .kpis, .stage-tiles { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .mk-links { display: none; }
}
