/* LEVEL ZERO SCORE — SHARED STYLESHEET v22 */
/* Refined Editorial Brutalism · Cream / Electric Teal / Near-Black */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Space+Grotesk:wght@300;400;500;600&display=swap');

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE8DF;
  --near-black: #111111;
  --teal: #00C9A7;
  --teal-dark: #00A889;
  --mid-grey: #888888;
  --light-grey: #CCCCCC;
  --rule: #DDDDDD;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--near-black);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

em { font-style: italic; }
strong { font-weight: 600; }

p { font-size: 1rem; line-height: 1.75; }

a { color: var(--near-black); text-decoration: none; }
a:hover { color: var(--teal); }

/* ── NAV — Full SaaS style, no JS, no hamburger, no dropdown ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-logo { height: 28px; width: auto; display: block; }
.site-nav .nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}
.site-nav .nav-links a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid-grey);
  transition: color 0.2s;
  white-space: nowrap;
}
.site-nav .nav-links a:hover { color: var(--near-black); }
.nav-cta-btn {
  background: var(--near-black);
  color: var(--cream) !important;
  padding: 0.55rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-cta-btn:hover { background: var(--teal) !important; color: var(--near-black) !important; }
@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }
  .nav-cta-btn { font-size: 0.68rem; padding: 0.5rem 0.9rem; }
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--near-black);
  color: var(--teal);
  padding: 0.55rem 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.ticker-track {
  display: inline-block;
  animation: ticker 28s linear infinite;
}
.ticker-track span { margin-right: 4rem; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.6rem;
}

/* ── SECTION DIVIDER ── */
.section-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ── BUTTONS / CTAs ── */
.btn-primary {
  display: inline-block;
  background: var(--near-black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--teal); color: var(--near-black); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--near-black);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--near-black);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--near-black); color: var(--cream); }

.btn-teal {
  display: inline-block;
  background: var(--teal);
  color: var(--near-black);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-teal:hover { background: var(--teal-dark); color: var(--near-black); }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── SECTION PADDING ── */
.section { padding: 4rem 0; }
.section-md { padding: 3rem 0; }
.section-sm { padding: 2rem 0; }
.section-lg { padding: 3rem 0; }

/* ── SCORE BADGE ── */
.score-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--near-black);
  background: var(--cream);
}
.score-badge .score-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}
.score-badge .score-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-top: 0.15rem;
}

/* ── STAT BLOCK ── */
.stat-block { text-align: center; }
.stat-block .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--near-black);
}
.stat-block .stat-desc {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mid-grey);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

/* ── RISK REVERSAL BAR ── */
.risk-bar {
  background: var(--near-black);
  color: var(--cream);
  padding: 1.2rem 2rem;
  font-size: 0.82rem;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.risk-bar strong { color: var(--teal); }

/* ── FOOTER ── */
/* ── FOOTER — 4-column SaaS style ── */
.site-footer {
  border-top: 2px solid var(--rule);
  padding: 4rem 0 0;
  background: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.footer-logo { height: 28px; width: auto; margin-bottom: 1rem; display: block; }
.footer-brand p {
  font-size: 0.8rem;
  color: var(--mid-grey);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1rem;
}
.footer-contact {
  font-size: 0.75rem !important;
  color: var(--mid-grey);
  line-height: 1.8;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--near-black);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col ul li a {
  font-size: 0.8rem;
  color: var(--mid-grey);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.7rem;
  color: var(--mid-grey);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom a { color: var(--mid-grey); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal); }
.site-footer a { color: var(--mid-grey); }
.site-footer a:hover { color: var(--near-black); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── FORM ── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--near-black);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--cream);
  border: 1px solid var(--near-black);
  color: var(--near-black);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--teal); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field.optional label::after {
  content: ' (optional)';
  font-weight: 400;
  color: var(--mid-grey);
}

/* ── CHECKLIST ── */
.check-list { list-style: none; }
.check-list li {
  font-size: 0.88rem;
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
  color: var(--near-black);
}
.check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.x-list { list-style: none; }
.x-list li {
  font-size: 0.88rem;
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
  color: var(--near-black);
}
.x-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #C0392B;
  font-weight: 700;
  font-size: 0.75rem;
}

/* ── BLOCKQUOTE ── */
blockquote {
  border-left: 3px solid var(--teal);
  padding: 0.8rem 0 0.8rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--near-black);
  line-height: 1.6;
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── MOBILE NAV ── */

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 1.25rem; }
  .section { padding: 2.5rem 0; }
  .section-md { padding: 2rem 0; }
  .section-sm { padding: 1.5rem 0; }
  .section-lg { padding: 2rem 0; }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-grey { color: var(--mid-grey); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-sm { gap: 1rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.inline-block { display: inline-block; }

/* ── LOGO ── */
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}
.nav-logo-dark {
  height: 36px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .nav-logo { height: 28px; }
}

/* ── PROOF PULL ROW ── */
.proof-pull-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: space-between;
  align-items: stretch;
}
.proof-pull-row > div {
  flex: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  .proof-pull-row {
    flex-direction: column;
  }
  .proof-pull-row > div {
    border-right: none !important;
    border-bottom: 1px solid #2a2a2a;
    padding: 1.5rem 0 !important;
  }
  .proof-pull-row > div:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }
}

