@font-face {
  font-family: "Pretendard";
  src: url("./fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard JP";
  src: url("./fonts/PretendardJPVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

.xroomplay-landing {
  --font-primary: "Pretendard", "Noto Sans KR", Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  position: relative;
  height: 100dvh;
  overflow: hidden;
  background: #ffffff;
  color: #071745;
  font-family: var(--font-primary);
}

html:lang(jp) .xroomplay-landing {
  --font-primary: "Pretendard JP", "Pretendard", "Noto Sans KR", sans-serif;
}

.xroomplay-landing *,
.xroomplay-landing *::before,
.xroomplay-landing *::after {
  box-sizing: border-box;
}

.xroomplay-landing__header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  height: 60px;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #e2e6ef;
}

.xroomplay-landing__scroll-container {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.xroomplay-landing__page {
  width: 100%;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 85px;
  padding-bottom: 72px;
}

.xroomplay-landing__brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.xroomplay-landing__brand-logo {
  width: 32px;
  height: 32px;
  margin-left: clamp(10px, 4vw, 50px);
  object-fit: contain;
}

.xroomplay-landing__brand-mark {
  color: #000000;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.xroomplay-landing__brand-name {
  color: #071745;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.xroomplay-landing__lang {
  position: relative;
}

.xroomplay-landing__lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #e2e6ef;
  border-radius: 8px;
  background: #ffffff;
  color: #071745;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.xroomplay-landing__lang-current {
  display: inline-block;
  width: 22px;
  text-align: center;
}

.xroomplay-landing__lang-arrow {
  font-size: 11px;
  color: #6b7794;
}

.xroomplay-landing__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid #e2e6ef;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(7, 23, 69, 0.12);
}

.xroomplay-landing__lang-option {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.xroomplay-landing__lang-option:hover {
  background: #f3f5fb;
}

.xroomplay-landing__lang-option--selected {
  background: #eaf1ff;
}

.xroomplay-landing__lang-option-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xroomplay-landing__lang-option-flag {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 14px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(7, 23, 69, 0.12);
}

.xroomplay-landing__lang-option-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.xroomplay-landing__lang-option-name {
  color: #071745;
  font-size: 14px;
  font-weight: 500;
}

.xroomplay-landing__lang-option-code {
  color: #9aa7bd;
  font-size: 12px;
  font-weight: 400;
}

.xroomplay-landing__hero {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.xroomplay-landing__page--gallery {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}

.xroomplay-landing__gallery-intro {
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.xroomplay-landing__gallery-title {
  flex: 0 0 auto;
  margin: 0 0 0 0.3%;
  margin-top: 15px;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 500;
  line-height: 55px;
  letter-spacing: -0.04em;
  text-align: left;
}

.xroomplay-landing__hero-images {
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: nowrap;
  gap: 26px;
  overflow-x: auto;
}

.xroomplay-landing__hero-card {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: flex-grow 0.35s ease;
}

/* .xroomplay-landing__hero-card:hover {
  flex-grow: 1.6;
} */

.xroomplay-landing__hero-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 86%;
  text-align: center;
}

.xroomplay-landing__hero-card-title {
  color: #071745;
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xroomplay-landing__hero-card-desc {
  margin: 0;
  width: 100%;
  color: #5b6478;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.5;
  min-height: calc(1.5em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xroomplay-landing__hero-image {
  position: relative;
  width: 86%;
  flex-shrink: 0;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e6ef;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.xroomplay-landing__hero-try-button {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35%;
  padding: clamp(6px, 0.7vw, 9px) 10%;
  border-radius: 0 14px 0 0;
  line-height: 1;
  background: rgba(36, 119, 243, 0.75);
  color: #ffffff;
  text-align: center;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 160ms ease;
}

.xroomplay-landing__hero-try-button:hover {
  background: rgba(29, 99, 207, 0.85);
}

.xroomplay-landing__hero-try-button:active {
  background: rgba(26, 86, 179, 0.95);
}

.xroomplay-landing__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xroomplay-landing__intro {
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  margin-top: -20px;
  padding: 0 24px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.xroomplay-landing__subtitle {
  margin: 0;
  margin-top: -15px;
  padding-bottom: 5px;
  max-width: 900px;
  color: #999999;
  white-space: pre-line;
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: -0.02em;
  text-align: center;
}

.xroomplay-landing__gallery {
  width: 100%;
  flex: 1 1 auto;
  min-height: 140px;
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.xroomplay-landing__gallery::-webkit-scrollbar {
  display: none;
}

.xroomplay-landing__gallery--dragging {
  cursor: grabbing;
}

.xroomplay-landing__gallery-item {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: var(--gallery-item-ratio, 3 / 4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #11162a;
  color: #6b7794;
  pointer-events: none;
}

.xroomplay-landing__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xroomplay-landing__page--feature {
  align-items: stretch;
  justify-content: flex-start;
  padding-left: clamp(24px, 12vw, 260px);
}

.xroomplay-landing__feature-panel {
  flex: 0 0 auto;
  width: min(460px, 38vw);
  margin-top : 20px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
}

.xroomplay-landing__feature-title {
  margin: 0;
  margin-top: 15px;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.04em;
}

.xroomplay-landing__feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.xroomplay-landing__feature-tab {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e6ef;
}

.xroomplay-landing__feature-tab:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.xroomplay-landing__feature-tab-title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  font-size: 24px;
  font-weight: 500;
  color: #9aa7bd;
  cursor: pointer;
  transition: color 160ms ease;
}

.xroomplay-landing__feature-tab-title:hover {
  color: #4b5875;
}

.xroomplay-landing__feature-tab--active .xroomplay-landing__feature-tab-title {
  color: #2477f3;
}

.xroomplay-landing__feature-tab-desc {
  margin: 0;
  max-width: 380px;
  color: #4b5875;
  font-size: 15px;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease;
}

.xroomplay-landing__feature-tab--active .xroomplay-landing__feature-tab-desc {
  max-height: 200px;
  opacity: 1;
}

.xroomplay-landing__feature-image {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1400px;
  height: min(788px, calc(100% - 88px));
  margin-top: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #5692fc;
  background: #ffffff;
  color: #6b7794;
}

.xroomplay-landing__feature-visual {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.xroomplay-landing__feature-visual--active {
  opacity: 1;
  pointer-events: auto;
}

.xroomplay-landing__feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.xroomplay-landing__process-diagram {
  width: 1160px;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-primary);
  transform-origin: center center;
}

.xroomplay-landing__process-steps {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.xroomplay-landing__process-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px 14px;
  background: #ffffff;
  border: 1.5px solid #bfd7fa;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.xroomplay-landing__process-card-icon {
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #eaf2fe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xroomplay-landing__process-card-icon svg {
  width: 55%;
  height: 55%;
}

.xroomplay-landing__process-card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.xroomplay-landing__process-card-title {
  font-size: 16px;
  font-weight: 400;
  color: #111827;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xroomplay-landing__process-card-desc {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.35;
}

.xroomplay-landing__process-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  width: 20px;
}

.xroomplay-landing__process-arrow svg {
  width: 100%;
  height: auto;
  display: block;
}

.xroomplay-landing__process-connector {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 30px;
}

.xroomplay-landing__process-connector-arrow {
  position: absolute;
  top: 50%;
}

.xroomplay-landing__process-connector-arrow--down {
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
}

.xroomplay-landing__process-connector-arrow svg {
  width: 100%;
  height: auto;
  display: block;
}

.xroomplay-landing__process-ops {
  align-self: center;
  width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 20px;
  background: #ffffff;
  border: 1.5px solid #bfd7fa;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.xroomplay-landing__process-problems {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.xroomplay-landing__process-problem-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 14px;
  background: #ffffff;
  border: 1.5px solid #bfd7fa;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.xroomplay-landing__process-problem-card .xroomplay-landing__process-card-title {
  color: #2477f3;
  font-size: 20px;
}

.xroomplay-landing__process-problem-card .xroomplay-landing__process-card-desc {
  font-size: 17.5px;
}

.xroomplay-landing__process-problem-icon {
  flex-shrink: 0;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xroomplay-landing__process-problem-icon svg {
  width: 55%;
  height: 55%;
}

.xroomplay-landing__process-problem-icon--lg {
  width: 63px;
  height: 63px;
}

.xroomplay-landing__process-divider {
  border-top: 1.5px dashed #d1d5db;
}

.xroomplay-landing__process-question {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 26px 28px;
  background: #ffffff;
  border: 2px solid #2477f3;
  border-radius: 16px;
}

.xroomplay-landing__process-question-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #2477f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xroomplay-landing__process-question-icon span {
  color: #ffffff;
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
}

.xroomplay-landing__process-question-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.xroomplay-landing__process-question-title {
  font-size: 25px;
  font-weight: 500;
  color: #111827;
}

.xroomplay-landing__process-question-sub {
  font-size: 20px;
  color: #6b7280;
}

.xroomplay-landing__process-question-highlight {
  font-size: 20px;
  font-weight: 400;
  color: #2477f3;
}

.xroomplay-landing__page--devices {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.xroomplay-landing__devices {
  width: 100%;
  max-width: 1510px;
  height: 100%;
  margin: 0 auto;
  margin-top : 20px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.xroomplay-landing__devices-title {
  margin: 0;
  margin-top: 15px;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.04em;
}

.xroomplay-landing__devices-subtitle {
  margin: 0;
  color: #4b5875;
  font-size: 15px;
}

.xroomplay-landing__devices-cards {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.xroomplay-landing__devices-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: min(280px, 30vw);
}

.xroomplay-landing__devices-card-image {
  width: 100%;
  aspect-ratio: 385 / 567;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e6ef;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  color: #9aa7bd;
}

.xroomplay-landing__devices-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xroomplay-landing__devices-caption {
  text-align: left;
}

.xroomplay-landing__devices-caption strong {
  display: block;
  color: #606b8e;
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
}

.xroomplay-landing__devices-caption span {
  display: block;
  color: #999999;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
}

.xroomplay-landing__page--insights {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.xroomplay-landing__insights {
  width: 100%;
  max-width: 1510px;
  height: 100%;
  margin: 0 auto;
  margin-top : 20px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.xroomplay-landing__insights-title {
  margin: 0;
  margin-top: 15px;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.04em;
}

.xroomplay-landing__insights-subtitle {
  margin: 0;
  color: #4b5875;
  font-size: 15px;
}

.xroomplay-landing__insights-columns {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  gap: 32px;
  padding-top: 8px;
}

.xroomplay-landing__insights-column {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.xroomplay-landing__insights-section {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xroomplay-landing__insights-section-title {
  flex: 0 0 auto;
  margin: 0;
  color: #606b8e;
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
}

.xroomplay-landing__insights-section-subtitle {
  flex: 0 0 auto;
  margin: 0;
  color: #999999;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.xroomplay-landing__insights-card {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e2e6ef;
  border-radius: 16px;
  background: #ffffff;
  color: #9aa7bd;
}

.xroomplay-landing__insights-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.xroomplay-landing__insights-card--behavior {
  border-radius: 20px;
  border: 1px solid #606b8e;
  background: url(./images/insights/insights-behavior.png) #ffffff center / 100% auto no-repeat;
  filter: blur(5px);
}

.xroomplay-landing__insights-card--conversion {
  border-radius: 20px;
  border: 1px solid #606b8e;
  background: url(./images/insights/insights-conversion.png) #ffffff center / 100% auto
    no-repeat;
  filter: blur(5px);
}

.xroomplay-landing__insights-card--participants {
  border-radius: 20px;
  border: 1px solid #606b8e;
  background: url(./images/insights/insights-participants.png) #ffffff center / 100% auto
    no-repeat;
  filter: blur(5px);
}

.xroomplay-landing__page--gallery2 {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 29px;
}

.xroomplay-landing__gallery2-intro {
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  margin-top : 20px;
  padding: 0 24px;
  flex: 0 0 auto;
}

.xroomplay-landing__gallery2-title {
  margin: 0;
  margin-top: 15px;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.04em;
  text-align: left;
}

.xroomplay-landing__gallery2 {
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 0 3%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.xroomplay-landing__gallery2::-webkit-scrollbar {
  display: none;
}

.xroomplay-landing__gallery2-row {
  display: contents;
}

.xroomplay-landing__gallery2-item {
  flex: 0 0 70%;
  height: 500px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #11162a;
  color: #6b7794;
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}

.xroomplay-landing__gallery2-item--active {
  filter: grayscale(0);
  opacity: 1;
}

.xroomplay-landing__gallery2-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xroomplay-landing__page--diagram {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.xroomplay-landing__diagram {
  width: 100%;
  max-width: 1510px;
  margin-top : 20px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.xroomplay-landing__diagram-title {
  flex: 0 0 auto;
  margin: 0 0 0 0.3%;
  margin-top: 15px;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.04em;
  text-align: left;
}

.xroomplay-landing__diagram-image {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 640px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  color: #6b7794;
}

.xroomplay-landing__diagram-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.xroomplay-landing__title {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 70px;
  font-weight: 500;
  line-height: 75px;
  letter-spacing: normal;
  text-align: center;
}

.xroomplay-landing__final-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 72px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: left;
}

.xroomplay-landing__visual {
  width: 100%;
  max-width: 1370px;
  flex: 1 1 auto;
  min-height: 0;
  margin: 20px 0;
  background: url(./images/final/final-hero.png) #ffffff 50% / contain no-repeat;
}

.xroomplay-landing__page--final {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 72px;
}

.xroomplay-landing__final-outer {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* weighted spacers (2:1) bias the centered content toward the bottom,
   scaling proportionally with available height instead of a fixed offset */
.xroomplay-landing__final-outer::before {
  content: "";
  flex: 2 1 0;
}

.xroomplay-landing__final-outer::after {
  content: "";
  flex: 1 1 0;
}

.xroomplay-landing__final-content {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e2e6ef;
  border-bottom: 1px solid #e2e6ef;
  padding: 40px 24px;
}

.xroomplay-landing__final-hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.xroomplay-landing__final-subtitle {
  margin: 0 0 0 5px;
  color: #6b7280;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  text-align: left;
}

.xroomplay-landing__contact-bar {
  width: 100%;
  padding: 64px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.xroomplay-landing__contact-info {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.xroomplay-landing__contact-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.xroomplay-landing__contact-icon {
  width: 28px;
  height: 28px;
  color: #111111;
  flex-shrink: 0;
}

.xroomplay-landing__contact-icon svg {
  width: 100%;
  height: 100%;
}

.xroomplay-landing__contact-title {
  margin: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 600;
  text-align: left;
}

.xroomplay-landing__contact-email {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  text-align: left;
}

.xroomplay-landing__contact-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.xroomplay-landing__contact-button-arrow {
  font-size: 18px;
  line-height: 1;
}

.xroomplay-landing__contact-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.xroomplay-landing__footer {
  width: 100%;
  max-width: 1510px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 24px 0;
}

.xroomplay-landing__footer-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.xroomplay-landing__footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xroomplay-landing__footer-brand-name {
  color: #071745;
  font-size: 18px;
  font-weight: 600;
}

.xroomplay-landing__footer-tagline {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.xroomplay-landing__footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}

.xroomplay-landing__footer-column-title {
  color: #9aa2b1;
  font-size: 13px;
}

.xroomplay-landing__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid #071745;
  color: #071745;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.xroomplay-landing__footer-link:hover {
  opacity: 0.7;
}

.xroomplay-landing__footer-link-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.xroomplay-landing__footer-copyright {
  margin: 20px 0 0;
  padding: 16px 0;
  border-top: 1px solid #eef0f5;
  color: #9aa2b1;
  font-size: 12px;
  text-align: left;
}

.xroomplay-landing__placeholder-icon {
  width: 144px;
  height: 144px;
  color: #d9d9d9;
}

.xroomplay-landing__start-button {
  position: relative;
  z-index: 1;
  width: clamp(160px, 11.8vw, 226px);
  height: clamp(48px, 3.4vw, 64px);
  margin-top: 4px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9c6dd;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: clamp(16px, 1.3vw, 24px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  box-shadow: -4px 4px 4px 0px rgba(0, 0, 0, 0.25);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.xroomplay-landing__start-button:hover {
  border-color: #2477f3;
  background: #1d4ed8;
  transform: translateY(-1px);
}

.xroomplay-landing__start-button:focus-visible {
  outline: 3px solid rgba(36, 119, 243, 0.3);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .xroomplay-landing {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .xroomplay-landing__scroll-container {
    height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y proximity;
  }

  .xroomplay-landing__page {
    height: auto;
    min-height: 100dvh;
    flex-direction: column;
    padding: 88px 20px 48px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  /* pages with a horizontal swipe carousel skip vertical snap so the
     browser doesn't fight the swipe gesture's direction on touch */
  .xroomplay-landing__page--gallery,
  .xroomplay-landing__page--gallery2 {
    scroll-snap-align: none;
  }

  .xroomplay-landing__header {
    padding: 22px 24px;
  }

  .xroomplay-landing__title {
    font-size: 44px;
    line-height: 1.16;
  }

  .xroomplay-landing__subtitle {
    font-size: 19px;
    line-height: 1.4;
  }

  .xroomplay-landing__final-title {
    font-size: 46px;
    line-height: 1.2;
  }

  .xroomplay-landing__diagram-title,
  .xroomplay-landing__feature-title,
  .xroomplay-landing__devices-title,
  .xroomplay-landing__insights-title,
  .xroomplay-landing__gallery2-title,
  .xroomplay-landing__gallery-title {
    font-size: 34px;
    line-height: 1.25;
    margin-top: 0;
  }

  /* --- page 1: hero template cards --- */
  .xroomplay-landing__hero,
  .xroomplay-landing__gallery-intro,
  .xroomplay-landing__hero-images {
    max-width: 100%;
    padding: 0;
  }

  .xroomplay-landing__page--gallery {
    justify-content: flex-start;
    gap: 20px;
  }

  .xroomplay-landing__hero-images {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 5%;
    margin-top: auto;
    margin-bottom: auto;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .xroomplay-landing__hero-images::-webkit-scrollbar {
    display: none;
  }

  .xroomplay-landing__hero-image {
    width: 90%;
    aspect-ratio: 9 / 16;
  }

  .xroomplay-landing__hero-try-button {
    width: 42%;
    padding: 10px 10%;
    font-size: 15px;
  }

  .xroomplay-landing__hero-card {
    flex: 0 0 90%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    filter: grayscale(1);
    opacity: 0.6;
    transition:
      filter 0.3s ease,
      opacity 0.3s ease;
  }

  .xroomplay-landing__hero-card--active {
    filter: grayscale(0);
    opacity: 1;
  }

  /* --- page 2: process diagram, condensed to icon+title chips only (no
     descriptions) so it reads at a glance instead of shrinking to fit --- */
  .xroomplay-landing__diagram {
    height: auto;
    max-width: 100%;
    padding: 0;
    gap: 16px;
  }

  .xroomplay-landing__diagram-image {
    max-height: none;
    padding: 0;
  }

  .xroomplay-landing__process-diagram {
    width: 100%;
  }

  .xroomplay-landing__process-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 6px;
    border: 1.5px solid #bfd7fa;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    padding: 16px 10px;
  }

  .xroomplay-landing__process-card {
    flex: 0 0 auto;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .xroomplay-landing__process-card-text {
    align-items: center;
  }

  .xroomplay-landing__process-card-title {
    font-size: 13px;
    white-space: normal;
  }

  .xroomplay-landing__process-card-desc,
  .xroomplay-landing__process-question-sub,
  .xroomplay-landing__process-question-highlight {
    display: none;
  }

  .xroomplay-landing__process-steps .xroomplay-landing__process-arrow {
    display: flex;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
  }

  .xroomplay-landing__process-steps .xroomplay-landing__process-arrow:nth-child(6) {
    flex-basis: 100%;
    width: 100%;
    justify-content: center;
  }

  .xroomplay-landing__process-steps .xroomplay-landing__process-arrow:nth-child(6) svg {
    width: 16px;
    height: 16px;
    transform: rotate(90deg);
  }

  .xroomplay-landing__process-ops {
    flex-direction: column;
    text-align: center;
    width: 100%;
    max-width: none;
    padding: 12px;
    gap: 6px;
  }

  .xroomplay-landing__process-problems {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .xroomplay-landing__process-problem-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 12px 6px;
    gap: 6px;
  }

  .xroomplay-landing__process-problem-card .xroomplay-landing__process-card-title {
    font-size: 13px;
  }

  .xroomplay-landing__process-question {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 16px;
    gap: 12px;
  }

  .xroomplay-landing__process-question-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .xroomplay-landing__process-question-icon span {
    font-size: 20px;
  }

  .xroomplay-landing__process-question-title {
    font-size: 15px;
  }

  /* --- page 3: feature --- */
  .xroomplay-landing__page--feature {
    flex-direction: column;
    padding-left: 20px;
    gap: 24px;
  }

  .xroomplay-landing__feature-panel {
    width: 100%;
    margin-top: 0;
    padding: 0;
    gap: 24px;
  }

  .xroomplay-landing__feature-tabs {
    flex-direction: row;
    gap: 0;
    position: relative;
    margin-bottom: 100px;
  }

  .xroomplay-landing__feature-tab {
    flex: 1 1 0;
    min-width: 0;
    gap: 0;
    border-bottom: none;
    padding: 0 16px 0 0;
    border-right: 1px solid #e2e6ef;
  }

  .xroomplay-landing__feature-tab:last-child {
    border-right: none;
    padding-right: 0;
  }

  .xroomplay-landing__feature-tab:not(:first-child) {
    padding-left: 16px;
  }

  .xroomplay-landing__feature-tab-desc {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: none;
    margin-top: 12px;
    pointer-events: none;
  }

  .xroomplay-landing__feature-tab--active .xroomplay-landing__feature-tab-desc {
    pointer-events: auto;
  }

  .xroomplay-landing__feature-image {
    width: 100%;
    max-width: 100%;
    height: 400px;
    margin-top: 0;
    flex: 0 0 auto;
  }

  .xroomplay-landing__feature-visual img {
    object-fit: cover;
  }

  .xroomplay-landing__feature-visual[data-visual-index="0"] img {
    object-position: center;
  }

  .xroomplay-landing__feature-visual[data-visual-index="1"] img {
    object-position: left center;
  }

  /* --- page 4: devices --- */
  .xroomplay-landing__devices {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 0;
  }

  .xroomplay-landing__devices-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 200px));
    margin-top: auto;
    margin-bottom: auto;
    justify-content: center;
    gap: 16px;
  }

  .xroomplay-landing__devices-card {
    width: 100%;
    max-width: 200px;
    align-items: center;
  }

  .xroomplay-landing__devices-caption {
    text-align: center;
  }

  .xroomplay-landing__devices-caption strong {
    font-size: clamp(15px, 4.5vw, 22px);
  }

  .xroomplay-landing__devices-caption span {
    font-size: clamp(12px, 3.5vw, 18px);
    line-height: 1.3;
  }

  /* --- page 5: insights --- */
  .xroomplay-landing__insights {
    height: auto;
    max-width: 100%;
    padding: 0;
  }

  .xroomplay-landing__insights-columns {
    flex-direction: column;
    gap: 28px;
  }

  .xroomplay-landing__insights-column {
    flex: 0 0 auto;
    gap: 28px;
  }

  .xroomplay-landing__insights-section {
    flex: 0 0 auto;
  }

  .xroomplay-landing__insights-section-title {
    font-size: 16px;
  }

  .xroomplay-landing__insights-section-subtitle {
    font-size: 12px;
  }

  .xroomplay-landing__insights-card {
    flex: 0 0 auto;
    width: 55%;
    margin: 10px auto 0;
  }

  .xroomplay-landing__insights-card--participants {
    aspect-ratio: 599 / 453;
  }

  .xroomplay-landing__insights-card--behavior {
    aspect-ratio: 740 / 241;
  }

  .xroomplay-landing__insights-card--conversion {
    aspect-ratio: 719 / 216;
  }

  /* --- page 6: on-site gallery --- */
  .xroomplay-landing__gallery2-intro {
    max-width: 100%;
    padding: 0;
  }

  .xroomplay-landing__gallery2 {
    max-width: 100%;
  }

  .xroomplay-landing__gallery2-item {
    aspect-ratio: 4 / 4.2;
    max-height: min(50vh, 400px);
  }

  /* --- page 7: final / contact --- */
  .xroomplay-landing__page--final {
    padding: 0 0 40px;
  }

  .xroomplay-landing__footer {
    max-width: 100%;
    padding: 0 10px;
  }

  .xroomplay-landing__final-content {
    max-width: 100%;
    padding: 20px 10px;
  }

  .xroomplay-landing__final-subtitle {
    font-size: 16px;
  }

  .xroomplay-landing__contact-bar {
    padding-top: 24px;
  }

  .xroomplay-landing__footer {
    margin-top: 12px;
    padding-top: 10px;
  }

  .xroomplay-landing__footer-main {
    gap: 14px;
  }

  .xroomplay-landing__footer-brand-name {
    font-size: 15px;
  }

  .xroomplay-landing__footer-tagline {
    font-size: 12px;
  }

  .xroomplay-landing__footer-column-title {
    font-size: 11px;
  }

  .xroomplay-landing__footer-link {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .xroomplay-landing__header {
    padding: 20px;
  }

  .xroomplay-landing__brand-mark {
    font-size: 30px;
  }

  .xroomplay-landing__brand-name {
    font-size: 22px;
  }

  .xroomplay-landing__diagram-title,
  .xroomplay-landing__feature-title,
  .xroomplay-landing__devices-title,
  .xroomplay-landing__insights-title,
  .xroomplay-landing__gallery2-title,
  .xroomplay-landing__gallery-title {
    font-size: 28px;
  }

  .xroomplay-landing__hero {
    padding: 16px 20px 28px;
  }

  .xroomplay-landing__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .xroomplay-landing__final-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .xroomplay-landing__subtitle {
    font-size: 15px;
    line-height: 1.4;
  }

  .xroomplay-landing__contact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .xroomplay-landing__contact-button {
    width: 100%;
  }

  .xroomplay-landing__visual {
    min-height: 300px;
    flex-basis: 340px;
  }

  .xroomplay-landing__start-button {
    width: 100%;
    min-width: 0;
  }
}

.xroomplay-landing__scroll-top {
  position: fixed;
  right: 28px;
  bottom: 10px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(36, 119, 243, 0.65);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background-color 160ms ease;
}

.xroomplay-landing__scroll-top svg {
  width: 20px;
  height: 20px;
}

.xroomplay-landing__scroll-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.xroomplay-landing__scroll-top:hover {
  background: rgba(29, 99, 207, 0.8);
}

.xroomplay-landing__scroll-top:active {
  background: rgba(26, 86, 179, 0.9);
  transform: scale(0.94);
}
