/* Bid Matrix Desk — Institutional / GovCon */
:root {
  --charcoal: #111827;
  --charcoal-mid: #1f2937;
  --steel: #374151;
  --steel-light: #6b7280;
  --border: #2d3748;
  --border-light: #e5e7eb;
  --bg: #0b1220;
  --bg-card: #151c2c;
  --bg-elevated: #1a2332;
  --bg-soft: #f3f4f6;
  --bg-page: #fafafa;
  --gold: #c9a227;
  --gold-dark: #a68516;
  --gold-soft: #f5ecd0;
  --steel-blue: #3b82c4;
  --text: #111827;
  --text-muted: #4b5563;
  --text-on-dark: #e5e7eb;
  --text-muted-dark: #9ca3af;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(17, 24, 39, 0.06), 0 4px 12px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 4px 6px rgba(17, 24, 39, 0.05), 0 16px 40px rgba(17, 24, 39, 0.1);
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--steel-blue); text-decoration: none; }
a:hover { color: var(--gold-dark); text-decoration: underline; }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--white); }
.logo span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
  text-decoration: none !important;
  color: var(--charcoal) !important;
}

.menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--charcoal);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-secondary-light {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border-light);
}
.btn-secondary-light:hover {
  border-color: var(--steel-light);
  background: var(--bg-soft);
  color: var(--charcoal);
}
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }

/* Hero — dark institutional */
.hero {
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(201, 162, 39, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, var(--bg) 0%, var(--charcoal-mid) 100%);
  border-bottom: 1px solid var(--border);
  color: var(--text-on-dark);
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 20ch;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
  max-width: 42rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-rule {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  max-width: 42rem;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}
.hero-rule strong { color: var(--gold); }

/* Sections */
.section { padding: 4.5rem 0; background: var(--bg-page); }
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-dark {
  background: var(--bg);
  color: var(--text-on-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.section-dark .section-label { color: var(--gold); }

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.section-dark h2 { color: var(--white); }

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 1.5rem;
}
.section-dark .lead { color: var(--text-muted-dark); }

.problem-body p {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 1rem;
}
.problem-body p:last-child { margin-bottom: 0; }
.problem-body .emphasis {
  color: var(--charcoal);
  font-weight: 600;
}

/* Value props */
.props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.prop-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.prop-card h3 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.prop-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.prop-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  color: var(--gold-dark);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.package-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}
.package-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.package-card.featured::before {
  content: "Full pre-write";
  position: absolute;
  top: -10px;
  left: 1.25rem;
  background: var(--charcoal);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.package-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.package-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel-light);
}
.package-includes {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.package-best {
  font-size: 0.8rem;
  color: var(--steel);
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}
.package-best strong { color: var(--charcoal); }

.scope-notes {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.scope-notes h3 {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.scope-notes ul {
  list-style: disc;
  padding-left: 1.25rem;
}
.scope-notes li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.packages-cta {
  margin-top: 2rem;
  text-align: center;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.step {
  position: relative;
  padding: 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.step h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
}
.turnaround-note {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius);
  color: var(--gold);
}
.turnaround-note strong { color: var(--white); }

/* Who */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.audience-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.audience-card.fit { background: var(--white); }
.audience-card.nofit { background: #eceff3; }
.audience-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}
.audience-card ul {
  list-style: disc;
  padding-left: 1.2rem;
}
.audience-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
  max-width: 44rem;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-item h3 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.faq-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a2740 100%);
  color: white;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-band h2 {
  color: white;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.cta-band p {
  color: rgba(255,255,255,0.75);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
}

/* Form */
.form-section { padding: 4.5rem 0; background: var(--bg-page); }
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}
.form-group .optional {
  font-weight: 400;
  color: var(--steel-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  grid-column: 1 / -1;
}
.checkbox-group input {
  margin-top: 0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--gold-dark);
  flex-shrink: 0;
}
.checkbox-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
}
.form-submit {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}
.form-submit .btn { width: 100%; }
.form-note {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--steel-light);
  text-align: center;
  margin-top: 0.5rem;
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--bg);
  color: var(--text-muted-dark);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-brand {
  font-weight: 700;
  color: white;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.footer-brand span { color: var(--gold); }
.footer-tag {
  font-size: 0.875rem;
  margin-bottom: 2rem;
  max-width: 36rem;
}
.disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  margin-top: 0.5rem;
}
.disclaimer h3 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.disclaimer p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(156, 163, 175, 0.9);
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: rgba(156, 163, 175, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* Thank you */
.thank-you {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: var(--bg-page);
}
.thank-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.thank-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  font-weight: 700;
}
.thank-card h1 {
  font-size: 1.65rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.thank-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.thank-card .alert {
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--steel);
  margin: 1.5rem 0;
  text-align: left;
}

/* Mobile */
@media (max-width: 900px) {
  .props { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--charcoal-mid);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }
  .nav a:hover { background: rgba(255,255,255,0.06); }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
  .hero { padding: 3.25rem 0 2.75rem; }
  .hero h1 { max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 3.25rem 0; }
  .form-card { padding: 1.35rem; }
}
