/* Landing Page */

.landing-main {
  --landing-paper-surface: #e8cb96;
  --landing-path-color: var(--accent);
  --landing-path-width: 0.95rem;
  --landing-path-dash-size: 1.3rem;
  --landing-path-gap-size: 0.9rem;
  --landing-path-opacity: 0.16;
  --landing-path-detail-points: 5;
  --landing-path-detail-min-offset: 0.4rem;
  --landing-path-detail-max-offset: 4.4rem;
  --landing-path-anchor-edge-inset: 12%;
  --landing-path-min-angle: 130deg;
  position: relative;
  isolation: isolate;
}

.landing-main > .hero,
.landing-main > .section {
  position: relative;
  z-index: 1;
}

.landing-main--section-reveal-ready > .section.landing-section--reveal {
  --landing-reveal-offset-y: clamp(0.55rem, 1.2vw, 0.95rem);
  --landing-reveal-offset-x: 0px;

  opacity: 0;
  transform: translate3d(var(--landing-reveal-offset-x), var(--landing-reveal-offset-y), 0);
  transition:
    opacity 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--landing-reveal-index, 0) * 22ms);
  will-change: opacity, transform;
}

.landing-main--section-reveal-ready > .section.landing-section--reveal.landing-section--revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 860px), (hover: none), (pointer: coarse) {
  .landing-main--section-reveal-ready > .section.landing-section--reveal {
    /* Mobile requirement: first-scroll reveals should slide in from alternating sides, softly. */
    --landing-reveal-offset-y: 0px;
    --landing-reveal-offset-x: calc(var(--landing-reveal-direction, 1) * clamp(0.85rem, 5vw, 1.2rem));
  }
}

.landing-travel-path {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.landing-travel-path-line {
  fill: none;
  stroke: var(--landing-path-color);
  stroke-width: var(--landing-path-width);
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-dasharray: var(--landing-path-dash-size) var(--landing-path-gap-size);
  opacity: var(--landing-path-opacity);
  vector-effect: non-scaling-stroke;
}

.landing-travel-path-line--highlight {
  opacity: 0.92;
}

.landing-segment {
  display: grid;
  grid-template-columns: minmax(12rem, 0.48fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.landing-segment--heading-right {
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.48fr);
}

.landing-segment--heading-right .landing-segment-heading {
  order: 2;
}

.landing-segment--heading-right .landing-segment-panel {
  order: 1;
}

.landing-segment-heading {
  position: relative;
  display: grid;
  align-content: start;
  padding-top: clamp(0.7rem, 1.3vw, 1rem);
}

.landing-segment-title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 14ch;
  color: var(--accent);
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 0.14em 0.42em rgba(0, 0, 0, 0.74),
    0 0.04em 0.14em rgba(0, 0, 0, 0.82);
}

.landing-segment-title--center-flash {
  animation: landing-title-center-flash 1.04s ease-out;
}

.landing-title-particle {
  position: absolute;
  z-index: 2;
  width: var(--title-particle-size);
  height: var(--title-particle-size);
  pointer-events: none;
  transform: rotate(var(--title-particle-angle)) translateX(0) rotate(45deg);
  animation: landing-title-particle-burst 0.72s cubic-bezier(0.16, 0.72, 0.26, 1) forwards;
}

.landing-title-particle::before,
.landing-title-particle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.08rem;
  background: #fff;
  box-shadow:
    0 0 7px rgba(255, 255, 255, 0.88),
    0 0 16px rgba(235, 201, 119, 0.48);
}

.landing-title-particle::after {
  transform: rotate(90deg) scaleX(0.7);
}

.landing-segment-heading .button {
  justify-self: start;
  margin-top: 0.25rem;
}

.landing-segment-panel {
  min-width: 0;
}

.landing-segment .copy-card,
.landing-segment .sample-panel,
.landing-segment .faq-panel {
  background: rgba(20, 26, 33, 0.68);
  backdrop-filter: blur(5px);
}

.landing-segment-lead {
  margin: 0;
  text-wrap: balance;
}

