/* Fast Gov Tech — platform site
   Distinct from generic SaaS templates: denser product proof,
   formal radii, editorial type scale, gov-tech specific structure. */

:root {
  --ink: #0b1220;
  --ink-2: #243044;
  --mute: #5c6b7a;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --paper: #f7f8fa;
  --white: #ffffff;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --ok: #15803d;
  --idle: #64748b;
  --console: #0f172a;
  --radius: 6px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
ul { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — solid, not floating pill */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
  border-radius: var(--radius);
}
.nav a:hover { color: var(--ink); background: #eef1f5; }
.nav-cta {
  margin-left: 8px !important;
  background: var(--ink) !important;
  color: #fff !important;
  padding: 7px 12px !important;
}
.nav-cta:hover { background: var(--ink-2) !important; color: #fff !important; }

.burger {
  display: none;
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  width: 16px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-secondary:hover { background: #eef1f5; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #eef1f5 0%, var(--paper) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}
.lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mute);
  margin-bottom: 4px;
}
.hero-facts dd {
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
}

/* Console panel — product proof */
.console {
  background: var(--console);
  color: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1e293b;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  font-size: 13px;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}
.console-dots {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
  box-shadow: 14px 0 0 #475569, 28px 0 0 #475569;
  margin-right: 24px;
}
.console-title {
  font-size: 12px;
  color: #94a3b8;
  flex: 1;
}
.console-env {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  background: #1d4ed8;
  color: #fff;
}
.console-list {
  padding: 6px 0;
}
.console-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #1e293b;
}
.console-list li:last-child { border-bottom: 0; }
.mod-name {
  font-weight: 600;
  color: #f1f5f9;
  grid-column: 1;
}
.mod-meta {
  grid-column: 1;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}
.mod-state {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.mod-state.on {
  background: rgba(21, 128, 61, 0.2);
  color: #4ade80;
}
.mod-state.idle {
  background: rgba(100, 116, 139, 0.25);
  color: #94a3b8;
}
.console-foot {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 11px;
  color: #64748b;
  border-top: 1px solid #1e293b;
  background: #0b1220;
}
.console-foot .ok { color: #4ade80; }

/* Bands & sections */
.band {
  padding: 72px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.band-dark {
  background: var(--ink);
  color: #e2e8f0;
  border-bottom: 0;
}
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.section-tight { padding-bottom: 88px; }

.band-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.band-head h2,
.section-head h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.band-head p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.section-head { margin-bottom: 36px; max-width: 560px; }
.section-head.light h2 { color: #f8fafc; }
.section-head .muted { color: #94a3b8; font-size: 15px; margin-top: 8px; line-height: 1.55; }
.label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.section-head.light .label { color: #64748b; }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.split-copy h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 10px;
}
.split-copy p {
  color: var(--ink-2);
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.ticks {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ticks li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

.stack-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stack-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.stack-row:last-child { border-bottom: 0; }
.stack-row.accent {
  background: #eff6ff;
  border-color: #bfdbfe;
  font-weight: 550;
}
.stack-label {
  font-weight: 650;
  color: var(--ink);
  min-width: 120px;
}
.stack-row span:last-child { color: var(--mute); text-align: right; }
.stack-row.accent span:last-child { color: var(--accent); }
.stack-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}

/* Modules — denser cards */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.module {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
}
.module header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.module h3 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  background: #eef1f5;
  color: var(--mute);
}
.module > p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 12px;
}
.module ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.module li {
  font-size: 12px;
  color: var(--mute);
  padding-left: 10px;
  position: relative;
}
.module li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--line-2);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tl-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.tl-item h3 {
  font-size: 15px;
  font-weight: 650;
  color: #f8fafc;
  margin-bottom: 8px;
}
.tl-item p {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
}

/* Compliance */
.compliance-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.lede-sm {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 8px 0 24px;
  max-width: 480px;
}
.comp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comp-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}
.comp-item strong { font-size: 14px; }
.comp-item span { font-size: 13px; color: var(--mute); line-height: 1.5; }

.comp-card {
  background: var(--ink);
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 22px 20px;
}
.comp-card h3 {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 14px;
}
.comp-card li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
  line-height: 1.45;
  color: #cbd5e1;
}
.comp-card li:last-child { border-bottom: 0; }
.comp-footnote {
  margin-top: 12px;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.5;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-points {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-points li {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.contact-points strong { color: var(--ink); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 550;
  color: var(--mute);
  margin-bottom: 12px;
}
.form input,
.form textarea {
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  outline: none;
}
.form textarea {
  height: auto;
  min-height: 110px;
  padding: 10px;
  resize: vertical;
  line-height: 1.5;
}
.form input:focus,
.form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 18, 32, 0.08);
}
.form-msg {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ok);
}

/* Footer */
.footer {
  padding: 28px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 13px;
  color: var(--mute);
}
.footer-brand { color: var(--ink); }
.fine { margin-left: auto; font-size: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .compliance-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .module-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-facts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 12px;
    gap: 2px;
  }
  .nav.open a { padding: 10px 12px; }
  .nav.open .nav-cta { margin: 8px 0 0 !important; text-align: center; }
  .timeline { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .fine { margin-left: 0; }
  .hero { padding: 36px 0 48px; }
  .band, .section { padding: 56px 0; }
}
