/* Gambhir Consulting - Option C: High-Contrast DTC Performance + Polished Hybrid */

:root {
  --bg-dark: #07080B;
  --bg-dark-card: #11141C;
  --bg-dark-elevated: #171B26;
  --bg-white: #FFFFFF;
  --bg-slate: #F4F6F9;
  --bg-navy: #0F172A;
  --text-dark: #0F172A;
  --text-dark-muted: #475569;
  --text-light: #FFFFFF;
  --text-light-muted: #CBD5E1;
  --text-light-dim: #94A3B8;
  --blue: #0A66FF;
  --blue-bright: #1D6CF2;
  --blue-hover: #0052D6;
  --orange: #FF8A12;
  --orange-dark: #D96B00;
  --border-light: #DCE2EC;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-blue: rgba(29, 108, 242, 0.35);
  --font-wordmark: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "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-body);
  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: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

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

/* Header - 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: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-light);
  text-decoration: none;
}

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

.band-hero {
  background: radial-gradient(circle at 80% 10%, rgba(29, 108, 242, 0.22), transparent 52%), var(--bg-dark);
  color: var(--text-light);
}

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

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

.section {
  padding-block: 68px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px 0;
}

.band-hero .eyebrow,
.band-dark .eyebrow {
  color: var(--orange);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

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

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

h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  max-width: 880px;
}

h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
}

/* Centered polished section headers (desktop & mobile) */
.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

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

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

/* Hero (Centered cleanly across desktop & mobile to match symmetrical axis) */
.hero {
  padding-block: 72px 64px;
  text-align: center;
}

.hero h1 {
  margin-inline: auto;
}

.hero-sub {
  margin: 18px auto 32px;
  font-size: clamp(16.5px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-light-muted);
  max-width: 760px;
}

.btn-perf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(10, 102, 255, 0.36);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-perf:hover {
  background: var(--blue-hover);
}

.btn-perf:active {
  transform: translateY(1px);
}

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

.metric-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

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

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

.logos-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748B;
  margin: 0 0 22px 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: 8px;
  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.08);
  opacity: 0.88;
}

.logos-more {
  text-align: center;
  margin: 18px 0 0 0;
  font-size: 13.5px;
  color: #64748B;
}

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

.proof-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.proof-top {
  padding: 13px 18px;
  background: var(--bg-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.proof-leap {
  font-family: var(--font-heading);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.proof-roas {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.proof-img-wrap {
  padding: 12px;
  background: #F8FAFC;
}

.proof-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.proof-footnote {
  text-align: center;
  margin: 22px 0 0 0;
  font-size: 12.5px;
  color: #64748B;
}

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

.card-perf {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--blue);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 10px;
  display: block;
}

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

/* Method (Dark Section w/ Zig-Zag Flip on Step 2 Desktop) */
.method-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.method-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

/* Lock identical 50/50 center seam on Step 2 so text left edge aligns with visuals above & below */
.method-card.flip-desktop {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.method-card.flip-desktop .method-visual {
  order: -1;
}

.step-badge {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--blue);
  padding: 5px 10px;
  border-radius: 5px;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 12px;
}

.method-copy h3 {
  font-size: 22px;
  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: 10px;
  padding: 14px;
}

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

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

.eco-diagram {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 2px;
}

.eco-node {
  background: var(--bg-dark);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.eco-node strong {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

.eco-node span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  text-align: right;
  white-space: nowrap;
}

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

/* Full-Bleed Dark Action Band (#get-started) */
.action-band {
  padding-block: 76px;
  text-align: center;
  background: radial-gradient(circle at 50% 25%, rgba(29, 108, 242, 0.24), transparent 58%), var(--bg-dark);
}

.action-band h2 {
  max-width: 720px;
  margin: 0 auto 14px;
}

.action-band .section-lead {
  max-width: 620px;
  margin: 0 auto 30px;
}

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

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

.compare-card.featured {
  background: var(--bg-navy);
  color: var(--text-light);
  border-color: var(--blue);
  box-shadow: 0 8px 26px rgba(10, 102, 255, 0.14);
}

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

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

.compare-card.featured h3 {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

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

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

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

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

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

/* Fit & About Section (Separate Slate Band, distinct card style) */
.fit-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.fit-card h3 {
  margin-bottom: 14px;
}

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

.fit-card p:last-child {
  margin-bottom: 0;
}

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

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

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

.faq-item {
  background: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 22px 24px;
}

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

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

/* Closing CTA (Centered Dark) */
.closing-cta {
  padding-block: 76px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(29, 108, 242, 0.22), transparent 55%), var(--bg-dark);
}

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

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

/* Legal Pages */
.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;
  color: var(--text-dark);
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #64748B;
  margin: 0 0 32px 0;
}

.legal-article h2 {
  font-size: 20px;
  margin: 30px 0 10px 0;
  color: var(--text-dark);
}

.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: 600;
  color: var(--blue);
  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-dim);
  padding-block: 42px 50px;
  font-size: 13.5px;
  text-align: center;
}

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

.footer-brand {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-light);
}

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

.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: #64748B;
}

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

  /* Reset Step 2 order on mobile so text stays on top and visual below */
  .method-card.flip-desktop .method-visual {
    order: 0;
  }

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

@media (max-width: 600px) {
  .header-inner {
    justify-content: center;
  }

  .section {
    padding-block: 52px;
  }

  .hero {
    padding-block: 44px 48px;
    text-align: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 34px;
    text-align: center;
  }

  .method-card,
  .method-card.flip-desktop {
    padding: 20px;
    gap: 20px;
  }

  .eco-node {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .eco-node strong,
  .eco-node span {
    white-space: normal;
    text-align: left;
  }

  .logos-strip {
    padding-block: 28px;
  }

  .logos-label {
    margin-bottom: 14px;
  }

  .logos-grid {
    gap: 8px;
  }

  .logo-tile {
    height: 52px;
    padding: 8px 12px;
    border-radius: 6px;
  }

  .logo-tile img {
    max-height: 28px;
  }

  .logos-more {
    margin-top: 12px;
  }

  .btn-perf {
    width: 100%;
    padding: 15px 22px;
  }
}
