/* U ai — Landing: hero + integrations/phone page */

/* ── Viewport foundation (no nav subtraction, no clipping) ── */
html.home-page-root:has(.home-page--obsidian),
html.home-page-root:has(.home-page--obsidian) body {
  height: auto;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

html.home-page-root:has(.home-page--obsidian) {
  scroll-padding-top: 0 !important;
  scroll-snap-type: none !important;
}

html.home-page-root:has(.home-page--obsidian) body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.home-page.home-page--obsidian {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  background: #ffffff;
}

.home-page--obsidian .home-flow {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100% !important;
  max-width: none !important;
  overflow: visible;
  min-height: 100vh;
  min-height: 100svh;
}

/* ── Page 1: hero ── */
.home-page--obsidian .home-panel--landing {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding-top: calc(3.75rem + env(safe-area-inset-top, 0px)) !important;
  padding-bottom: 0.5rem !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
  z-index: 2;
}

.home-page--obsidian .home-panel--landing .hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 0;
  height: auto;
  width: 100% !important;
  padding: 0 !important;
}

.home-page--obsidian .home-panel--landing .hero__center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(920px, calc(100% - 2rem));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
  text-align: center;
}

.home-page--obsidian .home-panel--landing .hero__headline,
.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__headline,
.home-page--obsidian .home-panel--landing .hero__headline--center {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 0.5rem;
  text-align: center !important;
  overflow: visible !important;
  gap: 1.5rem;
}

.home-page--obsidian .home-panel--landing .hero__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--refine-subtle, #8a8480);
}

.home-page--obsidian .home-panel--landing .hero__h,
.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h,
.home-page.home-page--obsidian.home-page--crm .hero__h {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 0 !important;
  font-size: clamp(2.1rem, 4.5vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  text-align: center !important;
  max-width: none !important;
  overflow: visible !important;
}

.home-page--obsidian .home-panel--landing .hero__h-line,
.home-page--obsidian .home-panel--landing .hero__h-accent {
  display: block;
  margin: 0;
  overflow: visible;
  line-height: 1.02;
  padding: 0;
  white-space: nowrap;
}

.home-page--obsidian .home-panel--landing .hero__h-accent {
  color: #5a5a5a;
  padding-bottom: 0.1em;
}

.home-page--obsidian .home-panel--landing .hero__brief {
  margin: 0 auto;
  max-width: 30rem;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.65;
  color: var(--refine-muted, #525252);
  text-align: center;
}

/* Scroll cue — bottom of hero */
.home-page--obsidian .home-panel--landing .hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transform: translateX(-50%);
  color: var(--refine-muted, #525252);
  text-decoration: none;
  animation: hero-scroll-pulse 2.2s ease-in-out infinite;
}

.home-page--obsidian .home-panel--landing .hero__scroll-cue-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page--obsidian .home-panel--landing .hero__scroll-cue-icon {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  color: #737373;
}

.home-page--obsidian .home-panel--landing .hero__scroll-cue-icon svg {
  width: 100%;
  height: 100%;
}

.home-page--obsidian .home-panel--landing .hero__scroll-cue:hover {
  color: #171717;
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
  }
}

/* ── Page 2: integrations + phone ── */
/* Integrations panel — one full viewport screen below fixed nav */
.home-page.home-page--obsidian.home-page--crm .home-flow > .home-panel--integrations,
.home-page.home-page--crm .home-flow > .home-panel--integrations,
.home-page--obsidian .home-panel--integrations {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 0;
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  padding: clamp(1.35rem, 2.5vw, 2rem) 0 !important;
  width: 100% !important;
  background: #ffffff !important;
  overflow: visible !important;
  scroll-margin-top: 0 !important;
  z-index: 1;
  box-sizing: border-box;
}

.home-page--obsidian .home-panel--integrations .integrations-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  flex: 0 1 auto;
  width: 100%;
  max-width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  margin-block: 0;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
  min-height: auto;
}

.home-page--obsidian .integrations-display {
  width: 100%;
  max-width: 36rem;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.home-page--obsidian .integrations-display__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--obs-orange, #ff6200);
}

.home-page--obsidian .integrations-display__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #171717;
}

.home-page--obsidian .integrations-display__lead {
  margin: 0 0 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--refine-muted, #525252);
  max-width: 34ch;
}

