/* The landing page (index.html). Colours, fonts, buttons, .lang, .watch,
   .more and the animation pop-up come from app.css. */

body.landing { height: auto; min-height: 100%; }

.land {
  max-width: 36rem;
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.land .lang { align-self: flex-end; }
.land .mark { width: 96px; height: 96px; margin-top: 24px; }
.land h1 { margin: 12px 0 4px; font-size: 2rem; letter-spacing: 0.04em; }
.land .tagline { margin: 0; font-size: 1.2rem; font-weight: 600; }
.land .sub { margin: 4px 0 0; color: var(--muted); }

/* The way in. */
.enter {
  display: inline-block;
  margin: 28px 0 14px;
  padding: 14px 40px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}
.enter:hover { filter: brightness(1.1); }
.enter:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.notice {
  align-self: stretch;
  margin: 12px 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--danger);
  border-radius: 8px;
  background: var(--panel);
  text-align: start;
}
.notice h2 { margin: 0 0 4px; font-size: 1rem; }
.notice p { margin: 0; font-size: 0.95rem; }

/* The evaluation passphrase pop-up. While it is up, and while the page is
   still asking whether it is needed, the page behind is not shown. */
body.checking .land, body.locked .land { visibility: hidden; }
.gate {
  width: min(26rem, calc(100vw - 24px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  text-align: start;
}
.gate::backdrop { background: var(--bg); }
.gate h2 { margin: 0 0 6px; font-size: 1.2rem; }
.gate p { margin: 0 0 14px; }
.gate label { display: block; margin-bottom: 4px; font-weight: 600; }
.gate input { display: block; width: 100%; box-sizing: border-box; margin-bottom: 12px; }
.gate .gate-error { margin: 0 0 12px; color: var(--danger); }
.gate [hidden] { display: none; }

.land .more { align-self: stretch; margin-top: 0; text-align: start; border-top: 1px solid var(--line); }
.land .more:last-of-type { border-bottom: 1px solid var(--line); }
.land .more summary { padding: 10px 0; font-size: 1rem; color: var(--ink); }
.land .more p { margin-top: 0; color: var(--muted); }
