@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 300 900; src: url(/assets/figtree-4ba7d3d096.woff2) format('woff2'); }
*, *::before, *::after { box-sizing: border-box; }
html { background-color: #051316; color-scheme: dark; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background-color: #051316; color: #f4f8f7; font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.wrap { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }
header { padding-top: 18px; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* The network switch: this page is mainnet (selected), the other one is the public testnet's web app. */
.net { display: inline-flex; flex-shrink: 0; padding: 4px; border: 1px solid rgba(244, 248, 247, .18); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.net a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #c9d6d4; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.net a[aria-current="page"] { background-color: #65f9d5; color: #06211c; }
.net a:not([aria-current]):hover { color: #fff; background-color: rgba(255, 255, 255, .06); }
.net a:focus-visible { outline: 2px solid #65f9d5; outline-offset: 2px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand svg { flex-shrink: 0; }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -0.012em; color: #f4f8f7; }
/* Clips the ribbon's canvas, which is larger than its box, as the app's .hero does: never a sideways scroll. */
main { flex: 1; display: flex; align-items: center; overflow: hidden; }
.hero { display: grid; gap: 16px; align-items: center; padding-top: 40px; padding-bottom: 16px; }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; min-height: 600px; padding-top: 0; padding-bottom: 0; } }
/* The text stays above the ribbon's canvas, which reaches past its own column (the app's hero: relative z-10). */
.copy { position: relative; z-index: 1; }
h1 { margin: 0; font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1.1; font-weight: 650; letter-spacing: -0.012em; }
.sub { margin: 22px 0 0; max-width: 33rem; font-size: clamp(1.15rem, 1.65vw, 1.4rem); line-height: 1.45; color: #dfe7e6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 1024px) { .actions { gap: 16px; margin-top: 36px; } }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.btn-main { background-color: #65f9d5; color: #06211c; }
.btn-main:hover { background-color: #86fbe0; }
.btn-ghost { border: 1px solid rgba(244, 248, 247, .6); color: #f4f8f7; }
.btn-ghost:hover { border-color: #fff; background-color: rgba(255, 255, 255, .06); }
.btn:focus-visible, .brand:focus-visible, footer a:focus-visible { outline: 2px solid #65f9d5; outline-offset: 3px; }
.art { position: relative; width: 100%; max-width: 28rem; margin: 0 auto; aspect-ratio: 936 / 612; pointer-events: none; user-select: none; }
@media (min-width: 1024px) { .art { max-width: none; transform: scale(1.08); } }
.art img { display: block; width: 100%; height: auto; }
/* The live ribbon (the web app's lib/ribbon.ts), larger than its box so its glow fades out well before the canvas's
   edge, as in the app's hero. It fades in on its first frame; the picture shows only where WebGL 2 can't draw it. */
.art canvas { position: absolute; top: -12%; left: -12%; width: 124%; height: 124%; opacity: 0; transition: opacity .9s ease; }
.art.drawn canvas { opacity: 1; }
.art .still-img { display: none; }
.art.still .still-img { display: block; }
.art.still canvas { display: none; }
footer { padding: 28px 0 32px; font-size: 14px; color: #9fb3b0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; color: #c9d6d4; }
footer a:hover { color: #fff; }
