/* luxys.fans link-in-bio pages. Look copied from Lux's two Linktrees (2026-09-20 snapshot):
   Space Mono, flat pastel page, outlined pill buttons, black text. Fonts are self-hosted so
   the page asks nothing of Google or anyone else. */
@font-face { font-family: "Space Mono"; font-weight: 400; font-display: swap; src: url("space-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 700; font-display: swap; src: url("space-mono-700.woff2") format("woff2"); }

:root { --page: #E0FAEE; --line: #B4C8BE; --ink: #000; }
body.peach { --page: #FFEEE2; --line: #CCBEB4; }

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--page); color: var(--ink); font-family: "Space Mono", ui-monospace, Menlo, monospace; -webkit-text-size-adjust: 100%; }

main { max-width: 580px; margin: 0 auto; padding: 56px 16px 72px; text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 16px; }
h1 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.bio { font-size: 14px; line-height: 1.5; margin: 0 auto 8px; max-width: 46ch; }

.links { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.btn { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px 64px;
       border: 2px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35;
       transition: transform .12s ease, background-color .12s ease; }
.btn:hover, .btn:focus-visible { background: rgba(0,0,0,.05); transform: scale(1.015); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn img { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* 18+ check on the second page (stands in for Linktree's sensitive-content warning) */
.gate { position: fixed; inset: 0; z-index: 10; background: var(--page); display: flex; align-items: center; justify-content: center; padding: 24px; }
.gate[hidden] { display: none; }
.gate-box { max-width: 420px; text-align: center; }
.gate-box h2 { font-size: 20px; margin: 0 0 12px; }
.gate-box p { font-size: 14px; line-height: 1.5; margin: 0 0 24px; }
.gate-box .row { display: grid; gap: 12px; }
.gate-box button, .gate-box a { font: inherit; font-size: 15px; min-height: 52px; border-radius: 999px; border: 2px solid var(--line); background: transparent;
       color: var(--ink); cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.gate-box .yes { background: var(--ink); color: var(--page); border-color: var(--ink); font-weight: 700; }
.gate-box .avatar { margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
