/* ==========================================================================
   LogiWorx — Design System & Styles
   Hand-crafted, dependency-free. Navy ink + teal accent, minimalist.
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  /* Brand */
  --ink:        #0A1B2E;   /* deep navy — primary text & dark surfaces */
  --ink-2:      #102B45;
  --ink-3:      #1B3A57;

  --brand:      #11B5C5;   /* teal-cyan — primary accent */
  --brand-600:  #0E97A5;
  --brand-700:  #0B7C88;
  --brand-50:   #E7FAFC;
  --brand-100:  #CDF3F7;

  --indigo:     #4F6BFF;   /* secondary accent for gradients */

  --success:    #16A34A;
  --success-50: #E9F8EF;
  --warn:       #E8920C;
  --warn-50:    #FDF3E2;
  --danger:     #E24545;
  --danger-50:  #FCECEC;

  /* Neutrals */
  --paper:      #FFFFFF;
  --bg:         #F6F9FB;
  --bg-2:       #EEF3F7;
  --line:       #E4EBF1;
  --line-2:     #D6E0E8;
  --muted:      #5C6F80;
  --muted-2:    #8294A3;

  /* Typography */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system,
                  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system,
                  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --r-sm: 9px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 27, 46, .06), 0 1px 3px rgba(10, 27, 46, .05);
  --shadow:    0 6px 18px rgba(10, 27, 46, .08), 0 2px 6px rgba(10, 27, 46, .05);
  --shadow-lg: 0 24px 60px rgba(10, 27, 46, .14), 0 8px 24px rgba(10, 27, 46, .08);
  --ring: 0 0 0 4px rgba(17, 181, 197, .18);

  /* Layout */
  --sidebar-w: 268px;
  --maxw: 1180px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ----- Utilities ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.text-grad {
  background: linear-gradient(100deg, var(--brand) 0%, var(--indigo) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 12px 20px; border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(17,181,197,.32); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(17,181,197,.40); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Sidebar (the "side menu")
   ========================================================================== */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  position: fixed; inset: 0 auto 0 0; z-index: 60;
  display: flex; flex-direction: column;
  background: var(--ink);
  color: #cdd9e4;
  padding: 26px 20px 22px;
  border-right: 1px solid rgba(255,255,255,.06);
  overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 8px; }

.brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 22px; }
.brand .logo { width: 38px; height: 38px; flex-shrink: 0; }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: #fff; letter-spacing: -.02em; }
.brand .wordmark span { color: var(--brand); }

/* Brand logo image (replaces the wordmark/icon across the site) */
.brand-logo { height: 30px; width: auto; display: block; }
.topbar .brand-logo { height: 25px; }
.auth-brand .brand-logo { height: 34px; }
.app-side .brand-logo { height: 27px; }
.footer-logo { height: 30px; margin-bottom: 2px; }

