/* The landing page, in all three languages. Loads after base.css. */

html, body { min-height: 100%; }
body { display: flex; flex-direction: column; }

/* The switcher floats clear of the centred column so it cannot shift the composition. */
.topbar {
  display: flex; justify-content: flex-end;
  padding: 18px 22px 0; font-size: 13px;
}
.topbar a {
  color: var(--soft); text-decoration: none; padding: 2px 8px;
  border-radius: 999px; border: 1px solid transparent;
}
.topbar a.on { color: var(--moss); border-color: var(--line); }
.topbar a:hover { color: var(--ink); }

main {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 32px 24px 48px; text-align: center;
}
.wordmark { font-size: 34px; font-weight: 500; letter-spacing: 0.02em; margin-top: 10px; }
.slogan {
  font-family: 'Newsreader', Georgia, serif; font-style: italic;
  font-size: 18px; color: var(--prose);
}
.soon {
  margin-top: 26px; font-size: 12.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--soft);
}

form { margin-top: 34px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
input[type="email"] {
  font: inherit; font-size: 15px; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 14px; width: 220px; outline: none;
}
input[type="email"]:focus { border-color: var(--moss); }
button {
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  background: var(--btn); color: var(--ink); border: 0; border-radius: 8px; padding: 10px 16px;
}
.consent { margin-top: 12px; font-size: 12.5px; color: var(--soft); max-width: 400px; line-height: 1.55; }
.consent a { color: var(--moss); }
.thanks {
  margin-top: 18px; font-size: 15px; color: var(--prose);
  font-family: 'Newsreader', Georgia, serif; font-style: italic; display: none;
}
svg { display: block; }

/* The two doors into the site. These used to sit in 11.5px fine print beside the legal text —
   the site's whole discovery plan runs through them, so they get to look like a destination. */
.doors {
  margin-top: 44px; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  width: 100%; max-width: 560px; text-align: left;
}
.door {
  display: block; text-decoration: none; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  transition: border-color .15s;
}
.door:hover { border-color: var(--moss); }
.door .t { display: block; font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.door .d { display: block; font-size: 14px; color: var(--prose); line-height: 1.5; }

footer.site {
  border-top: 1px solid var(--line); margin: 0 auto; padding: 22px 24px 28px;
  width: 100%; max-width: 560px; text-align: center;
}
footer.site nav { justify-content: center; }

@media (max-width: 420px) {
  main { padding-top: 12px; }
  #mark { width: 180px; height: 180px; }
}
