:root {
  --entry-stage-width: 1355;
  --entry-stage-height: 829;
  --entry-stage-scale: 1;
  --page-bg: #03050a;
  --page-bg-soft: #090d16;
  --text-primary: rgba(247, 248, 251, 0.98);
  --text-secondary: rgba(220, 225, 235, 0.72);
  --text-tertiary: rgba(220, 225, 235, 0.52);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --panel-bg: rgba(10, 14, 22, 0.72);
  --panel-bg-strong: rgba(12, 16, 24, 0.82);
  --panel-inner: rgba(14, 18, 28, 0.92);
  --shadow-xl: 0 28px 90px rgba(0, 0, 0, 0.48);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.32);
  --radius-page: 32px;
  --radius-card: 34px;
  --radius-card-inner: 28px;
  --radius-pill: 999px;
  --font-display: "SF Pro Display", "Helvetica Neue", "PingFang SC", "Segoe UI",
    sans-serif;
  --font-text: "SF Pro Text", "Helvetica Neue", "PingFang SC", "Segoe UI",
    sans-serif;
  --grain-opacity: 0.11;
  --parallax-device-x: 0px;
  --parallax-device-y: 0px;
  --parallax-device-rotate-x: 0deg;
  --parallax-device-rotate-y: 0deg;
  --parallax-preview-x: 0px;
  --parallax-preview-y: 0px;
  --parallax-preview-rotate-x: 0deg;
  --parallax-preview-rotate-y: 0deg;
  --parallax-stack-x: 0px;
  --parallax-stack-y: 0px;
  --parallax-stack-rotate-x: 0deg;
  --parallax-stack-rotate-y: 0deg;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
  color: var(--text-primary);
}

body {
  font-family: var(--font-text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.entry-page {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 78%, rgba(255, 120, 68, 0.12), transparent 20%),
    radial-gradient(circle at 84% 8%, rgba(120, 124, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #050812 0%, #020307 100%);
}

.entry-page__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--entry-stage-width) * 1px);
  height: calc(var(--entry-stage-height) * 1px);
  transform: translate(-50%, -50%) scale(var(--entry-stage-scale));
  transform-origin: center center;
}

.entry-page__bg-canvas,
.entry-page__grain,
.entry-page__vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.entry-page__bg-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.entry-page__grain {
  z-index: 1;
  opacity: var(--grain-opacity);
  mix-blend-mode: soft-light;
  background: url("../static/grains/full.png") center center / cover no-repeat;
}

.entry-page__vignette {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 18%, transparent 76%, rgba(0, 0, 0, 0.38)),
    radial-gradient(circle at 50% 45%, transparent 36%, rgba(0, 0, 0, 0.3) 100%);
}

.entry-page__shell {
  position: absolute;
  inset: 0;
  z-index: 4;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 67px 98px 51px 99px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  height: 50px;
  padding-left: 7px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand__mark {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #101010;
  background: #101010;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

.hero {
  position: relative;
  flex: 0 0 438px;
  display: flex;
  align-items: flex-start;
  gap: 44px;
  margin-top: 42px;
}

.hero__copy,
.hero__preview {
  min-width: 0;
}

.hero__copy {
  position: relative;
  z-index: 2;
  flex: 0 0 714px;
  height: 271px;
  max-width: none;
  margin-top: 83.5px;
  padding-bottom: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(221, 227, 240, 0.92);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.04em;
}

.hero__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 700;
  line-height: 1.0294117647;
  letter-spacing: -0.05em;
}

.hero__subtitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.5909090909;
  letter-spacing: -0.055em;
  max-width: 714px;
}

.hero__body {
  max-width: 714px;
  margin: -4px 0 0;
  color: rgba(214, 219, 229, 0.78);
  font-size: 19px;
  line-height: 28px;
  letter-spacing: -0.025em;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 590;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease,
    background 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta--primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 241, 246, 0.9));
  color: #0b0d12;
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.1);
}

.cta--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.hero__preview {
  position: relative;
  z-index: 3;
  flex: 0 0 400px;
  height: 438px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 8px 4px 10px 24px;
  perspective: 1200px;
}

