:root {
  --navy: #14213d;
  --navy-2: #1f3158;
  --gold: #c9a227;
  --ink: #1b1f27;
  --muted: #5a6272;
  --line: #dde1e8;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --radius: 8px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--navy-2); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); color: #fff; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.15rem; }

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

/* Placeholders the owner must fill in before launch */
.ph {
  background: #fff4c2;
  color: #6b4e00;
  border: 1px dashed #c9a227;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 1.1rem;
}
.brand span { color: var(--gold); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: #d8deea; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #e6eaf2;
  padding: 64px 0 72px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 12px;
}
.hero p.lead { font-size: 1.15rem; max-width: 36em; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--gold);
}
.btn.primary { background: var(--gold); color: var(--navy); }
.btn.ghost { color: #fff; }

.facts {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.facts h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.facts dt { color: #aab4c8; font-size: .9rem; }
.facts dd { margin: 0; color: #fff; font-weight: 600; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 44em; margin-bottom: 32px; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card ul { padding-left: 1.1em; margin: 0; }
.card li { margin-bottom: 6px; }
.card .tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--navy-2);
  background: #e7ecf6;
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.data th, table.data td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th { width: 34%; color: var(--muted); font-weight: 600; background: #fafbfd; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }

.naics { list-style: none; padding: 0; margin: 0; }
.naics li { margin-bottom: 4px; }
.naics code { font-weight: 700; color: var(--navy); margin-right: 8px; }

.note { font-size: .9rem; color: var(--muted); margin-top: 16px; }

.contact-box {
  background: var(--navy);
  color: #e6eaf2;
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-box h2 { color: #fff; }
.contact-box a { color: var(--gold); }
.contact-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.contact-box dt { color: #aab4c8; }
.contact-box dd { margin: 0; }

footer {
  background: #0e1730;
  color: #9aa5bb;
  font-size: .9rem;
  padding: 28px 0;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .hero .wrap, .grid.three, .grid.two, .contact-box { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  section { padding: 48px 0; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  table.data th { width: 40%; }
}

/* Keep grid children from forcing horizontal scroll on narrow screens */
.hero .wrap > *, .grid > *, .contact-box > * { min-width: 0; }
dd, td, .ph { overflow-wrap: anywhere; }

/* JMAC Intel additions */
.brand small {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #aab4c8;
}
.card .tag.live { background: #e3f3e8; color: #1d6b3a; }
.card .tag.soon { background: #f3eee0; color: #6b4e00; }
.card .more { margin: 14px 0 0; font-weight: 600; }
.stack { color: var(--muted); font-size: .9rem; margin-top: 10px; }
footer .links a { color: #c9d1e2; }