.home-page--obsidian .integrations-display__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.home-page--obsidian .integrations-display__grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3.75rem;
  padding: 0.55rem 0.4rem 0.5rem;
  border-radius: 12px;
  background: #f5f5f4;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.home-page--obsidian .integrations-display__grid img {
  height: 18px;
  width: auto;
  max-width: 72%;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.home-page--obsidian .integrations-display__grid span {
  font-size: 0.625rem;
  font-weight: 550;
  line-height: 1.2;
  color: var(--refine-muted, #525252);
}

.home-page--obsidian .integrations-display__more {
  background: rgba(255, 98, 0, 0.08);
  border-color: rgba(255, 98, 0, 0.22);
}

.home-page--obsidian .integrations-display__more-count {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #171717;
}

.home-page--obsidian .home-panel--integrations .integrations-display,
.home-page--obsidian .home-panel--integrations .mobile-showcase {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.home-page--obsidian .home-panel--integrations .integrations-display__lead {
  margin-bottom: 0.9rem;
}

.home-page--obsidian .home-panel--integrations .integrations-display__grid {
  gap: 0.45rem;
}

.home-page--obsidian .home-panel--integrations .integrations-display__grid li {
  min-height: 3.4rem;
  padding: 0.45rem 0.35rem 0.4rem;
}

.home-page--obsidian .home-panel--integrations .trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin-top: 0.9rem;
  padding: 0.7rem 0 0 !important;
  border: none !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: transparent !important;
  max-width: none !important;
}

.home-page--obsidian .home-panel--integrations .mobile-showcase__stage {
  min-height: auto;
}

.home-page--obsidian .home-panel--integrations .trust-row span {
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: left;
  color: var(--refine-muted, #525252);
}

.home-page--obsidian .home-panel--integrations .trust-row strong {
  display: block;
  color: #171717;
  font-weight: 650;
  margin-bottom: 0.1rem;
}

/* Mobile showcase — matched to integrations card */
.home-page--obsidian .mobile-showcase {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 36rem;
  height: auto;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-sizing: border-box;
}

.home-page--obsidian .mobile-showcase__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--obs-orange, #ff6200);
}

.home-page--obsidian .mobile-showcase__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #171717;
}

.home-page--obsidian .mobile-showcase__lead {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--refine-muted, #525252);
  max-width: 38ch;
}

.home-page--obsidian .mobile-showcase__body {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: auto;
  width: 100%;
}

.home-page--obsidian .mobile-showcase__stage {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: auto;
  padding: 0.1rem 0 0.4rem;
}

.home-page--obsidian .mobile-showcase__stage .hero-phone--showcase {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.home-page--obsidian .home-panel--integrations .hero-phone--showcase {
  --phone-w: 100%;
  width: var(--phone-w);
  max-width: 100%;
  margin: 0 auto;
}

.home-page--obsidian .mobile-showcase__meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page--obsidian .mobile-showcase__carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
}

.home-page--obsidian .mobile-showcase__viewport {
  overflow: hidden;
  min-width: 0;
}

.home-page--obsidian .mobile-showcase__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.home-page--obsidian .mobile-showcase__slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.1rem 0;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.home-page--obsidian .mobile-showcase__slide.is-active {
  opacity: 1;
}

.home-page--obsidian .mobile-showcase__slide-eyebrow {
  display: none;
}

.home-page--obsidian .mobile-showcase__slide-title {
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #171717;
}

.home-page--obsidian .mobile-showcase__slide-desc {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--refine-muted, #525252);
  max-width: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page--obsidian .mobile-showcase__rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-inline: 1.85rem;
}

.home-page--obsidian .mobile-showcase__progress {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.home-page--obsidian .mobile-showcase__progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--obs-orange, #ff6200);
  transform: scaleX(0);
  transform-origin: left center;
}

.home-page--obsidian .mobile-showcase__dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.home-page--obsidian .mobile-showcase__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.home-page--obsidian .mobile-showcase__dot.is-active {
  width: 1.125rem;
  background: var(--obs-orange, #ff6200);
}

.home-page--obsidian .mobile-showcase__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #171717;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.home-page--obsidian .mobile-showcase__arrow:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.home-page--obsidian .mobile-showcase__arrow:active {
  transform: scale(0.94);
}

.home-page--obsidian .mobile-showcase__arrow svg {
  width: 0.8125rem;
  height: 0.8125rem;
}

@keyframes mobile-showcase-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page--obsidian .mobile-showcase__track {
    transition: none;
  }

  .home-page--obsidian .mobile-showcase__slide {
    transition: none;
  }

  .home-page--obsidian .mobile-showcase__progress-fill {
    transform: scaleX(1);
  }
}

.home-page--obsidian .mobile-showcase .hero-phone--showcase {
  --phone-w: clamp(7rem, 54%, 9rem) !important;
  width: var(--phone-w) !important;
  max-width: 9rem !important;
  filter: none;
}

