/* Growth landing page — same palette as main site, mobile-first */
:root {
  --growth-text: #393D3F;
  --growth-accent: #2176FF;
  --growth-border: orange;
  --growth-bg: #ffffff;
  --growth-muted: #6b7280;
  /* Match actual .growth-brand height so fixed sidebar is flush under it (logo w-10 = 2.5rem, border 4px) */
  --growth-navbar-height: calc(0.5rem + 2.5rem + 0.5rem + 4px + var(--growth-safe-top));
  --growth-sidebar-height: 3.5rem;
  --growth-scroll-offset: calc(var(--growth-navbar-height) + var(--growth-sidebar-height));
  --growth-safe-top: env(safe-area-inset-top, 0);
  --growth-safe-bottom: env(safe-area-inset-bottom, 0);
  --growth-safe-left: env(safe-area-inset-left, 0);
  --growth-safe-right: env(safe-area-inset-right, 0);
}

.growth-page {
  font-family: 'Chivo Mono', monospace;
  color: var(--growth-text);
  background: var(--growth-bg);
  max-width: none !important; /* override main.css body constraint */
  margin: 0 !important;
  padding: 0;
  min-height: 100vh;
  padding-left: var(--growth-safe-left);
  padding-right: var(--growth-safe-right);
  -webkit-text-size-adjust: 100%;
}

.growth-page * {
  box-sizing: border-box;
}

/* Brand strip: sticky navbar, compact on mobile */
.growth-brand {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  padding-top: calc(0.5rem + var(--growth-safe-top));
  border-bottom: 4px solid var(--growth-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--growth-bg);
}

@media (min-width: 480px) {
  :root {
    --growth-navbar-height: calc(0.75rem + 2.5rem + 0.75rem + 4px + var(--growth-safe-top));
  }
  .growth-brand {
    padding: calc(0.75rem + var(--growth-safe-top)) 1rem 0.75rem;
  }
}

@media (min-width: 640px) {
  :root {
    --growth-navbar-height: calc(1rem + 2.5rem + 1rem + 4px + var(--growth-safe-top));
  }
  .growth-brand {
    padding: calc(1rem + var(--growth-safe-top)) 1.5rem 1rem;
  }
}

.growth-brand-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--growth-text);
  letter-spacing: 0.02em;
}

/* Sticky header: brand + sidebar on mobile (flush, no gap); on desktop sidebar is fixed left so only brand here */
.growth-sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--growth-bg);
}

/* Multi-column layout: main only on mobile; sidebar + main on desktop (sidebar fixed in same column) */
.growth-body {
  display: block;
  min-height: calc(100vh - 60px);
  margin: 0 0.5rem;
  padding-bottom: var(--growth-safe-bottom);
}

@media (min-width: 480px) {
  .growth-body {
    margin: 0 1rem;
  }
}

