.demo-contact-page {
  min-height: 100vh;
  background: #fbfbfa;
  color: #111;
}

.demo-contact-page .site-header {
  top: 16px;
}

.demo-contact-page .nav-shell {
  width: min(calc(100% - 36px), 860px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(24, 24, 23, 0.82);
  box-shadow: none;
}

.demo-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  width: 100%;
  min-width: 0;
  min-height: max(100svh, 760px);
}

.demo-contact-page .demo-intro,
.demo-contact-page .demo-visual {
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
}

.demo-contact-page .demo-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-height: max(100svh, 760px);
  gap: 0;
  padding: 116px clamp(40px, 4vw, 72px) 26px;
  overflow: hidden;
  border-right: 1px solid rgba(15, 15, 15, 0.08);
  background: #fbfbfa;
}

.demo-intro-inner {
  display: block;
  align-self: center;
  width: 100%;
  min-width: 0;
  padding-bottom: 28px;
}

.demo-partnership-label {
  margin: 0 0 20px;
  color: #73756f;
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-intro h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(24px, 2.25vw, 31.5px);
  font-weight: 410;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.demo-lede {
  max-width: 530px;
  margin: 26px 0 0;
  color: #676963;
  font-size: clamp(13.5px, 1.1625vw, 16.5px);
  font-weight: 390;
  line-height: 1.32;
  letter-spacing: -0.025em;
}

.demo-partnership-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 530px;
  margin: 38px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 11, 11, 0.14);
}

.demo-partnership-meta div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.demo-partnership-meta span {
  color: #8b8d87;
  font-size: 9px;
  font-weight: 570;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.demo-partnership-meta p {
  margin: 0;
  color: #343633;
  font-size: 12px;
  font-weight: 430;
  line-height: 1.48;
}

.demo-intro-bottom {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 34px;
}

.demo-trust {
  min-width: 0;
}

.demo-trust > p {
  margin: 0 0 16px;
  color: #8a8c87;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-trust-track {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.demo-trust-row {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 30px;
  min-width: max-content;
  padding-right: 30px;
  animation: marquee 34s linear infinite;
}

.demo-trust-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 32px;
}

.demo-trust-row img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96px;
  max-height: 24px;
  object-fit: contain;
  filter: none;
  opacity: 0.9;
}

.demo-trust-row span:nth-child(3) img,
.demo-trust-row span:nth-child(4) img {
  max-width: 42px;
  max-height: 28px;
}

.demo-trust-row span:nth-child(5) img {
  max-width: 70px;
}

.demo-trust-row span:nth-child(6) img,
.demo-trust-row span:nth-child(7) img {
  max-width: 110px;
}

.demo-trust-row span:nth-child(8) img {
  max-width: 64px;
}

.demo-mini-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #969893;
  font-size: 10px;
}

.demo-mini-footer a {
  color: #3c3f3a;
  transition: color 180ms ease;
}

.demo-mini-footer a:hover {
  color: #000;
}

.demo-contact-page .demo-visual {
  min-height: max(100svh, 760px);
  padding: 92px clamp(18px, 1.5vw, 30px) 18px;
  overflow: hidden;
  background: #fff;
}

.demo-calendar-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: calc(max(100svh, 760px) - 98px);
}

.demo-calendar-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.demo-calendar-embed {
  width: 100%;
  height: auto;
  min-height: 662px;
  overflow: visible;
  border-radius: 10px;
  background: #fff;
}

.demo-calendar-fallback {
  max-width: 460px;
  margin: 48px auto;
  padding: 24px;
  color: #4d4f4a;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.demo-calendar-fallback a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 1101px) {
  .demo-intro-inner {
    transform: translateY(clamp(-64px, -5vh, -36px));
  }
}

@media (max-width: 1100px) {
  .demo-page-shell {
    display: block;
  }

  .demo-contact-page .demo-intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    min-height: 620px;
    gap: 0;
    padding: 124px 32px 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 15, 15, 0.08);
  }

  .demo-intro-inner {
    display: block;
    width: min(100%, 680px);
  }

  .demo-intro h1 {
    font-size: clamp(30px, 6.5vw, 40px);
  }

  .demo-lede {
    max-width: 680px;
    font-size: clamp(20px, 4vw, 26px);
  }

  .demo-partnership-meta {
    max-width: 560px;
    margin-top: 42px;
  }

  .demo-intro-bottom {
    padding: 0;
    border: 0;
  }

  .demo-contact-page .demo-visual {
    min-height: auto;
    padding: 48px 6px 6px;
  }

  .demo-calendar-wrap {
    min-height: 720px;
  }

  .demo-calendar-embed {
    height: auto;
    min-height: 720px;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .demo-contact-page .site-header {
    top: 12px;
  }

  .demo-contact-page .demo-intro {
    grid-template-columns: minmax(0, 1fr);
    min-height: 650px;
    padding: calc(100px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left));
  }

  .demo-intro-inner,
  .demo-intro-bottom,
  .demo-trust {
    width: 100%;
    min-width: 0;
  }

  .demo-partnership-label {
    font-size: 12px;
  }

  .demo-intro h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .demo-lede {
    font-size: 20px;
  }

  .demo-partnership-meta {
    margin-top: 42px;
  }

  .demo-intro-bottom {
    gap: 36px;
  }

  .demo-trust-row {
    gap: 28px;
    padding-right: 28px;
  }

  .demo-trust-track {
    width: 100%;
    max-width: 100%;
  }

  .demo-mini-footer {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .demo-mini-footer a {
    width: fit-content;
    min-height: 44px;
    align-items: center;
  }

  .demo-contact-page .demo-visual {
    padding: 36px max(2px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(2px, env(safe-area-inset-left));
  }

  .demo-calendar-wrap {
    min-height: 760px;
  }

  .demo-calendar-embed {
    height: auto;
    min-height: 760px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-trust-row {
    animation-play-state: paused;
  }
}