.nav-label {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); padding: 18px 12px 8px; font-weight: 600;
}
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 11px; color: #b7c6d4;
  font-weight: 500; font-size: .95rem; transition: background .18s, color .18s, transform .18s;
}
.nav a svg { width: 19px; height: 19px; opacity: .85; flex-shrink: 0; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.active { background: linear-gradient(100deg, rgba(17,181,197,.20), rgba(79,107,255,.14)); color: #fff; }
.nav a.active svg { opacity: 1; color: var(--brand); }

.sidebar-spacer { flex: 1 1 auto; min-height: 18px; }

.sidebar-cta { display: flex; flex-direction: column; gap: 10px; padding: 6px 6px 0; }
.login-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  color: #eaf1f6; font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  transition: background .18s, border-color .18s, transform .18s;
}
.login-link:hover { background: rgba(255,255,255,.10); border-color: rgba(17,181,197,.5); transform: translateY(-1px); }
.login-link .dot { display: inline-flex; align-items: center; gap: 9px; }
.login-link svg { width: 18px; height: 18px; color: var(--brand); }

.sidebar-foot { padding: 16px 12px 0; font-size: .8rem; color: var(--muted-2); }
.sidebar-foot a { color: #aebccb; }
.sidebar-foot a:hover { color: var(--brand); }

/* mobile topbar (hidden on desktop) */
.topbar { display: none; }
.scrim { display: none; }

/* main column */
.main { flex: 1 1 auto; margin-left: var(--sidebar-w); min-width: 0; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { position: relative; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-head h1, .section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 16px 0 14px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

/* ----- Meet the team ----- */
.team-hero { padding-top: 84px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin-inline: auto; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-avatar { width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: #fff; margin-bottom: 20px; background-image: linear-gradient(140deg, rgba(255,255,255,.24), rgba(0,0,0,.18)); box-shadow: var(--shadow); }
.team-card h3 { font-size: 1.22rem; }
.team-role { color: var(--brand-700); font-weight: 600; font-size: .9rem; font-family: var(--font-display); margin: 5px 0 12px; }
.team-card p { color: var(--muted); font-size: .95rem; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* ----- Our clients ----- */
.client-feature { max-width: 720px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.client-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.client-feature-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.client-logo { width: 66px; height: 66px; border-radius: 18px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; background-image: linear-gradient(140deg, rgba(255,255,255,.24), rgba(0,0,0,.2)); box-shadow: var(--shadow); }
.client-feature-head h3 { font-size: 1.26rem; line-height: 1.22; margin-bottom: 9px; }
.client-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.client-badge { font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); background: var(--success-50); color: var(--success); display: inline-flex; align-items: center; gap: 7px; }
.client-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2.2s infinite; }
.client-since { font-size: .84rem; color: var(--muted); font-weight: 600; }
.client-desc { color: var(--ink-2); font-size: 1.02rem; line-height: 1.68; }
.client-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.client-tags span { font-family: var(--font-display); font-size: .76rem; font-weight: 600; padding: 7px 13px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.client-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--font-display); font-weight: 600; color: var(--brand-700); font-size: .92rem; }
.client-link:hover { color: var(--brand); }
.client-link svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .client-feature { padding: 26px; } .client-feature-head { flex-direction: column; align-items: flex-start; gap: 14px; } }
.bg-soft { background: var(--bg); }
.bg-soft-2 { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 72px 0 64px; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.65rem); line-height: 1.04; margin: 22px 0 20px; }
.hero p.lede { font-size: 1.18rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 34px; }
.hero-meta .hm { display: flex; flex-direction: column; }
.hero-meta .hm b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.hero-meta .hm span { font-size: .86rem; color: var(--muted); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 9px; border-radius: var(--r-pill);
  background: var(--brand-50); color: var(--brand-700);
  font-weight: 600; font-size: .82rem; border: 1px solid var(--brand-100);
}
.badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ----- Hero dashboard mockup ----- */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.mock-top { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fbfdfe; }
.mock-top .dots { display: flex; gap: 6px; }
.mock-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.mock-top .tab { margin-left: 8px; font-size: .8rem; color: var(--muted); font-family: var(--font-display); font-weight: 600; }
.mock-top .tab b { color: var(--ink); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; background: #fff; }
.kpi .k-label { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.kpi .k-val { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; margin-top: 4px; }
.kpi .k-trend { font-size: .72rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; }
.k-up { color: var(--success); } .k-down { color: var(--danger); }
.kpi.accent { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); border-color: transparent; }
.kpi.accent .k-label { color: #9fb3c4; } .kpi.accent .k-val { color: #fff; }

.mock-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.panel h5 { font-family: var(--font-display); font-size: .82rem; color: var(--ink); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.panel h5 .tag { font-size: .68rem; color: var(--muted); font-weight: 500; }

/* mini chart */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.chart .bar { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--bg-2); position: relative; transition: height .6s cubic-bezier(.2,.8,.2,1); }
.chart .bar.on { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-700) 100%); }
.chart .bar.ind { background: linear-gradient(180deg, var(--indigo) 0%, #3a4fd0 100%); }

/* audit rows */
.audit-list { display: flex; flex-direction: column; gap: 9px; }
.audit-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.audit-row .ico { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.ico.warn { background: var(--warn-50); color: var(--warn); }
.ico.ok { background: var(--success-50); color: var(--success); }
.ico.dan { background: var(--danger-50); color: var(--danger); }
.audit-row .meta { flex: 1; min-width: 0; }
.audit-row .meta b { font-weight: 600; font-size: .8rem; display: block; color: var(--ink); }
.audit-row .meta span { color: var(--muted); font-size: .72rem; }
.audit-row .amt { font-family: var(--font-display); font-weight: 700; font-size: .82rem; }
.chip {
  font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: var(--r-pill);
  letter-spacing: .02em; text-transform: uppercase;
}
.chip-warn { background: var(--warn-50); color: var(--warn); }
.chip-ok { background: var(--success-50); color: var(--success); }
.chip-dan { background: var(--danger-50); color: var(--danger); }
.chip-info { background: var(--brand-50); color: var(--brand-700); }
.chip-mut { background: var(--bg-2); color: var(--muted); }

/* floating tags on hero mock */
.float-tag {
  position: absolute; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 12px; padding: 10px 13px;
  display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600;
}
.float-tag .ft-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.float-a { top: -18px; right: -14px; animation: floaty 5s ease-in-out infinite, popIn .6s ease .8s backwards; }
.float-b { bottom: -16px; left: -18px; animation: floaty 6s ease-in-out infinite .6s, popIn .6s ease 1s backwards; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ==========================================================================
   Logo / carrier strip
   ========================================================================== */
.trust { padding: 34px 0 10px; }
.trust-band {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px;
  max-width: 900px; margin-inline: auto; padding: 18px 30px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.trust-ic {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700);
}
.trust-ic svg { width: 23px; height: 23px; }
.trust-band p { font-size: 1.05rem; color: var(--ink-2); font-weight: 500; }
.trust-band p strong { color: var(--brand-700); font-family: var(--font-display); font-weight: 700; }
.region-tags { display: flex; gap: 8px; }
.region-tags span {
  font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .05em;
  padding: 6px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2); color: var(--ink-2);
}

/* ==========================================================================
   Feature cards
   ========================================================================== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; overflow: hidden;
}
.feat-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--indigo)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feat-card:hover::after { transform: scaleX(1); }
.feat-ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--brand-100);
  color: var(--brand-700); margin-bottom: 18px;
}
.feat-ic svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.feat-card p { color: var(--muted); font-size: .96rem; }
.feat-card .tagline { display: inline-block; margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--brand-700); }
.feat-card.span-2 { grid-column: span 2; }

/* feature list bullets */
.f-bullets { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.f-bullets li { display: flex; gap: 9px; font-size: .9rem; color: var(--ink-2); align-items: flex-start; }
.f-bullets li svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .num {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 16px;
}
.step:nth-child(1) .num { background: var(--ink); }
.step:nth-child(2) .num { background: var(--ink-2); }
.step:nth-child(3) .num { background: var(--brand-700); }
.step:nth-child(4) .num { background: var(--brand); }
.step h4 { font-size: 1.08rem; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: .92rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; left: 58px; right: -14px; height: 2px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

/* ==========================================================================
   Split feature (role-based portal)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-visual {
  border-radius: var(--r-lg); padding: 30px; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, var(--ink-3) 0%, var(--ink) 55%);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.split-visual::before {
  content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(17,181,197,.5), transparent 70%); filter: blur(8px);
}
.role-card {
  position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 16px 18px; display: flex; gap: 14px; align-items: center;
  margin-bottom: 12px; backdrop-filter: blur(6px); transition: transform .2s, background .2s;
}
.role-card:hover { transform: translateX(6px); background: rgba(255,255,255,.10); }
.role-card .r-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(17,181,197,.18); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.role-card h5 { font-family: var(--font-display); font-size: 1rem; color: #fff; }
.role-card p { font-size: .84rem; color: #a9bccb; margin-top: 2px; }
.role-card .r-arrow { margin-left: auto; color: #6f879b; }

.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .cl-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex-shrink: 0; }
.check-list b { font-family: var(--font-display); display: block; font-size: 1rem; }
.check-list span { color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 48px; position: relative; overflow: hidden; }
.stats-band::before { content:""; position:absolute; inset:0; background:
  radial-gradient(60% 90% at 85% 10%, rgba(79,107,255,.22), transparent 60%),
  radial-gradient(50% 80% at 10% 90%, rgba(17,181,197,.20), transparent 60%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); display: block; line-height: 1; }
.stat b .unit { color: var(--brand); }
.stat span { color: #a9bccb; font-size: .94rem; display: block; margin-top: 8px; }

/* ==========================================================================
   Document intelligence band
   ========================================================================== */
.docint { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.doc-flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.doc-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .86rem; box-shadow: var(--shadow-sm); }
.doc-pill svg { width: 18px; height: 18px; color: var(--brand-700); }
.doc-arrow { color: var(--muted-2); }
.doc-result { margin-top: 22px; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 16px; background: #fff; }
.doc-result .dr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.doc-result .dr-head b { font-family: var(--font-display); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.kv .kv-i span { font-size: .72rem; color: var(--muted); display: block; }
.kv .kv-i b { font-size: .92rem; font-family: var(--font-body); }
.lang-chip { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--brand-700); }

/* ==========================================================================
   Demo form
   ========================================================================== */
.demo-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.demo-points { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.demo-points li { display: flex; gap: 13px; align-items: flex-start; }
.demo-points .dp-ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.demo-points b { font-family: var(--font-display); display: block; }
.demo-points span { font-size: .9rem; color: #a9bccb; }

.form-card { background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff; transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; animation: fadeUp .5s ease; }
.form-success .fs-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--success-50); color: var(--success); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.input-err { border-color: var(--danger) !important; }
.err-msg { color: var(--danger); font-size: .76rem; display: none; }
.err-msg.show { display: block; }

/* ==========================================================================
   CTA + Footer
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
  border-radius: var(--r-xl); padding: 60px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 120% at 50% 0%, rgba(17,181,197,.25), transparent 60%); }
.cta-band h2 { position: relative; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { position: relative; color: #b9c8d6; max-width: 520px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

footer { background: var(--ink); color: #9fb3c4; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.footer-brand .wordmark span { color: var(--brand); }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 280px; }
.footer-col h5 { font-family: var(--font-display); color: #fff; font-size: .92rem; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col a { display: block; padding: 6px 0; font-size: .92rem; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .18s, transform .18s; }
.footer-socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Hero — entrance choreography + ambient motion (top of page)
   ========================================================================== */
/* soft animated aurora glow behind the hero */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  inset: -24% -12% auto -12%; height: 620px;
  background:
    radial-gradient(38% 60% at 18% 28%, rgba(17,181,197,.20), transparent 62%),
    radial-gradient(42% 55% at 82% 16%, rgba(79,107,255,.17), transparent 62%),
    radial-gradient(34% 46% at 60% 76%, rgba(17,181,197,.12), transparent 60%);
  filter: blur(8px);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(-2%, 0, 0) scale(1);     opacity: .9; }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.08); opacity: 1;  }
  100% { transform: translate3d(0, 2%, 0) scale(1.04);   opacity: .82; }
}

/* staggered fade-up for hero copy */
.hero-copy > * { animation: heroUp .7s cubic-bezier(.2,.8,.25,1) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .14s; }
.hero-copy > *:nth-child(3) { animation-delay: .23s; }
.hero-copy > *:nth-child(4) { animation-delay: .32s; }
.hero-copy > *:nth-child(5) { animation-delay: .41s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* animated headline gradient sweep */
.hero .text-grad { background-size: 220% auto; animation: gradShift 7s ease-in-out infinite; }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* dashboard mock slides + scales in */
.hero .mock { animation: mockIn .9s cubic-bezier(.2,.8,.25,1) .28s backwards; }
@keyframes mockIn { from { opacity: 0; transform: translateY(28px) scale(.965); } to { opacity: 1; transform: none; } }

/* chart bars grow from the baseline */
.hero .chart .bar { transform-origin: bottom; animation: growBar .8s cubic-bezier(.2,.85,.3,1) backwards; }
.hero .chart .bar:nth-child(1) { animation-delay: .55s; }
.hero .chart .bar:nth-child(2) { animation-delay: .63s; }
.hero .chart .bar:nth-child(3) { animation-delay: .71s; }
.hero .chart .bar:nth-child(4) { animation-delay: .79s; }
.hero .chart .bar:nth-child(5) { animation-delay: .87s; }
.hero .chart .bar:nth-child(6) { animation-delay: .95s; }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@keyframes popIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --sidebar-w: 0px; }
  .main { margin-left: 0; }

  /* sidebar becomes a slide-in drawer */
  .sidebar { transform: translateX(-100%); transition: transform .3s cubic-bezier(.4,0,.2,1); width: 280px; }
  body.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(10,27,46,.5); z-index: 55; backdrop-filter: blur(2px); }

  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 50; padding: 12px 18px;
    background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  }
  .topbar .brand { padding: 0; }
  .topbar .wordmark { font-size: 1.18rem; color: var(--ink); }
  .topbar .logo { width: 32px; height: 32px; }
  .burger { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
  .burger svg { width: 22px; height: 22px; }

  .hero-grid, .split, .docint, .demo-wrap { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card.span-2 { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .step::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding: 64px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card.span-2 { grid-column: span 1; }
  .steps, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .mock-split { grid-template-columns: 1fr; }
  .cta-band, .stats-band { padding: 36px 24px; }
  .form-card { padding: 22px; }
  .hero-meta { gap: 18px 24px; }
  .float-tag { display: none; }
  .footer-bottom { flex-direction: column; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   PORTAL — Login (split screen)
   ========================================================================== */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }

.auth-brand {
  position: relative; overflow: hidden; color: #fff; padding: 48px 56px;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 100% at 100% 0%, var(--ink-3) 0%, var(--ink) 55%);
}
.auth-brand::before { content:""; position:absolute; inset:0;
  background: radial-gradient(40% 60% at 15% 100%, rgba(17,181,197,.28), transparent 60%),
              radial-gradient(40% 60% at 100% 20%, rgba(79,107,255,.20), transparent 60%); }
.auth-brand .brand { padding: 0; position: relative; }
.auth-brand .wordmark { color: #fff; }
.auth-brand .wordmark span { color: var(--brand); }
.auth-brand .ab-mid { position: relative; margin-top: auto; }
.auth-brand h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.12; margin-bottom: 14px; }
.auth-brand p.sub { color: #b9c8d6; font-size: 1.04rem; max-width: 420px; }
.auth-points { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.auth-points li { display: flex; align-items: center; gap: 12px; font-size: .96rem; color: #d6e2ec; }
.auth-points .ap-ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(17,181,197,.18); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.auth-quote { position: relative; margin-top: 38px; padding: 18px 20px; border-left: 3px solid var(--brand); background: rgba(255,255,255,.05); border-radius: 0 12px 12px 0; }
.auth-quote p { font-style: italic; color: #e6eef4; }
.auth-quote span { display: block; margin-top: 8px; font-size: .85rem; color: #93a8ba; }

.auth-form-wrap { display: grid; place-items: center; padding: 40px 28px; background: var(--bg); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .top-link { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.auth-card .top-link a { font-size: .88rem; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.auth-card .top-link a:hover { color: var(--brand-700); }
.auth-card h1 { font-size: 1.85rem; margin-bottom: 8px; }
.auth-card .lede { color: var(--muted); margin-bottom: 28px; }
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.pw-toggle:hover { color: var(--ink); background: var(--bg-2); }
.pw-toggle svg { width: 19px; height: 19px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; }
.auth-row label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); cursor: pointer; }
.auth-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand); }
.auth-row a { color: var(--brand-700); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: .82rem; margin: 4px 0; }
.auth-divider::before, .auth-divider::after { content:""; flex: 1; height: 1px; background: var(--line); }
.sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-weight: 600; transition: box-shadow .2s, transform .15s; }
.sso-btn:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.auth-foot { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 22px; }
.auth-foot a { color: var(--brand-700); font-weight: 600; }
.auth-legal { text-align: center; font-size: .76rem; color: var(--muted-2); margin-top: 28px; }
.auth-legal a { color: var(--muted); text-decoration: underline; }

@media (max-width: 880px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-form-wrap { min-height: 100vh; }
}

/* ==========================================================================
   PORTAL — Launch / redirect page (hands off to the real portal app)
   ========================================================================== */
.launch {
  min-height: 100vh; display: grid; place-items: center; padding: 32px; text-align: center;
  color: #e6eef4; position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, var(--ink-3) 0%, var(--ink) 60%);
}
.launch::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(45% 55% at 50% 0%, rgba(17,181,197,.22), transparent 60%); }
.launch-card { position: relative; max-width: 470px; width: 100%; }
.launch .brand-logo { height: 38px; margin: 0 auto 34px; }
.spinner {
  width: 48px; height: 48px; margin: 0 auto 26px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.14); border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.launch h1 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.launch .connecting p { color: #a9bccb; font-size: 1.02rem; }
.launch-actions { margin-top: 28px; }
.launch .hint {
  display: none; margin-top: 22px; font-size: .92rem; color: #c8d6e1; text-align: left;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 15px 17px; line-height: 1.55;
}
.launch .hint strong { color: #fff; }
.launch .hint code { background: rgba(255,255,255,.14); padding: 2px 7px; border-radius: 6px; font-size: .86em; }
.launch .hint a { color: var(--brand); font-weight: 600; }
.launch .hint a:hover { text-decoration: underline; }
.launch .back { display: inline-block; margin-top: 24px; color: #8aa0b3; font-size: .9rem; font-weight: 600; }
.launch .back:hover { color: var(--brand); }
/* state: portal unreachable */
.launch.portal-down .connecting { display: none; }
.launch.portal-down .hint { display: block; }
.launch.portal-down h1.down-title { display: block; }
.launch h1.down-title { display: none; color: #fff; margin-bottom: 6px; }

/* ==========================================================================
   PORTAL — Dashboard (mock app shell)
   ========================================================================== */
.app { display: flex; min-height: 100vh; background: var(--bg); }
.app-side {
  width: 240px; flex-shrink: 0; background: var(--ink); color: #b7c6d4;
  display: flex; flex-direction: column; padding: 22px 16px;
  position: fixed; inset: 0 auto 0 0; overflow-y: auto;
}
.app-side .brand { padding: 4px 8px 22px; }
.app-side .nav a { font-size: .92rem; }
.app-main { flex: 1; margin-left: 240px; min-width: 0; }
.app-top {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding: 14px 30px; display: flex; align-items: center; gap: 16px;
}
.app-top h1 { font-size: 1.15rem; }
.app-search { margin-left: auto; position: relative; }
.app-search input { padding: 9px 14px 9px 36px; border: 1px solid var(--line-2); border-radius: var(--r-pill); width: 240px; background: var(--bg); }
.app-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted-2); }
.app-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--indigo)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.app-content { padding: 30px; }
.app-greeting { margin-bottom: 22px; }
.app-greeting h2 { font-size: 1.5rem; }
.app-greeting p { color: var(--muted); }

.app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.app-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.app-kpi .k-label { font-size: .78rem; color: var(--muted); font-weight: 600; }
.app-kpi .k-val { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; margin-top: 6px; }
.app-kpi .k-trend { font-size: .78rem; font-weight: 600; margin-top: 4px; }

.app-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-head h3 { font-size: 1.05rem; }
.card-head a { font-size: .82rem; color: var(--brand-700); font-weight: 600; }

table.audit { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.audit th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 0 10px 10px; }
table.audit td { padding: 12px 10px; border-top: 1px solid var(--line); }
table.audit tr:hover td { background: var(--bg); }
table.audit .inv { font-weight: 600; }
table.audit .amt { font-family: var(--font-display); font-weight: 700; }

.rate-row { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.rate-row.best { border-color: var(--success); background: var(--success-50); }
.rate-row .c-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; }
.rate-row .cdot { width: 10px; height: 10px; border-radius: 50%; }
.rate-row .c-eta { font-size: .76rem; color: var(--muted); }
.rate-row .c-price { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.rate-row .badge-best { font-size: .66rem; font-weight: 700; text-transform: uppercase; color: var(--success); background: #fff; border: 1px solid var(--success); padding: 3px 8px; border-radius: var(--r-pill); }

.doc-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.doc-item:last-child { border-bottom: none; }
.doc-item .di-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex-shrink: 0; }
.doc-item .di-meta { flex: 1; min-width: 0; }
.doc-item .di-meta b { display: block; font-weight: 600; }
.doc-item .di-meta span { font-size: .76rem; color: var(--muted); }

.app-burger { display: none; }
.demo-banner { background: var(--warn-50); color: #8a5a06; border: 1px solid #f3d9a8; border-radius: var(--r-sm); padding: 10px 14px; font-size: .82rem; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.demo-banner svg { width: 16px; height: 16px; flex-shrink: 0; }

@media (max-width: 1024px) {
  .app-side { transform: translateX(-100%); transition: transform .3s; z-index: 60; width: 260px; }
  body.app-nav-open .app-side { transform: none; box-shadow: var(--shadow-lg); }
  body.app-nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(10,27,46,.5); z-index: 55; }
  .app-main { margin-left: 0; }
  .app-burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
  .app-burger svg { width: 20px; height: 20px; }
  .app-kpis { grid-template-columns: repeat(2, 1fr); }
  .app-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .app-kpis { grid-template-columns: 1fr; }
  .app-search input { width: 150px; }
  .app-content, .app-top { padding-inline: 18px; }
  table.audit .hide-sm { display: none; }
}
