/* 8trails — coming-soon page. Colours sampled from the logo artwork. */
:root {
  --bg: #10172a;          /* logo background navy */
  --bg-deep: #0a0f1d;
  --fg: #eef2ff;
  --muted: #8c97b8;
  --cyan: #3fd7f2;
  --violet: #8b6cf0;
  --grid: rgba(120, 140, 200, 0.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { color-scheme: dark; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--fg);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 45% at 35% 40%, rgba(63, 215, 242, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 45% at 65% 40%, rgba(139, 108, 240, 0.12), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    radial-gradient(ellipse at center, var(--bg) 40%, var(--bg-deep) 100%);
  background-size: auto, auto, 40px 40px, 40px 40px, auto;
  background-position: center;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

header, footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}
footer { justify-content: center; font-size: 0.8rem; color: var(--muted); }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 16px 48px;
}


.wordmark {
  margin: 0;
  font-size: clamp(4rem, 17vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--cyan) 0%, #6fa8f5 45%, var(--violet) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(63, 215, 242, 0.28)) drop-shadow(0 0 48px rgba(139, 108, 240, 0.22));
  animation: fade-in 900ms ease-out both;
}
.wordmark-link { text-decoration: none; }

.slogan {
  margin: 28px 0 0;
  font-size: clamp(1.35rem, 4.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  animation: fade-in 900ms 200ms ease-out both;
}
.slogan em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.status {
  margin: 20px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fade-in 900ms 400ms ease-out both;
}

.lang a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-left: 12px;
}
.lang a:hover, .lang a:focus-visible { color: var(--fg); }
.lang a[aria-current="page"] { color: var(--fg); font-weight: 600; }

a { color: var(--cyan); }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wordmark, .slogan, .status { animation: none; }
}

/* footer: "8trails by xzeptiq" + legal links */
footer { flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--fg); text-decoration: underline; }
.legal-links { display: flex; gap: 16px; }

/* legal pages (Impressum, Datenschutz) */
.header--legal { justify-content: space-between; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
main.legal {
  display: block;
  text-align: left;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.2; margin: 16px 0 12px; }
.legal h2 { font-size: 1.1rem; margin: 32px 0 8px; color: var(--fg); }
.legal p { margin: 0 0 12px; color: #c4cbe0; overflow-wrap: anywhere; }
.legal .lead { color: var(--muted); }
.legal .meta { margin-top: 40px; font-size: 0.85rem; color: var(--muted); }
.legal strong { color: var(--fg); font-weight: 600; }