.landing-segment-lead,
.story-blurb,
.sample-highlight blockquote {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.45vw, 1.36rem);
  line-height: 1.66;
  color: rgba(244, 238, 228, 0.9);
}

.story-blurb {
  margin: 0;
  white-space: normal;
}

.story-blurb + .story-blurb {
  margin-top: 1rem;
}

.world-codex-section {
  align-items: stretch;
}

.world-codex-grid {
  --world-codex-grid-gap: clamp(0.9rem, 1.8vw, 1.25rem);
  --world-codex-card-width: min(20rem, calc((100cqw - (2 * var(--world-codex-grid-gap))) / 3));

  display: grid;
  container-type: inline-size;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--world-codex-grid-gap);
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.world-codex-card {
  --world-codex-card-ratio: 3 / 4;

  position: relative;
  display: grid;
  align-content: start;
  aspect-ratio: var(--world-codex-card-ratio);
  justify-items: center;
  justify-self: center;
  gap: calc(var(--world-codex-card-width) / 18.2);
  width: var(--world-codex-card-width);
  min-height: auto;
  padding:
    calc(var(--world-codex-card-width) / 16)
    calc(var(--world-codex-card-width) / 16)
    calc(var(--world-codex-card-width) / 11.75);
  overflow: hidden;
  color: #2f2114;
  background: var(--landing-paper-surface);
  border: 1px solid rgba(113, 74, 35, 0.44);
  border-radius: 0.5rem;
  box-shadow:
    0 16px 32px rgba(5, 8, 12, 0.28),
    inset 0 0 0 1px rgba(255, 250, 235, 0.2);
  transform: rotate(var(--world-codex-tilt, -0.5deg));
}

.world-codex-card:nth-child(2) {
  --world-codex-tilt: 0.45deg;
}

.world-codex-card:nth-child(3) {
  --world-codex-tilt: -0.25deg;
}

.world-codex-card::before,
.world-codex-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.world-codex-card::before {
  inset: 0.45rem;
  border: 1px solid rgba(76, 48, 24, 0.24);
  border-radius: 0.28rem;
}

.world-codex-card::after {
  inset: 0;
  background: none;
}

.world-codex-scene {
  position: absolute;
  bottom: -7%;
  left: 50%;
  z-index: 0;
  width: 100%;
  height: auto;
  max-width: none;
  opacity: 0.20;
  pointer-events: none;
  transform: translateX(-50%);
  user-select: none;
}

.world-codex-scene--gipfel {
  bottom: -16%;
}

.world-codex-scene--unterstadt {
  bottom: -3%;
}

.world-codex-scene--zauberer {
  bottom: -17%;
}

.world-codex-controls {
  display: none;
}

.world-codex-copy {
  position: relative;
  z-index: 1;
}

.world-codex-copy {
  margin-top: calc(var(--world-codex-card-width) / 3.0);
  color: #1d1209;
  text-align: center;
  padding-inline: calc(var(--world-codex-card-width) / 30);
  text-shadow:
    0 1px 0 rgba(255, 248, 224, 0.48),
    0 1px 2px rgba(255, 248, 224, 0.68),
    0 -1px 0 rgba(68, 42, 20, 0.2);
}

.world-codex-copy h3 {
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 2.16em;
  margin: 0 0 0.54em;
  color: #1d1209;
  font-family: var(--serif);
  font-size: calc(var(--world-codex-card-width) / 11.2);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.08;
  text-transform: uppercase;
}

.world-codex-copy p:last-child {
  margin: 0;
  color: rgba(29, 18, 9, 0.96);
  font-family: var(--serif);
  font-size: calc(var(--world-codex-card-width) / 12.6);
  line-height: 1.48;
  
}

.story-character-list {
  display: grid;
  padding-block: clamp(0.85rem, 1.6vw, 1.15rem);
}

.story-character-item {
  display: grid;
  grid-template-columns: clamp(3.6rem, 7vw, 5.25rem) minmax(0, 1fr);
  gap: clamp(0.95rem, 2vw, 1.35rem);
  align-items: center;
  padding-block: clamp(1rem, 2vw, 1.35rem);
}

