/* LÆVRO – V 1.0. No external requests: font, video and images are all local. */
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #000;
  --ink: #e6f1ff;
  --muted: #9fb0c8;
  --glow: #2f6bff;
  --line: #1c2740;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover, a:focus-visible { color: #fff; }
a:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

/* ---------- start page ---------- */
.home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero video,
.hero .poster {
  /* as wide as possible, but never so tall that the text below drops out of view */
  width: min(100%, 1280px, calc(62vh * 16 / 9));
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero video,
.hero .poster {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 55%, transparent 78%);
}

.hero video { display: block; }

/* soften the edges of the video into the black page */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, var(--bg) 78%);
}

.hero .poster { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero video { display: none; }
  .hero .poster { display: block; }
}

.intro {
  text-align: center;
  padding: 0 16px 8px;
  margin-top: -6vh;
  position: relative;
  z-index: 1;
}

.tagline {
  margin: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.tagline span { color: var(--muted); display: block; }

.status {
  margin: 18px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
}

.links a {
  display: inline-block;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.links a:hover,
.links a:focus-visible {
  border-color: var(--glow);
  box-shadow: 0 0 18px rgba(47, 107, 255, 0.45);
}

/* ---------- footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 28px 16px 32px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer a { color: var(--muted); }

/* ---------- legal pages ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 16px 24px;
  line-height: 1.65;
  font-size: 1.02rem;
}

.legal h1 { font-size: 2rem; margin: 0 0 24px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 8px; }
.legal p, .legal li { color: #cfdaea; }

.back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--muted);
  text-decoration: none;
}

.placeholder {
  background: rgba(255, 196, 0, 0.14);
  border-radius: 4px;
  padding: 0 4px;
  color: #ffd76a;
}