.preview-card {
  --preview-card-scale: 1;
  --preview-cta-scale: 1;
  position: relative;
  display: block;
  width: 372px;
  height: 420px;
  border-radius: 32px;
  background: rgba(17, 17, 17, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  cursor: pointer;
  text-decoration: none;
  transform-style: preserve-3d;
  transform:
    translate3d(var(--parallax-preview-x), var(--parallax-preview-y), 0)
    rotateX(var(--parallax-preview-rotate-x))
    rotateY(var(--parallax-preview-rotate-y))
    scale(var(--preview-card-scale));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.preview-card:hover,
.preview-card:focus-visible {
  --preview-card-scale: 1.04;
  --preview-cta-scale: 1.08;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 68px rgba(0, 0, 0, 0.38);
}

.preview-card:focus-visible {
  outline: 2px solid rgba(160, 188, 255, 0.68);
  outline-offset: 6px;
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 82% 24%, rgba(124, 92, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.preview-card__window {
  position: absolute;
  inset: 15px;
  border-radius: 26px;
  background: rgba(13, 16, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.preview-card__toolbar {
  position: absolute;
  left: 31px;
  top: 27px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dot--red {
  background: #ff5f57;
}

.window-dot--yellow {
  background: #febc2e;
}

.window-dot--green {
  background: #28c840;
}

.preview-card__stage {
  position: relative;
  left: 31px;
  top: 83px;
  width: 300px;
  height: 240px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 13, 18, 0.82);
  overflow: hidden;
}

.preview-card__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.72;
}

.preview-card__glow--violet {
  top: -34px;
  right: -4px;
  width: 116px;
  height: 116px;
  background: rgba(124, 92, 255, 0.3);
  filter: blur(32px);
}

.preview-card__glow--teal {
  left: -15px;
  bottom: -28px;
  width: 134px;
  height: 96px;
  background: rgba(22, 224, 191, 0.2);
  filter: blur(29px);
}

.stack-card {
  position: absolute;
  left: 63px;
  top: 31px;
  width: 176px;
  height: 194px;
  padding: 16px 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 26px;
  background: rgba(17, 17, 17, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
  transform-style: preserve-3d;
  transform:
    translate3d(var(--parallax-stack-x), var(--parallax-stack-y), 18px)
    rotateX(var(--parallax-stack-rotate-x))
    rotateY(var(--parallax-stack-rotate-y));
}

.stack-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 144px;
  height: 78px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(242, 245, 250, 0.94);
}

.stack-card__pill {
  display: block;
  width: 54px;
  height: 50px;
  border-radius: 16px;
}

.stack-card__pill--violet {
  background: #7785f3;
}

.stack-card__pill--teal {
  background: #5dd0c0;
}

.stack-card__title {
  width: 54px;
  font-family: "Iowan Old Style", "Times New Roman", serif;
  font-size: 24px;
  line-height: 25px;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.94);
}

.preview-card__bottom {
  position: absolute;
  left: 224px;
  top: 331px;
  display: flex;
  align-items: center;
}

.preview-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 22px;
  background: #f6f7fb;
  overflow: clip;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
  color: #060709;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: scale(var(--preview-cta-scale));
  transform-origin: center center;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.platform-strip {
  margin-top: 149px;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
}

.platform-strip__inner {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.platform-strip__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(239, 243, 250, 0.76);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.platform-strip__chip--link {
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.platform-strip__chip--link:hover,
.platform-strip__chip--link:focus-visible {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(26, 36, 74, 0.24);
}

.platform-strip__chip--link:focus-visible {
  outline: 2px solid rgba(160, 188, 255, 0.58);
  outline-offset: 4px;
}

.platform-strip__chip--active {
  background: rgba(123, 167, 255, 0.2);
  color: rgba(239, 243, 250, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

.device-scene {
  position: absolute;
  left: -310px;
  bottom: -146px;
  z-index: 3;
  width: 961.78px;
  height: 541px;
  margin: 0;
  opacity: 0.33;
  perspective: 1400px;
}

.device-scene__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform:
    translate3d(var(--parallax-device-x), var(--parallax-device-y), 0)
    rotate(-16deg)
    rotateX(var(--parallax-device-rotate-x))
    rotateY(var(--parallax-device-rotate-y));
  transform-origin: 55% 72%;
  will-change: transform;
}

@media (max-width: 1180px) {
  .entry-page__shell {
    padding-inline: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-card,
  .stack-card,
  .device-scene,
  .cta {
    transition: none;
  }
}
