/* NJ Bid Packet Check — site styles */
:root {
  --navy: #10233f;
  --navy-mid: #1a3654;
  --ink: #1c232c;
  --muted: #5b6573;
  --line: #d4d9e1;
  --paper: #f3f4f7;
  --white: #ffffff;
  --focus: #245889;
  --danger: #6b2d2d;
  --ok: #1d4a38;
  --max: 1080px;
  --measure: 40rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", "Source Sans 3", "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img { max-width: 100%; }
a { color: var(--focus); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
}
.measure { max-width: var(--measure); }

/* Header */
.site-header {
  background: var(--navy);
  color: #e8edf3;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 10px 0;
}
.brand { color: #fff; text-decoration: none; display: block; min-width: 0; }
.brand:hover { color: #fff; }
.brand-name {
  font-family: "IBM Plex Serif", "Source Serif Pro", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.brand-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b7c3d3;
  margin-top: 2px;
  font-weight: 500;
}
.nav-toggle { display: none; }
.nav-btn .menu-close { display: none; }
.nav-toggle:checked + .nav-btn .menu-open { display: none; }
.nav-toggle:checked + .nav-btn .menu-close { display: inline; }
.nav-scrim { display: none; }
.nav-btn {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
  justify-content: flex-end;
}
.nav a {
  color: #d5deea;
  text-decoration: none;
  font-size: 0.8125rem;
  padding: 8px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.nav .cta {
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  margin-left: 8px;
  padding: 8px 14px;
}
.nav .cta:hover { background: #e8edf3; color: var(--navy); }

@media (max-width: 1140px) {
  .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 14px;
    flex-shrink: 0;
  }
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy);
    padding: 8px 20px 28px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    gap: 0;
    z-index: 30;
    min-height: calc(100dvh - 76px);
    max-height: calc(100dvh - 76px);
    overflow: auto;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .nav a {
    white-space: normal;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 10px;
  }
  .nav .cta {
    margin: 8px 0 8px;
    text-align: center;
    justify-content: center;
    min-height: 44px;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav { box-shadow: 0 18px 32px rgba(0,0,0,.28); }
  .nav-toggle:checked ~ .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12, 27, 48, 0.72);
    z-index: 25;
  }
  .nav-toggle:focus-visible + .nav-btn,
  .nav-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
}

/* Page frame */
main { padding: 0 0 72px; }
.hero {
  background: var(--navy);
  color: #f3f5f8;
  padding: 56px 0 64px;
}
.hero h1 {
  font-family: "IBM Plex Serif", "Source Serif Pro", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 20ch;
  color: #fff;
}
.hero .lede {
  font-size: 1.12rem;
  line-height: 1.55;
  color: #c5d0de;
  max-width: 40rem;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero {
  background: var(--navy);
  color: #f3f5f8;
  padding: 40px 0 44px;
}
.page-hero h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #fff;
}
.page-hero p { margin: 0; color: #c5d0de; max-width: 40rem; }

h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--navy);
}
h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--navy);
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.section { padding: 56px 0 0; }
.section.tight { padding-top: 40px; }
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 8px;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--navy);
}
.btn:hover { background: var(--navy-mid); color: #fff; }
.btn-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-wide { width: 100%; text-align: center; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 22px 24px;
}
.card .num {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
}
.card p, .card ul { color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
.note {
  border-left: 3px solid var(--navy);
  padding: 2px 0 2px 16px;
  color: var(--ink);
  margin: 18px 0 0;
}
.note strong { color: var(--navy); }

ul.check, ul.plain { margin: 0; padding: 0; list-style: none; }
ul.check li, ul.plain li { padding: 7px 0 7px 0; border-bottom: 1px solid var(--line); }
ul.check li:last-child, ul.plain li:last-child { border-bottom: 0; }
ul.check li { padding-left: 1.35rem; position: relative; }
ul.check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 7px; height: 7px;
  background: var(--navy);
  border-radius: 1px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
th, td { text-align: left; padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #eef1f5; color: var(--navy); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.price-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  max-width: 28rem;
}
.price-box .amount {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-box .amount span { font-size: 1rem; font-family: "IBM Plex Sans", sans-serif; font-weight: 500; color: var(--muted); }
.price-box .free {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ok);
  margin-bottom: 6px;
}

/* Form */
form.packet { display: grid; gap: 14px; max-width: 36rem; }
label.field { display: grid; gap: 5px; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
label.field span.hint { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="file"], textarea, select {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b8c0cc;
  border-radius: 4px;
  padding: 12px 11px;
  min-height: 44px;
  width: 100%;
  max-width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
textarea { min-height: 90px; resize: vertical; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
  min-height: 44px;
  padding: 6px 0;
}
.consent input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
button[type="submit"] {
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  min-height: 44px;
  cursor: pointer;
  justify-self: start;
  width: 100%;
  max-width: 28rem;
}
button[type="submit"]:hover { background: var(--navy-mid); }
.form-msg {
  display: none;
  background: #eef3f0;
  border: 1px solid #c5d6cc;
  color: var(--ok);
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
}
.form-msg.show { display: block; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 0 0 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 4px; color: var(--ink); }

.legal h2 { margin-top: 32px; }
.legal h2:first-child { margin-top: 0; }

/* Footer */
.site-footer {
  background: #0c1b30;
  color: #c5cdd8;
  padding: 40px 0 28px;
  font-size: 0.9rem;
  margin-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa6b6;
  margin: 0 0 10px;
}
.site-footer a { color: #dce3ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.footer-brand {
  font-family: "IBM Plex Serif", Georgia, serif;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.legal-line {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 28px;
  padding-top: 16px;
  color: #8b96a6;
  font-size: 0.8rem;
}

.cases { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 22px; }
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } }
.case h3 { margin-bottom: 6px; }
.case .meta { font-size: 0.82rem; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; margin: 0 0 10px; }
.source { font-size: 0.86rem; margin-top: 12px; }
.source a { font-weight: 500; display: inline-block; padding: 10px 0; min-height: 44px; }
.hero h1 { max-width: 18ch; }

/* Sample report */
.sample-banner {
  background: #eef1f5;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  padding: 12px 16px;
  margin: 0 0 24px;
  font-size: 0.95rem;
}
.sample-banner strong { color: var(--navy); }
.report {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.report-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
}
.report-head h2 { margin: 0 0 4px; }
.report-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 8px;
}
.report-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 16px;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .report-meta { grid-template-columns: 1fr; }
}
.report-meta-wide { grid-column: 1 / -1; }
.report-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 2px;
}
.report-meta dd { margin: 0 0 6px; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.3;
  white-space: nowrap;
}
.badge-ready { background: #e6f2ec; color: var(--ok); }
.badge-missing { background: #f6e8e8; color: var(--danger); }
.badge-verify { background: #f3eedc; color: #6a5420; }
.report-table { border: 0; border-top: 0; }
.report-table th:nth-child(1), .report-table td:nth-child(1) { width: 2.2rem; }
.report-table th:nth-child(3), .report-table td:nth-child(3) { width: 7.5rem; white-space: nowrap; }
.report-foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.preview-report { margin-top: 8px; }
.preview-report .report-table td:nth-child(4) { max-width: 28rem; }

/* Stack tables on a phone */
@media (max-width: 700px) {
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td {
    display: block;
    width: 100%;
  }
  .stack-table { border: 0; background: transparent; }
  .stack-table tr {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    margin: 0 0 12px;
    overflow: hidden;
  }
  .stack-table td {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 10px 14px;
  }
  .stack-table td:first-child { border-top: 0; }
  .stack-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .stack-table td:nth-child(1)::before { content: attr(data-label); }
  .report-table th:nth-child(1),
  .report-table td:nth-child(1),
  .report-table th:nth-child(3),
  .report-table td:nth-child(3) { width: auto; white-space: normal; }
  .report-table.stack-table td:first-child { display: none; } /* hide bare # on report cards */
}

/* Fixed phone CTA */
.mobile-cta {
  display: none;
}
@media (max-width: 1140px) {
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    min-height: 52px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .mobile-cta:hover { color: #fff; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-bottom: 0; }
  body.on-submit { padding-bottom: 0; }
  body.on-submit .mobile-cta { display: none; }
}

/* Phone typography and tap targets */
@media (max-width: 1140px) {
  .hero { padding: 36px 0 44px; }
  .page-hero { padding: 28px 0 32px; }
  .hero-actions .btn, .hero-actions .btn-light { min-height: 44px; }
  .site-footer a { display: inline-block; min-height: 44px; padding: 10px 0; }
  .legal-line { padding-bottom: 8px; }
  form.packet { max-width: none; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.7rem; max-width: none; }
  .page-hero h1 { font-size: 1.55rem; }
  .price-box { padding: 24px 20px; }
  .panel { padding: 20px; }
  .hero .lede { font-size: 1.05rem; }
}
