/* Kritiq audit platform — site styles.
   Crystal-blue / emerald palette from the logo. Three layouts:
     - public marketing (landing, verify)
     - auth (login)
     - admin app (dashboard, report)
*/
:root {
  --navy:        #0d3169;
  --navy-2:      #1a4a8a;
  --blue:        #2879d6;
  --blue-2:      #4aa8ff;
  --teal:        #20c4b5;
  --emerald:     #4ec96a;
  --emerald-2:   #2fa552;
  --crystal:     #eaf3fb;
  --crystal-2:   #d6e7f5;
  --ink:         #0a1626;
  --ink-2:       #2a3a55;
  --muted:       #6b7c93;
  --card:        rgba(255,255,255,0.86);
  --card-solid:  #ffffff;
  --line:        rgba(13,49,105,0.12);
  --line-2:      rgba(13,49,105,0.22);
  --shadow-sm:   0 2px 10px rgba(13,49,105,0.06);
  --shadow-md:   0 8px 28px rgba(13,49,105,0.10);
  --shadow-lg:   0 18px 48px rgba(13,49,105,0.16);
  --ok:          #2fa552;
  --warn:        #e69229;
  --danger:      #d23f3f;
  --grad-q:      linear-gradient(135deg, #4aa8ff 0%, #20c4b5 45%, #4ec96a 100%);
  --grad-cta:    linear-gradient(135deg, #0d3169 0%, #2879d6 60%, #20c4b5 100%);
  --grad-bg:     radial-gradient(1200px 600px at 12% -8%, #d6e7f5 0%, transparent 60%),
                 radial-gradient(900px 500px at 110% 10%, #cfeae3 0%, transparent 55%),
                 linear-gradient(180deg, #f3f8fd 0%, #eaf3fb 100%);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  background: var(--grad-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- topbar ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  min-height: 72px;
  background: linear-gradient(180deg, rgba(234,243,251,0.96), rgba(234,243,251,0.65));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .brand-lockup {
  /* The full Kritiq lockup: Q + KRITIQ wordmark + tagline.
     Locked to a fixed height; width follows the native aspect ratio.
     `object-fit: contain` guarantees no stretch / squash / crop. */
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
/* legacy class kept so older header markup still works */
.brand .brand-mark {
  height: 52px; width: auto; object-fit: contain; display: block;
}
.brand .b1, .brand .b2 { display: none; }   /* lockup already contains the wordmark + tagline */
.nav { display: flex; gap: 18px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 14px; }

.btn {
  border: 0; cursor: pointer; border-radius: 10px;
  padding: 10px 16px; font-weight: 600; font-size: 14px;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .08s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { color: white; background: var(--grad-cta); box-shadow: 0 8px 22px rgba(40,121,214,0.32); }
.btn-ghost   { background: var(--card-solid); border: 1px solid var(--line); color: var(--ink); }
.btn-danger  { background: var(--danger); color: white; }
.btn-block   { width: 100%; justify-content: center; padding: 12px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* =========================================================
   PUBLIC LANDING
   ========================================================= */
.hero {
  padding: 60px 24px 40px; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: 48px; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 14px; color: var(--navy); font-weight: 800;
}
.hero h1 .accent {
  background: var(--grad-q);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 17px; color: var(--ink-2); margin: 0 0 22px; }
.hero .actions { display: flex; gap: 10px; }
.hero-card {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(120% 100% at 100% 0%, rgba(78,201,106,0.45) 0%, transparent 55%),
              radial-gradient(120% 100% at 0% 100%, rgba(32,196,181,0.55) 0%, transparent 55%),
              linear-gradient(135deg, #0d3169 0%, #1a4a8a 60%, #2879d6 100%);
  color: white; padding: 28px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.10) 45%, transparent 60%);
  pointer-events: none;
}
.hero-mark {
  /* Subtle watermark — the crystalline Q ghosted behind the score */
  position: absolute; right: -36px; bottom: -36px;
  width: 220px; height: 220px;
  object-fit: contain;
  opacity: 0.18;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
.hero-card .label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.hero-card .num   { font-size: 56px; font-weight: 800; margin: 4px 0 6px; line-height: 1; }
.hero-card .row   { display: flex; justify-content: space-between; margin-top: 18px; gap: 14px; font-size: 13px; opacity: .9; }
.hero-card .badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.18); font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; }

.features {
  max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature {
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; box-shadow: var(--shadow-sm);
}
.feature .icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: white;
  background: var(--grad-cta); margin-bottom: 10px;
}
.feature h3 { font-size: 16px; margin: 0 0 6px; color: var(--navy); }
.feature p  { margin: 0; color: var(--ink-2); font-size: 14px; }

.footer { padding: 20px 24px; text-align: center; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line); }

/* =========================================================
   LOGIN
   ========================================================= */
.auth-wrap {
  min-height: calc(100vh - 70px);
  display: grid; place-items: center;
  padding: 40px 16px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 22px; margin: 0 0 6px; color: var(--navy); }
.auth-card p  { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; }
.input {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px;
}
.input label { font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.input input, .input textarea, .input select {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; font-size: 14px; font-family: inherit;
  outline: none; background: white; color: var(--ink);
}
.input input:focus, .input textarea:focus, .input select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,121,214,0.18); }
.error { color: var(--danger); font-size: 13px; margin: 6px 0 0; min-height: 18px; }

/* =========================================================
   ADMIN APP — dashboard
   ========================================================= */
.app {
  display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 70px);
}
.side {
  border-right: 1px solid var(--line); padding: 18px 14px;
  background: rgba(255,255,255,0.55); backdrop-filter: blur(8px);
}
.side a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600;
}
.side a.active, .side a:hover { background: rgba(40,121,214,0.10); color: var(--navy); }
.side a svg { width: 18px; height: 18px; }
.side .sec { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin: 14px 8px 6px; }

.main { padding: 24px; max-width: 1100px; }
.h-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.h-row h1 { margin: 0; color: var(--navy); font-size: 22px; }
.tabs { display: flex; gap: 6px; }
.tabs button {
  border: 0; background: var(--card-solid); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 13px;
  cursor: pointer; color: var(--ink-2);
}
.tabs button.active { background: var(--grad-cta); color: white; border-color: transparent; }

.card {
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 12px; }
.card-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
@media (max-width: 880px) { .grid-2 { grid-template-columns: 1fr; } }

.audit-area textarea {
  width: 100%; min-height: 360px; padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfdff;
  color: var(--ink); resize: vertical;
}
.audit-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.audit-meta .input { margin-bottom: 0; }

.dropzone {
  border: 2px dashed var(--line-2); border-radius: 14px; padding: 28px;
  text-align: center; color: var(--muted); font-size: 13px; background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.dropzone.over { border-color: var(--blue); background: rgba(40,121,214,0.06); color: var(--ink-2); }

.scan-bar {
  height: 4px; background: rgba(13,49,105,0.10); border-radius: 4px; overflow: hidden; margin-top: 10px;
}
.scan-bar::after {
  content: ""; display: block; height: 100%; width: 30%;
  background: var(--grad-q);
  animation: scanRun 1.2s ease-in-out infinite;
}
@keyframes scanRun { 0% { transform: translateX(-100%);} 100% { transform: translateX(340%);} }

.kpis { display: flex; gap: 6px; flex-wrap: wrap; }
.band {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 12px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor;
}
.band.a { color: var(--emerald-2); background: rgba(78,201,106,0.10); }
.band.b { color: var(--teal);      background: rgba(32,196,181,0.10); }
.band.c { color: var(--warn);      background: rgba(230,146,41,0.10); }
.band.d { color: var(--danger);    background: rgba(210,63,63,0.10); }

.vector { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 10px; }
.dim {
  text-align: center; padding: 10px 6px; border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f1f7fd);
  border: 1px solid var(--line);
}
.dim .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }
.dim .v { font-weight: 800; font-size: 18px; color: var(--navy); margin-top: 2px; }

.scorebox {
  border-radius: 16px; padding: 18px 20px; color: white;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(78,201,106,0.45) 0%, transparent 55%),
    radial-gradient(120% 100% at 0% 100%, rgba(32,196,181,0.55) 0%, transparent 55%),
    linear-gradient(135deg, #0d3169 0%, #1a4a8a 60%, #2879d6 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: var(--shadow-md);
}
.scorebox .lbl { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; opacity: .85; }
.scorebox .val { font-size: 44px; font-weight: 800; line-height: 1; margin-top: 4px; }
.scorebox .band-pill {
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 14px;
  padding: 4px 12px; border-radius: 999px; background: white; color: var(--navy);
}

.findings { width: 100%; border-collapse: collapse; }
.findings th, .findings td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.findings th { background: rgba(40,121,214,0.06); color: var(--ink-2); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.sev { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; color: white; }
.sev.CRITICAL { background: var(--danger); }
.sev.HIGH     { background: #e85a3b; }
.sev.MED      { background: var(--warn); }
.sev.LOW      { background: var(--teal); }
.sev.INFO     { background: var(--muted); }

.history-row {
  display: grid; grid-template-columns: 1fr 70px 100px 90px;
  align-items: center; gap: 10px;
  padding: 10px 6px; border-bottom: 1px solid var(--line);
}
.history-row:last-child { border-bottom: 0; }
.history-row .name { font-weight: 700; color: var(--ink); }
.history-row .meta { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.history-row a.open { color: var(--blue); font-weight: 600; font-size: 13px; }

/* =========================================================
   AUDIT-CONTRACT detail dashboard
   ========================================================= */
.wrap-wide { max-width: 1180px; margin: 0 auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; }

.id-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.id-left  { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 280px; }
.id-right { display: flex; align-items: center; gap: 8px; }
.id-avatar {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  color: white; font-weight: 800; font-family: 'JetBrains Mono', monospace; font-size: 16px;
  background: var(--grad-cta); box-shadow: var(--shadow-sm);
}
.id-avatar.band-a { background: linear-gradient(135deg, #4ec96a, #20c4b5); }
.id-avatar.band-b { background: linear-gradient(135deg, #20c4b5, #4aa8ff); }
.id-avatar.band-c { background: linear-gradient(135deg, #ffb454, #e69229); }
.id-avatar.band-d { background: linear-gradient(135deg, #ff6e6e, #d23f3f); }
.id-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(13,49,105,0.06); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.chip.chip-chain { background: rgba(40,121,214,0.10); color: var(--blue); border-color: rgba(40,121,214,0.20); }
.chip.chip-ok    { background: rgba(78,201,106,0.10); color: var(--emerald-2); border-color: rgba(78,201,106,0.20); }
.chip.chip-warn  { background: rgba(230,146,41,0.10); color: var(--warn); border-color: rgba(230,146,41,0.20); }

.hero-grid { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 14px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.scorebox.big {
  border-radius: 16px; padding: 22px; color: white;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(78,201,106,0.45) 0%, transparent 55%),
    radial-gradient(120% 100% at 0% 100%, rgba(32,196,181,0.55) 0%, transparent 55%),
    linear-gradient(135deg, #0d3169 0%, #1a4a8a 60%, #2879d6 100%);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.scorebox.big .lbl { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.scorebox.big .val { font-size: 54px; font-weight: 800; line-height: 1; margin-top: 4px; }
.scorebox.big .val small { font-size: 18px; opacity: .7; margin-left: 4px; }
.scorebox.big .band-pill {
  display: inline-block; margin-top: 8px;
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 14px;
  padding: 4px 12px; border-radius: 999px; background: white; color: var(--navy);
}
.scorebox.big .ring { flex-shrink: 0; }

.nrsm-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.nrsm {
  text-align: center; padding: 10px 6px; border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f1f7fd);
  border: 1px solid var(--line);
}
.nrsm .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--muted); }
.nrsm .v { font-weight: 800; font-size: 18px; color: var(--navy); margin-top: 2px; }

.check-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 720px) { .check-strip { grid-template-columns: repeat(2, 1fr); } }
.check-tile {
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.check-tile .big-num { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 22px; color: var(--navy); }
.check-tile .lbl { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.check-tile.ok     { border-left: 4px solid var(--ok); }
.check-tile.warn   { border-left: 4px solid var(--warn); }
.check-tile.danger { border-left: 4px solid var(--danger); }
.check-tile.neutral{ border-left: 4px solid var(--blue); }

.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }
.cat {
  display: grid; grid-template-columns: 28px 1fr auto;
  gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  background: white; border: 1px solid var(--line);
  font-size: 13px;
}
.cat .cat-tick {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; color: white; font-weight: 800; font-size: 13px;
}
.cat.ok       .cat-tick { background: linear-gradient(135deg, #4ec96a, #2fa552); }
.cat.warn     .cat-tick { background: linear-gradient(135deg, #ffb454, #e69229); }
.cat.risk     .cat-tick { background: linear-gradient(135deg, #ff6e6e, #d23f3f); }
.cat.danger   .cat-tick { background: linear-gradient(135deg, #ff6e6e, #d23f3f); }
.cat.neutral  .cat-tick { background: linear-gradient(135deg, #7a8aa3, #6b7c93); }
.cat .cat-name { font-weight: 700; color: var(--ink); }
.cat .cat-note { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.cat .cat-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  color: white; text-transform: uppercase; letter-spacing: .04em;
}
.cat.ok   .cat-status { background: var(--ok); }
.cat.warn .cat-status { background: var(--warn); }
.cat.risk .cat-status { background: var(--danger); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

table.kv { width: 100%; border-collapse: collapse; }
table.kv td { padding: 7px 6px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
table.kv td:first-child { color: var(--muted); width: 110px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
table.kv td.mono { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; word-break: break-all; }
table.kv tr:last-child td { border-bottom: 0; }

.band-pill.band-a { background: white; color: var(--emerald-2); }
.band-pill.band-b { background: white; color: var(--teal); }
.band-pill.band-c { background: white; color: var(--warn); }
.band-pill.band-d { background: white; color: var(--danger); }

/* =========================================================
   PUBLIC report viewer & verify
   ========================================================= */
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 24px; }
.verify-block {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  background: var(--card-solid); margin-top: 14px;
}
.verify-ok    { color: var(--ok); }
.verify-fail  { color: var(--danger); }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: white; padding: 10px 14px; border-radius: 10px;
  font-size: 13px; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: all .2s ease; z-index: 80;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 36px 18px; gap: 24px; }
  .features { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .side { display: flex; gap: 6px; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side a { padding: 8px 12px; }
  .side .sec { display: none; }
  .main { padding: 16px; }
  .history-row { grid-template-columns: 1fr 60px 80px; }
  .history-row .meta-chain { display: none; }
}

/* =========================================================
   PRICING PAGE
   ========================================================= */
.pricing-hero {
  max-width: 1100px; margin: 0 auto; padding: 56px 24px 32px; text-align: center;
}
.pricing-hero .hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal);
}
.pricing-hero h1 {
  font-size: 42px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy); margin: 14px 0 14px; font-weight: 800;
}
.pricing-hero .accent {
  background: var(--grad-q);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pricing-hero p {
  max-width: 780px; margin: 0 auto 18px; color: var(--ink-2); font-size: 16px;
}
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: 24px; color: var(--navy); margin: 28px 0 14px; font-weight: 800; letter-spacing: -0.01em;
}

.audit-scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .audit-scope { grid-template-columns: 1fr; } }
.scope h3 { font-size: 15px; color: var(--navy); margin: 0 0 8px; }
.scope ul { padding-left: 18px; margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.scope li { margin-bottom: 4px; }
.scope code { background: #f3f8fd; padding: 1px 6px; border-radius: 4px; font-size: 12px; }

.audit-types { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 880px) { .audit-types { grid-template-columns: 1fr; } }
.audit-type {
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; box-shadow: var(--shadow-sm);
}
.audit-type h3 { font-size: 18px; color: var(--navy); margin: 6px 0 4px; }
.audit-type h4 { font-size: 12px; color: var(--muted); margin: 14px 0 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.audit-type ul { padding-left: 18px; margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.audit-type-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-weight: 800;
  font-size: 10.5px; padding: 3px 10px; border-radius: 999px;
  color: white; letter-spacing: 0.08em;
}
.tag-blue    { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.tag-emerald { background: linear-gradient(135deg, var(--teal),  var(--emerald)); }

/* package cards */
.pkg-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch;
}
@media (max-width: 980px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg {
  position: relative;
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 22px 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pkg.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #4aa8ff, #20c4b5, #4ec96a) border-box;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.pkg-ribbon {
  position: absolute; top: -12px; left: 22px;
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 11px;
  padding: 5px 12px; border-radius: 999px; color: white; letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 4px 12px rgba(13,49,105,0.18);
}
.ribbon-featured { background: var(--grad-q); }
.ribbon-premium  { background: linear-gradient(135deg, #7a5af8, #4aa8ff); }
.pkg h3 { font-size: 18px; color: var(--navy); margin: 8px 0 4px; }
.pkg-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 800; color: var(--navy); margin: 8px 0 2px;
  letter-spacing: -0.02em;
}
.pkg-price .dash { color: var(--muted); font-weight: 400; margin: 0 4px; }
.pkg-tagline { margin: 0 0 14px; font-size: 13px; }
.pkg-list { padding-left: 18px; margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; flex: 1; }
.pkg-list li { margin-bottom: 4px; }
.pkg-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin: 14px 0 14px; padding: 10px 12px;
  background: linear-gradient(180deg, #fbfdff, #eef5fb);
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; color: var(--ink-2);
}
.pkg-meta b { color: var(--navy); font-family: 'JetBrains Mono', monospace; }

/* addons */
table.addons { width: 100%; border-collapse: collapse; }
table.addons th, table.addons td {
  padding: 12px 12px; border-bottom: 1px solid var(--line); font-size: 14px;
}
table.addons th {
  text-align: left; color: var(--muted); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
table.addons td.num { text-align: right; font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--emerald-2); }
table.addons tr:last-child td { border-bottom: 0; }

.callout {
  margin-top: 14px;
  background: linear-gradient(180deg, #fffaf0, #fff5e0);
  border: 1px solid #f3d99a; color: #6b4f00;
  border-radius: 12px; padding: 14px 18px; font-size: 14px;
}
.callout b { color: #4a3700; }

/* why us */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why {
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; box-shadow: var(--shadow-sm); position: relative;
}
.why-num {
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 14px;
  background: var(--grad-q);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.why h4 { margin: 0 0 6px; font-size: 15px; color: var(--navy); }
.why p  { margin: 0; font-size: 13px; color: var(--ink-2); }

.cta-band {
  max-width: 1100px; margin: 28px auto 40px; padding: 26px 28px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(78,201,106,0.35) 0%, transparent 55%),
    radial-gradient(120% 100% at 0% 100%, rgba(32,196,181,0.45) 0%, transparent 55%),
    linear-gradient(135deg, #0d3169 0%, #1a4a8a 60%, #2879d6 100%);
  color: white; border-radius: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { margin: 0 0 4px; font-size: 22px; }
.cta-band p  { margin: 0; opacity: 0.85; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.16); color: white; border-color: transparent; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.24); }
.cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.nav a.active { color: var(--navy); }

