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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Geologica", sans-serif;
    background: linear-gradient(180deg,#f7f5ff 0%,#eef2ff 45%,#edfdf8 100%);
    color: #1d2433;
    min-height: 100vh;
    line-height: 1.8;
    overflow-x: hidden;
    transition: 0.3s ease;
}

body.dark_mode {
    background: linear-gradient(180deg,#08111f 0%,#10192d 45%,#132535 100%);
    color: #eef4ff;
}

body.dark_mode p,
body.dark_mode li {
    color: #b8c5d9;
}

body.dark_mode header,
body.dark_mode footer,
body.dark_mode article,
body.dark_mode #dropdown_menu {
    background: rgba(17, 28, 48, 0.82);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 2.4rem 6rem rgba(0,0,0,0.35);
}

article tr:hover td {
    background: rgba(120,104,255,0.08);
}

body.dark_mode article table {
    background: rgba(17, 28, 48, 0.82);
    border-color: rgba(255,255,255,0.06);
}

body.dark_mode article td {
    color: #b8c5d9;
    border-bottom-color: rgba(255,255,255,0.06);
}

body.dark_mode article tr:nth-child(even) td {
    background: rgba(255,255,255,0.02);
}

body.dark_mode article tr:hover td {
    background: rgba(255,255,255,0.04);
}

body.dark_mode a {
    color: #eef4ff;
}

body.dark_mode .logo,
body.dark_mode #theme_icon,
body.dark_mode #theme_toggle_mobile {
    filter: invert(1);
}


img {
    display: block;
    max-width: 100%;
}

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

ul {
    list-style: none;
}

p,
li,
a,
summary {
    font-size: 2rem;
}

p,
li {
    color: #57627a;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(2.4rem);
    background: rgba(255,255,255,0.7);
    border-bottom: 0.1rem solid rgba(20,30,50,0.06);
}

#header_wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 3.4rem 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 11rem;
}

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

#desktop_nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

#desktop_nav a {
    padding: 1.8rem 2.8rem;
    border-radius: 2rem;
    transition: 0.3s ease;
}

#desktop_nav a:hover {
    background: rgba(120, 104, 255, 0.1);
    color: #7868ff;
}

#desktop_nav .nav_cta {
    background: linear-gradient(135deg, #7868ff, #3fd0c9);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 1.4rem 3.2rem rgba(90,100,255,0.2);
}

#desktop_nav .nav_cta:hover {
    color: #ffffff;
    transform: translateY(-0.2rem);
    box-shadow: 0 2rem 4.4rem rgba(90,100,255,0.28);
}

#dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

#dropdownbtn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    background: rgba(255,255,255,0.8);
    padding: 1.8rem 2.8rem;
    border-radius: 2rem;
    cursor: pointer;
    color: inherit;
    box-shadow: 0 1rem 3rem rgba(40,60,90,0.08);
}

#dropdown_menu {
    position: absolute;
    top: calc(100% + 2rem);
    right: 0;
    width: 32rem;
    border-radius: 3rem;
    overflow: hidden;
    display: none;
    background: #ffffff;
    box-shadow: 0 2.4rem 6rem rgba(50,70,120,0.15);
}

#dropdown_menu.show {
    display: block;
}

#dropdown_menu a {
    display: block;
    padding: 2.4rem;
    text-align: center;
}

#dropdown_menu a:hover {
    background: rgba(120,104,255,0.08);
}

.theme_toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.theme_toggle img {
    width: 3.2rem;
    height: 3.2rem;
}

main {
    width: 100%;
    padding: 10rem 2.4rem 0;
}

article {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 6rem 3rem;
    border-radius: 3rem;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(2rem);
    border: 0.1rem solid rgba(20,30,50,0.06);
    box-shadow: 0 2.4rem 6rem rgba(50,70,120,0.12);
}

article h1,
article h2,
article h3 {
    line-height: 1.15;
    color: inherit;
}

article h1 {
    max-width: 82rem;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: clamp(4.2rem, 7vw, 7rem);
    font-weight: 800;
}

article h2 {
    margin: 6rem 0 2rem;
    font-size: clamp(3rem, 5vw, 4.6rem);
    font-weight: 700;
}

article h3 {
    margin: 4rem 0 1.6rem;
    font-size: 2.6rem;
}

article p {
    max-width: none;
    margin: 0 0 2.4rem;
    text-align: left;
}

article ul,
article ol {
    list-style: disc;
    padding-left: 2.4rem;
    margin: 0 0 3rem;
}

