/* Centered product opening and a shared surface language for real captures. */
:root {
  --v7-radius: 16px;
  --v7-card-radius: 16px;
  --v7-hairline: var(--site-border);
  --v7-device-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
  --v7-space-1: 4px;
  --v7-space-2: 8px;
  --v7-space-3: 12px;
  --v7-space-4: 16px;
  --v7-space-5: 20px;
  --v7-space-6: 24px;
  --v7-space-7: 28px;
  --v7-space-8: 32px;
  --v7-space-10: 40px;
  --v7-space-12: 48px;
  --v7-space-14: 56px;
  --v7-space-16: 64px;
  --v7-space-22: 88px;
  --v7-space-26: 104px;
  --v7-space-30: 120px;
  --v7-space-35: 140px;
}
html {
  color-scheme: light dark;
  caret-color: var(--v5-blue);
  scrollbar-color: var(--site-muted) var(--site-background);
}
html ::selection {
  background: rgba(72, 126, 232, 0.3);
  color: var(--site-text);
}
.v5-dark ::selection,
#landing-hero ::selection,
#final-cta ::selection {
  color: #fafafa;
}
html * {
  scrollbar-color: var(--site-muted) var(--site-background);
}
.v5 a,
.lyre-community a {
  text-underline-offset: 0.25em;
}

.v5.v5-section,
.v5.v6-tour {
  padding-top: var(--v7-space-26);
  padding-bottom: var(--v7-space-26);
}
.v5 .v5-title {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.v5 .v5-lead {
  max-width: 60ch;
  font-size: 20px;
}

/* The paired phone stays outside the desktop's conversation column. Only the
   desktop raster fades; its enlargement control and the phone stay legible. */
#landing-hero {
  padding-top: var(--v7-space-26);
}
#hero-copy {
  max-width: 1040px;
  text-align: center;
}
#landing-hero h1 {
  font-family: var(--v6-heading);
  font-size: clamp(40px, 6.8vw, 84px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
#hero-description {
  max-width: 600px;
  margin: var(--v7-space-5) auto 0;
  font-size: 20px;
}
#hero-copy .lyre-hero-downloads {
  justify-content: center;
  margin-top: var(--v7-space-6);
}
#hero-copy .lyre-release-updates {
  justify-content: center;
  text-align: center;
}
#landing-hero .v5-hero-stage {
  margin-top: var(--v7-space-6);
  padding-bottom: 0;
}
#landing-hero .v5-hero-desktop {
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: transparent;
  box-shadow: none;
  border-left-color: transparent;
  border-right-color: transparent;
}
#landing-hero .v5-hero-desktop picture {
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}
#landing-hero .v5-hero-desktop .v5-zoom::after {
  bottom: var(--v7-space-3);
  top: auto;
  left: auto;
  right: var(--v7-space-3);
  transform: none;
}
#landing-hero .v5-hero-phone {
  bottom: var(--v7-space-3);
  border: 0;
  padding: var(--v7-space-2);
  box-shadow: var(--v7-device-shadow);
}
#landing-hero .v5-hero-phone img {
  border-radius: 8px;
}
.v5.v5-providers {
  border-top: 0;
}

