/* Landing — full-bleed hero, brand-first, no cramped card */
.theme-landing {
  --land-ink: #101114;
  --land-muted: #5c616b;
  --land-line: rgba(16, 17, 20, 0.12);
  --land-red: #c8102e;
  --land-bg: #f3f4f6;
}

.theme-landing.theme-auth {
  background: var(--land-bg) !important;
}

.land-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--land-bg);
  color: var(--land-ink);
}

.land-top {
  position: relative;
  z-index: 5;
  background: #050506;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.land-top__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.land-top__brand {
  display: inline-flex;
  align-items: center;
}

.land-top__enter {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.land-top__enter:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

/* Full-bleed stage */
.land-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: min(78vh, 760px);
  overflow: hidden;
}

.land-stage__media {
  position: absolute;
  inset: 0;
  background: #cfd3da;
}

.land-stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 45%;
  opacity: 0.55;
  transform: scale(1.04);
  animation: land-media-in 1.4s ease-out both;
}

.land-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(243, 244, 246, 0.97) 0%,
      rgba(243, 244, 246, 0.92) 34%,
      rgba(243, 244, 246, 0.55) 52%,
      rgba(243, 244, 246, 0.12) 68%,
      transparent 82%
    ),
    linear-gradient(180deg, rgba(243, 244, 246, 0.15) 0%, transparent 35%, rgba(243, 244, 246, 0.45) 100%);
  pointer-events: none;
}

.land-stage__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
}

.land-stage__copy {
  width: min(34rem, 100%);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* Kill auth card styles on landing */
.theme-landing .auth-panel,
.theme-landing .auth-panel--land {
  width: auto;
  max-width: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.land-hero__brand {
  margin: 0 0 0.85rem;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--land-red);
  animation: land-rise 0.7s ease-out both;
}

.land-hero__title {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: clamp(3.2rem, 9vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--land-ink);
  animation: land-rise 0.8s 0.08s ease-out both;
}

.land-hero__lead {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--land-muted);
  animation: land-rise 0.8s 0.16s ease-out both;
}

.land-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  animation: land-rise 0.8s 0.24s ease-out both;
}

.land-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  background: var(--land-red);
  color: #fff;
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.land-hero__cta:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.land-hero__hint {
  font-size: 0.92rem;
  color: var(--land-muted);
}

/* Features below fold — one calm band */
.land-strip {
  background: #fff;
  border-top: 1px solid var(--land-line);
}

.land-strip__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.land-strip__item {
  padding: 2rem 1.75rem 2.15rem;
  border-right: 1px solid var(--land-line);
}

.land-strip__item:last-child {
  border-right: 0;
}

.land-strip__item h2 {
  margin: 0 0 0.45rem;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--land-ink);
}

.land-strip__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--land-muted);
}

.land-foot {
  background: #050506;
  color: rgba(255, 255, 255, 0.55);
}

.land-foot__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

@keyframes land-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes land-media-in {
  from {
    opacity: 0.25;
    transform: scale(1.08);
  }
  to {
    opacity: 0.55;
    transform: scale(1.04);
  }
}

@media (max-width: 900px) {
  .land-strip__inner {
    grid-template-columns: 1fr;
  }
  .land-strip__item {
    border-right: 0;
    border-bottom: 1px solid var(--land-line);
    padding: 1.5rem 0;
  }
  .land-strip__item:last-child {
    border-bottom: 0;
  }
  .land-stage {
    min-height: min(70vh, 640px);
  }
  .land-stage__veil {
    background:
      linear-gradient(
        180deg,
        rgba(243, 244, 246, 0.88) 0%,
        rgba(243, 244, 246, 0.78) 42%,
        rgba(243, 244, 246, 0.55) 70%,
        rgba(243, 244, 246, 0.82) 100%
      );
  }
  .land-stage__media img {
    object-position: 60% 40%;
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .land-hero__brand,
  .land-hero__title,
  .land-hero__lead,
  .land-hero__actions,
  .land-stage__media img {
    animation: none;
  }
}