article ol {
    list-style: decimal;
}

article li {
    margin-bottom: 1.2rem;
}

article strong {
    color: #1d2433;
    font-weight: 800;
}

body.dark_mode article strong {
    color: #eef4ff;
}

article a {
    color: #7868ff;
    font-weight: 700;
}

article a:hover {
    color: #3aaea9;
}

.blog_intro,
article > p:first-of-type {
    max-width: 78rem;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 2.2rem;
    color: #57627a;
}

.blog_image,
.side_image {
    border-radius: 3rem;
    border: 0.1rem solid rgba(20,30,50,0.06);
    box-shadow: 0 2.4rem 6rem rgba(50,70,120,0.12);
    transition: transform .3s ease;
}

.blog_image:hover,
.side_image:hover {
    transform: translateY(-0.4rem);
}

.side_section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 6rem 0;
}


.cta_wrapper {
    display: flex;
    justify-content: center;
    margin: 8rem 0 4rem;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2.4rem 4.8rem;
    border-radius: 2.4rem;
    background: linear-gradient(135deg, #7868ff, #3fd0c9);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2rem 5rem rgba(90,100,255,0.22);
    transition: 0.3s ease;
}

.cta:hover {
    color: #fff;
    box-shadow: 0 3rem 7rem rgba(90,100,255,0.3);
}

article table {
    width: 100%;
    max-width: 700px;
    margin: 4rem auto;
    border-collapse: collapse;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.08);
}

article th {
    background: #7868ff;
    color: white;
    font-size: 1.8rem;
    padding: 1.6rem;
    text-align: left;
}

article td {
    padding: 1.6rem;
    font-size: 1.7rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

article tr:nth-child(even) {
    background: rgba(120,104,255,0.04);
}

article tr:last-child td {
    border-bottom: none;
}

footer {
    width: 100%;
    margin-top: 12rem;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(2rem);
}

#footer_wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 4rem;
    display: grid;
    gap: 6rem;
    justify-items: center;
    text-align: center;
}

#img_address {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
}

#img_address .logo {
    display: block;
    width: 11rem;
    height: auto;
}

#img_address a {
    font-weight: 500;
}

#img_address a:hover,
footer a:hover {
    color: #7868ff;
}

#link_desc {
    max-width: 46rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
}

#link_desc a {
    font-size: 2.6rem;
    font-weight: 700;
}

#description {
    font-size: 2rem;
    line-height: 1.9;
    max-width: 42rem;
    color: #57627a;
}

#links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#footer_identity {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 4rem;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #57627a;
    opacity: 0.9;
}

#copyright_footer {
    font-size: 1.6rem;
    padding: 4rem;
    text-align: center;
    color: #57627a;
}

.footer_note {
    margin: 2rem auto 0;
    font-size: 1.4rem;
    opacity: 0.6;
    line-height: 1.7;
    max-width: 60rem;
    text-align: center;
    color: #57627a;
}

body.dark_mode #copyright_footer,
body.dark_mode .footer_note {
    color: #b8c5d9;
}

@media (max-width: 450px) {
    #dropdownbtn {
        font-size: 0;
    }

    #dropdownbtn img {
        font-size: initial;
    }

    article th,
    article td {
        font-size: 1.3rem;
        padding: 0.8rem;
    }

    html {
        font-size: 56.25%;
    }
}

@media (max-width: 375px) {
    #dropdown {
        flex-direction: column;
        align-items: flex-end;
    }

    #dropdownbtn {
        width: auto;
    }

    #theme_toggle_mobile {
        margin-top: 1rem;
        align-self: center;
    }
}

@media (min-width: 768px) {
    main {
        padding: 12rem 4rem 0;
    }

    article {
        padding: 8rem 6rem;
    }

    .side_section {
        flex-direction: row;
        align-items: center;
        gap: 5rem;
    }

    .side_content {
        flex: 1;
    }

    .side_image {
        flex: 0 0 38rem;
        width: 38rem;
    }

    article table {
        max-width: 100%;
    }

    article th,
    article td {
        font-size: 1.5rem;
        padding: 1.2rem;
    }

    #footer_wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 8rem;
        padding: 12rem 3rem;
    }

    #footer_identity {
        padding: 1rem 4rem 3rem;
    }
}

@media (min-width: 1024px) {
    #desktop_nav {
        display: flex;
    }

    #dropdown {
        display: none;
    }

    main {
        padding: 14rem 5rem 0;
    }

    article {
        padding: 9rem 8rem;
    }
}
