:root {
  --bg: #fafafa;
  --fg: #18181b;
  --muted: #62626b;
  --line: #d9d9de;
  --particle: 24, 24, 27;
  --flash: 37, 99, 235;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b; --fg: #f4f4f5; --muted: #a1a1aa; --line: #2e2e35; --particle: 244, 244, 245; --flash: 96, 165, 250;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
}
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
main {
  position: relative;
  z-index: 1;
  min-height: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding-block: 48px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  pointer-events: none;
}
main a { pointer-events: auto; }
.handle { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.06em; color: var(--muted); text-align: center; }
h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.bio { margin: 0; color: var(--muted); max-width: 36rem; font-size: 1.15rem; }
ul { font-size: 1.15rem; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 0; margin: 0; }
a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color 0.15s; }
a:hover { text-decoration-color: var(--fg); }
a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
/* Footer menempel di ujung layar: copyright di sudut kiri bawah, hint di sudut kanan bawah. */
footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  color: var(--muted);
  font-size: 1rem;
  pointer-events: none;
}
.error { margin: 0; color: var(--muted); font-size: 0.9rem; pointer-events: auto; }
.error code { font-family: ui-monospace, monospace; color: var(--fg); }