:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #070911;
  color: #f4efff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 60, 167, 0.22),
      transparent 32rem
    ),
    linear-gradient(135deg, #070911 0%, #10131f 54%, #121624 100%);
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.shell.narrow {
  width: min(760px, calc(100% - 40px));
}

.hero {
  min-height: clamp(500px, 58vh, 660px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 42px;
  align-items: center;
  padding-bottom: 34px;
}

.hero > * {
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: #7ee6f5;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 8rem;
  line-height: 0.88;
}

h2 {
  font-size: 1.65rem;
}

.lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: #c7c1d4;
  font-size: 1.25rem;
  line-height: 1.55;
}

.disclaimer {
  max-width: 660px;
  margin: 16px 0 0;
  color: #aaa4b7;
  font-size: 0.95rem;
  line-height: 1.55;
}

.brand-art {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 24px 54px rgba(0, 0, 0, 0.4));
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.download,
.support-link,
.text-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  color: #071018;
  background: #43c7da;
  box-shadow: 0 14px 28px rgba(67, 199, 218, 0.22);
}

.button.primary:hover {
  background: #5bdff0;
  box-shadow: 0 16px 30px rgba(67, 199, 218, 0.3);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.button,
.download span,
.support-link,
.text-link {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.download:hover span,
.support-link:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.section.compact p {
  margin: 0;
  color: #c7c1d4;
  line-height: 1.65;
}

.privacy-copy {
  display: grid;
  gap: 18px;
}

.privacy-copy section {
  display: grid;
  gap: 8px;
}

.privacy-copy h3 {
  margin: 0;
  color: #f8f6ff;
  font-size: 1rem;
}

.privacy-copy p {
  max-width: 760px;
  margin: 0;
  color: #c7c1d4;
  line-height: 1.65;
}

.privacy-copy ul,
.narrow ul {
  margin: 0;
  padding-left: 20px;
  color: #c7c1d4;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  color: #7ee6f5;
  font-weight: 800;
  background: rgba(126, 230, 245, 0.08);
}

.text-link:hover {
  border-color: rgba(126, 230, 245, 0.5);
  background: rgba(126, 230, 245, 0.14);
}

.features-section {
  align-items: stretch;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 18px;
  border: 1px solid rgba(126, 230, 245, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.feature-list h3 {
  margin: 0 0 8px;
  color: #f8f6ff;
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  color: #c7c1d4;
  line-height: 1.6;
}

.download-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.download-platform {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.download-platform h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  padding-bottom: 18px;
  color: #f8f6ff;
  font-size: 1.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.platform-logo {
  display: grid;
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: invert(1) brightness(1.8);
  opacity: 0.94;
}

.download {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.download span {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(135deg, #1f8799 0%, #22995a 100%);
  box-shadow: 0 12px 24px rgba(22, 122, 113, 0.16);
}

.download span::after,
.support-link::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 42%,
    transparent 66%
  );
  transform: translateX(-120%);
  transition: transform 260ms ease;
}

.download:hover span {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 42%),
    linear-gradient(135deg, #35c8d7 0%, #36d47a 100%);
  box-shadow:
    0 18px 34px rgba(54, 212, 122, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.download:hover span::after,
.support-link:hover::after {
  transform: translateX(120%);
}

.download small {
  color: #c9c3d3;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.35;
}

.mac-download {
  position: relative;
  display: grid;
  gap: 8px;
}

.download-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 0;
  align-items: start;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(22, 122, 113, 0.16);
}

.mac-download-primary span {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}

.mac-download-detail {
  color: #c9c3d3;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.35;
}

.download-menu-button {
  position: relative;
  display: grid;
  width: 54px;
  min-height: 58px;
  place-items: center;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(135deg, #1f8799 0%, #22995a 100%);
}

.download-menu-button::before {
  width: 0;
  height: 0;
  border-top: 6px solid #ffffff;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: "";
}

.download-split:hover .mac-download-primary span,
.download-menu-button:hover,
.download-menu-button:focus-visible,
.download-menu-button[aria-expanded="true"] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 42%),
    linear-gradient(135deg, #35c8d7 0%, #36d47a 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.download-split:hover,
.download-split:focus-within {
  box-shadow: 0 18px 34px rgba(54, 212, 122, 0.22);
}

.download-menu {
  position: absolute;
  z-index: 5;
  top: 66px;
  right: 0;
  display: grid;
  width: min(100%, 260px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(13, 18, 31, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.download-menu[hidden] {
  display: none;
}

.download-menu a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: #f8f6ff;
  text-decoration: none;
}

.download-menu a:hover,
.download-menu a:focus-visible {
  background: rgba(126, 230, 245, 0.12);
}

.download-menu span {
  font-weight: 820;
}

.download-menu small {
  color: #c9c3d3;
  font-size: 0.84rem;
}

.screenshots-section {
  grid-template-columns: 1fr;
  gap: 22px;
  overflow: hidden;
  padding-bottom: 48px;
}

.screenshot-carousel {
  display: grid;
  grid-auto-columns: minmax(720px, 88%);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  margin-right: calc((100vw - min(1120px, calc(100vw - 40px))) / -2);
  padding: 18px max(20px, calc((100vw - min(1120px, calc(100vw - 40px))) / 2))
    28px 0;
  scroll-padding: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screenshot-carousel::-webkit-scrollbar {
  display: none;
}

.screenshot-carousel.is-wrapping {
  scroll-snap-type: none;
}

.screenshot-card {
  display: grid;
  gap: 12px;
  margin: 0;
  opacity: var(--screenshot-opacity, 1);
  scroll-snap-align: start;
  transform: scale(var(--screenshot-scale, 0.92));
  transform-origin: center center;
  transition:
    opacity 120ms ease,
    transform 120ms ease;
  will-change: transform;
}

.screenshot-carousel.is-wrapping .screenshot-card {
  transition: none;
}

.screenshot-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.screenshot-link:hover img {
  border-color: rgba(126, 230, 245, 0.42);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(126, 230, 245, 0.16) inset;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(126, 230, 245, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
}

.screenshot-lightbox img {
  width: 100%;
  object-fit: contain;
  border: 1px solid rgba(126, 230, 245, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
}

.screenshot-card figcaption {
  color: #f8f6ff;
  font-size: 0.95rem;
  font-weight: 800;
}

.screenshot-lightbox {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
}

.screenshot-lightbox:target {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 14, 0.84);
}

.screenshot-lightbox figure {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(1320px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0;
}

.screenshot-lightbox img {
  max-height: calc(100vh - 98px);
  background: #090d17;
}

.screenshot-lightbox figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #f8f6ff;
  font-weight: 800;
}

.screenshot-lightbox figcaption a {
  color: #7ee6f5;
  font-size: 0.95rem;
  text-decoration: none;
}

.support-section {
  align-items: center;
}

.support-copy {
  display: grid;
  gap: 16px;
}

.support-copy p {
  max-width: 760px;
  margin: 0;
  color: #c7c1d4;
  font-size: 1.05rem;
  line-height: 1.7;
}

.support-link {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  width: max-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #071018;
  font-weight: 850;
  background: #43c7da;
  box-shadow: 0 14px 28px rgba(67, 199, 218, 0.22);
}

.support-link:hover {
  background: #5bdff0;
  box-shadow: 0 16px 30px rgba(67, 199, 218, 0.3);
}

.back-link {
  display: inline-flex;
  margin-bottom: 32px;
  color: #7ee6f5;
  font-weight: 800;
  text-decoration: none;
}

.narrow p {
  color: #c7c1d4;
  font-size: 1.05rem;
  line-height: 1.7;
}

.narrow h1 {
  margin-bottom: 28px;
  font-size: 4rem;
}

.narrow h2 {
  margin-top: 34px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1120px);
    padding: 24px 0 32px;
  }

  .hero,
  .section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .brand-art {
    max-height: 340px;
  }

  .download-platforms {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .download-platform h3 {
    gap: 10px;
    font-size: 1.35rem;
  }

  .platform-logo {
    width: 28px;
    height: 28px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .screenshots-section {
    padding-bottom: 34px;
  }

  .screenshot-carousel {
    grid-auto-columns: minmax(300px, 92%);
    margin-right: -14px;
    padding-right: 14px;
  }

  .download span {
    padding: 0 14px;
  }

  .screenshot-lightbox {
    padding: 14px;
  }

  .screenshot-lightbox figure {
    max-height: calc(100vh - 28px);
  }

  .screenshot-lightbox img {
    max-height: calc(100vh - 86px);
  }
}