@media (min-width: 640px) {
  .growth-body {
    margin: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .growth-body {
    margin: 0 3rem;
    margin-left: calc(3rem + 200px); /* space for fixed left sidebar */
  }
}

/* Section nav — in-flow under brand on mobile (flush, no gap); fixed left on desktop */
.growth-sidebar {
  padding: 0.4rem 0.5rem;
  border-bottom: 2px solid var(--growth-border);
  background: #fafafa;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 480px) {
  .growth-sidebar {
    padding: 0.75rem 1rem;
  }
}

@media (min-width: 640px) {
  .growth-sidebar {
    padding: 0.75rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .growth-sidebar {
    position: fixed;
    top: var(--growth-navbar-height);
    left: 3rem;
    right: auto;
    width: 200px;
    padding: 0 1rem 1rem;
    border-bottom: none;
    border-right: 2px solid var(--growth-border);
    min-width: 0;
    max-height: calc(100vh - var(--growth-navbar-height));
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 90;
  }
}

.growth-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
}

@media (min-width: 480px) {
  .growth-nav-list {
    gap: 0.4rem 0.75rem;
  }
}

@media (min-width: 1024px) {
  .growth-nav-list {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Nav pills — compact on mobile */
.growth-nav-link {
  display: flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--growth-text);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 480px) {
  .growth-nav-link {
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 640px) {
  .growth-nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
}

.growth-nav-link:hover {
  background: #eee;
  color: var(--growth-accent);
}

.growth-nav-link.growth-nav-active {
  background: var(--growth-accent);
  color: #fff;
}

/* Main: content + calendly (calendly after hero on mobile, right col on desktop) */
.growth-main {
  overflow: auto;
  padding: 0 0.5rem 1rem;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.growth-content-col {
  display: contents;
}

@media (min-width: 480px) {
  .growth-main {
    padding: 0 1rem 1.5rem;
  }
}

@media (min-width: 640px) {
  .growth-main {
    padding: 0 1.5rem 2rem;
  }
}

/* Mobile: calendly after hero via order */
.growth-hero { order: 0; }
.growth-calendly-col { order: 1; }
#growth-credibility { order: 2; }
#growth-who { order: 3; }
#growth-how { order: 4; }
#growth-form { order: 5; }

@media (min-width: 1024px) {
  .growth-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    grid-template-areas: "content calendly";
    gap: 0 2rem;
    padding: 0 2rem 2rem;
    align-items: start;
  }
  .growth-content-col {
    display: block;
    grid-area: content;
    min-width: 0;
    overflow-x: hidden;
  }
  .growth-calendly-col {
    grid-area: calendly;
    grid-row: 1 / -1;
    order: unset;
  }
  .growth-hero,
  #growth-credibility,
  #growth-who,
  #growth-how,
  #growth-form {
    order: unset;
  }
}

/* Calendly: after hero on mobile, sticky right col on desktop */
.growth-calendly-col {
  background: #fafafa;
  border-top: 2px solid var(--growth-border);
  padding: 0.4rem 0;
}

@media (min-width: 480px) {
  .growth-calendly-col {
    padding: 0.5rem 0;
  }
}

@media (min-width: 1024px) {
  .growth-calendly-col {
    position: sticky;
    padding: 1rem 0;
    border-top: none;
    border-left: 2px solid var(--growth-border);
    max-height: calc(100vh - var(--growth-navbar-height));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.growth-calendly-wrap {
  min-height: 580px;
  padding: 0.35rem;
}

@media (min-width: 480px) {
  .growth-calendly-wrap {
    min-height: 620px;
    padding: 0.5rem;
  }
}

@media (min-width: 640px) {
  .growth-calendly-wrap {
    min-height: 650px;
    padding: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .growth-calendly-wrap {
    min-height: 700px;
    padding: 1rem;
  }
}

.growth-calendly-wrap .calendly-inline-widget {
  min-width: 280px;
  height: 600px;
}

@media (min-width: 480px) {
  .growth-calendly-wrap .calendly-inline-widget {
    min-width: 320px;
    height: 650px;
  }
}

@media (min-width: 640px) {
  .growth-calendly-wrap .calendly-inline-widget {
    height: 700px;
  }
}

/* Section spacing — reduced on mobile; scroll-margin so header appears below sticky sidebar */
.growth-section,
.growth-hero {
  scroll-margin-top: var(--growth-scroll-offset);
}

@media (min-width: 1024px) {
  .growth-section,
  .growth-hero {
    scroll-margin-top: var(--growth-navbar-height);
  }
}

.growth-section {
  padding: 0.5rem 1rem;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .growth-main .growth-section {
    max-width: 720px;
  }
}

/* Hero (in main column) */
.growth-hero {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 480px) {
  .growth-hero {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

@media (min-width: 640px) {
  .growth-hero {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .growth-hero {
    padding-top: 1.5rem;
  }
}

.growth-hero-inner {
  max-width: 42rem;
}

.growth-hero h1 {
  font-size: clamp(1.35rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--growth-text);
  margin: 0 0 0.75rem;
  word-wrap: break-word;
}

@media (min-width: 480px) {
  .growth-hero h1 {
    margin-bottom: 1rem;
  }
}

.growth-hero .subheadline {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.5;
  margin: 0 0 1rem;
  color: var(--growth-muted);
}

@media (min-width: 640px) {
  .growth-hero .subheadline {
    margin-bottom: 1.5rem;
  }
}

.growth-hero .growth-context {
  line-height: 1.5;
}
.growth-hero .growth-bridge {
  line-height: 1.4;
}

/* Credibility stats */
.growth-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (min-width: 480px) {
  .growth-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.growth-stat {
  text-align: center;
}

.growth-stat .before,
.growth-stat .after {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--growth-text);
}

.growth-stat .arrow {
  color: var(--growth-accent);
  margin: 0 0.25rem;
  font-size: 0.95rem;
}

.growth-stat .label {
  font-size: 0.8rem;
  color: var(--growth-muted);
  margin-top: 0.25rem;
}

/* Who / How sections */
.growth-section h2 {
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  font-weight: 700;
  color: #1d4ed8;
  margin: 0 0 0.75rem;
  border-bottom: 3px solid var(--growth-border);
  padding-bottom: 0.5rem;
  display: inline-block;
  word-wrap: break-word;
}

@media (min-width: 480px) {
  .growth-section h2 {
    margin-bottom: 1rem;
  }
}

.growth-section-summary {
  font-size: 0.9rem;
  color: var(--growth-muted);
  margin: 0 0 0.75rem;
}

@media (min-width: 480px) {
  .growth-section-summary {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
}

.growth-section .qualifier {
  font-style: italic;
  color: var(--growth-muted);
  margin-top: 0.75rem;
}

.growth-niches {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem 0;
}

@media (min-width: 360px) {
  .growth-niches {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1rem;
  }
}

@media (min-width: 480px) {
  .growth-niches {
    gap: 0.25rem 2rem;
  }
}

.growth-niches li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.growth-niches li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--growth-accent);
  border-radius: 50%;
}

/* How it works steps */
.growth-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

@media (min-width: 480px) {
  .growth-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
  }
}

.growth-step {
  background: #f8fafc;
  border-left: 4px solid var(--growth-accent);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
}

@media (min-width: 480px) {
  .growth-step {
    padding: 1rem 1.25rem;
  }
}

.growth-step .num {
  font-weight: 700;
  color: var(--growth-accent);
  font-size: 0.9rem;
}

.growth-step .title {
  font-weight: 600;
  color: var(--growth-text);
  margin: 0.25rem 0 0.5rem;
}

.growth-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--growth-muted);
  line-height: 1.4;
}

.growth-assurance {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--growth-text);
}

/* Form section */
.growth-form-wrap {
  margin-top: 0.75rem;
  border: 2px solid var(--growth-border);
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 480px) {
  .growth-form-wrap {
    margin-top: 1rem;
  }
}

.growth-form-wrap iframe {
  display: block;
  width: 100%;
  min-width: 280px;
  max-width: 640px;
  margin: 0 auto;
  border: 0;
}