.story-character-item + .story-character-item {
  border-top: 1px solid rgba(196, 198, 201, 0.16);
}

.story-character-icon {
  width: clamp(3.4rem, 6vw, 4.75rem);
  height: clamp(3.4rem, 6vw, 4.75rem);
  object-fit: contain;
  opacity: 0.86;
  filter:
    grayscale(0.18)
    drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.26));
}

.sample-highlight blockquote {
  white-space: pre-line;
}

.sample-highlight .sample-panel {
  --sample-panel-padding: clamp(1.2rem, 2.4vw, 1.8rem);

  position: relative;
  display: grid;
  overflow: hidden;
  color: #1d1209;
  background: var(--landing-paper-surface);
  border: 1px solid rgba(113, 74, 35, 0.44);
  border-radius: 0.5rem;
  padding: var(--sample-panel-padding) var(--sample-panel-padding) 0;
  box-shadow:
    0 16px 32px rgba(5, 8, 12, 0.28),
    inset 0 0 0 1px rgba(255, 250, 235, 0.2);
  backdrop-filter: none;
}

.sample-highlight .sample-panel::before,
.sample-highlight .sample-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.sample-highlight .sample-panel::before {
  inset: 0.65rem;
  z-index: 3;
  border: 1px solid rgba(76, 48, 24, 0.26);
  border-radius: 0.28rem;
}

.sample-highlight .sample-panel::after {
  inset: 0;
  z-index: 0;
  background: none;
}

.sample-highlight .sample-preview {
  position: relative;
  z-index: 2;
  margin: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 24%,
    rgba(0, 0, 0, 0.2) 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 24%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.sample-highlight blockquote {
  color: rgba(29, 18, 9, 0.96);
  text-shadow:
    0 1px 0 rgba(255, 248, 224, 0.48),
    0 -1px 0 rgba(68, 42, 20, 0.16);
}

.sample-ocean-stage {
  --sample-ocean-stage-preferred-height: clamp(9rem, 18vw, 13.5rem);

  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: var(--sample-ocean-stage-height, var(--sample-ocean-stage-preferred-height));
  margin: 0 calc(var(--sample-panel-padding) * -1);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 861px) {
  .sample-ocean-stage {
    --sample-ocean-stage-preferred-height: clamp(6.5rem, 9vw, 8.5rem);
  }
}

.sample-ocean-graphic {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.sample-ocean-fill {
  fill: #ae986a;
}

.sample-ocean-fill--main {
  fill: #99855c;
}

.sample-ocean-stage > .button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 2.8rem);
  text-align: center;
  white-space: normal;
  background: var(--accent);
  border: 0;
  color: #1e160c;
  box-shadow: 0 14px 28px rgba(5, 8, 12, 0.28);
}

.sample-ocean-stage > .button:hover {
  transform: translate(-50%, calc(-50% - 1px));
}

.audience-panel .audience-checklist {
  margin-top: 0;
}

.audience-panel .story-blurb {
  padding-bottom: clamp(0.7rem, 1.6vw, 1rem);
}

.faq-panel {
  padding: 0.6rem;
  border-radius: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.faq-panel .faq-list {
  margin-top: 0;
}

.social-proof-constellation {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(0.9rem, 2vw, 1.3rem);
  padding-top: clamp(1.8rem, 4.2vw, 3.1rem);
  padding-bottom: clamp(2.3rem, 5vw, 3.7rem);
  isolation: isolate;
}

.social-proof-constellation::before {
  content: "";
  position: absolute;
  inset: clamp(0.3rem, 1.2vw, 0.75rem) 8% auto;
  z-index: 0;
  height: clamp(8rem, 19vw, 11.5rem);
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(235, 201, 119, 0.18),
      rgba(235, 201, 119, 0.06) 44%,
      transparent 72%
    );
  filter: blur(3px);
  pointer-events: none;
}

.social-proof-constellation-label {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(244, 238, 228, 0.9);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 0.2rem 0.6rem rgba(0, 0, 0, 0.55);
}

