@import url(https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Syne:wght@500;600;700;800&family=Roboto:wght@700;800;900&family=Roboto+Condensed:wght@600;700&display=swap);

:root {
    --bg: #07050f;
    --surface: #0a0714;
    --surface-2: #0e0919;
    --surface-3: #14102a;
    --indigo: #6366f1;
    --purple-light: #a78bfa;
    --violet: #8b5cf6;
    --pink: #f472b6;
    --cyan: #38bdf8;
    --amber: #fbbf24;
    --red: #f87171;
    --green: #4ade80;
    --text: rgba(255, 255, 255, 0.92);
    --text-muted: rgb(165, 165, 165);
    --text-dim: rgba(237, 237, 237, 0.852);
    --border: rgba(255, 255, 255, 0.06);
    --border-2: rgba(255, 255, 255, 0.10);
    --border-neon: rgba(139, 92, 246, 0.45);
    --glow-purple: 0 0 40px rgba(139, 92, 246, 0.45), 0 0 80px rgba(99, 102, 241, 0.25);
    --glow-soft: 0 8px 32px rgba(0, 0, 0, 0.5);
    --grad-primary: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);
    --grad-accent: linear-gradient(135deg, #8b5cf6 0%, #f472b6 100%);
    --font-display: "Syne", "Space Grotesk", system-ui, sans-serif;
    --font-mono: "Outfit", sans-serif;
    --font-code: "Space Mono", "JetBrains Mono", ui-monospace, monospace;
    /* Números têm fonte própria: a Syne é boa como título, mas os dígitos
       dela variam de largura e fazem a coluna de valores dançar a cada
       atualização.

       Duas variantes porque o aperto é diferente em cada lugar: no card
       grande sobra espaço e a Condensed fica espremida; na tabela o
       espaço é curto e ela cabe sem precisar encolher a fonte. */
    --font-num:     "Roboto", system-ui, sans-serif;                     /* cards  */
    --font-num-tbl: "Roboto Condensed", "Roboto", system-ui, sans-serif; /* tabela */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body,
html {
    height: 100%;
    overflow-x: hidden;
    max-width: 100vw
}

body {
    font-family: var(--font-mono);
    font-size: 15px;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    line-height: 1.5
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: 0 0;
    color: inherit
}

input,
select,
textarea {
    font-family: inherit;
    color: inherit
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.05
}

::selection {
    background: rgba(139, 92, 246, .35);
    color: #fff
}

.bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none
}

.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none
}

.bg-blobs::after,
.bg-blobs::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .5;
    animation: blob-drift 22s ease-in-out infinite alternate
}

.bg-blobs::before {
    top: -200px;
    left: -150px;
    background: radial-gradient(circle, #6366f1 0, transparent 70%)
}

.bg-blobs::after {
    bottom: -200px;
    right: -150px;
    background: radial-gradient(circle, #8b5cf6 0, transparent 70%);
    animation-delay: -11s
}

@keyframes blob-drift {
    0% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(80px, 60px) scale(1.1)
    }

    100% {
        transform: translate(-40px, 30px) scale(.95)
    }
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(139, 92, 246, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 92, 246, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%)
}

.app {
    position: relative;
    z-index: 1;
    min-height: 100vh
}

.card {
    position: relative;
    background: rgba(255, 255, 255, .02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    overflow: hidden
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0, rgba(139, 92, 246, .6) 50%, transparent 100%)
}

.card-hover {
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease
}

.card-hover:hover {
    transform: translateY(-4px);
    border-color: var(--border-neon);
    box-shadow: var(--glow-purple)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all .25s ease;
    white-space: nowrap;
    user-select: none
}

.btn:disabled {
    opacity: .4;
    cursor: not-allowed
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 18px rgba(99, 102, 241, .45), 0 0 0 1px rgba(167, 139, 250, .3) inset
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 26px rgba(99, 102, 241, .7), 0 0 30px rgba(167, 139, 250, .4), 0 0 0 1px rgba(167, 139, 250, .5) inset
}

.btn-neon {
    background: rgba(139, 92, 246, .06);
    border-color: rgba(139, 92, 246, .5);
    color: var(--purple-light)
}

.btn-neon:hover {
    background: rgba(139, 92, 246, .14);
    border-color: var(--purple-light);
    box-shadow: 0 0 24px rgba(139, 92, 246, .5);
    color: #fff
}

.btn-green {
    background: rgba(74, 222, 128, .12);
    border-color: rgba(74, 222, 128, .5);
    color: #4ade80
}

.btn-green:hover {
    background: rgba(74, 222, 128, .22);
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, .45);
    color: #fff
}

