/* ===== ClearEdge Analytics — Brand Tokens ===== */
:root {
  --charcoal: #2B2B2B;
  --charcoal-soft: #3B3A38;
  --brass: #B08D57;
  --brass-deep: #8C6D3F;
  --brass-light: #D9C79E;
  --cream: #F5F0E6;
  --off-white: #FBF8F2;
  --gray-text: #6B6560;
  --line: #D8CDB8;

  --font-display: 'DejaVu Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'DejaVu Sans', Helvetica, Arial, sans-serif;
  --font-mono: 'DejaVu Sans Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
.brand-mark span { color: var(--brass); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--brass-deep); }
.nav-cta {
  background: var(--charcoal);
  color: var(--off-white) !important;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--brass-deep); }
.nav-toggle { display: none; }

/* ===== Eyebrow ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

/* ===== Hero ===== */
.hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 96px 0 0 0;
  position: relative;
}
.hero .wrap { position: relative; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1.12;
  font-weight: 700;
  max-width: 780px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brass-light);
}
.hero p.lede {
  font-family: var(--font-body);
  font-size: 18px;
  color: #C9C4BA;
  max-width: 560px;
  margin: 26px 0 40px 0;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 64px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border-radius: 2px;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brass); color: var(--charcoal); font-weight: 600; }
.btn-primary:hover { background: var(--brass-light); }
.btn-ghost { border-color: #6A655F; color: var(--cream); }
.btn-ghost:hover { border-color: var(--brass-light); color: var(--brass-light); }

/* ===== Ledger Stat Strip (signature element) ===== */
.ledger {
  border-top: 1px solid var(--brass-deep);
  border-bottom: 1px solid var(--brass-deep);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ledger-item {
  padding: 22px 28px;
  border-left: 1px solid rgba(176, 141, 87, 0.35);
}
.ledger-item:first-child { border-left: none; padding-left: 0; }
.ledger-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9A948A;
  margin-bottom: 8px;
}
.ledger-value {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--brass-light);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ledger-value.down { color: #C99A7A; }
.ledger-source {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #7A756D;
  padding: 12px 0 96px 0;
  letter-spacing: 0.02em;
}

/* ===== Section shell ===== */
section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-off { background: var(--off-white); }

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: 34px;
  margin-top: 16px;
  line-height: 1.2;
  color: var(--charcoal);
}
.section-head p {
  font-size: 16px;
  color: var(--gray-text);
  margin-top: 16px;
}

/* ===== Feature grid ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-card {
  background: var(--off-white);
  padding: 36px 32px;
}
.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass-deep);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.feature-card p { font-size: 14.5px; color: var(--gray-text); }

/* ===== Sample report showcase ===== */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.showcase-copy h2 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.showcase-copy p { color: var(--gray-text); font-size: 15.5px; margin-bottom: 14px; }
.showcase-list { margin-top: 22px; }
.showcase-list li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  font-size: 14.5px;
  color: var(--charcoal-soft);
  margin-bottom: 12px;
}
.showcase-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--brass);
}

.report-mock {
  background: var(--off-white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(43,43,43,0.10);
  padding: 0;
}
.report-mock-header {
  background: var(--charcoal);
  color: var(--cream);
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}
.report-mock-body { padding: 28px 24px; }
.report-mock-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 6px;
}
.report-mock-sub { font-size: 12.5px; color: var(--gray-text); margin-bottom: 22px; }
.report-mock-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.report-mock-row:last-child { border-bottom: 1px solid var(--line); }
.report-mock-row span:last-child { font-family: var(--font-mono); font-weight: 700; color: var(--brass-deep); }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  padding: 36px 30px;
  position: relative;
}
.price-card.featured {
  border-color: var(--brass);
  box-shadow: 0 20px 40px rgba(176,141,87,0.14);
}
.price-tag {
  position: absolute;
  top: -1px; right: -1px;
  background: var(--brass);
  color: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  text-transform: uppercase;
}
.price-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 18px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.price-amount span { font-size: 15px; color: var(--gray-text); font-family: var(--font-body); }
.price-desc { font-size: 13.5px; color: var(--gray-text); margin-bottom: 26px; }
.price-list li {
  list-style: none;
  font-size: 13.8px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--charcoal-soft);
}
.price-list li:first-child { border-top: none; }
.price-card .btn { width: 100%; text-align: center; margin-top: 26px; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--charcoal);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 34px;
  margin-bottom: 16px;
}
.cta-band p { color: #C9C4BA; max-width: 480px; margin: 0 auto 32px auto; }

/* ===== Footer ===== */
footer {
  background: var(--off-white);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner .brand-mark { font-size: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--gray-text); }
.footer-links a:hover { color: var(--brass-deep); }
.footer-note { font-size: 12px; color: var(--gray-text); margin-top: 6px; }

/* ===== About page specific ===== */
.about-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 90px 0 70px 0;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: 44px;
  max-width: 680px;
  line-height: 1.2;
  margin-top: 18px;
}
.about-hero p { color: #C9C4BA; max-width: 560px; margin-top: 20px; font-size: 17px; }

.about-body { max-width: 720px; }
.about-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 44px 0 16px 0;
  color: var(--charcoal);
}
.about-body h2:first-child { margin-top: 0; }
.about-body p { font-size: 15.5px; color: var(--charcoal-soft); margin-bottom: 14px; }

.founder-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}
.founder-plate {
  background: var(--charcoal);
  color: var(--brass-light);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 44px;
  border: 1px solid var(--brass-deep);
}

.values-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.values-strip div .feature-num { margin-bottom: 12px; }
.values-strip h3 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.values-strip p { font-size: 13.8px; color: var(--gray-text); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger-item:nth-child(3) { border-left: none; padding-left: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .founder-row { grid-template-columns: 1fr; }
  .values-strip { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 30px; }
  .section-head h2, .about-body h2 { font-size: 26px; }
}