.social-proof-constellation-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1rem);
  width: min(56rem, 100%);
  margin-inline: auto;
}

.social-proof-mobile-controls {
  display: none;
}

.social-proof-constellation-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(235, 201, 119, 0.16), rgba(235, 201, 119, 0.5), rgba(235, 201, 119, 0.12));
  pointer-events: none;
}

.social-proof-constellation-line--one {
  left: 22%;
  top: 29%;
  width: 38%;
  transform: rotate(8deg);
}

.social-proof-constellation-line--two {
  left: 40%;
  top: 62%;
  width: 28%;
  transform: rotate(-14deg);
}

.social-proof-constellation-star {
  position: absolute;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: rgba(255, 245, 214, 0.92);
  box-shadow:
    0 0 0.4rem rgba(255, 245, 214, 0.78),
    0 0 0.9rem rgba(235, 201, 119, 0.38);
  pointer-events: none;
}

.social-proof-constellation-star--one {
  left: 19%;
  top: 24%;
}

.social-proof-constellation-star--two {
  right: 21%;
  bottom: 23%;
}

.social-proof-quote-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.62rem;
  padding: 0.95rem 1rem 1.05rem;
  color: #1d1209;
  background: var(--landing-paper-surface);
  border: 1px solid rgba(113, 74, 35, 0.44);
  border-radius: 0.75rem;
  box-shadow:
    0 14px 24px rgba(5, 8, 12, 0.24),
    inset 0 0 0 1px rgba(255, 250, 235, 0.2);
  transform: translateY(0.6rem);
  opacity: 0;
  animation: social-proof-constellation-reveal 540ms ease-out forwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-proof-quote-card:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 28px rgba(5, 8, 12, 0.3),
    inset 0 0 0 1px rgba(255, 250, 235, 0.2);
}

.social-proof-quote-card--one {
  grid-column: 1 / span 5;
  transform: rotate(-1.1deg) translateY(0.6rem);
  animation-delay: 50ms;
}

.social-proof-quote-card--two {
  grid-column: 7 / span 5;
  transform: rotate(1deg) translateY(0.6rem);
  animation-delay: 120ms;
}

.social-proof-quote-card--three {
  grid-column: 3 / span 5;
  transform: rotate(0.75deg) translateY(0.6rem);
  animation-delay: 190ms;
}

.social-proof-quote-card--four {
  grid-column: 8 / span 5;
  transform: rotate(-0.85deg) translateY(0.6rem);
  animation-delay: 260ms;
}

.social-proof-quote-card-quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.45;
  text-wrap: balance;
  color: rgba(29, 18, 9, 0.96);
  text-shadow:
    0 1px 0 rgba(255, 248, 224, 0.4),
    0 -1px 0 rgba(68, 42, 20, 0.14);
}

.social-proof-quote-card-source {
  margin: 0;
}

.social-proof-quote-card-source cite {
  color: rgba(44, 29, 15, 0.72);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes social-proof-constellation-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.final-cta {
  position: relative;
  display: grid;
  padding-block: clamp(2.5rem, 6vw, 4.8rem);
  isolation: isolate;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: clamp(0.6rem, 2vw, 1.4rem) 50% clamp(0.6rem, 2vw, 1.4rem) auto;
  z-index: 0;
  width: min(36rem, 72vw);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(235, 201, 119, 0.2),
      rgba(235, 201, 119, 0.05) 42%,
      transparent 68%
    );
  opacity: 0.78;
  filter: blur(2px);
  pointer-events: none;
  transform: translateX(50%);
}

.final-cta-portal {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
  width: min(54rem, 100%);
  margin-inline: auto;
}

.final-cta-cover-link {
  position: relative;
  display: block;
  justify-self: center;
  width: min(14rem, 52vw);
  border-radius: 1.2rem;
  outline-offset: 0.45rem;
}

.final-cta-cover-link::after {
  content: "";
  position: absolute;
  inset: 14% -18% -12% 34%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(18px);
  pointer-events: none;
}

.final-cta-cover-link:focus-visible {
  outline: 2px solid rgba(235, 201, 119, 0.78);
}

