:root {
  color-scheme: light;
  --orbit-page-background: #f7f2ef;
  --orbit-stage-width: clamp(40vw, calc(13.3333333vw + 384px), calc(100vw - 32px));
  --orbit-stage-height: 100svh;
  --orbit-font-size: clamp(26px, calc(3vw + 1.5vh), 64px);
  --orbit-page-x: 0px;
  --orbit-page-y: 0px;
  --orbit-page-scale: 1;
  --intro-travel: clamp(520px, 85svh, 900px);
  --home-column-width: min(760px, calc(100vw - 32px));
  --platform-opacity: 0;
  --platform-translate-y: 0px;
}

html {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  overflow-y: auto;
  background: var(--orbit-page-background);
}

body {
  width: 100%;
  margin: 0;
  min-height: 100svh;
  min-height: 100dvh;
  background: var(--orbit-page-background);
}

orbit-text-reveal {
  --orbit-background: transparent;
  position: absolute;
  top: 50%;
  top: 50svh;
  top: 50dvh;
  left: 50%;
  width: min(var(--orbit-stage-width), 100vw);
  height: min(var(--orbit-stage-height), 100svh);
  height: min(var(--orbit-stage-height), 100dvh);
  font-size: var(--orbit-font-size);
  overflow: clip;
  transform: translate3d(
      calc(-50% + var(--orbit-page-x)),
      calc(-50% + var(--orbit-page-y)),
      0
    )
    scale(var(--orbit-page-scale));
  transform-origin: center;
  will-change: transform;
}

orbit-text-reveal[hidden] {
  display: none;
}

.intro-sequence {
  min-height: 100svh;
  min-height: 100dvh;
}

.intro-sequence::after {
  content: '';
  display: block;
  height: var(--intro-travel);
  pointer-events: none;
}

.intro-scene {
  position: sticky;
  top: 0;
  min-height: 100svh;
  min-height: 100dvh;
  height: auto;
  overflow: visible;
}

.platforms {
  width: var(--home-column-width);
  margin-inline: auto;
  padding-block: clamp(250px, 36svh, 380px) 48px;
  opacity: var(--platform-opacity);
  translate: 0 var(--platform-translate-y);
  pointer-events: auto;
}

.platforms__heading {
  margin: 0 0 18px;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0;
}

@media (max-width: 599px) {
  .platforms__heading {
    font-size: 22px;
  }
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.platform-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 132px;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

@media (max-width: 599px) {
  .platform-card {
    min-height: 120px;
    padding: 18px;
  }
}

.platform-card:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.16);
}

@media (hover: hover) {
  .platform-card__action:hover .platform-card {
    translate: 0 -2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
}

.platform-card:focus-visible,
.platform-card__action:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.platform-card__icon {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

@media (max-width: 599px) {
  .platform-card__icon {
    width: 48px;
    height: 48px;
  }
}

.platform-card__text {
  flex: 1;
  min-width: 0;
}

.platform-card__title {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin: 0 0 4px;
}

@media (max-width: 599px) {
  .platform-card__title {
    font-size: 21px;
  }
}

.platform-card__description {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: #000;
  margin: 0;
}

.platform-card__copy-status {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
  margin-top: 4px;
  min-height: 1em;
}

.platform-card__action {
  display: block;
  text-decoration: none;
  color: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  opacity: var(--platform-card-opacity, 1);
  translate: 0 var(--platform-card-y, 0px);
  pointer-events: auto;
}