/* Each chapter owns one panel. The walkthrough's shared stage remains bare. */
.v5-signature .v5-signature-head {
  max-width: 860px;
  margin-bottom: var(--v7-space-12);
  text-align: left;
}
.v5-signature .v5-sig {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--v7-space-10);
  margin-top: var(--v7-space-6);
  padding: var(--v7-space-12);
  border: 1px solid var(--v7-hairline);
  border-radius: var(--v7-radius);
  background: var(--site-surface);
  overflow: hidden;
  box-shadow: none;
}
.v5-signature .v5-sig-copy {
  max-width: none;
  min-width: 0;
}
.v5-signature .v5-sig-copy h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
#live-previews .v5-sig-copy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
#live-previews .v5-sig-lede > p,
#live-previews .v5-sig-contrast {
  margin-left: auto;
  margin-right: auto;
}
#live-previews .v5-sig-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--v7-space-2) var(--v7-space-6);
}
#live-previews .v5-sig-actions {
  justify-content: center;
}
.v5-signature .v5-sig-visual-preview {
  display: block;
  padding: var(--v7-space-2) 0 var(--v7-space-8);
}
.v7-preview-trio {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  padding: var(--v7-space-4) 0 0;
  perspective: 1400px;
}
.v5-signature .v7-preview-phone {
  flex: 0 0 29%;
  max-width: 290px;
  border: 0;
  padding: var(--v7-space-2);
  border-radius: var(--v7-radius);
  background: #101010;
  box-shadow: var(--v7-device-shadow);
  transform: var(--v7-phone-rest);
}
.v7-preview-phone img {
  border-radius: 8px;
}
/* Crop only the 108px navigation strip from the unchanged 756x1552 sources. */
.v5 .v7-preview-crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: 756 / 1444;
  border-radius: 8px;
}
.v5 .v7-preview-crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  margin-top: calc(-100% * 108 / 756);
  border-radius: 0;
}
/* The game capture already starts at its app content, without that strip. */
.v5 .v7-preview-crop-game {
  aspect-ratio: 756 / 1552;
}
.v5 .v7-preview-crop-game img {
  margin-top: 0;
}
.v7-preview-website {
  margin-right: 0;
  --v7-phone-start: translateX(76%);
  --v7-phone-rest: translateY(24px) rotateY(16deg) rotateZ(-2deg);
}
.v7-preview-game {
  margin-left: 0;
  --v7-phone-start: translateX(-76%);
  --v7-phone-rest: translateY(24px) rotateY(-16deg) rotateZ(2deg);
}
.v5-signature .v7-preview-tool {
  z-index: 2;
  flex-basis: 31%;
  max-width: 310px;
  --v7-phone-start: scale(0.96);
  --v7-phone-rest: none;
}
.v5-signature .v5-sig-wide .v5-sig-copy {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--v7-space-10);
}
#remote-desktop .v5-sig-visual {
  margin: 0 calc(-1 * var(--v7-space-12)) calc(-1 * var(--v7-space-12));
}
.v5-signature .v5-sig-pair {
  gap: var(--v7-space-6);
  padding-top: 0;
}
.v5-signature .v5-sig-tile {
  grid-template-rows: 1fr auto;
  align-content: stretch;
  align-items: start;
  gap: var(--v7-space-8);
}
.v5-signature .v5-sig-tile .v5-sig-copy h3 {
  font-size: clamp(28px, 2.7vw, 34px);
}
.v5-signature .v5-sig-tile .v5-sig-visual {
  align-self: end;
  aspect-ratio: 8 / 5;
}

.v5 .v6-example,
.v5 .v6-team,
.v5 .v5-plan,
.v5 .v5-download,
.v5 .v5-template,
.lyre-community,
.v5-blog .v5-blog-inner {
  border: 1px solid var(--v7-hairline);
  border-radius: var(--v7-card-radius);
  box-shadow: none;
}
.v5 .v5-phone-frame,
.v5 .v6-plate,
.v5 .v6-phone-crop {
  box-shadow: none;
}
.v5 .v6-plate {
  border-radius: var(--v7-card-radius);
}
.v5 .v6-team {
  padding: var(--v7-space-8);
}
.v5 .v6-example h3 {
  margin-top: 0;
}
.v5 .v7-card-meta {
  margin-top: var(--v7-space-3);
  color: var(--site-muted);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.v5 .v5-sig-contrast,
.v5 .v5-sig-points li,
.v5 .v6-example li,
.v5 .v5-plan-description,
.v5 .v6-plan-scope,
.v5 .v5-download > p,
.v5 .v6-limits > p {
  font-size: 16px;
  line-height: 1.6;
}
.v5 .v6-plan-scope {
  margin-bottom: var(--v7-space-8);
}
@media (prefers-color-scheme: dark) {
  .v5 .v5-sig-lede > p,
  .v5 .v5-lead {
    line-height: 1.65;
  }
}
.v5[data-reveal='enter'] {
  animation: none;
}
.v5-hero .lyre-download-primary {
  box-shadow: none;
}
.v5 .v5-plan-featured {
  border: 1px solid var(--v5-blue);
}
.lyre-community {
  margin-bottom: var(--v7-space-26);
}
.v5.v5-blog {
  border-top: 0;
}
.v5-blog .v5-blog-inner {
  max-width: 1136px;
  width: calc(100% - 64px);
  padding: var(--v7-space-12);
  background: var(--site-surface);
}
#final-cta {
  padding-top: var(--v7-space-30) !important;
  padding-bottom: var(--v7-space-30) !important;
}
#final-cta [role='heading'] {
  font-family: var(--v6-heading) !important;
  font-size: clamp(40px, 6vw, 72px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  text-align: center;
}

