:root {

    --aurora-bg: #000;
    --aurora-panel: #0b0f16;
    --aurora-panel-2: #101722;
    --aurora-text: #f5f7fb;
    --aurora-muted: #8b94a5;
    --aurora-line: rgba(255, 255, 255, .13);
    --aurora-line-strong: rgba(255, 255, 255, .22);
    --aurora-blue: #1c6fc0;
    --aurora-blue-bright: #2b8be4;

    --aurora-blue-electric: #2867f5;
    --aurora-blue-lift: #5b8cff;
    --aurora-green: #3fcf8e;
    --aurora-red: #f2606d;
    --aurora-spring: cubic-bezier(.32, .72, 0, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root),
::view-transition-new(topbar) {
    mix-blend-mode: normal;
}

::view-transition-old(root) {
    animation: pageOut .16s linear both;
}

::view-transition-new(root) {
    animation: pageIn .42s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(14px); }
    28% { opacity: 1; }
    to { opacity: 1; transform: none; }
}

@keyframes pageOut {
    to { opacity: 0; }
}

.aurora-nav .aurora-brand {
    view-transition-name: topbar-brand;
}

.aurora-nav__bar {
    view-transition-name: topbar-bar;
}

.aurora-nav__actions {
    view-transition-name: topbar-actions;
}

::view-transition-old(topbar-brand),
::view-transition-old(topbar-bar),
::view-transition-old(topbar-actions) {
    display: none;
}

::view-transition-new(topbar-brand),
::view-transition-new(topbar-bar),
::view-transition-new(topbar-actions) {
    animation: none;
}

.page-enter body.aurora-page > main,
.page-enter body.aurora-page > .aurora-foot {
    animation: pageIn .42s cubic-bezier(.16, 1, .3, 1) backwards;
}

html {
    background: var(--aurora-bg);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body.aurora-page {
    min-height: 100svh;
    margin: 0;
    background:
        radial-gradient(70% 48% at 50% -12%, rgba(61, 107, 255, .07), transparent 70%) top center / 100% 100svh no-repeat,
        var(--aurora-bg);
    color: var(--aurora-text);
    font-family: Satoshi, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    user-select: none;
}

.aurora-page input,
.aurora-page textarea,
.aurora-page code,
.aurora-page [data-copyable] {
    -webkit-user-select: text;
    user-select: text;
}

body.aurora-page--landing {
    height: 100svh;
    overflow: hidden;
}

.aurora-page button,
.aurora-page input,
.aurora-page select {
    font: inherit;
}

.aurora-page a {
    color: inherit;
    text-decoration: none;
}

.aurora-page [hidden] {
    display: none !important;
}

.aurora-foot {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), 1160px);
    margin: 0 auto;
    border-top: 1px solid var(--aurora-line);
    padding: 22px 0 26px;
}

.aurora-foot__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.aurora-foot__brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #cbd4df;
    font-size: 13px;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.aurora-foot__brand img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    -webkit-user-drag: none;
    pointer-events: none;
}

.aurora-foot nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.aurora-foot nav a {
    color: var(--aurora-muted);
    font-size: 12.5px;
    transition: color .16s ease;
}

.aurora-foot nav a:hover { color: #fff; }

.aurora-foot small {
    color: #5f6a7a;
    font-size: 11.5px;
}

.aurora-page .ic {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tone-blue { --c: #3d6bff; --c-ink: #8fa8ff; --c-icon: #5aa2ff; }
.tone-purple { --c: #a26bff; --c-ink: #c7a8ff; --c-icon: #b48cf2; }
.tone-amber { --c: #f5a524; --c-ink: #f9c56a; --c-icon: #e3ad4f; }
.tone-teal { --c: #14b8a6; --c-ink: #5eead4; --c-icon: #4cc9a7; }
.tone-discord { --c: #5865f2; --c-ink: #a5acff; --c-icon: #8b95ff; }
.tone-red { --c: #ef4444; --c-ink: #fca5a5; --c-icon: #ef8b8b; }

.site-foot {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), 1400px);
    margin: 0 auto;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.site-foot__inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.site-foot__brand p {
    max-width: 36ch;
    margin: 16px 0 0;
    color: #8b8b94;
    font-size: 14.5px;
    line-height: 1.6;
}

.site-foot nav {
    display: grid;
    align-content: start;
    gap: 12px;
}

.site-foot nav b {
    margin-bottom: 4px;
    color: #f4f4f5;
    font-size: 14px;
    font-weight: 700;
}

.site-foot nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a1a1aa;
    font-size: 14.5px;
    transition: color .15s ease;
}

.site-foot nav a:hover {
    color: #fff;
}

.site-foot nav a:focus-visible {
    outline: 2px solid rgba(61, 107, 255, .6);
    outline-offset: 3px;
    border-radius: 4px;
}

.site-foot__discord .ic {
    width: 16px;
    height: 16px;
    color: #5865f2;
}

.site-foot__copy {
    display: block;
    margin-top: 48px;
    color: #6b6b74;
    font-size: 12.5px;
}

@media (max-width: 760px) {
    .site-foot {
        width: calc(100% - 32px);
        padding: 48px 0 28px;
    }

    .site-foot__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .site-foot__brand {
        grid-column: 1 / -1;
    }
}
