/* Escalay - exact replica from Figma */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg: #FCFCFC;
  --bg-tint: #F7F7F7;
  --bg-line: #F0F0F0;
  --dark: #141414;
  --dark-2: #1E1E1E;
  --dark-3: #292929;
  --black: #0F0F0F;
  --text-light: #FCFCFC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1056px;
  margin: 0 auto;
  padding: 0;
}

/* ---------------- Header ---------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 73px;
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-inner {
  width: 1056px;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--black);
}
.logo-marks {
  display: flex;
  align-items: center;
  gap: 1.6px;
}
.logo-marks span {
  display: block;
  background: currentColor;
  border-radius: 1.5px;
}
.logo-marks span:nth-child(1) { width: 5px; height: 5px; }
.logo-marks span:nth-child(2) { width: 6.7px; height: 6.7px; }
.logo-marks span:nth-child(3) { width: 8.7px; height: 8.7px; }
.logo-text {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.28px;
  color: var(--dark);
  text-decoration: none;
  transition: opacity .2s ease;
}
.nav-links a:hover { opacity: .65; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  letter-spacing: -0.28px;
  border-radius: 124px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-grey {
  background: #F0F0F0;
  border-color: #F0F0F0;
  color: var(--dark);
  padding: 10px 18px;
  font-size: 14px;
}
.btn-grey:hover { background: #E8E8E5; }
.btn-dark {
  background: var(--dark-2);
  color: var(--text-light);
  padding: 12px 22px;
  font-size: 16px;
  letter-spacing: -0.48px;
  gap: 12px;
}
.btn-dark:hover { background: var(--black); }
.btn-dark .avatar-pill {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: url('assets/avatar-yuvraj.png') center/cover no-repeat;
  flex-shrink: 0;
}
.btn-dark .avatar-pill.avatar-yuvraj {
  background-image: url('assets/avatar-yuvraj.png');
}

/* ---------------- Eyebrow pill ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 76px;
  background: #F7F7F7;
  border: 1px solid #F0F0F0;
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 14px;
  color: #1E1E1E;
  letter-spacing: -0.1px;
}
.eyebrow.dark {
  background: #292929;
  border-color: #292929;
  color: #FCFCFC;
}

/* ---------------- Sections ---------------- */
section {
  padding: 96px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
section.dark {
  background: var(--dark);
  color: #FCFCFC;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 72px;
  text-align: center;
}
h1, h2, h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
h2 {
  font-size: 56px;
  letter-spacing: -2.8px;
  line-height: 1.1;
}
.section-head h2 { max-width: 920px; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 168px 32px 130px;
  min-height: 880px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(20,20,20,0.04) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(20,20,20,0.03) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(20,20,20,0.04) 1px, transparent 1px);
  background-size: 180px 180px, 240px 240px, 200px 200px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  max-width: 1056px;
  width: 100%;
}
.hero h1 {
  font-size: 72px;
  line-height: 1;
  letter-spacing: -3.6px;
  font-weight: 500;
  color: var(--dark);
  max-width: 880px;
}
.hero p.lead {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.6px;
  color: var(--dark);
  opacity: .7;
  max-width: 720px;
}
.hero-cta { margin-top: 16px; }

