/* The page: colors, type and the floating nav. */
/* Layout: one centered column over a dusk landscape. The real Kanzo board rises out of the hero and plays by itself; quiet sections follow. */
:root {
  color-scheme: dark;
  --ink: #121116; --ink-2: #18171e; --ink-3: #1f1d27;
  --lav: #c8b6f2; --lav-ink: #17131f; --peach: #f1bfae;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --fg: #ededed; --fg-2: #a3a3a7; --fg-3: #6f6f74;
  --paper: #f2f2f0; --paper-fg: #111112;
  --display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: ui-sans-serif, -apple-system, system-ui, "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* Kanzo's own dark theme, from kanzo/src/index.html */
  --k-bg: #000; --k-col: #0b0b0b; --k-card: #171717; --k-card-hover: #1e1e1e; --k-panel: #0b0b0b;
  --k-field: #171717; --k-hover: #1a1a1a; --k-active: #242424; --k-menu: #1c1c1c;
  --k-text: #ececec; --k-muted: #a1a1a1; --k-faint: #6e6e6e; --k-border: #1f1f1f;
  --k-waits: #f5a524; --k-link: #7ab7ff; --k-code: #1c1c1c;
}
html, body { background: var(--ink); color: var(--fg); }
body { margin: 0; font-family: var(--display); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.nav {
  position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 10px; border-radius: 14px;
  background: rgba(42,37,62,.6); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  white-space: nowrap; max-width: calc(100vw - 24px);
}
.nav .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-decoration: none; padding-right: 10px; }
.nav .brand img { width: 24px; height: 24px; }
.nav .links { display: flex; gap: 2px; }
.nav .links a { text-decoration: none; font-size: 14px; color: var(--fg-2); padding: 6px 10px; border-radius: 8px; transition: color .15s, background .15s; }
.nav .links a:hover { color: var(--fg); background: rgba(255,255,255,.06); }
/* The sky at dusk, as a button: lilac into the warm pink of the horizon. */
.btn-paper {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #241b3d;
  background: linear-gradient(115deg, #b9a6ec 0%, #d6bce6 52%, #f4d2d4 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(255,255,255,.22), 0 6px 18px -6px rgba(185,150,240,.55);
  font-size: 14px; font-weight: 500; padding: 4px 10px 4px 14px; border-radius: 10px; border: 0; cursor: pointer; transition: box-shadow .2s, filter .2s;
}
.btn-paper::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18; mix-blend-mode: overlay; background-image: var(--grain); }
.btn-paper:hover { filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(255,255,255,.3), 0 8px 24px -6px rgba(200,160,245,.7); }
.btn-paper .arrow { display: grid; place-items: center; width: 16px; height: 28px; margin-left: -4px; color: #241b3d; }
.btn-paper .arrow svg { width: 14px; height: 14px; }
.btn-paper:hover .arrow svg { transform: translateX(1px); }
.btn-paper .arrow svg { transition: transform .15s; }
@media (max-width: 900px) { .nav .links { display: none; } }