.final-cta-cover {
  --cover-gloss-strength: 0.28;
  --cover-imperfection-opacity: 0.34;

  width: 100%;
  transform:
    perspective(1040px)
    rotateX(0deg)
    rotateY(-3deg);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.final-cta-cover-link:hover .final-cta-cover,
.final-cta-cover-link:focus-visible .final-cta-cover {
  transform:
    perspective(1040px)
    rotateX(0deg)
    rotateY(-1deg)
    translateY(-0.2rem);
}

.final-cta-copy {
  display: grid;
  justify-items: start;
  gap: 0.95rem;
  max-width: 32rem;
}

.final-cta .section-label {
  margin: 0;
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  line-height: 1.12;
  text-wrap: balance;
}

.final-cta p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.final-cta .button {
  position: relative;
  z-index: 1;
}

/* Requested final-CTA detail tags: mimic checkout chip language while staying visually quieter than the primary button. */
.final-cta .cta-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.final-cta .cta-tags span {
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(235, 201, 119, 0.14);
  background: rgba(244, 238, 228, 0.05);
  color: rgba(244, 238, 228, 0.66);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

@media (max-width: 700px) {
  .social-proof-constellation {
    --social-proof-mobile-card-width: clamp(16.5rem, 82vw, 21rem);
    padding-top: clamp(1.25rem, 6.5vw, 2.2rem);
    padding-bottom: clamp(1.8rem, 8vw, 2.8rem);
  }

  .social-proof-constellation::before {
    inset: 0.15rem 4% auto;
    height: clamp(6rem, 38vw, 8.8rem);
  }

  .social-proof-constellation-stage {
    display: flex;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    gap: 0.72rem;
    overflow-x: auto;
    padding:
      0
      calc((100vw - var(--social-proof-mobile-card-width)) / 2)
      0.15rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - var(--social-proof-mobile-card-width)) / 2);
    touch-action: manipulation;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .social-proof-constellation-stage::-webkit-scrollbar {
    display: none;
  }

  .social-proof-constellation-line,
  .social-proof-constellation-star {
    display: none;
  }

  .social-proof-quote-card,
  .social-proof-quote-card--one,
  .social-proof-quote-card--two,
  .social-proof-quote-card--three,
  .social-proof-quote-card--four {
    flex: 0 0 var(--social-proof-mobile-card-width);
    grid-column: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none;
  }

  .social-proof-quote-card {
    padding: 0.88rem 0.92rem 0.96rem;
    opacity: 1;
    animation: none;
  }

  .social-proof-quote-card:hover {
    transform: none;
  }

  .social-proof-mobile-controls {
    display: grid;
    justify-items: center;
    gap: 0.42rem;
    margin-top: 0.2rem;
  }

  .social-proof-mobile-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
  }

  .social-proof-mobile-dot {
    width: 0.56rem;
    height: 0.56rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(244, 238, 228, 0.42);
    box-shadow: inset 0 0 0 1px rgba(235, 201, 119, 0.22);
    cursor: pointer;
    transition: transform 0.16s ease, background-color 0.16s ease;
  }

  .social-proof-mobile-dot.is-active {
    background: rgba(235, 201, 119, 0.92);
    transform: scale(1.18);
  }

  .social-proof-mobile-dot:focus-visible {
    outline: 2px solid rgba(235, 201, 119, 0.8);
    outline-offset: 2px;
  }

  .final-cta {
    padding-block: clamp(2.25rem, 10vw, 3.75rem);
  }

  .final-cta::before {
    inset: 0 50% auto auto;
    width: min(28rem, 92vw);
    height: 70%;
  }

  .final-cta-portal {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.35rem;
    text-align: center;
  }

  .final-cta-cover-link {
    width: min(12rem, 58vw);
  }

  .final-cta-copy {
    justify-items: center;
    max-width: min(32rem, 100%);
  }

  .final-cta .cta-tags {
    justify-content: center;
  }
}

.button-gated {
  position: relative;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.25rem;
  overflow: visible;
  isolation: isolate;
}