@media (max-width: 1039px) {
  #landing-hero .v5-hero-stage {
    margin-top: var(--v7-space-12);
  }
  .v5-signature .v5-sig {
    padding: var(--v7-space-8);
  }
  #remote-desktop .v5-sig-visual {
    margin: 0 calc(-1 * var(--v7-space-8)) calc(-1 * var(--v7-space-8));
  }
}
@media (max-width: 879px) {
  .v5-signature .v5-sig-pair,
  .v5-signature .v5-sig-wide .v5-sig-copy {
    grid-template-columns: minmax(0, 1fr);
  }
  .v5-signature .v5-sig-wide .v5-sig-copy {
    gap: var(--v7-space-2);
  }
}
@media (max-width: 719px) {
  .v5.v5-section,
  .v5.v6-tour {
    padding-top: var(--v7-space-16);
    padding-bottom: var(--v7-space-16);
  }
  #landing-hero {
    padding-top: var(--v7-space-22);
  }
  #landing-hero h1 {
    margin-top: 0;
  }
  .v5-signature .v5-sig,
  .v5-signature .v5-sig:last-child {
    padding: var(--v7-space-6);
    gap: var(--v7-space-7);
  }
  .v5-signature .v5-signature-head {
    margin-bottom: var(--v7-space-8);
  }
  .v5-signature .v5-sig-visual-preview {
    padding-bottom: 0;
  }
  .v7-preview-trio {
    width: calc(100% + var(--v7-space-6));
    margin: 0 calc(-1 * var(--v7-space-3)) var(--v7-space-10);
  }
  .v5-signature .v7-preview-phone {
    flex-basis: 34%;
    width: auto;
    border-width: 0;
    border-radius: var(--v7-radius);
  }
  .v5-signature .v7-preview-tool {
    flex-basis: 36%;
  }
  .v7-preview-website {
    margin-right: -4%;
  }
  .v7-preview-game {
    margin-left: -4%;
  }
  #remote-desktop .v5-sig-visual {
    margin: 0 calc(-1 * var(--v7-space-6)) calc(-1 * var(--v7-space-6));
  }
  .lyre-community {
    margin-bottom: var(--v7-space-16);
  }
  .v5-blog .v5-blog-inner {
    width: calc(100% - 40px);
    padding: var(--v7-space-6);
  }
  #final-cta {
    padding-top: var(--v7-space-22) !important;
    padding-bottom: var(--v7-space-22) !important;
  }
}
@media (max-width: 639px) {
  #landing-hero .v5-hero-stage {
    padding-bottom: var(--v7-space-8);
  }
  #landing-hero .v5-hero-phone {
    bottom: auto;
  }
}

@keyframes preview-fan {
  from {
    transform: var(--v7-phone-start);
  }
  to {
    transform: var(--v7-phone-rest);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .v7-preview-trio[data-fan='ready'] .v7-preview-phone {
    transform: var(--v7-phone-start);
  }
  .v7-preview-trio[data-fan='enter'] .v7-preview-phone {
    animation: preview-fan 640ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
/* Without JavaScript or movement, the finished fan remains the default. */
@media (prefers-reduced-motion: reduce) {
  .v5-signature .v5-sig-visual {
    animation: none;
  }
}