/* ── PROOF PULL — cream-dark version for contrast ── */
.proof-pull-light {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--rule);
}
.proof-pull-light .proof-col {
  border-right: 1px solid var(--rule);
  padding: 2rem;
}
.proof-pull-light .proof-col:last-child {
  border-right: none;
}
@media (max-width: 768px) {
  .proof-pull-light .proof-col {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 1.5rem 0;
  }
  .proof-pull-light .proof-col:last-child {
    border-bottom: none;
  }
}

/* ── MINI TRAP DOOR — appears on every page before footer ── */
.mini-trap {
  background: var(--cream-dark);
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
}
.mini-trap-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.mini-trap-left h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.mini-trap-left p {
  font-size: 0.85rem;
  color: var(--mid-grey);
}
.mini-trap-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 768px) {
  .mini-trap-inner { flex-direction: column; align-items: flex-start; }
  .mini-trap-right { width: 100%; }
  .mini-trap-right a { width: 100%; text-align: center; }
}

/* ── PROOF GRID (light bg version) ── */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.proof-col {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--rule);
}
.proof-col:last-child {
  border-right: none;
}
@media (max-width: 768px) {
  .proof-grid {
    grid-template-columns: 1fr !important;
  }
  .proof-col {
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
    padding: 1.5rem 0 !important;
  }
  .proof-col:last-child {
    border-bottom: none;
  }
}

/* ══ AGENCY TYPES BUTTON ══════════════════════════════ */

/* ══ HOMEPAGE V16 SPECIFIC ═══════════════════════════════ */
.obligation-bar {
  background: var(--near-black);
  border-bottom: 2px solid var(--teal);
  padding: 0.85rem 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.obligation-bar p {
  font-size: 0.82rem;
  color: #aaa;
  letter-spacing: 0.04em;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  line-height: 1.6;
  box-sizing: border-box;
}
.obligation-bar strong { color: var(--cream); }
.obligation-bar em { color: var(--teal); font-style: normal; font-weight: 700; }

.category-statement {
  text-align: center;
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.category-statement .cat-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--near-black);
  line-height: 1.3;
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: 0 1.5rem;
}
.category-statement .cat-line em {
  color: var(--teal);
  font-style: italic;
}
.category-statement .cat-sub {
  font-size: 0.88rem;
  color: var(--mid-grey);
  max-width: 540px;
  margin: 0 auto;
  padding: 0 1.5rem;
  line-height: 1.75;
}

.standard-block {
  border: 2px solid var(--near-black);
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
}
.standard-block::before {
  content: 'THE PROFESSIONAL STANDARD';
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: var(--cream);
  padding: 0 0.75rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--teal);
  text-transform: uppercase;
}

.workflow-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.workflow-table tr {
  border-bottom: 1px solid var(--rule);
}
.workflow-table tr:last-child { border-bottom: none; }
.workflow-table td {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  vertical-align: top;
}
.workflow-table td:first-child {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  width: 200px;
}
.workflow-table td:last-child {
  color: var(--mid-grey);
  line-height: 1.7;
}
.workflow-table tr:nth-child(even) { background: var(--cream-dark); }

.economics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 1.5rem;
}
.economics-cell {
  background: var(--cream);
  padding: 1.5rem;
}
.economics-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.economics-headline {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.economics-body {
  font-size: 0.82rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

.proof-artifact {
  border: 2px solid var(--near-black);
  margin: 2rem 0;
}
.proof-artifact-header {
  background: var(--near-black);
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.proof-artifact-scores {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.proof-score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.proof-score-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}
.proof-score-lbl {
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.proof-findings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
}
.finding-entry {
  border-left: 3px solid #c0392b;
  padding-left: 0.85rem;
}
.finding-entry.fixed { border-left-color: var(--teal); }
.finding-criterion {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}
.finding-entry.fixed .finding-criterion { color: var(--near-black); }
.finding-impact {
  font-size: 0.8rem;
  color: var(--mid-grey);
  line-height: 1.6;
}

.powered-by-block {
  background: var(--near-black);
  padding: 2.5rem;
  text-align: center;
  border-top: 2px solid var(--teal);
}
.powered-by-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: #888;
  letter-spacing: 0.04em;
}
.powered-by-label strong {
  color: var(--teal);
}
.powered-by-sub {
  font-size: 0.82rem;
  color: #555;
  margin-top: 0.5rem;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width:768px) {
  .proof-findings-grid { grid-template-columns: 1fr; }
  .workflow-table td:first-child { width: auto; white-space: normal; }
  .nav-dropdown-menu { left: auto; right: 0; transform: none; }
}

/* ── FAQ PAGE ── */
.faq-group {
  margin-bottom: 3rem;
  border-top: 3px solid var(--teal);
  padding-top: 1.5rem;
}
.faq-group-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--near-black);
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--near-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.5;
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
  width: 20px;
  text-align: center;
}
.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  max-width: 720px;
}
.faq-answer p {
  font-size: 0.88rem;
  color: var(--mid-grey);
  line-height: 1.8;
}
.faq-answer a { color: var(--teal); }