.button-gated.is-locked {
  background: linear-gradient(180deg, rgba(126, 131, 139, 0.7), rgba(85, 89, 96, 0.96));
  color: rgba(244, 238, 228, 0.88);
  cursor: not-allowed;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.button-gated.is-locked:hover {
  transform: none;
}

.button-gated-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.75rem);
  z-index: 10;
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(235, 201, 119, 0.24);
  border-radius: 0.9rem;
  background: rgba(15, 20, 25, 0.96);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 0.2rem);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  visibility: hidden;
}

.button-gated-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 0.05rem);
  width: 0.8rem;
  height: 0.8rem;
  background: rgba(15, 20, 25, 0.96);
  border-right: 1px solid rgba(235, 201, 119, 0.24);
  border-bottom: 1px solid rgba(235, 201, 119, 0.24);
  transform: translateX(-50%) rotate(45deg);
}

.button-gated.is-locked:hover .button-gated-tooltip,
.button-gated.is-locked:focus-visible .button-gated-tooltip,
.button-gated.is-tooltip-open .button-gated-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.button-lock-icon {
  line-height: 1;
}

.button-gated-flash::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: button-gated-flash 0.48s ease-out;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 20px rgba(255, 255, 255, 0.45);
}

.button-star-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 0.42rem;
  height: 0.42rem;
  margin: -0.21rem 0 0 -0.21rem;
  pointer-events: none;
  transform: rotate(var(--star-angle)) translateX(0) rotate(45deg);
  animation: button-star-burst 0.58s cubic-bezier(0.17, 0.67, 0.24, 1) forwards;
}

.button-star-particle::before,
.button-star-particle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.08rem;
  background: #fff;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.85),
    0 0 18px rgba(240, 204, 120, 0.52);
}

.button-star-particle::after {
  transform: rotate(90deg);
}

@keyframes button-gated-flash {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }

  22% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

@keyframes button-star-burst {
  0% {
    opacity: 0;
    transform: rotate(var(--star-angle)) translateX(0) rotate(45deg) scale(0.45);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform:
      rotate(var(--star-angle))
      translateX(var(--star-distance))
      rotate(calc(45deg + var(--star-rotation)))
      scale(0.1);
  }
}

@keyframes landing-title-center-flash {
  0% {
    color: var(--accent);
    text-shadow:
      0 0.14em 0.42em rgba(0, 0, 0, 0.74),
      0 0.04em 0.14em rgba(0, 0, 0, 0.82),
      0 0 0 rgba(255, 255, 255, 0),
      0 0 0 rgba(235, 201, 119, 0);
  }

  12% {
    color: #fff;
    text-shadow:
      0 0.14em 0.42em rgba(0, 0, 0, 0.58),
      0 0.04em 0.14em rgba(0, 0, 0, 0.64),
      0 0 5px rgba(255, 255, 255, 0.95),
      0 0 18px rgba(255, 255, 255, 0.78),
      0 0 38px rgba(255, 255, 255, 0.48),
      0 0 58px rgba(235, 201, 119, 0.38);
  }

  59% {
    color: var(--accent);
    text-shadow:
      0 0.14em 0.42em rgba(0, 0, 0, 0.68),
      0 0.04em 0.14em rgba(0, 0, 0, 0.74),
      0 0 4px rgba(255, 255, 255, 0.5),
      0 0 18px rgba(255, 255, 255, 0.28),
      0 0 34px rgba(235, 201, 119, 0.18);
  }

  100% {
    color: var(--accent);
    text-shadow:
      0 0.14em 0.42em rgba(0, 0, 0, 0.74),
      0 0.04em 0.14em rgba(0, 0, 0, 0.82),
      0 0 0 rgba(255, 255, 255, 0),
      0 0 0 rgba(235, 201, 119, 0);
  }
}

