/* Modern landing page: soft sky gradient, glass cards, fluid type.
   Scoped to .page-landing so the room/start/join pages are unchanged. */

.page-landing {
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(0, 123, 255, 0.28), transparent 60%),
    radial-gradient(50rem 40rem at -10% 20%, rgba(135, 206, 235, 0.55), transparent 60%),
    linear-gradient(180deg, #eaf5ff 0%, #f8fbff 55%, #eaf5ff 100%);
  background-attachment: fixed;
  scroll-behavior: smooth;
}
html { scroll-padding-top: 4.5rem; }
.page-landing::before { display: none; }
.page-landing #outerDiv { height: auto !important; min-height: 100vh; }
.page-landing #MainContent { padding: 0; }

.page-landing #baseNav {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.page-landing #baseNav.navbar { position: sticky; top: 0; }

.landing {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero */
.hero {
  min-height: min(calc(100svh - 4.5rem), 44rem);
  min-height: min(calc(100vh - 4.5rem), 44rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0 4rem;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  color: var(--brand);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}
.grad {
  background: linear-gradient(90deg, #007bff, #00b4d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  max-width: 34rem;
  color: #3c4650;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero-cta .btn { min-width: 12.5rem; border-radius: 999px; padding: 0.75rem 1.5rem; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 123, 255, 0.35);
  color: var(--brand);
}
.btn-ghost:hover { background: #fff; border-color: var(--brand); color: var(--brand); }
.scroll-hint {
  position: absolute;
  bottom: 1rem;
  font-size: 2rem;
  color: var(--brand);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* Sections */
.block { padding: 2.5rem 0; }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.glass {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.25rem;
  box-shadow: 0 8px 30px rgba(20, 60, 120, 0.08);
  padding: 1.5rem;
}

.story { text-align: center; padding: 2rem 1.5rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--brand); font-weight: 700; }
.lead-big { font-size: clamp(1.15rem, 3.4vw, 1.6rem); max-width: 40rem; margin: 0 auto 1.25rem; }
.story blockquote { font-style: italic; color: var(--brand); font-size: clamp(1.1rem, 3vw, 1.4rem); margin: 0 0 1rem; }
.enter { font-weight: 700; margin: 0; }

.steps, .features { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40em) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 52em) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step h3, .feature h3 { font-size: 1.15rem; font-weight: 700; margin: 0.5rem 0; }
.step p, .feature p { margin: 0; color: #3c4650; }
.step-num {
  display: inline-flex; width: 2.25rem; height: 2.25rem;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #00b4d8);
  color: #fff; font-weight: 700;
}
.feature .bi { font-size: 2rem; color: var(--brand); }

/* How-to carousel (native scroll-snap, so swipe works everywhere) */
.carousel { max-width: 34rem; margin: 0 auto; padding: 1rem; }
.carousel:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.car-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 0.9rem;
}
.car-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; text-align: center; }
.slide figcaption { padding: 1rem 0.5rem 0.25rem; }
.slide figcaption b { display: block; font-size: 1.15rem; margin-bottom: 0.25rem; }
.slide figcaption span { color: #3c4650; }

.mock {
  display: flex; flex-direction: column; gap: 0.75rem;
  text-align: left; padding: 1.25rem; min-height: 13rem; justify-content: center;
  background: linear-gradient(180deg, #f4f9ff, #e3f0ff);
  border: 1px solid rgba(0, 123, 255, 0.15);
  border-radius: 0.9rem;
  pointer-events: none; user-select: none;
}
.m-field { flex: 1; background: #fff; border: 1px solid #cfe0f3; border-radius: 0.6rem; padding: 0.45rem 0.75rem; }
.m-field small { display: block; color: #6b7785; font-size: 0.72rem; }
.m-field b { font-weight: 600; }
.m-row { display: flex; gap: 0.75rem; }
.m-btn {
  align-self: center; padding: 0.55rem 1.5rem; border-radius: 999px; font-weight: 600;
  color: #fff; background: linear-gradient(90deg, #007bff, #00b4d8);
}
.m-btn.m-ghost { background: #fff; color: var(--brand); border: 1px solid rgba(0, 123, 255, 0.35); }
.m-chips { display: flex; gap: 0.5rem; justify-content: center; }
.m-chips span { background: #fff; border: 1px solid rgba(0, 123, 255, 0.25); border-radius: 999px; padding: 0.25rem 0.8rem; font-weight: 600; font-size: 0.9rem; }
.m-legend { font-size: 0.8rem; color: #3c4650; display: flex; align-items: center; gap: 0.35rem; }
.dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; display: inline-block; }
.dot.ok, .m-bar.ok { --c: #28a745; }
.dot.late, .m-bar.late { --c: #e8590c; }
.dot { background: var(--c); margin-left: 0.5rem; }
.dot:first-child { margin-left: 0; }
.m-bar {
  background: #fff; border-left: 0.35rem solid var(--c); border-radius: 0.4rem;
  padding: 0.45rem 0.75rem; font-size: 0.9rem; box-shadow: 0 1px 3px rgba(20, 60, 120, 0.1);
}
.m-bar em { color: var(--c); font-style: normal; font-weight: 700; margin-left: 0.4rem; }

.m-daytitle { font-weight: 700; }
.m-daytitle small { color: #6b7785; font-weight: 400; margin-left: 0.4rem; }
.m-grid { position: relative; height: 12rem; margin-left: 2.8rem; }
.m-t { position: absolute; left: -2.8rem; transform: translateY(-50%); font-size: 0.72rem; color: #6b7785; }
.m-cols {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, #cfe0f3 0, #cfe0f3 1px, transparent 1px, transparent 25%);
  border-bottom: 1px solid #cfe0f3;
}
.m-band { position: absolute; left: 0; right: 0; background: rgba(0, 123, 255, 0.12); border-top: 1px dashed var(--brand); border-bottom: 1px dashed var(--brand); }
.m-fl {
  position: absolute; width: 31%; box-sizing: border-box; overflow: hidden;
  background: #fff; border-left: 0.35rem solid var(--c); border-radius: 0.4rem;
  padding: 0.3rem 0.5rem; font-size: 0.78rem; box-shadow: 0 1px 3px rgba(20, 60, 120, 0.15);
}
.m-fl.ok { --c: #28a745; }
.m-fl.late { --c: #e8590c; }
.m-fl b, .m-fl span { display: block; }
.m-fl em { color: var(--c); font-style: normal; font-weight: 700; }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.75rem; }
.car-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(0, 123, 255, 0.35);
  background: #fff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center;
}
.car-btn:disabled { opacity: 0.35; }
.car-dots { display: flex; gap: 0.25rem; }
.car-dots button {
  width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none; position: relative;
}
.car-dots button::after {
  content: ""; position: absolute; inset: 0.5rem; border-radius: 50%; background: #b7cfe8; transition: background .2s, transform .2s;
}
.car-dots button[aria-selected="true"]::after { background: var(--brand); transform: scale(1.3); }

.final { text-align: center; padding-bottom: 4rem; }
.final h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 700; margin-bottom: 1.5rem; }

@media (max-width: 30em) {
  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-landing { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
  .car-track { scroll-behavior: auto; }
}

/* "No sign-up / no download" chips */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0;
  margin: 1.5rem 0 0;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 123, 255, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
}
.chips .bi { color: var(--brand); }
.final-note { color: #3c4650; margin: -0.75rem 0 1.5rem; }
