/* shared look for the inner pages. matches the homepage card. */
:root { --bg: #000; --ink: #fff; --muted: rgba(255,255,255,.6); --line: rgba(255,255,255,.12); --card: #0b0b0b; --green: #52b788; --font: system-ui, -apple-system, "Segoe UI", sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; padding: 84px 16px 48px; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.logo { position: fixed; top: 18px; left: 18px; width: 40px; height: 40px; opacity: .9; }
.card { max-width: 520px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; }
h1 { margin: 0 0 6px; font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
h2 { margin: 28px 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
p { margin: 0 0 14px; }
.sub { color: var(--muted); margin: 0 0 8px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 14px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 4px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.name { font-weight: 600; font-size: 18px; }
.desc { color: var(--muted); margin: 4px 0 0; font-size: 16px; }
.tag { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.links { display: flex; gap: 14px; margin-top: 8px; font-size: 15px; }
.links a { color: var(--muted); }
.links a:hover { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 15px; }
.back { display: inline-block; margin-top: 26px; color: var(--muted); font-size: 15px; text-decoration: none; }
.back:hover { color: var(--ink); }
[hidden] { display: none !important; }
.logo { padding: 0; border: 0; background: none; cursor: pointer; z-index: 10; }
.logo img { width: 100%; height: 100%; display: block; }
.logo:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 8px; }
.batmenu { position: fixed; top: 66px; left: 18px; z-index: 10; list-style: none; margin: 0; padding: 6px; min-width: 150px; text-align: left; background: #0b0b0b; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.batmenu a { display: block; padding: 10px 14px; border-radius: 10px; color: #fff; text-decoration: none; font-size: 17px; }
.batmenu a:hover, .batmenu a:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.batmenu a[aria-current="page"] { color: rgba(255,255,255,.5); }
/* koloqua page */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search { display: block; margin: 18px 0 6px; }
.search input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 18px; color: var(--ink); background: #000; border: 1px solid var(--line); border-radius: 14px; }
.search input:focus { outline: none; border-color: var(--ink); }
.count { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.ex { margin: 6px 0 0; font-size: 16px; font-style: italic; }
/* bat menu: items cascade out of the bat; bat can wiggle as a hint */
.batmenu { transform-origin: top left; }
.batmenu:not([hidden]) li { animation: batin .32s cubic-bezier(.2,.9,.3,1.25) both; }
.batmenu li:nth-child(2) { animation-delay: .06s; }
.batmenu li:nth-child(3) { animation-delay: .12s; }
.batmenu li:nth-child(4) { animation-delay: .18s; }
.batmenu li:nth-child(5) { animation-delay: .24s; }
.batmenu.tuck { animation: batout .22s ease-in forwards; }
@keyframes batin { from { opacity: 0; transform: translate(-14px, -10px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes batout { to { opacity: 0; transform: translate(-6px, -6px) scale(.92); } }
.logo.wiggle { animation: wiggle .8s ease-in-out; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-16deg) scale(1.08); } 35% { transform: rotate(13deg) scale(1.08); } 55% { transform: rotate(-9deg); } 75% { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .batmenu:not([hidden]) li, .batmenu.tuck, .logo.wiggle { animation: none; } }
/* the quiet footer on inner pages. holding it for 3 seconds opens the vault login (same as the homepage). */
.foot { display: block; margin: 40px auto 0; background: none; border: 0; padding: 6px 10px; color: rgba(255,255,255,.28); font: inherit; font-size: 12px; letter-spacing: .04em; cursor: default; position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; }
.foot::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 1px; background: rgba(255,255,255,.6); transform: scaleX(var(--hold, 0)); transform-origin: left; }
.foot:focus-visible { outline: 1px solid rgba(255,255,255,.4); outline-offset: 2px; border-radius: 6px; }
.logo img { transition: filter .25s ease; }
.logo.on-light img { filter: invert(1); }
