/* The landing page has its own composition; application pages keep their layout. */
.landing {
  position: relative;
  isolation: isolate;
}

.landing-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  padding: 1.5rem 0 4.5rem;
}

.landing-intro {
  position: relative;
  z-index: 1;
}

.landing-hero h1 {
  font-size: clamp(2.75rem, 4.65vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}

.landing-hero .lead {
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 30rem;
  margin-bottom: 1rem;
}

.landing-description {
  max-width: 29rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.landing-hero .actions { margin-top: 1.9rem; }

.landing-pack {
  position: relative;
  min-width: 0;
  margin: 0;
}

.landing-pack::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8% -4% 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #fff 15%, #e9edf6 45%, transparent 70%);
  opacity: 0.85;
  pointer-events: none;
}

.landing-pack-stage {
  position: relative;
  width: 86%;
  margin-inline: auto;
  aspect-ratio: 7 / 6;
}

.landing-pack-stage canvas,
.landing-pack-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.landing-pack-stage [hidden] { display: none; }

.landing-pack figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
  margin-top: 0.6rem;
}

.landing-pack-name {
  display: block;
  color: var(--ink);
  font-size: 0.85rem;
}

.landing-pack-name span { padding-inline: 0.3rem; }
.landing-pack-note {
  display: block;
  max-width: 29rem;
  margin: 0.35rem auto 0;
  line-height: 1.6;
}
.landing-features { gap: 1.25rem; }

.landing-features article {
  padding: 1.65rem 1.7rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-top: 3px solid var(--logo-green);
  border-radius: 4px;
  animation: landing-reveal 1300ms both;
}

.landing-features article:nth-child(1) { animation-delay: 250ms; }
.landing-features article:nth-child(2) { animation-delay: 550ms; }
.landing-features article:nth-child(3) { animation-delay: 850ms; }

.landing-features h2 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.landing-features p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0;
}

@keyframes landing-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) and (min-width: 801px) {
  .landing-hero h1 { font-size: 3rem; }
  .landing-heading-break { display: none; }
}

@media (max-width: 800px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 2.5rem;
  }

  .landing-hero h1 { font-size: clamp(2.5rem, 7.5vw, 3.75rem); }
  .landing-hero .lead,
  .landing-description { max-width: 37rem; }
  .landing-pack { width: min(100%, 500px); margin-inline: auto; }
  .landing-pack-stage { aspect-ratio: 7 / 5.5; }
  .landing-features { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .landing-hero h1 { font-size: 2.4rem; }
  .landing-hero .lead { font-size: 1.1rem; }
  .landing-features article { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-features article { animation: none; }
}
