/* ============================================================
   Public Sector — contract vehicles, delivered agency work,
   and live demonstration platforms.
   Scoped entirely under .gov-* so nothing here can collide with
   style.css, next.css or engine.css.
   ============================================================ */

.gov {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(58,48,154,.07), transparent 62%),
    linear-gradient(180deg, var(--off) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gov-head-row { display: flex; gap: 48px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 54px; }
.gov-head-row .section-head { flex: 1 1 560px; }

.gov-seal {
  flex: 0 0 auto;
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.gov-seal .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.gov-seal .v { font-size: 26px; font-weight: 800; color: var(--indigo-700); line-height: 1.1; }
.gov-seal .s { font-size: 13px; color: var(--ink-soft); }

/* ---------- the vehicle card ---------- */
.gov-vehicle {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow-md); margin-bottom: 28px;
}
.gov-vehicle-main { padding: 40px 44px; }
.gov-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(243,180,48,.14); border: 1px solid rgba(201,132,16,.32);
  color: var(--gold-700); font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.gov-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.gov-vehicle-main h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 18px 0 6px; line-height: 1.18; }
.gov-vehicle-no { font-family: var(--mono); font-size: 14px; color: var(--indigo-600); margin-bottom: 18px; }
.gov-vehicle-main p { color: var(--ink-soft); font-size: 16px; line-height: 1.68; margin-bottom: 16px; }
.gov-vehicle-main p:last-child { margin-bottom: 0; }

.gov-vehicle-side {
  padding: 40px 40px; background: var(--indigo-950); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.gov-vehicle-side .lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 12px;
}
.gov-step { display: flex; gap: 14px; align-items: flex-start; }
.gov-step .n {
  flex: 0 0 26px; height: 26px; border-radius: 8px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--gold-400);
}
.gov-step .t { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.82); }
.gov-step .t b { color: #fff; font-weight: 600; }

/* ---------- credential strip ---------- */
.gov-creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 14px; margin-bottom: 46px; }
.gov-cred {
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow-sm);
}
.gov-cred .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .17em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.gov-cred .v { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.35; word-break: break-word; }
.gov-cred .s { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ---------- split: delivered work + live software ---------- */
.gov-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gov-panel {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--paper); padding: 36px 38px; box-shadow: var(--shadow-sm);
}
.gov-panel h3 { font-size: 22px; margin-bottom: 10px; }
.gov-panel > p { color: var(--muted); font-size: 15px; line-height: 1.62; margin-bottom: 24px; }

.gov-agency { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.gov-agency:first-of-type { border-top: 0; padding-top: 0; }
.gov-agency .a-name { flex: 1; font-weight: 650; color: var(--ink); font-size: 15.5px; }
.gov-agency .a-name small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 3px; }
.gov-agency .a-when { font-family: var(--mono); font-size: 12.5px; color: var(--indigo-600); white-space: nowrap; padding-top: 2px; }

.gov-app { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); }
.gov-app:first-of-type { border-top: 0; padding-top: 0; }
.gov-app .dot { flex: 0 0 9px; height: 9px; border-radius: 50%; background: var(--indigo-500); margin-top: 7px; }
.gov-app .body { flex: 1; min-width: 0; }
.gov-app .n { font-weight: 650; font-size: 15.5px; color: var(--ink); }
.gov-app .d { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-top: 3px; }
.gov-app a {
  font-family: var(--mono); font-size: 12.5px; color: var(--indigo-600);
  text-decoration: none; border-bottom: 1px solid rgba(58,48,154,.28);
}
.gov-app a:hover { color: var(--indigo-700); border-bottom-color: var(--indigo-600); }

.gov-note {
  margin-top: 26px; padding: 15px 18px; border-left: 3px solid var(--gold-500);
  background: rgba(243,180,48,.07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.62;
}

.gov-foot { margin-top: 40px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.gov-foot .fine { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 620px; }

@media (max-width: 980px) {
  .gov-vehicle { grid-template-columns: 1fr; }
  .gov-split { grid-template-columns: 1fr; }
  .gov-vehicle-main, .gov-vehicle-side, .gov-panel { padding: 30px 26px; }
}
