/* Gambhir Consulting - Apple Minimalist High-Contrast Black & White
   Governed by DESIGN.md tokens */

:root {
  --bg-dark: #000000;
  --bg-dark-card: #141416;
  --bg-dark-elevated: #1D1D20;
  --bg-white: #FFFFFF;
  --bg-gray: #F5F5F7;
  --text-dark: #1D1D1F;
  --text-dark-muted: #6E6E73;
  --text-light: #F5F5F7;
  --text-light-muted: #A1A1A6;
  --accent: #0071E3;
  --accent-hover: #0077ED;
  --accent-link: #2997FF;
  --border-light: #E5E5EA;
  --border-dark: rgba(255, 255, 255, 0.14);
  --font-wordmark: "Raleway", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: 22px;
}

.container-narrow {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 22px;
}

/* Header - minimal wordmark only */
.site-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 18px;
}

.brand-mark {
  font-family: var(--font-wordmark);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-light);
  text-decoration: none;
}

/* Bands */
.band-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.band-white {
  background: var(--bg-white);
  color: var(--text-dark);
}

.band-gray {
  background: var(--bg-gray);
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section {
  padding-block: 76px;
}

.section-compact {
  padding-block: 44px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px 0;
}

.band-dark .eyebrow {
  color: var(--accent-link);
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.band-dark h1,
.band-dark h2,
.band-dark h3 {
  color: var(--text-light);
}

.band-white h2,
.band-white h3,
.band-gray h2,
.band-gray h3 {
  color: var(--text-dark);
}

h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 700;
  max-width: 820px;
  margin-inline: auto;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-lead {
  margin: 14px 0 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-dark-muted);
}

.band-dark .section-lead {
  color: var(--text-light-muted);
}

/* Hero */
.hero {
  padding-block: 72px 64px;
  text-align: center;
}

.hero-sub {
  margin: 20px auto 34px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--text-light-muted);
  max-width: 650px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-pill:hover {
  background: var(--accent-hover);
}

.btn-pill:active {
  transform: scale(0.99);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  text-align: center;
}

.metric-item strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.metric-item span {
  font-size: 13.5px;
  color: var(--text-light-muted);
}

/* Logos Band */
.logos-strip {
  padding-block: 44px;
  border-bottom: 1px solid var(--border-light);
}

.logos-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark-muted);
  margin: 0 0 24px 0;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.logo-tile {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.logo-tile img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.85;
}

/* Proof Grid */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.proof-card {
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.proof-top {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.proof-leap {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.proof-roas {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}

.proof-img-wrap {
  padding: 14px;
  background: var(--bg-gray);
}

.proof-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.proof-cap {
  padding: 12px 22px 16px;
  margin: auto 0 0 0;
  font-size: 13px;
  color: var(--text-dark-muted);
}

.proof-footnote {
  text-align: center;
  margin: 24px 0 0 0;
  font-size: 13px;
  color: var(--text-dark-muted);
}

/* Problem Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-white {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.card-white p {
  margin: 10px 0 0 0;
  font-size: 15px;
  color: var(--text-dark-muted);
}

/* Method (Black Section w/ Visuals) */
.method-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.method-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-link);
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 10px;
}

.method-copy h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.method-copy p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-light-muted);
  line-height: 1.65;
}

.method-visual {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 14px;
}

.method-visual img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.visual-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-light-muted);
  text-align: center;
}

/* Ecosystem Flow Diagram inside Step 2 */
.eco-diagram {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px;
}

.eco-node {
  background: #0A0B0D;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.eco-node strong {
  font-size: 13.5px;
  color: var(--text-light);
}

.eco-node span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-link);
  text-align: right;
}

.eco-arrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-light-muted);
  line-height: 1;
}

/* Comparison + Fit */
.split-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare-card {
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 30px;
}

.compare-card.featured {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

.compare-card.featured h3 {
  color: var(--text-light);
}

.compare-card h3 {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.compare-card.featured h3 {
  border-bottom-color: var(--border-dark);
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-dark-muted);
}

.compare-card.featured .compare-list li {
  color: #D2D2D7;
}

.mark-no {
  font-family: var(--font-mono);
  color: #86868B;
  font-weight: 700;
  flex-shrink: 0;
}

.mark-yes {
  font-family: var(--font-mono);
  color: var(--accent-link);
  font-weight: 700;
  flex-shrink: 0;
}

.fit-wrap {
  margin-top: 24px;
}

.fit-list {
  margin: 14px 0 0 0;
  padding-left: 18px;
  color: var(--text-dark-muted);
  font-size: 15px;
}

.fit-list li + li {
  margin-top: 8px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 26px;
}

.faq-item h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
  font-size: 15px;
  color: var(--text-dark-muted);
}

/* Final CTA */
.closing-cta {
  padding-block: 80px;
  text-align: center;
}

.closing-cta h2 {
  max-width: 680px;
  margin: 0 auto 14px;
}

.closing-cta .section-lead {
  max-width: 560px;
  margin: 0 auto 30px;
}

/* Legal Articles */
.legal-article {
  padding-block: 56px 76px;
}

.legal-article h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px 0;
  text-align: left;
  max-width: none;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dark-muted);
  margin: 0 0 32px 0;
}

.legal-article h2 {
  font-size: 20px;
  margin: 30px 0 10px 0;
}

.legal-article p,
.legal-article li {
  color: var(--text-dark-muted);
  font-size: 15.5px;
}

.legal-article ul {
  padding-left: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  padding-block: 44px 52px;
  font-size: 13.5px;
  text-align: center;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  font-family: var(--font-wordmark);
  font-weight: 800;
  font-size: 16px;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a,
.footer-contact a {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-disclaimer {
  margin: 4px 0 0 0;
  font-size: 12px;
  line-height: 1.55;
  max-width: 720px;
  color: #86868B;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3,
  .proof-grid,
  .split-2,
  .method-card {
    grid-template-columns: 1fr;
  }

  .logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .section {
    padding-block: 56px;
  }

  .hero {
    padding-block: 48px 52px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 38px;
  }

  .method-card {
    padding: 22px;
    gap: 22px;
  }

  .btn-pill {
    width: 100%;
    padding: 15px 24px;
  }
}