.btn-ghost {
    background: rgba(255, 255, 255, .02);
    border-color: rgba(255, 255, 255, .08);
    color: var(--text)
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .15)
}

.btn-danger {
    background: rgba(248, 113, 113, .05);
    border-color: rgba(248, 113, 113, .4);
    color: var(--red)
}

.btn-danger:hover {
    background: rgba(248, 113, 113, .12);
    box-shadow: 0 0 24px rgba(248, 113, 113, .4)
}

.btn-sm {
    padding: 8px 14px;
    font-size: 12px
}

.btn-lg {
    padding: 16px 32px;
    font-size: 14px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.field-label {
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted)
}

.input,
.select,
.textarea {
    width: 100%;
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: 0
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--purple-light);
    background: rgba(139, 92, 246, .04);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, .1), 0 0 24px rgba(139, 92, 246, .2)
}

.textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-mono)
}

select optgroup,
select option {
    background: #0f0f1a;
    color: var(--text)
}

.select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--purple-light) 50%), linear-gradient(135deg, var(--purple-light) 50%, transparent 50%);
    background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid transparent
}

.badge-free {
    background: rgba(148, 163, 184, .08);
    color: rgba(148, 163, 184, .8);
    border-color: rgba(148, 163, 184, .15)
}

.badge-basic {
    background: rgba(56, 189, 248, .08);
    color: var(--cyan);
    border-color: rgba(56, 189, 248, .25)
}

.badge-pro {
    background: rgba(99, 102, 241, .1);
    color: var(--purple-light);
    border-color: rgba(167, 139, 250, .35)
}

.badge-top {
    background: rgba(251, 191, 36, .08);
    color: var(--amber);
    border-color: rgba(251, 191, 36, .3)
}

.badge-active {
    background: rgba(74, 222, 128, .08);
    color: var(--green);
    border-color: rgba(74, 222, 128, .25);
    box-shadow: 0 0 12px rgba(74, 222, 128, .25)
}

.badge-off {
    background: rgba(248, 113, 113, .08);
    color: var(--red);
    border-color: rgba(248, 113, 113, .25)
}

.badge-dot::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor
}

.toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    cursor: pointer;
    flex-shrink: 0
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0
}

.toggle .track {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: all .25s ease
}

.toggle .thumb {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: rgba(226, 232, 240, .7);
    border-radius: 50%;
    transition: all .25s ease
}

.toggle input:checked~.track {
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: 0 0 16px rgba(139, 92, 246, .5)
}

.toggle input:checked~.thumb {
    left: 20px;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, .6)
}

.progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
    overflow: hidden;
    position: relative
}

.progress>.fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 999px;
    transition: width .8s ease;
    box-shadow: 0 0 10px rgba(139, 92, 246, .5)
}

.progress.amber>.fill {
    background: linear-gradient(135deg, #fbbf24, #f472b6)
}

.progress.cyan>.fill {
    background: linear-gradient(135deg, #38bdf8, #6366f1)
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: rgba(7, 5, 15, .6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border)
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.02em
}

.nav-logo .glyph {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--grad-primary);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, .5);
    position: relative
}

.nav-logo .glyph::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent 50%)
}

.nav-logo .glyph span {
    position: relative;
    z-index: 1
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 13px;
    letter-spacing: .2em;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-mono)
}

.nav-links a {
    color: rgba(255, 255, 255, .92);
    transition: color .2s ease;
    position: relative
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text)
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-primary);
    box-shadow: 0 0 12px var(--purple-light)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.toast-host {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 380px;
    padding: 14px 18px;
    background: rgba(14, 9, 25, .92);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    font-size: 15px;
    animation: toast-in .3s ease forwards;
    box-shadow: var(--glow-soft)
}

.toast.out {
    animation: toast-out .3s ease forwards
}

.toast .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0
}

