/* Envoya – minimal, dark, quiet. Self-hosted font only: no external requests, no cookies, no trackers. */
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #000;
  --ink: #f5f5f7;
  --muted: #86868b;
  --faint: #5c5c60;
  --font: "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* ---------- home ---------- */
.home { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }

/* a slow, barely visible light behind the wordmark */
.glow {
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(42vmax 42vmax at 50% 46%, rgba(255,255,255,.075), rgba(255,255,255,0) 60%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.stage { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 96px 24px 48px; }

.mark { font-size: clamp(34px, 8vw, 80px); font-weight: 200; letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #9a9a9f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.6s cubic-bezier(.2,.7,.2,1) both; }
.line { margin-top: 36px; font-size: clamp(20px, 3.4vw, 30px); font-weight: 500; letter-spacing: -0.02em;
  animation: rise 1.6s .35s cubic-bezier(.2,.7,.2,1) both; }
.sub { margin-top: 14px; font-size: clamp(15px, 2.2vw, 18px); line-height: 1.55; color: var(--muted);
  animation: rise 1.6s .6s cubic-bezier(.2,.7,.2,1) both; }
.status { margin-top: 64px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); animation: rise 1.6s .9s cubic-bezier(.2,.7,.2,1) both; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.8);
  animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.foot { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 24px clamp(24px, 5vw, 48px)
  calc(24px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.foot nav { display: flex; gap: 20px; }
.foot a:hover { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .glow, .mark, .line, .sub, .status, .dot { animation: none; }
}

/* ---------- legal pages ---------- */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(24px, 5vw, 48px); }
.wordmark { font-weight: 300; font-size: 15px; letter-spacing: .28em; text-transform: uppercase; }
.nav-cta { font-size: 13px; color: var(--muted); }
.legal { max-width: 680px; margin: 0 auto; padding: 48px 24px 96px; }
.legal h1 { font-size: clamp(34px, 7vw, 52px); letter-spacing: -0.04em; margin-bottom: 32px; }
.legal h2 { font-size: 18px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal .todo { background: #3a2f00; color: #ffd60a; padding: 1px 6px; border-radius: 5px; }
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px clamp(24px, 5vw, 48px); font-size: 12px; color: var(--faint); }
.footer nav { display: flex; gap: 20px; }
.footer .wordmark.small { font-size: 14px; color: var(--muted); }

/* "Schweiz" highlighted: dark Swiss red, bold */
.ch { color: #c8102e; font-weight: 700; }
