/* The landing page (includes/landing.php): the logo and one link to the sign-in. Colours and the button as on the
 * dark sign-in pages (style.css); a page of its own, so it loads nothing else. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/Manrope-VariableFont_wght.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #111216;
  --text: #e9e9ec;
  --accent: #E9A23B;
  --accent-dark: #d29235;
  --on-accent: #23201a;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.landing {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, "system-ui", sans-serif;
}

/* a little above the middle, where the eye rests */
.landing-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  padding: 24px 16px;
  margin-top: -4vh;
}
/* The logo in two parts of its 1000 x 160 picture: the pictogram (168 wide) and the wordmark (796 wide, from x 204) */
.landing-title {
  display: flex;
  align-items: center;
  column-gap: 3.6%;
  width: min(360px, 78vw);
  margin: 0;
  line-height: 0;
}
.landing-mark { flex: none; width: 16.8%; height: auto; aspect-ratio: 168 / 160; overflow: visible; }
.landing-word { flex: none; display: block; width: 79.6%; height: auto; }

/* The pictogram draws itself (the user's choice B of 2026-11-12, earlier mock-up of the website's header): the three
 * rings are drawn one after the other, blue, amber, grey, then the circles fill in and the rings fade out, so the end is
 * exactly the logo. The colours of the fills are the logo's (50 % over each other, grey below, blue, amber on top).
 * Without animation (reduce motion) the end state stands. */
.mark-fill { fill-opacity: .5; animation: mark-fill 1.6s ease 1.8s both; }
.mark-grey { fill: #fff; }
.mark-blue { fill: #3457D1; }
.mark-amber { fill: #E9A23B; }
.mark-ring {
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 1;
  opacity: 0;
  animation: mark-draw 2.2s cubic-bezier(.6, 0, .2, 1) both, mark-out 1.6s ease 1.8s both;
}
.ring-blue { stroke: #6f8cf0; }
.ring-amber { stroke: #E9A23B; animation-delay: .25s, 1.8s; }
.ring-grey { stroke: #c9cad3; animation-delay: .5s, 1.8s; }
@keyframes mark-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mark-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes mark-fill { from { fill-opacity: 0; } to { fill-opacity: .5; } }
@media (prefers-reduced-motion: reduce) {
  .mark-fill, .mark-ring { animation: none; }
}

.landing-signin {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.landing-signin:hover { background: var(--accent-dark); }
.landing-signin:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