.home-page--obsidian .mobile-showcase .hero-phone__bezel {
  border: none;
  box-shadow: none;
}

/* iPhone device frame — thick titanium bezel */
.home-page--obsidian .hero-phone--iphone .hero-phone__iphone {
  position: relative;
  width: 100%;
  padding: 0.34rem;
  border-radius: 1.75rem;
  background: linear-gradient(
    155deg,
    #787674 0%,
    #4a4846 8%,
    #1a1918 38%,
    #0e0d0c 52%,
    #32302e 72%,
    #5a5856 92%,
    #6e6c69 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.home-page--obsidian .hero-phone--iphone .hero-phone__iphone::before {
  content: '';
  position: absolute;
  inset: 0.14rem;
  z-index: 2;
  border-radius: 1.48rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.14),
    inset 0 -3px 6px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__iphone::after {
  content: '';
  position: absolute;
  inset: 0.28rem;
  z-index: 2;
  border-radius: 1.32rem;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.65),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__bezel {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  border-radius: 1.28rem;
  border: none;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 2px rgba(0, 0, 0, 0.85);
  aspect-ratio: 390 / 844;
  overflow: hidden;
  transform: none !important;
  filter: none !important;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__bezel::before,
.home-page--obsidian .hero-phone--iphone .hero-phone__bezel::after {
  content: none !important;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__screen-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.28rem;
  overflow: hidden;
  background: #000;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__screen {
  border-radius: 1.28rem;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__island {
  position: absolute;
  top: 3.8%;
  left: 50%;
  z-index: 4;
  width: 26%;
  height: 3.2%;
  min-height: 0.32rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 2px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__home-bar {
  position: absolute;
  bottom: 2%;
  left: 50%;
  z-index: 4;
  width: 30%;
  height: 0.16rem;
  min-height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  pointer-events: none;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__btn {
  position: absolute;
  z-index: 3;
  border-radius: 2px;
  background: linear-gradient(180deg, #6a6866 0%, #3a3836 45%, #2a2826 55%, #52504e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    -1px 0 2px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__btn--silent {
  left: -0.12rem;
  top: 18%;
  width: 0.12rem;
  height: 0.5rem;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__btn--vol-up {
  left: -0.12rem;
  top: 27%;
  width: 0.12rem;
  height: 0.7rem;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__btn--vol-down {
  left: -0.12rem;
  top: 37%;
  width: 0.12rem;
  height: 0.7rem;
}

.home-page--obsidian .hero-phone--iphone .hero-phone__btn--power {
  right: -0.12rem;
  top: 30%;
  width: 0.12rem;
  height: 1rem;
}

.home-page--obsidian .home-panel--integrations .hero-phone__device-shell {
  position: relative;
  width: 100%;
}

.home-page--obsidian .home-panel--integrations .hero-phone__glow-ring {
  display: none;
}

.home-page--obsidian .home-panel--integrations .hero-phone__bezel::after {
  content: none;
}

.home-page--obsidian .home-panel--integrations .hero-phone--iphone .hero-phone__screen-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.08rem;
  overflow: hidden;
  background: #000;
}

.home-page--obsidian .home-panel--integrations .hero-phone--iphone .hero-phone__screen {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 1.08rem;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.home-page--obsidian .home-panel--integrations .hero-phone--iphone .hero-phone__screen.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-page--obsidian .home-panel--integrations .hero-phone__screen-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.home-page--obsidian .home-panel--integrations .hero-phone__screen {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.home-page--obsidian .home-panel--integrations .hero-phone__screen.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-page--obsidian .home-panel--integrations .hero-phone__screen[hidden] {
  display: block;
}

/* Calendly — flush embed, no card, no internal scrollbar */
.home-page--obsidian .obs-sec--book .wrap {
  max-width: min(1120px, calc(100% - 2rem));
}

.home-page--obsidian .calendly-embed--flush,
.home-page--obsidian #calendly-strategy-embed.calendly-embed,
.home-page.home-page--crm #calendly-strategy-embed.calendly-embed,
.home-page--obsidian .calendly-embed--wide,
.home-page--obsidian .calendly-embed--full {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  aspect-ratio: unset !important;
  min-height: 0 !important;
  height: auto !important;
}

.home-page--obsidian .calendly-embed--flush iframe,
.home-page--obsidian #calendly-strategy-embed iframe,
.home-page.home-page--crm #calendly-strategy-embed iframe,
.home-page--obsidian .calendly-embed--wide iframe,
.home-page--obsidian .calendly-embed--full iframe {
  width: 100% !important;
  min-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  border: none !important;
  display: block !important;
  overflow: hidden !important;
}

.home-page--obsidian .obs-sec--book .obs-sec-head {
  margin-bottom: 0.75rem;
}

.home-page--obsidian .obs-sec--book .obs-frame--section .obs-frame__bg {
  display: none;
}

.home-page--obsidian .obs-sec--book .obs-frame--section .obs-frame__content {
  padding-inline: 0;
}

/* CRM overrides */
.home-page.home-page--crm .home-panel--landing {
  padding-top: calc(3.75rem + env(safe-area-inset-top, 0px)) !important;
  padding-bottom: 0.5rem !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}

.home-page.home-page--obsidian.home-page--crm .home-flow > .home-panel--integrations,
.home-page.home-page--crm .home-panel--integrations {
  padding: clamp(1.35rem, 2.5vw, 2rem) 0 !important;
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  justify-content: flex-start !important;
}

.home-page.home-page--crm .home-panel--landing .hero {
  padding: 0 !important;
}

.home-page.home-page--crm .home-panel--landing .hero__h {
  text-align: center !important;
  margin-inline: auto !important;
}

.home-page.home-page--crm .home-panel--landing .hero__headline {
  align-items: center !important;
  text-align: center !important;
}

/* ── Nav — defer to home-refine flat header ── */
.home-page--obsidian .navbar {
  width: 100% !important;
  max-width: none !important;
}

.home-page--obsidian .navbar__in {
  display: flex !important;
  grid-template-columns: unset !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem;
}

.home-page--obsidian .navbar__logo {
  justify-self: unset;
}

.home-page--obsidian .navbar__links {
  display: flex !important;
  justify-self: unset;
  grid-column: unset;
  margin-inline: auto;
}

.home-page--obsidian .navbar__actions {
  justify-self: unset;
  grid-column: unset;
}

.home-page--obsidian .navbar__menu {
  display: none !important;
}

.home-page--obsidian .navbar__cta.btn-convert {
  display: inline-flex !important;
}

/* ── Short viewports ── */
@media (max-height: 740px) {
  .home-page--obsidian .home-panel--landing .hero__h,
  .home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h {
    font-size: clamp(2.25rem, 6vw, 3.5rem) !important;
  }

  .home-page--obsidian .home-panel--integrations .hero-phone--showcase {
    --phone-w: clamp(6rem, 48%, 7.75rem);
  }

  .home-page--obsidian .mobile-showcase .hero-phone--showcase {
    width: clamp(6rem, 48%, 7.75rem) !important;
    max-width: 7.75rem !important;
  }

  .home-page--obsidian .mobile-showcase__lead {
    max-width: none;
  }

  .home-page--obsidian .home-panel--integrations,
  .home-page.home-page--crm .home-panel--integrations {
    height: auto !important;
  }
}

/* ── Mobile ── */
body.audit-sheet-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .home-page--obsidian .home-panel--landing .hero__h,
  .home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h {
    font-size: clamp(2.15rem, 10vw, 2.85rem) !important;
  }

  .home-page--obsidian .home-panel--landing .hero__h-line,
  .home-page--obsidian .home-panel--landing .hero__h-accent {
    white-space: normal;
  }

  .home-page.home-page--obsidian.home-page--crm .home-flow > .home-panel--integrations,
  .home-page--obsidian .home-panel--integrations,
  .home-page.home-page--crm .home-panel--integrations {
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
  }

  .home-page--obsidian .home-panel--integrations .integrations-panel {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .home-page--obsidian .integrations-display {
    max-width: 100%;
  }

  .home-page--obsidian .mobile-showcase {
    max-width: 100%;
  }

  .home-page--obsidian .mobile-showcase__slide {
    align-items: center;
    text-align: center;
  }

  .home-page--obsidian .integrations-display__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .home-page--obsidian .navbar__in {
    display: flex !important;
    justify-content: space-between;
  }

  .home-page--obsidian .navbar__links {
    display: none !important;
  }

  .home-page--obsidian .navbar__menu {
    display: flex !important;
  }

  .home-page--obsidian .navbar__cta.btn-convert {
    display: inline-flex !important;
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }

  html.home-page-root:has(.home-page--obsidian) .home-page.home-page--crm .home-flow > .sec {
    min-height: auto !important;
    justify-content: flex-start !important;
    padding-top: calc(4.25rem + env(safe-area-inset-top, 0px) + 1rem) !important;
    padding-bottom: 2.5rem !important;
  }

  html.home-page-root:has(.home-page--obsidian) .home-page.home-page--crm .home-flow > .home-panel:not(.home-panel--landing):not(.home-panel--integrations) {
    min-height: auto !important;
    justify-content: flex-start !important;
  }

  .home-page--obsidian .wrap,
  .home-page--obsidian .obs-wrap {
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .home-page--obsidian .hero__actions .btn {
    width: 100%;
    max-width: 22rem;
  }
}

/* ── Footer: always fully visible below content ── */
html.home-page-root:has(.home-page--obsidian) .footer {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding-bottom: max(2.5rem, calc(env(safe-area-inset-bottom, 0px) + 1rem)) !important;
}

/* ── Final viewport overrides (beat CRM / experience / polish stacks) ── */
html.home-page-root:has(.home-page--obsidian) .home-page.home-page--crm .home-flow > .home-panel--integrations,
html.home-page-root:has(.home-page--obsidian) .home-page--obsidian .home-panel--integrations {
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  justify-content: flex-start !important;
  scroll-snap-align: none !important;
}

html.home-page-root:has(.home-page--obsidian) {
  background: #ffffff !important;
}

.home-page.home-page--obsidian {
  background: #ffffff !important;
  color: var(--obs-muted, #525252);
}

html.home-page-root:has(.home-page--obsidian) body {
  background: #ffffff !important;
}

.home-page--obsidian .home-panel--landing .hero__h,
.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h,
.home-page.home-page--obsidian.home-page--crm .hero__h {
  color: #171717 !important;
}

.home-page--obsidian .marketing-audit__widget {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

html.home-page-root:has(.home-page--obsidian) .home-page.home-page--crm .calendly-embed,
html.home-page-root:has(.home-page--obsidian) .home-page.home-page--crm #calendly-strategy-embed,
html.home-page-root:has(.home-page--obsidian) .home-page--obsidian .calendly-inline-widget {
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.home-page-root:has(.home-page--obsidian) .home-page.home-page--crm .calendly-embed iframe,
html.home-page-root:has(.home-page--obsidian) .home-page--obsidian .calendly-inline-widget iframe {
  min-height: 0 !important;
}

html.home-page-root:has(.home-page--obsidian) {
  scroll-padding-top: 3.75rem;
}

.home-page--obsidian .home-page .navbar__links,
.home-page.home-page--obsidian .navbar__links {
  border-radius: 0 !important;
  background: transparent !important;
}

.home-page--obsidian .home-page .navbar__links a,
.home-page.home-page--obsidian .navbar__links a {
  border-radius: 0 !important;
}

.home-page--obsidian .integrations-display__eyebrow,
.home-page--obsidian .mobile-showcase__eyebrow {
  color: var(--refine-subtle, #525252);
}

.home-page.home-page--obsidian .navbar {
  border-radius: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
}

.home-page--obsidian .hero-phone__shadow,
.home-page--obsidian .hero-phone__glow-ring {
  display: none !important;
}

html.home-page-root:has(.home-page--obsidian) .home-page.home-page--crm .home-flow > .home-panel:not(.home-panel--landing):not(.home-panel--integrations),
html.home-page-root:has(.home-page--obsidian) .home-page.home-page--crm .home-flow > .sec {
  min-height: auto;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Hero header spacing — final overrides (beats refine/obsidian/crm) */
.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__headline {
  gap: 1.5rem !important;
  max-width: none !important;
  align-items: center !important;
  text-align: center !important;
}

.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__eyebrow {
  margin: 0 !important;
  letter-spacing: 0.18em !important;
}

.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin: 0 !important;
  font-size: clamp(2.1rem, 4.5vw, 3.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
}

.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h-line,
.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h-accent {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.02 !important;
}

.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h-accent {
  margin-top: 0 !important;
  padding-bottom: 0.1em !important;
  color: #5a5a5a !important;
}

.home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__brief {
  margin: 0 auto !important;
  max-width: 30rem !important;
  line-height: 1.65 !important;
}

@media (max-width: 767px) {
  .home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__headline {
    gap: 1.25rem !important;
  }

  .home-page.home-page--obsidian.home-page--crm .home-panel--landing .hero__h {
    gap: 0.45rem !important;
  }
}

.home-page--obsidian .obs-book-cta {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.home-page--obsidian .obs-book-cta__lead {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--refine-ink, #1a1a1a);
}

.home-page--obsidian .obs-book-cta__alt {
  margin: 0;
  font-size: 0.95rem;
  color: var(--refine-subtle, #525252);
}

.home-page--obsidian .obs-book-cta__alt a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