/* Ticker */
.ticker {
  width: 720px;
  max-width: 100%;
  margin-top: 28px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: scroll 32s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 8px;
  flex-shrink: 0;
}
.ticker-item img {
  max-height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(1);
  transition: opacity .2s ease, filter .2s ease;
}
.ticker-item img:hover {
  opacity: 1;
  filter: grayscale(0);
}
/* Union logo is dark-navy with white text — needs no inversion, but keep some breathing room */
.ticker-item img[alt="Union Home Loans"] {
  max-height: 30px;
  border-radius: 2px;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------------- Pain points ---------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1056px;
}
.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.col-title {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.72px;
  color: var(--dark);
}
.problem-list, .solution-list {
  width: 100%;
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.problem-list { opacity: .8; }
.solution-list {
  background: #F7F7F7;
  border: 1px solid #F0F0F0;
}
.bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.32px;
  color: var(--dark);
}
.bullet .mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.problem-list .mark { background: #1E1E1E; }
.solution-list .mark { background: var(--dark); color: #FCFCFC; }
.solution-list .mark svg { width: 11px; height: 11px; stroke: #FCFCFC; stroke-width: 2.4; fill: none; }

/* ---------------- Why escalay (dark) ---------------- */
.section.dark h2 { color: #FCFCFC; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  max-width: 1056px;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.12);
}
.feature {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 191px;
}
.feature-icon {
  width: 22px; height: 22px;
  color: #FF6700;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 100%; height: 100%; stroke-width: 1.6; fill: none; stroke: currentColor; }
.feature h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.6px;
  color: #FCFCFC;
}
.feature p {
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.3px;
  color: rgba(252,252,252,.7);
}

/* ---------------- Services bento ---------------- */
.bento {
  display: grid;
  grid-template-columns: 696px 336px;
  grid-auto-rows: 384px;
  gap: 24px;
  width: 100%;
  max-width: 1056px;
}
.card {
  background: #F7F7F7;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.card-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.66px;
  color: var(--dark);
}
.card p {
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.3px;
  color: var(--dark);
  opacity: .7;
  max-width: 380px;
}
.card-wide { grid-column: span 1; }
/* sizes per layout */
.card.b1 { grid-column: 1; grid-row: 1; }
.card.b2 { grid-column: 2; grid-row: 1; }
.card.b3 { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card.b4 { grid-column: 2; grid-row: 2; }
.card.b5 { grid-column: 1; grid-row: 3; }
.card.b6 { grid-column: 2; grid-row: 3; }

.card .preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
}

/* Chat preview */
.chat-preview { display: flex; flex-direction: column; gap: 18px; width: 100%; align-items: center; padding: 8px 0; }
.chat-row { display: flex; align-items: flex-end; gap: 12px; width: 100%; }
.chat-row.right { justify-content: flex-end; }
.chat-avatar { width: 36px; height: 36px; border-radius: 999px; background: #F0F0F0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-avatar.user { background: url('assets/avatar-yuvraj.png') center/cover; }
.chat-avatar .logo-marks span { background: #141414; }
.chat-bubble {
  background: #FCFCFC;
  border: 1px solid #F0F0F0;
  border-radius: 8px;
  padding: 12px 18px;
  font-family: 'Geist';
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.42px;
  color: var(--dark);
}
.chat-input {
  background: #FCFCFC;
  border: 1px solid #F0F0F0;
  border-radius: 8px;
  width: 320px;
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(20,20,20,.55);
  margin-top: 4px;
}
.chat-input .send {
  width: 18px; height: 18px; background: #1E1E1E; border-radius: 4px;
}

/* Workflow preview */
.workflow-list { display: flex; flex-direction: column; gap: 10px; width: 100%; align-items: stretch; }
.workflow-item {
  background: #FCFCFC;
  border: 1px solid #F0F0F0;
  border-radius: 8px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Geist';
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.26px;
  color: var(--dark);
}
.workflow-item .sq { width: 14px; height: 14px; background: #141414; border-radius: 3px; flex-shrink: 0; }

/* CRM preview */
.crm-flow { display: flex; flex-direction: column; gap: 8px; align-items: center; width: 100%; }
.crm-step {
  background: #FCFCFC;
  border: 1px solid #F0F0F0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist';
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.26px;
  color: var(--dark);
  width: 240px;
}
.crm-step .sq { width: 12px; height: 12px; background: #141414; border-radius: 3px; flex-shrink: 0; }
.crm-conn {
  width: 1px; height: 20px;
  background: #D8D8D8;
  position: relative;
}
.crm-conn::before, .crm-conn::after {
  content: ""; position: absolute; left: -4px; width: 9px; height: 1px; background: #D8D8D8;
}
.crm-conn::before { top: 4px; }
.crm-conn::after { top: 14px; }

/* Strategy preview - timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  position: relative;
  padding-left: 24px;
}
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px;
  background: #D8D8D8;
}
.tl-row {
  position: relative;
  background: #FCFCFC;
  border: 1px solid #F0F0F0;
  border-radius: 8px;
  padding: 11px 14px;
  width: 100%;
}
.tl-row::before {
  content: "";
  position: absolute;
  left: -22px; top: 16px;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #FCFCFC;
  border: 2px solid #C4C4C4;
}
.tl-row.active::before { background: #141414; border-color: #141414; }
.tl-row .ttl {
  font-weight: 500; font-size: 13px; letter-spacing: -0.26px; color: var(--dark);
  margin-bottom: 2px;
}
.tl-row .sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--dark); opacity: .7;
}

/* Content gen preview */
.gen-card {
  background: #FCFCFC;
  border: 1px solid #F0F0F0;
  border-radius: 10px;
  width: 100%;
  height: 130px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.gen-card .top { display: flex; align-items: center; gap: 8px; font-family: 'Geist'; font-weight: 500; font-size: 13px; }
.gen-card .top .sq { width: 12px; height: 12px; background: #141414; border-radius: 3px; }
.gen-card .write {
  margin-top: auto;
  align-self: flex-end;
  background: #141414;
  color: #FCFCFC;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gen-pills {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  justify-content: space-between;
}
.gen-pills > div {
  flex: 1;
  background: #FCFCFC;
  border: 1px solid #F0F0F0;
  border-radius: 5px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-family: 'Geist';
  font-weight: 500;
  color: var(--dark);
}
.gen-pills .sq { width: 10px; height: 10px; background: #141414; border-radius: 2px; }

/* ---------------- Process steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1056px;
  position: relative;
}
.step {
  background: #F7F7F7;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  padding: 24px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.step-num {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 18px;
  color: var(--dark);
  opacity: .7;
}
.step-name {
  font-family: 'Geist';
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.96px;
  margin-top: 8px;
  color: var(--dark);
}
.step p {
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.3px;
  opacity: .7;
}
.step:nth-child(1) { transform: rotate(-3.5deg); }
.step:nth-child(3) { transform: rotate(3.5deg); }
.steps .arrow {
  position: absolute;
  pointer-events: none;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: rgba(20,20,20,.5);
}
.arrow svg { width: 80px; height: 38px; }
.arrow.a1 { top: -32px; left: 32%; transform: rotate(-6deg); }
.arrow.a2 { bottom: -28px; right: 32%; transform: rotate(8deg); }

/* ---------------- Case studies ---------------- */
.case {
  background: #F7F7F7;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1056px;
  align-items: center;
  margin-bottom: 24px;
}
.case-content { display: flex; flex-direction: column; gap: 28px; padding: 16px; }
.case-logo { height: 40px; display: inline-flex; align-items: center; }
.case-logo img { height: 100%; width: auto; max-width: 220px; object-fit: contain; }
.case-text { display: flex; flex-direction: column; gap: 16px; }
.case h3 {
  font-family: 'Geist';
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -1.08px;
  line-height: 1.2;
  color: var(--dark);
}
.case .sub {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.54px;
  color: var(--dark);
  opacity: .7;
}
.metrics { display: flex; gap: 32px; margin-top: 8px; }
.metric .num {
  font-family: 'Geist';
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -1.32px;
  color: var(--dark);
  line-height: 1.1;
}
.metric .label {
  font-size: 18px;
  letter-spacing: -0.54px;
  color: var(--dark);
  opacity: .7;
  margin-top: 4px;
}
.case-image {
  border-radius: 12px;
  overflow: hidden;
  height: 424px;
  background: #E8E8E5;
}
.case-image img { width: 100%; height: 100%; object-fit: cover; }
.case-eyebrow {
  display: inline-flex;
  height: 26px;
  padding: 0 10px;
  align-items: center;
  border-radius: 5px;
  background: #FCFCFC;
  border: 1px solid #F0F0F0;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #FF6700;
  width: max-content;
}

/* ---------------- Testimonials (dark) ---------------- */
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1056px;
}
.t {
  background: #1E1E1E;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 264px;
}
.t blockquote {
  font-family: 'Geist';
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: #FCFCFC;
}
.t .by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t .ava {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: #292929 center/cover no-repeat;
  flex-shrink: 0;
  overflow: hidden;
}
.t .ava-lane  { background-image: url('assets/avatar-lane.jpeg'); }
.t .ava-tony  { background-image: url('assets/avatar-tony.png'); }
.t .ava-david { background-image: url('assets/avatar-david.jpeg'); }
.t .who-name {
  font-family: 'Geist'; font-weight: 500; font-size: 14px; letter-spacing: -0.28px; color: #FCFCFC;
}
.t .who-role {
  font-family: 'Geist'; font-size: 12px; color: rgba(252,252,252,.6); margin-top: 2px;
}

/* ---------------- FAQ ---------------- */
.faq-list {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #F7F7F7;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  overflow: hidden;
  transition: background .2s ease;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Geist';
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
}
.faq-q .plus {
  width: 20px; height: 20px; background: #141414; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform .2s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: #FCFCFC;
}
.faq-q .plus::before { width: 10px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 10px; transition: opacity .2s ease; }
.faq-item.open .faq-q .plus::after { opacity: 0; }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.3px;
  color: var(--dark);
  opacity: .75;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 24px 22px;
}

/* ---------------- Cal.com embed ---------------- */
.cal-embed-wrap {
  width: 100%;
  height: 700px;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 40px;
  background: transparent;
}

/* ---------------- CTA ---------------- */
.cta-section { padding: 96px 32px; }
.cta-card {
  width: 100%;
  max-width: 1056px;
  background: var(--dark);
  border-radius: 16px;
  padding: 140px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 200px 200px, 240px 240px, 220px 220px;
  pointer-events: none;
}
.cta-card .inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-card h2 { color: #FCFCFC; max-width: 800px; }
.cta-card p {
  color: rgba(252,252,252,.7);
  font-size: 16px;
  letter-spacing: -0.32px;
  line-height: 22px;
  max-width: 540px;
}
.cta-card .btn { padding: 9px 16px; font-size: 13px; }
.cta-card .btn-grey { background: #F0F0F0; color: var(--dark); }

/* ---------------- Footer ---------------- */
.footer {
  background: #141414;
  color: #FCFCFC;
  padding: 40px 32px 24px;
}
.footer-inner {
  width: 100%;
  max-width: 1056px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.f-top {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 48px;
}
.f-brand { display: flex; flex-direction: column; gap: 16px; max-width: 410px; }
.f-brand .logo { color: #FCFCFC; }
.f-brand p {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.54px;
  color: #FCFCFC;
  opacity: .7;
}
.f-col h4 {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.26px;
  color: #FCFCFC;
  opacity: .7;
  margin-bottom: 16px;
  text-transform: lowercase;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-col a {
  font-family: 'Geist';
  font-size: 14px;
  letter-spacing: -0.28px;
  color: #FCFCFC;
  text-decoration: none;
  transition: opacity .2s ease;
}
.f-col a:hover { opacity: .65; }
.f-bot {
  border-top: 1px solid rgba(247,247,247,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Geist';
  font-size: 13px;
  letter-spacing: -0.13px;
  color: rgba(252,252,252,.7);
}

/* ---------------- Hamburger / Mobile Nav ---------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 15, 15, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-inner {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: #FCFCFC;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 36px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-inner {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.mobile-nav-close {
  width: 36px; height: 36px;
  background: #F0F0F0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--dark);
}
.mobile-nav-close svg { width: 16px; height: 16px; }
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mobile-nav-links a {
  display: block;
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.66px;
  color: var(--dark);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #F0F0F0;
  transition: opacity .2s;
}
.mobile-nav-links a:hover { opacity: .55; }
.mobile-nav-cta {
  margin-top: 32px;
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  font-size: 15px;
}

/* ---------------- Responsive: Tablet (≤960px) ---------------- */
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .header-cta { display: none; }

  h2 { font-size: 40px; letter-spacing: -1.8px; }

  .hero { padding: 130px 20px 80px; min-height: auto; }
  .hero h1 { font-size: 48px; letter-spacing: -2px; }
  .hero p.lead { font-size: 17px; line-height: 26px; }

  section { padding: 72px 20px; }

  .two-col { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: 1fr 1fr; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card.b1,
.card.b2,
.card.b3,
.card.b4,
.card.b5,
.card.b6 {
  grid-column: auto;
  grid-row: auto;
}
  .card.b3 { display: flex; flex-direction: column; }

  .steps { grid-template-columns: 1fr; }
  .step { transform: none !important; height: auto; min-height: 180px; }
  .steps .arrow { display: none; }

  .case { grid-template-columns: 1fr; }
  .case-image { height: 260px; }
  .case h3 { font-size: 28px; letter-spacing: -0.8px; }

  .tgrid { grid-template-columns: 1fr; }

  .cta-card { padding: 72px 24px; }
  .cta-section { padding: 72px 20px; }

  .f-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .f-brand { grid-column: 1 / -1; }
}

/* ---------------- Responsive: Mobile (≤600px) ---------------- */
@media (max-width: 600px) {
  h2 { font-size: 32px; letter-spacing: -1.4px; }

  .hero { padding: 110px 20px 64px; }
  .hero h1 { font-size: 36px; letter-spacing: -1.6px; }
  .hero p.lead { font-size: 16px; line-height: 24px; }
  .hero-cta { font-size: 14px; padding: 10px 18px; }

  .section-head { margin-bottom: 40px; }
  section { padding: 56px 16px; }

  .eyebrow { font-size: 12px; height: 28px; padding: 0 12px; }

  .feature-grid { grid-template-columns: 1fr; }

  .col-title { font-size: 20px; }

  .step-name { font-size: 26px; }
  .step { padding: 20px; }

  .case h3 { font-size: 22px; letter-spacing: -0.6px; }
  .case-image { height: 200px; }
  .metric .num { font-size: 34px; }
  .metric .label { font-size: 15px; }
  .metrics { gap: 24px; }

  .cta-card { padding: 48px 20px; border-radius: 12px; }
  .cta-card h2 { font-size: 28px; letter-spacing: -1.2px; }
  .cta-section { padding: 48px 16px; }

  .f-top { grid-template-columns: 1fr; gap: 28px; }
  .f-brand p { font-size: 15px; }
  .f-bot { flex-direction: column; gap: 8px; text-align: center; }

  .faq-q { font-size: 14px; padding: 18px 16px; }
  .faq-a { font-size: 14px; }
  .faq-item.open .faq-a { padding: 0 16px 18px; }

  .cal-embed-wrap { height: 580px; border-radius: 8px; }
}
/* ============================================================
   MOBILE PATCH — append to the bottom of styles.css
   Fixes 9 layout/overflow issues identified across all breakpoints
   ============================================================ */

/* 1. Fix hardcoded widths that overflow narrow viewports */
.chat-input { width: 100%; max-width: 320px; }
.crm-step   { width: 100%; max-width: 240px; }

/* 2. Allow metrics row to wrap when large numbers don't fit side-by-side */
.metrics { flex-wrap: wrap; }


/* ---- Tablet patch (≤960px) ---- */
@media (max-width: 960px) {

  /* 3. card.b3 has display:grid internally for preview+foot — reset to flex at tablet */
  .card.b3 .preview,
  .card.b3 .card-foot { width: 100%; }

}


/* ---- Mobile patch (≤600px) ---- */
@media (max-width: 600px) {

  /* 4. Reduce card padding and preview spacing */
  .card           { padding: 16px; }
  .card .preview  { margin-bottom: 16px; }

  /* 5. Scale down chat preview internals */
  .chat-bubble    { font-size: 13px; padding: 10px 14px; }
  .chat-input     { font-size: 12px; height: 38px; }

  /* 6. Scale down workflow/CRM items */
  .workflow-item  { font-size: 12px; padding: 10px 12px; }
  .crm-step       { font-size: 12px; padding: 9px 12px; }

  /* 7. Gen pills: stack vertically below 600px instead of squeezing 3 across */
  .gen-pills               { flex-direction: column; gap: 6px; }
  .gen-pills > div         { font-size: 11px; padding: 7px 10px; }

  /* 8. Case study content — remove wasted padding */
  .case           { padding: 20px 16px; }
  .case-content   { padding: 0; gap: 18px; }
  .metrics        { gap: 16px; }

  /* 9. CTA card — strip the <br> effect via nowrap hint */
  .cta-card p     { white-space: normal; }

  /* General timeline scale */
  .tl-row .ttl    { font-size: 12px; }
  .tl-row .sub    { font-size: 10px; }
  .timeline       { padding-left: 20px; }

}


/* ---- Extra small phones (≤400px) ---- */
@media (max-width: 400px) {

  .hero h1        { font-size: 28px; letter-spacing: -1.2px; }
  h2              { font-size: 26px; letter-spacing: -1.1px; }

  .metric .num    { font-size: 28px; letter-spacing: -0.8px; }
  .metric .label  { font-size: 13px; }

  .btn-dark       { font-size: 14px; padding: 10px 16px; }
  .btn-grey       { font-size: 13px; padding: 9px 15px; }

  /* Gen pills too small to show 3 across even stacked labels — trim font */
  .gen-pills > div { font-size: 10px; }

}