@keyframes landing-title-particle-burst {
  0% {
    opacity: 0;
    transform: rotate(var(--title-particle-angle)) translateX(0) rotate(45deg) scale(0.35);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform:
      rotate(var(--title-particle-angle))
      translateX(var(--title-particle-distance))
      rotate(calc(45deg + var(--title-particle-rotation)))
      scale(0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-main--section-reveal-ready > .section.landing-section--reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-segment-title--center-flash {
    animation: none;
  }

  .landing-title-particle {
    display: none;
  }

  .social-proof-quote-card {
    animation: none;
    opacity: 1;
    transition: none;
    transform: none;
  }

  .social-proof-quote-card:hover {
    transform: none;
  }

  .social-proof-constellation-stage {
    scroll-behavior: auto;
  }

  .social-proof-mobile-dot {
    transition: none;
  }

  .social-proof-mobile-dot.is-active {
    transform: none;
  }
}

@media (max-width: 860px), (hover: none), (pointer: coarse) {
  .landing-travel-path-line--mobile {
    stroke-width: 0.5rem;
    stroke-dasharray: 0.85rem 0.8rem;
    opacity: 0.42;
  }
}

@media (max-width: 860px), (hover: none), (pointer: coarse) {
  .landing-segment .copy-card,
  .landing-segment .sample-panel,
  .landing-segment .faq-panel,
  .faq-list details {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .landing-segment .copy-card,
  .landing-segment .audience-panel,
  .landing-segment .faq-panel {
    background: rgba(20, 26, 33, 0.88);
  }

  .faq-list details {
    background: rgba(20, 26, 33, 0.72);
    box-shadow: 0 10px 22px rgba(5, 8, 12, 0.2);
  }

  .audience-checkbox-row {
    transition:
      border-color 0.2s ease,
      background 0.2s ease,
      box-shadow 0.2s ease;
  }

  .audience-checkbox-row:hover {
    transform: none;
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card {
    will-change: auto;
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card[data-world-codex-position="next"],
  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card[data-world-codex-position="previous"] {
    filter: none;
  }
}

@media (max-width: 720px) {

  .world-codex-grid {
    --world-codex-card-width: min(20rem, 100cqw);

    grid-template-columns: 1fr;
    justify-items: center;
    max-width: min(100%, 23rem);
    margin-inline: auto;
  }

  .world-codex-card {
    aspect-ratio: var(--world-codex-card-ratio);
    height: auto;
    width: var(--world-codex-card-width);
    min-height: auto;
    transform: none;
  }

  .world-codex-grid[data-world-codex-enabled="true"] {
    position: relative;
    grid-template-areas: "codex-card";
    align-items: start;
    padding: 0 clamp(1.35rem, 6vw, 1.75rem) 1.7rem;
    perspective: 48rem;
    touch-action: pan-y;
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card {
    grid-area: codex-card;
    transform-origin: center bottom;
    transform-style: preserve-3d;
    transition:
      transform 0.42s cubic-bezier(0.2, 0.78, 0.22, 1),
      filter 0.34s ease;
    backface-visibility: hidden;
    opacity: 1;
    will-change: transform;
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card[data-world-codex-position="active"] {
    z-index: 3;
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) rotateY(0deg) rotate(0deg) scale(1);
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card[data-world-codex-position="next"] {
    z-index: 2;
    filter: saturate(0.92) brightness(0.94);
    pointer-events: none;
    transform: translate3d(0.85rem, 0.78rem, 0) rotateY(-6deg) rotate(2.1deg) scale(0.965);
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card[data-world-codex-position="previous"] {
    z-index: 1;
    filter: saturate(0.84) brightness(0.9);
    pointer-events: none;
    transform: translate3d(-0.85rem, 1.46rem, 0) rotateY(8deg) rotate(-2.3deg) scale(0.93);
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-controls {
    display: flex;
    grid-area: codex-card;
    align-self: center;
    justify-self: center;
    justify-content: space-between;
    z-index: 4;
    width: min(calc(100% + 9.5rem), calc(100vw - 0.5rem), 32rem);
    pointer-events: none;
  }

  .world-codex-nav {
    position: relative;
    display: grid;
    place-items: center;
    width: 5.36rem;
    height: 5.36rem;
    padding: 0;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 4.97rem;
    line-height: 1;
    text-shadow:
      0 1px 0 rgba(25, 15, 8, 0.82),
      0 0.32rem 0.95rem rgba(5, 8, 12, 0.58);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    isolation: isolate;
    pointer-events: auto;
  }

  .world-codex-nav::before {
    content: "";
    position: absolute;
    inset: 0.82rem 0.38rem 0.42rem;
    z-index: -1;
    border-radius: 999px;
    background: rgba(8, 10, 14, 0.46);
    filter: blur(0.82rem);
  }

  .world-codex-nav:focus-visible {
    outline: 2px solid rgba(215, 169, 73, 0.58);
    outline-offset: 3px;
  }
}

@media (max-width: 720px), (hover: none), (pointer: coarse) {
  .world-codex-grid[data-world-codex-enabled="true"] {
    perspective: none;
    contain: layout paint style;
    overflow: visible;
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card {
    box-shadow:
      0 10px 22px rgba(5, 8, 12, 0.22),
      inset 0 0 0 1px rgba(255, 250, 235, 0.18);
    transform-style: flat;
    transition: transform 0.24s ease;
    will-change: auto;
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-scene {
    opacity: 0.17;
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card[data-world-codex-position="active"] {
    filter: none;
    transform: translate(0, 0) scale(1);
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card[data-world-codex-position="next"] {
    filter: none;
    transform: translate(0.58rem, 0.62rem) rotate(2deg) scale(0.972);
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card[data-world-codex-position="previous"] {
    filter: none;
    transform: translate(-0.58rem, 1.12rem) rotate(-2.2deg) scale(0.946);
  }

  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-controls {
    width: min(calc(100% + 4.2rem), calc(100vw - 0.25rem), 27rem);
    transform: translateX(-0.05rem);
  }

  .world-codex-nav {
    width: 3.9rem;
    height: 5rem;
    text-shadow: 0 1px 0 rgba(25, 15, 8, 0.78);
  }

  .world-codex-nav::before {
    background: rgba(8, 10, 14, 0.34);
    filter: none;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .world-codex-grid[data-world-codex-enabled="true"] .world-codex-card {
    transition: none;
  }
}

.audience-checklist {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 0;
}

.audience-checkbox-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(244, 238, 228, 0.08), rgba(244, 238, 228, 0.04)),
    rgba(9, 12, 17, 0.22);
  border: 1px solid rgba(244, 238, 228, 0.09);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.audience-checkbox-row:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 169, 73, 0.22);
}

.audience-checkbox-row:has(input:focus-visible) {
  outline: 2px solid rgba(215, 169, 73, 0.35);
  outline-offset: 2px;
  border-color: rgba(215, 169, 73, 0.38);
}

.audience-checkbox-row:has(input:checked) {
  border-color: rgba(215, 169, 73, 0.52);
  background:
    linear-gradient(180deg, rgba(215, 169, 73, 0.18), rgba(244, 238, 228, 0.08)),
    rgba(9, 12, 17, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.audience-checkbox-row input[type="checkbox"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.audience-checkbox-mark {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.38rem;
  background: linear-gradient(180deg, rgba(250, 251, 253, 0.95), rgba(215, 221, 228, 0.88));
  border: 1px solid rgba(20, 26, 33, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 4px 12px rgba(5, 10, 18, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.audience-checkbox-mark-icon {
  width: 0.62rem;
  height: 0.34rem;
  border-left: 0.16rem solid transparent;
  border-bottom: 0.16rem solid transparent;
  margin: -0.02rem 0 0 0.04rem;
  transform: rotate(-45deg) scale(0.75);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.audience-checkbox-row:has(input:checked) .audience-checkbox-mark {
  background: linear-gradient(180deg, #f0cc78 0%, #d7a949 100%);
  border-color: rgba(215, 169, 73, 0.58);
  transform: scale(1.03);
}

.audience-checkbox-row:has(input:checked) .audience-checkbox-mark-icon {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
  border-left-color: #1b1a17;
  border-bottom-color: #1b1a17;
}

.audience-checkbox-copy {
  color: var(--text);
  align-self: center;
  font-weight: 600;
  line-height: 1.45;
}