.toast.success {
    border-color: rgba(74, 222, 128, .4)
}

.toast.success .dot {
    background: var(--green);
    box-shadow: 0 0 10px var(--green)
}

.toast.error {
    border-color: rgba(248, 113, 113, .4)
}

.toast.error .dot {
    background: var(--red);
    box-shadow: 0 0 10px var(--red)
}

.toast.info {
    border-color: rgba(139, 92, 246, .4)
}

.toast.info .dot {
    background: var(--violet);
    box-shadow: 0 0 10px var(--violet)
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(40px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateX(40px)
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, .82);
    display: grid;
    place-items: center;
    padding: 20px;
    animation: fade-in .2s ease
}

.modal-card {
    width: min(440px, 100%);
    background: rgba(14, 9, 25, .95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-2);
    border-radius: 16px;
    padding: 28px;
    animation: pop-in .3s cubic-bezier(.34, 1.56, .64, 1);
    position: relative;
    overflow: hidden
}

.modal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-light), transparent)
}

@keyframes fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes pop-in {
    from {
        opacity: 0;
        transform: scale(.92)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0, #f472b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.muted {
    color: var(--text-muted)
}

.dim {
    color: var(--text-dim)
}

.mono {
    font-family: var(--font-mono)
}

.display {
    font-family: var(--font-display)
}

.eyebrow {
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--purple-light);
    font-weight: 600
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0
}

.row {
    display: flex;
    align-items: center
}

.col {
    display: flex;
    flex-direction: column
}

.gap-8 {
    gap: 8px
}

.gap-12 {
    gap: 12px
}

.gap-16 {
    gap: 16px
}

.gap-20 {
    gap: 20px
}

.gap-24 {
    gap: 24px
}

.gap-32 {
    gap: 32px
}

.between {
    justify-content: space-between
}

.center {
    justify-content: center;
    align-items: center
}

.grow {
    flex: 1
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px
}

.container-sm {
    max-width: 880px
}

.nav-link-icon {
    display: none;
    font-family: var(--font-mono);
    font-size: 16px
}

.nav-link-text {
    display: inline
}

.nav-burger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border-2);
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    position: relative
}

.nav-burger span::after,
.nav-burger span::before {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--text)
}

.nav-burger span::before {
    top: -6px
}

.nav-burger span::after {
    top: 6px
}

@media (max-width:1024px) {
    .nav {
        padding: 14px 22px
    }

    .nav-links {
        gap: 18px;
        font-size: 13px
    }

    .nav-actions .btn {
        padding: 8px 12px;
        font-size: 13px
    }
}

@media (max-width:860px) {
    .nav-link-text {
        display: none
    }

    .nav-link-icon {
        display: inline;
        font-size: 14px
    }

    .nav-links {
        gap: 6px
    }

    .nav-links a {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        background: rgba(255, 255, 255, .02);
        border: 1px solid transparent
    }

    .nav-links a.active {
        background: rgba(139, 92, 246, .12);
        border-color: rgba(139, 92, 246, .4);
        color: var(--purple-light)
    }

    .nav-links a.active::after {
        display: none
    }

    .nav-actions .btn-text-mobile {
        display: none
    }
}

@media (max-width:640px) {
    .nav {
        padding: 12px 16px
    }

    .nav-logo {
        font-size: 15px
    }

    .nav-logo .glyph {
        width: 28px;
        height: 28px;
        font-size: 13px
    }

    .nav-links {
        display: none
    }

    .nav-burger {
        display: flex
    }

    .nav-actions {
        gap: 8px
    }

    .nav-actions .btn {
        padding: 7px 11px;
        font-size: 13px
    }

    .container {
        padding: 0 16px
    }
}

.nav-drawer {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 7, 20, .96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 18px 20px;
    z-index: 49;
    flex-direction: column;
    gap: 4px
}

.nav-drawer.open {
    display: flex
}

.nav-drawer a {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: .2em;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-mono);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px
}

.nav-drawer a.active,
.nav-drawer a:hover {
    background: rgba(139, 92, 246, .1);
    color: var(--text)
}

.nav-drawer .ic {
    font-size: 16px;
    color: var(--purple-light);
    width: 20px
}

