:root {
  --landing-bg: #f7fbff;
  --landing-surface: rgba(255, 255, 255, 0.8);
  --landing-ink: #0b3750;
  --landing-muted: rgba(11, 55, 80, 0.7);
  --landing-border: rgba(11, 55, 80, 0.12);
  --landing-shadow: 0 18px 50px rgba(60, 143, 244, 0.12);
}

* {
  box-sizing: border-box;
}

body.landing-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", serif;
  color: var(--landing-ink);
}

#landingSplashScreen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #71bfeb;
  z-index: 50;
}

#landingSplashScreen[hidden] {
  display: none;
}

.landing-splash-content {
  width: 100%;
  max-width: 362px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.landing-splash-content h1 {
  margin: 0;
  font-family: "Merriweather", serif;
  font-size: 48px;
  line-height: 0.95;
  color: #0b3750;
}

.landing-splash-content h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #0b3750;
}

.landing-splash-content p {
  margin: 0;
  color: #0b3750;
  line-height: 1.45;
}

#landingStartButton {
  align-self: flex-start;
  padding: 12px 20px;
  border: 2px solid #ffed79;
  border-radius: 16px;
  background: #f7da21;
  color: #000000;
  font: 600 16px/1 "Inter", sans-serif;
  cursor: pointer;
}

.landing-splash-content .video-container {
  margin-top: 8px;
  width: 80%;
  border-radius: 12px;
  overflow: hidden;
}

.landing-splash-content .responsive-video {
  width: 100%;
  display: block;
}

.landing-how-to-button {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f0f0f0;
  border-radius: 999px;
  background-color: #f4f4f4;
  cursor: pointer;
  padding: 0;
  z-index: 30;
}

.landing-updates-button {
  position: fixed;
  top: 40px;
  left: 40px;
  width: 100px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e4f5ff;
  border-radius: 999px;
  background-color: #c1e9ff;
  color: #0b3750;
  text-decoration: none;
  font: 700 12px/1 "Inter", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 30;
}

.landing-how-to-button svg {
  width: 24px;
  height: 24px;
  display: block;
  pointer-events: none;
}


.landing-shell {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 24px 16px 40px;
  align-items: center;
  justify-content: center;
}

.landing-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 28px;
  text-align: center;
}

.landing-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #71bfeb;
}

.landing-logo img {
  width: 74px;
  height: 74px;
}

.landing-kicker {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--landing-ink);
}

.landing-title {
  margin: 0;
  font-family: "Merriweather", serif;
  font-size: clamp(2.15rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.05;
}

.landing-date {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--landing-ink);
    font-family: "Merriweather", serif;
}

.landing-group {
  margin-bottom: 24px;
}

.landing-group-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.landing-group-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.landing-group-header p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--landing-muted);
}

.landing-card-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.landing-card {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 24px;
  min-height: 92px;
  padding: 0;
  text-align: left;
  background: var(--card-color);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(12px);
  opacity: 0;
  animation: rise-in 0.42s ease-out forwards;
  transition: background-color 0.24s ease;
}

.landing-card[data-completed="true"] {
  color: var(--landing-ink);
  background: color-mix(in srgb, var(--card-color) 34%, #ffffff);
}

.landing-card:not(:disabled):hover {
  background: #F7DA21;
}

.landing-card:disabled {
  cursor: default;
  opacity: 0;
}

.card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 18px 20px;
}

.card-title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.card-title {
  font-family: "Merriweather", serif;
  font-size: 1.7rem;
  line-height: 1;
  color:#0b3750
}

.card-subtitle {
  font-size: 0.96rem;
  color: inherit;
  opacity: 0.88;
  display: none;
}

.card-badge {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.88);
  color: var(--landing-ink);
}

.card-badge-muted {
  background: rgba(255, 255, 255, 0.2);
  color: #0b3750;
}

.landing-panel {
  border: 1px solid var(--landing-border);
  border-radius: 24px;
  padding: 18px;
  background: var(--landing-surface);
  backdrop-filter: blur(10px);
}

.landing-panel h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.landing-panel p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.5;
}

.landing-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.landing-link {
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  padding: 12px 10px;
  background: #ffffff;
  font: inherit;
  font-weight: 600;
  color: var(--landing-ink);
  cursor: pointer;
}

.landing-secondary-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.landing-secondary-links a {
  color: var(--landing-muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.landing-secondary-links a:hover,
.landing-secondary-links a:focus-visible {
  color: var(--landing-ink);
}

.landing-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 33, 46, 0.18);
  z-index: 40;
}

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

.landing-how-to-content {
  width: min(100%, 600px);
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 16px 32px;
  border: 2px solid #a2d9f8;
  border-radius: 12px;
  background: #71bfeb;
  overflow: hidden;
}

.landing-how-to-content h3,
.landing-how-to-content h4,
.landing-how-to-content p {
  margin: 0;
}

.landing-how-to-content h3 {
    font-family: "Merriweather", serif;
  font-size: 24px;
  text-align: center;
}

.landing-how-to-content ul {
  margin: 0;
  padding-inline-start: 24px;
  line-height: 1.2;
}

.landing-how-to-content li {
  margin-bottom: 12px;
}

.slides {
  width: 100%;
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  align-items: center;
}

.slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
     align-items: center;
}

.slide a {
  color: #1b1b1b;
}

.video-container,
.img-container {
  width: 80%;
  display: flex;
  justify-content: center;
}

.responsive-video,
.img-container img {
  width: 100%;
  max-width: 362px;
  height: auto;
  border-radius: 10px;
overflow: clip;
}

.carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-btn {
  background: #c1e9ff;
  color: #0b3750;
  padding: 12px 16px;
  border: 2px solid #e4f5ff;
  border-radius: 16px;
  font: 500 1rem/1 "Inter", sans-serif;
  cursor: pointer;
  min-width: 100px;
}

.nav-btn.play {
  background: #c1e9ff;
  color: #0b3750;
}

.dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #71bfeb;
  opacity: 0.4;
}

.dot.active {
  opacity: 1;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {

.landing-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.landing-shell {
    width: min(100%, 700px);
}
.landing-group {
    width: 100%;
}
}

@media (max-width: 640px) {
  #landingSplashScreen {
    padding: 20px;
  }

  .landing-updates-button {
    top: 24px;
    left: 24px;
  }

  .landing-how-to-button {
    top: 24px;
    right: 24px;
  }

  .landing-modal {
    padding: 10px;
  }

  .landing-how-to-content {
    min-height: 560px;
  }

  .landing-shell {
    padding-top: 18px;
  }

  .landing-group-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-links {
    grid-template-columns: 1fr;
  }
}
