:root {
  --navy: #16232f;
  --navy-light: #22364a;
  --gold: #b8892e;
  --gold-light: #f3e9d8;
  --grey-bg: #f7f6f3;
  --text-muted: #5c6672;
  --border: #e2e0d9;
  --danger: #a32d2d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: #ffffff;
  line-height: 1.6;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--gold);
}

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 64px;
  width: auto;
  display: block;
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}
nav.site a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
}

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.hero .kicker {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 38px;
  margin: 0 0 20px;
  line-height: 1.3;
}
.hero p {
  font-size: 17px;
  color: #cfd6dd;
  max-width: 640px;
  margin: 0 auto 32px;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Sections */
section {
  padding: 64px 0;
}
section.alt {
  background: var(--grey-bg);
}
h2 {
  font-size: 28px;
  margin: 0 0 12px;
  text-align: center;
}
.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

/* Why cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.why-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* What We Benchmark — framework board graphic */
.framework-svg {
  max-width: 900px;
  margin: 0 auto;
}
.framework-svg svg {
  width: 100%;
  height: auto;
  display: block;
}
.framework-note {
  max-width: 700px;
  margin: 24px auto 0;
  background: var(--gold-light);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 13px;
  color: var(--navy);
  text-align: center;
}

/* Comparison table */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.compare th,
.compare td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.compare th {
  background: var(--navy);
  color: #fff;
  font-weight: bold;
}
.compare td.price {
  font-weight: bold;
  color: var(--gold);
}

/* Sector picker */
.picker-top {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.picker-top input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
}
.quota-note {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.sector-btn {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  color: var(--navy);
}
.sector-btn:hover {
  border-color: var(--gold);
}
.sector-btn.unlocked {
  border-color: var(--gold);
  background: var(--gold-light);
}

.report-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.report-header .badge {
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.metric-card {
  background: var(--grey-bg);
  border-radius: 6px;
  padding: 16px;
}
.metric-card .label {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 6px;
}
.metric-card .value {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}
.empty-note {
  color: var(--text-muted);
  font-size: 14px;
}

/* Modal */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 35, 47, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.modal-box {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  width: 320px;
  max-width: 90%;
}
.modal-box h4 {
  margin: 0 0 6px;
  font-size: 16px;
}
.modal-box p.hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.modal-box input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 8px;
}
.modal-error {
  color: var(--danger);
  font-size: 12px;
  margin: 0 0 10px;
  display: none;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.modal-actions button {
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.modal-actions button.primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
#picker-wrap {
  position: relative;
}

/* Sector synopsis popup — shown on clicking a sector in the free picker */
.synopsis-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 35, 47, 0.6);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  z-index: 100;
}
.synopsis-modal-box {
  background: #fff;
  border-radius: 10px;
  padding: 28px 30px;
  width: 560px;
  max-width: 100%;
  position: relative;
}
.synopsis-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}
.synopsis-modal-box h4 {
  margin: 0 20px 16px 0;
  font-size: 19px;
  color: var(--navy);
}
.syn-modal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.syn-modal-stat {
  background: #fff;
  padding: 12px 10px;
  text-align: center;
}
.syn-modal-stat .num {
  font-size: 17px;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 3px;
}
.syn-modal-stat .lbl {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.3;
}
.syn-modal-story h5 {
  font-size: 14px;
  margin: 14px 0 3px;
  color: var(--navy);
}
.syn-modal-story p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.syn-modal-benchmark {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.syn-modal-fulllink {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: bold;
  color: var(--gold);
  text-decoration: none;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  background: #fff;
  text-align: center;
}
.price-card.featured {
  border: 2px solid var(--gold);
}
.price-card .tier {
  font-size: 13px;
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.price-card .amount {
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 4px;
}
.price-card .amount small {
  font-size: 14px;
  font-weight: normal;
  color: var(--text-muted);
}
.price-card ul {
  text-align: left;
  color: var(--text-muted);
  font-size: 14px;
  padding-left: 18px;
  margin: 16px 0 0;
}
.price-card .strike {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 20px;
  font-weight: normal;
  margin-right: 6px;
}
.compare td .strike {
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: normal;
  margin-right: 4px;
}
.offer-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--navy);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.buy-btn {
  width: 100%;
  margin-top: 18px;
}
.sample-reports-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 32px;
}
.sample-reports-label {
  font-size: 13px;
  color: var(--text-muted);
}
.btn-outline-navy {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 9px 18px;
  font-size: 13px;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

/* Buy Now request-form modal */
.buy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 35, 47, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.buy-modal-box {
  background: #fff;
  border-radius: 8px;
  padding: 26px;
  width: 380px;
  max-width: 90%;
  text-align: left;
}
.buy-modal-box h4 {
  margin: 0 0 4px;
  font-size: 17px;
}
.buy-modal-box p.hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.buy-modal-box input,
.buy-modal-box textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: inherit;
}
.buy-modal-success {
  background: var(--gold-light);
  border-radius: 6px;
  padding: 16px;
  font-size: 13.5px;
  color: var(--navy);
  display: none;
}

/* Compliance strip */
.compliance-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.compliance-strip div {
  font-size: 13px;
  color: var(--text-muted);
}
.compliance-strip strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .compare {
    font-size: 12px;
  }
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: inherit;
}
.contact-form label {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.form-status {
  font-size: 13px;
  margin-top: 8px;
}

footer.site {
  background: var(--navy);
  color: #cfd6dd;
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
}
footer.site a {
  color: var(--gold);
}