@media (max-width:640px) {
    .toast-host {
        bottom: 16px;
        right: 12px;
        left: 12px
    }

    .toast {
        min-width: 0;
        max-width: none;
        font-size: 14px;
        padding: 12px 14px
    }
}

@media (max-width:640px) {
    .btn {
        padding: 11px 18px;
        font-size: 13px
    }

    .btn-sm {
        padding: 7px 12px;
        font-size: 13px
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 13px
    }
}

@media (max-width:640px) {

    h1,
    h2 {
        letter-spacing: -.025em
    }

    .card {
        padding: 18px;
        border-radius: 12px
    }
}

.progress>.fill.fill-green {
    background: linear-gradient(90deg, #22c55e, #4ade80);
    box-shadow: 0 0 10px rgba(34, 197, 94, .45)
}

.progress>.fill.fill-warn {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 10px rgba(245, 158, 11, .45)
}

.progress>.fill.fill-danger {
    background: linear-gradient(90deg, #ef4444, #f87171);
    box-shadow: 0 0 10px rgba(239, 68, 68, .45)
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: 0 0
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, .35);
    border-radius: 999px
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, .65)
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.35) transparent
}

footer {
    padding: 64px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    margin-top: 80px
}

.footer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none
}

.footer-brand span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    color: #fff
}

.footer-social {
    display: flex;
    gap: 10px
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .55);
    transition: border-color .2s, background .2s, color .2s
}

.footer-social a:hover {
    border-color: rgba(139, 92, 246, .55);
    background: rgba(139, 92, 246, .12);
    color: #a78bfa
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .07);
    margin-bottom: 28px
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 32px;
    align-items: start
}

.footer-main-links {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    justify-content: flex-end
}

.footer-main-links a {
    font-size: 11px;
    color: rgba(255, 255, 255, .82);
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    transition: color .2s;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: transparent
}

.footer-main-links a:hover {
    color: #fff;
    text-decoration-color: rgba(139, 92, 246, 0.85)
}

.footer-legal-links {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    justify-content: flex-end
}

.footer-legal-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, .38);
    padding: 4px 12px;
    transition: color .2s;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: transparent
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, .65);
    text-decoration-color: rgba(255, 255, 255, 0.2)
}

.footer-copy {
    grid-column: 1;
    grid-row: 1/3;
    align-self: end;
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
    font-family: var(--font-mono);
    letter-spacing: .04em;
    line-height: 1.8
}

@media (max-width:640px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto
    }

    .footer-main-links {
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-end
    }

    .footer-legal-links {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-end
    }

    .footer-copy {
        grid-column: 1;
        grid-row: 3
    }
}

.nav-avatar-wrap {
    position: relative;
    display: inline-block
}

.nav-avatar-wrap img.nav-avatar {
    cursor: pointer
}

.nav-dd {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 186px;
    background: rgba(8, 5, 18, .98);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 6px;
    z-index: 10000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(139, 92, 246, .08);
    transform-origin: top right;
    animation: nav-dd-in .18s cubic-bezier(.16, 1, .3, 1) forwards
}

.nav-dd.closing {
    animation: nav-dd-out .12s ease-in forwards
}

@keyframes nav-dd-in {
    from {
        opacity: 0;
        transform: scale(.93) translateY(-6px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

@keyframes nav-dd-out {
    from {
        opacity: 1;
        transform: scale(1) translateY(0)
    }

    to {
        opacity: 0;
        transform: scale(.93) translateY(-6px)
    }
}

.nav-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    cursor: pointer;
    transition: background .13s, color .13s;
    width: 100%;
    background: 0 0;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    line-height: 1
}

.nav-dd-item:hover {
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .95)
}

.nav-dd-item:hover .nav-dd-icon {
    color: #a78bfa
}

.nav-dd-item.nav-dd-danger {
    color: rgba(248, 113, 113, .75)
}

.nav-dd-item.nav-dd-danger:hover {
    background: rgba(239, 68, 68, .1);
    color: #f87171
}

.nav-dd-item.nav-dd-danger:hover .nav-dd-icon {
    color: #f87171
}

.nav-dd-icon {
    width: 15px;
    text-align: center;
    color: var(--purple-light);
    opacity: .8;
    flex-shrink: 0
}

.nav-dd-sep {
    margin: 4px 8px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .07)
}