/* Public landing page: dark navy, animated molecule background, no header.
   styles.css is loaded first for the type scale and the brand mark. */

.landing-body { background: #0b1733; color: #e8edf8; margin: 0; min-height: 100vh; }
.bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block;
  background: radial-gradient(1300px 760px at 50% -8%, #3b63b8 0%, #22428c 32%, #122a5e 62%, #0b1733 100%); }

.landing { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(8px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.ready .landing { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .landing { transition: none; transform: none; } }
.landing-main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 2.5rem; box-sizing: border-box; }

.hero { text-align: center; padding: 5rem 0 2rem; }
.hero .wordmark { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.05; margin: 0 0 0.6rem; letter-spacing: -0.03em; font-weight: 800; color: #fff;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25); }
.hero .slogan { font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.3; margin: 0 auto 0.9rem; max-width: 36ch; font-weight: 600; color: #dbe5ff; letter-spacing: -0.01em; }
.hero p.tagline { font-size: 1rem; line-height: 1.6; color: #b7c4e6; max-width: 58ch; margin: 0 auto 2.4rem; }

.hero-search { max-width: 720px; margin: 0 auto; }
.hero-search form { display: flex; gap: 0.5rem; align-items: stretch; }
.hero-search .field { flex: 1; position: relative; }
.hero-search .field .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: #7c88a8; }
.hero-search input {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 1.15rem;
  padding: 1rem 1rem 1rem 3rem; border: 2px solid rgba(255,255,255,0.12); border-radius: 12px;
  background: #fff; color: #151a2b; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.hero-search input:focus { outline: none; border-color: #7fa7ff; box-shadow: 0 0 0 4px rgba(127, 167, 255, 0.25), 0 14px 40px rgba(0, 0, 0, 0.35); }
.hero-search button {
  font: inherit; font-size: 1rem; font-weight: 700; padding: 0 1.6rem; border: 0; border-radius: 12px;
  background: var(--accent, #2f6fed); color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(47, 111, 237, 0.35);
}
.hero-search button:hover { background: #3f7cf5; }
.hero-hint { margin: 0.9rem 0 0; font-size: 0.88rem; color: #8ea0cc; }
.hero-hint a { color: #a9c2ff; font-weight: 600; margin: 0 0.3rem; text-decoration: none; }
.hero-hint a:hover { color: #fff; text-decoration: underline; }

.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.4rem; margin: 2.6rem auto 0; min-height: 1.4rem; font-size: 0.88rem; color: #8ea0cc; }
.stats-row b { color: #fff; font-size: 1.05rem; margin-right: 0.3rem; font-weight: 700; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin: 3rem 0 0; }
.feature { background: rgba(20, 40, 90, 0.55); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; padding: 1.05rem 1.2rem; }
.feature h3 { margin: 0 0 0.35rem; font-size: 0.95rem; color: #fff; }
.feature p { margin: 0; color: #a9b7da; line-height: 1.5; font-size: 0.88rem; }

.landing-footer { padding: 1.2rem 1.5rem 1.6rem; text-align: center; font-size: 0.78rem; color: #6f7fa6; }
.footer-links { margin-bottom: 0.45rem; }
.footer-links a { color: #a9b7da; margin: 0 0.7rem; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .hero-search form { flex-direction: column; }
  .hero-search button { padding: 0.9rem; }
}



/* suggestions on the dark landing: light panel, larger type */
.hero-search .suggest { border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.hero-search .suggest-row { padding: 0.7rem 1.1rem; font-size: 1rem; }
.hero-search .suggest-empty { padding: 0.8rem 1.1rem; font-size: 0.92rem; }

.hero .wordmark .ver { display: inline-block; vertical-align: super; font-size: 0.32em; font-weight: 700; letter-spacing: 0.02em;
  color: #fff; background: var(--accent, #2f6fed); border-radius: 0.5em; padding: 0.15em 0.5em; margin-left: 0.15em; text-shadow: none; }
