/* Passmark marketing pages — self-contained "Ledger" brand stylesheet.
   Used only by the statically generated marketing/SEO pages (scripts/
   build-marketing.mjs), independent of the app's Tailwind build. No JS. */

:root {
  --paper: #f6f3eb;
  --paper-50: #fcfbf7;
  --navy: #14213d;
  --navy-700: #14213d;
  --navy-500: #2d4580;
  --navy-400: #4e6290;
  --navy-100: #c5ccdf;
  --navy-50: #e8ebf4;
  --gold: #c9a84c;
  --gold-700: #8a6c22;
  --gold-50: #fbf6e8;
  --verify: #1e5b4f;
  --verify-50: #eaf2ef;
  --flag: #a3402c;
  --flag-50: #f7ece8;
  --ink: #14213d;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Instrument Sans',
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--navy-700);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy-700);
}

a {
  color: var(--gold-700);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 760px;
}

.label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
}

/* ---- Top nav ---- */
.nav {
  background: var(--navy-700);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
}
.nav-brand:hover {
  text-decoration: none;
}
.nav-seal {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 15px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.nav-links a {
  color: var(--navy-100);
}
.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}
@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.btn:hover {
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-700);
  box-shadow: 0 4px 20px 0 rgba(201, 168, 76, 0.25);
}
.btn-gold:hover {
  background: #d4b458;
}
.btn-outline {
  border-color: var(--gold);
  color: var(--gold-700);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold-50);
}
.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

/* ---- Hero ---- */
.hero {
  background: radial-gradient(120% 120% at 80% 0%, #1d3272 0%, #14213d 55%);
  color: #fff;
  padding: 72px 0;
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  margin: 14px 0 18px;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero p.lead {
  color: var(--navy-100);
  font-size: 18px;
  max-width: 620px;
}
.hero .label {
  color: var(--gold);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---- Sections ---- */
section {
  padding: 56px 0;
}
section.tight {
  padding: 36px 0;
}
.section-head {
  margin-bottom: 32px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin-top: 6px;
}
.bg-white {
  background: #fff;
}
.bg-paper {
  background: var(--paper);
}
.gold-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 10px 0 0;
}

p {
  color: var(--gray-700);
}
.muted {
  color: var(--gray-500);
}
.lead {
  font-size: 18px;
}

/* ---- Cards / grids ---- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 860px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px 0 rgba(20, 33, 61, 0.05);
}
.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--gray-500);
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

/* ---- Content prose ---- */
.prose h2 {
  font-size: 26px;
  margin: 36px 0 12px;
}
.prose h3 {
  font-size: 20px;
  margin: 26px 0 8px;
}
.prose p,
.prose li {
  color: var(--gray-700);
  margin-bottom: 12px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  margin-bottom: 12px;
}
.prose strong {
  color: var(--navy-700);
}

/* ---- Badges / pills ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-req {
  background: var(--flag-50);
  color: var(--flag);
}
.badge-rec {
  background: var(--gold-50);
  color: var(--gold-700);
}
.badge-draft {
  background: var(--gray-100);
  color: var(--gray-500);
}
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 500;
  margin: 0 6px 6px 0;
}

/* ---- Requirement list ---- */
.req-cat {
  margin-bottom: 22px;
}
.req-cat > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-700);
  margin-bottom: 10px;
}
.req-item {
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
}
.req-item .req-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-700);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.req-item p {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 5px;
}
.req-meta {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 8px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Pricing ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}
.price {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.price.featured {
  border-color: var(--gold);
  box-shadow: 0 6px 24px 0 rgba(20, 33, 61, 0.1);
}
.price .tier {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.price .amt {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  color: var(--navy-700);
  margin: 10px 0 2px;
}
.price .amt small {
  font-size: 13px;
  color: var(--gray-500);
  font-family: 'Instrument Sans', sans-serif;
}
.price .usd {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.price ul {
  list-style: none;
  margin: 6px 0 18px;
  flex: 1;
}
.price li {
  font-size: 13px;
  color: var(--gray-700);
  padding: 5px 0 5px 20px;
  position: relative;
}
.price li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--verify);
  font-weight: 700;
}

/* ---- Pillar bars (how scoring works) ---- */
.pillar {
  margin-bottom: 16px;
}
.pillar-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 5px;
}
.pillar-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--gray-100);
  overflow: hidden;
}
.pillar-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
}

/* ---- FAQ ---- */
.faq {
  border-top: 1px solid var(--gray-200);
  padding: 18px 0;
}
.faq h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-700);
  margin-bottom: 6px;
}
.faq p {
  font-size: 14px;
  color: var(--gray-700);
}

/* ---- Breadcrumb ---- */
.crumb {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.crumb a {
  color: var(--gray-500);
}

/* ---- CTA band ---- */
.cta-band {
  background: radial-gradient(120% 140% at 20% 0%, #1d3272 0%, #14213d 60%);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}
.cta-band p {
  color: var(--navy-100);
  max-width: 540px;
  margin: 0 auto 20px;
}

/* ---- Footer ---- */
.foot {
  background: var(--navy-700);
  color: #fff;
  padding: 48px 0 28px;
  margin-top: 40px;
}
.foot .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 820px) {
  .foot .cols {
    grid-template-columns: 1fr 1fr;
  }
}
.foot h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.foot a {
  display: block;
  color: var(--navy-100);
  font-size: 14px;
  padding: 4px 0;
}
.foot a:hover {
  color: #fff;
}
.foot .fine {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 30px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--navy-100);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.foot .fine a {
  display: inline;
}

/* ---- misc ---- */
.note {
  background: var(--gold-50);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--gray-700);
}
.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 22px;
  margin-top: 30px;
}
.stat .n {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--gold);
  font-weight: 600;
  font-size: 20px;
}
.stat .l {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-100);
  margin-top: 3px;
}
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
