/* Overlay */

/* Full-screen clickable background */
.splash__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: block;
}

/* Splash panel stays above backdrop */
.splash__panel {
  position: relative;
  z-index: 1;

  max-width: 960px;
  margin: auto;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
}

.splash {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Panel */
.splash__panel {
  background: #fff;
  max-width: 960px;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;

  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Header */
.splash__header {
  background: linear-gradient(
    to top,
    rgb(0, 74, 173),
    rgb(81, 205, 223)
  );

  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.splash__header h1 {
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.splash__subtitle {
  max-width: 720px;
  margin: 0 auto;
}

/* Examples */
.splash__examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.splash__examples figure {
  aspect-ratio: 1 / 1;   /* square */
  overflow: hidden;
  border-radius: 6px;
}

.splash__examples img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.splash__examples figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* Quick start */
.splash__quickstart {
  margin-bottom: 1.5rem;
}

.splash__quickstart h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.splash__quickstart li {
  flex: 1;
  text-align: center;
}

.splash__quickstart li::before {
  content: counter(step);
  counter-increment: step;

  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #2c6bed;
}

.splash__quickstart ol {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  gap: 1.5rem;

  counter-reset: step;
}

.splash__quickstart span {
  display: block;
  color: #555;
  font-size: 0.95rem;
}

/* Privacy note */
.splash__privacy {
  background: #f6f6f6;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Actions */
.splash__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .splash__examples {
    grid-template-columns: 1fr;
  }

  .splash__panel {
    padding: 1.5rem 1rem;
  }
}

.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

.btn--primary {
  background: #2c6bed;
  color: #fff;
}

.btn--secondary {
  background: #e6e6e6;
  color: #000;
}

.btn--link {
  background: transparent;
  color: #2c6bed;
}
