:root { --bg:#000; --fg:#fff; --dim:rgba(255,255,255,.45); --faint:rgba(255,255,255,.28); }

* { box-sizing:border-box; margin:0; padding:0; }
html, body { min-height:100%; background:var(--bg); color:var(--fg); }
body {
  min-height:100vh; min-height:100dvh;
  display:flex; flex-direction:column;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
a { color:inherit; }

/* ---------- Home ---------- */
.home main {
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:clamp(28px, 6vh, 64px);
}
.hero { width:100vw; max-height:70vh; display:flex; justify-content:center; }
.hero video { width:100%; height:auto; max-height:70vh; object-fit:contain; display:block; pointer-events:none; }

.links { display:flex; gap:22px; }
.links a {
  width:34px; height:34px; display:grid; place-items:center;
  color:var(--dim); border:1px solid transparent; border-radius:50%;
  transition: color .2s, border-color .2s;
}
.links a:hover, .links a:focus-visible { color:var(--fg); border-color:var(--dim); outline:none; }
.links svg { width:18px; height:18px; }

/* ---------- Footer (all pages) ---------- */
footer {
  display:flex; justify-content:center; gap:20px;
  padding:18px 16px calc(18px + env(safe-area-inset-bottom));
  font-size:11px; letter-spacing:.06em;
}
footer a { color:var(--faint); text-decoration:none; }
footer a:hover, footer a:focus-visible { color:var(--fg); }

/* ---------- Legal pages ---------- */
.legal main {
  flex:1; width:100%; max-width:640px; margin:0 auto;
  padding:56px 24px 40px;
  font-size:13px; line-height:1.7; color:rgba(255,255,255,.82);
}
.legal .back { display:inline-block; margin-bottom:40px; color:var(--dim); text-decoration:none; font-size:12px; }
.legal .back:hover { color:var(--fg); }
.legal h1 { font-size:15px; font-weight:normal; letter-spacing:.12em; text-transform:uppercase; margin-bottom:28px; color:var(--fg); }
.legal h2 { font-size:12px; font-weight:normal; letter-spacing:.1em; text-transform:uppercase; margin:32px 0 8px; color:var(--fg); }
.legal p, .legal ul { margin-bottom:12px; }
.legal ul { padding-left:18px; }
.legal a { color:var(--fg); }
.legal .note { color:var(--dim); font-size:12px; }
