/* shared by the three demo pages: fonts + the "back to adwe" pill */
@font-face { font-family: "Anton"; src: url("/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Anton"; src: url("/fonts/anton-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
body { -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: clip; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img { -webkit-user-drag: none; user-select: none; }
:root { --z-nav: 900; --z-fx: 950; --z-cover: 9999; }
.dnav { position: fixed; z-index: var(--z-nav); left: 50%; translate: -50% 0; bottom: max(14px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(12,11,15,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 44px -14px rgba(0,0,0,.75); font: 600 .86rem/1 "Outfit", system-ui, sans-serif; color: #f4f2fa; }
.dnav a { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: rgba(244,242,250,.78); transition: background-color .3s, color .3s, scale .16s; white-space: nowrap; }
.dnav a:active { scale: .95; }
@media (hover: hover) and (pointer: fine) { .dnav a:hover { color: #fff; background: rgba(255,255,255,.08); } }
.dnav-home { padding-left: 10px !important; color: #fff !important; }
.dnav-home b { display: grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 999px; background: #965CF5; color: #C8F560; font-weight: 800; letter-spacing: -0.04em; font-size: .98rem; }
.dnav-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,242,250,.6); padding: 0 6px 0 4px; }
.dnav-lv i { font-style: normal; font-size: .72rem; color: rgba(244,242,250,.55); }
.dnav-lv.is-on { background: #C8F560; color: #141414 !important; }
.dnav-lv.is-on i { color: #141414; }
@media (hover: none) { .dnav { -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); background: rgba(12,11,15,.42); box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 12px 30px -14px rgba(0,0,0,.6); } } /* see-through on phones, same place */
html.tx-lock, html.tx-lock body { overflow: hidden !important; }
.dnav-fx { position: fixed; top: calc(-60px - env(safe-area-inset-top, 0px)); left: 0; width: 100%; height: calc(100vh + 120px + env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)); height: calc(100lvh + 120px + env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)); z-index: var(--z-fx); pointer-events: none; will-change: transform; }
/* phones / under 900px: page transitions fade the page itself (no overlay), see PixelKit simpleTx */
html.pt-out body { opacity: 0; pointer-events: none; transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1); }
html.pt-anim body { transition: opacity 250ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (prefers-reduced-motion: reduce) { html.pt-out body, html.pt-anim body { transition: none; } }
html.tx-cover, html.tx-cover body { background-color: #965CF5 !important; }
html.tx-cover body *:not(canvas) { visibility: hidden !important; }
html.tx-cover::after { content: ""; position: absolute; top: -150px; left: 0; right: 0; height: calc(100vh + 370px); height: calc(100lvh + 370px); z-index: var(--z-cover); background: #965CF5; }
@media (max-width: 520px) { .dnav-label { display: none; } .dnav a { padding: 0 10px; } .dnav-lv i { display: none; } }

/* never wider than the screen on phones (iOS ignores overflow on <body> alone) */
html { overflow-x: hidden; }
@supports (overflow-x: clip) { html { overflow-x: clip; } }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
