:root {
  --community-layout-width: min(1240px, calc(100% - 40px));
}

.main-grid.is-guest-landing {
  grid-template-columns: 1fr;
}

.main-grid.is-guest-landing .side-panel,
.guest-community-page > .guest-hero-card {
  display: none;
}

.guest-community-page {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.guest-community-page h1,
.guest-community-page h2,
.guest-community-page h3,
.guest-community-page p {
  margin: 0;
}

.guest-eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.guest-hero {
  position: relative;
  min-height: calc(100vh - 136px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0b1020;
  padding: 34px;
  isolation: isolate;
}

.guest-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.guest-hero::after,
.guest-manifesto::after,
.guest-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 16, 32, .92), rgba(11, 16, 32, .66));
}

.guest-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.guest-hero__copy h1 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(3rem, 5.2vw, 4.5rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .95;
}

.guest-hero__copy p {
  max-width: 690px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.72;
}

.guest-hero__copy .guest-hero__intro {
  margin-top: 28px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 850;
  line-height: 1.35;
}

.guest-hero__copy .guest-hero__intro + p {
  margin-top: 18px;
}

.guest-hero__actions,
.guest-final-cta__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.guest-hero__actions {
  position: relative;
  z-index: 2;
  justify-content: center;
  align-items: center;
}

.guest-primary {
  min-height: 48px;
  padding: 14px 20px;
  box-shadow: 0 16px 34px rgba(0, 170, 255, .24);
}

.guest-hero__visual {
  position: relative;
  z-index: 2;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  background: #101827;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .22);
}

.guest-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0) 38%, rgba(8, 13, 28, .86));
}

.guest-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  display: block;
  opacity: .78;
}

.guest-visual-card {
  position: absolute;
  z-index: 1;
  width: min(300px, calc(100% - 40px));
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  color: #0f172a;
  padding: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
  backdrop-filter: blur(12px);
}

.guest-visual-card span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.guest-visual-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.guest-visual-card--top {
  top: 22px;
  left: 22px;
}

.guest-visual-card--bottom {
  right: 22px;
  bottom: 22px;
}

.guest-belief,
.guest-problem,
.guest-manifesto,
.guest-final-cta {
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
}

.guest-belief {
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  background: #0b1020;
  border-color: #0b1020;
}

.guest-belief p {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 3.1rem);
  font-weight: 950;
  line-height: 1;
}

.guest-belief strong {
  max-width: 780px;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.guest-problem,
.guest-manifesto,
.guest-final-cta {
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 36px;
}

.guest-problem h2,
.guest-section-block h2,
.guest-manifesto h2,
.guest-fit-grid h2,
.guest-final-cta h2 {
  margin-top: 12px;
  color: #0b1020;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .94;
}

.guest-problem__list {
  display: grid;
  gap: 10px;
}

.guest-problem__list p,
.guest-fit-grid p {
  border-left: 3px solid var(--blue);
  background: #f8fafc;
  color: #334155;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
}

.guest-section-block {
  padding: 8px 0;
  text-align: center;
}

.guest-section-block > h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.guest-feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guest-feature {
  min-height: 238px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.guest-feature span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.guest-feature h3 {
  margin-top: 34px;
  color: #0f172a;
  font-size: 1.32rem;
  font-weight: 950;
  line-height: 1.05;
}

.guest-feature p,
.guest-manifesto > p,
.guest-final-cta p {
  margin-top: 14px;
  color: #475569;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.65;
}

.guest-manifesto {
  position: relative;
  overflow: hidden;
  background: #0b1020;
  border-color: #0b1020;
  color: #fff;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  isolation: isolate;
}

.guest-manifesto::after {
  background: rgba(11, 16, 32, .78);
}

.guest-manifesto > div,
.guest-manifesto > p {
  position: relative;
  z-index: 2;
}

.guest-manifesto > div {
  color: #fff;
}

.guest-manifesto h2,
.guest-manifesto > p {
  color: #fff;
}

.guest-manifesto > p {
  max-width: 760px;
  margin-top: 0;
}

.guest-manifesto .guest-eyebrow {
  color: rgba(255, 255, 255, .78);
}

.guest-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guest-fit-grid article {
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  padding: 32px;
}

.guest-fit-grid h2 {
  margin: 0 0 22px;
  font-size: clamp(1.65rem, 2.6vw, 3rem);
}

.guest-fit-grid p + p {
  margin-top: 10px;
}

.guest-final-cta {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  align-items: center;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
  background: #0b1020;
  border-color: #0b1020;
  text-align: center;
  isolation: isolate;
}

.guest-final-cta::after {
  background: rgba(11, 16, 32, .78);
}

.guest-final-cta > div {
  position: relative;
  z-index: 2;
}

.guest-final-cta h2 {
  max-width: 760px;
  color: #fff;
}

.guest-final-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
}

.guest-final-cta__actions {
  justify-content: center;
  margin-top: 0;
}

@media (max-width: 900px) {
  :root { --community-layout-width: calc(100% - 28px); }

  .main-grid.is-guest-landing {
    width: 100%;
    margin-top: 22px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .guest-community-page {
    gap: 34px;
  }

  .guest-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .guest-hero__copy h1 {
    font-size: clamp(2.8rem, 11vw, 4.5rem);
  }

  .guest-hero__visual,
  .guest-hero__visual img {
    min-height: 430px;
  }

  .guest-problem,
  .guest-final-cta {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px;
  }

  .guest-belief,
  .guest-manifesto {
    padding: 28px;
  }

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

  .guest-feature {
    min-height: auto;
  }

  .guest-final-cta__actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .topbar .session .primary.small {
    display: none;
  }

  .topbar .brand {
    min-width: 0;
  }

  .topbar .session {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .topbar .icon-text {
    text-transform: uppercase;
  }

  .main-grid.is-guest-landing {
    width: 100% !important;
    padding-left: 14px;
    padding-right: 14px;
  }

  .guest-community-page {
    gap: 26px;
  }

  .guest-hero {
    padding: 22px;
  }

  .guest-hero__copy h1 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .guest-hero__copy .guest-hero__intro {
    font-size: clamp(1.2rem, 5.4vw, 1.45rem);
  }

  .guest-hero__copy p {
    font-size: 1rem;
  }

  .guest-hero__actions {
    align-items: center;
    flex-direction: column;
  }

  .guest-final-cta__actions {
    align-items: center;
    flex-direction: column;
  }

  .guest-primary {
    width: auto;
    justify-content: center;
  }

  .guest-hero__visual,
  .guest-hero__visual img {
    min-height: 360px;
  }

  .guest-visual-card {
    left: 14px;
    right: 14px;
    width: auto;
  }

  .guest-visual-card--top {
    top: 14px;
  }

  .guest-visual-card--bottom {
    bottom: 14px;
  }

  .guest-belief,
  .guest-problem,
  .guest-manifesto,
  .guest-final-cta,
  .guest-fit-grid article,
  .guest-feature {
    padding: 22px;
  }

  .guest-belief,
  .guest-manifesto {
    border-radius: 0;
    margin-left: -14px;
    margin-right: -14px;
  }

  .guest-problem h2,
  .guest-section-block h2,
  .guest-manifesto h2,
  .guest-fit-grid h2,
  .guest-final-cta h2 {
    font-size: clamp(1.7rem, 10vw, 2.6rem);
  }

  .guest-belief p {
    font-size: clamp(1.7rem, 10vw, 2.6rem);
  }

  .guest-belief strong {
    font-size: clamp(1rem, 4.5vw, 1.22rem);
  }
}
