  /*$$$$$  /$$           /$$                 /$$        /$$$$$$   /$$$$$$   /$$$$$$ 
 /$$__  $$| $$          | $$                | $$       /$$__  $$ /$$__  $$ /$$__  $$
| $$  \__/| $$  /$$$$$$ | $$$$$$$   /$$$$$$ | $$      | $$  \__/| $$  \__/| $$  \__/
| $$ /$$$$| $$ /$$__  $$| $$__  $$ |____  $$| $$      | $$      |  $$$$$$ |  $$$$$$ 
| $$|_  $$| $$| $$  \ $$| $$  \ $$  /$$$$$$$| $$      | $$       \____  $$ \____  $$
| $$  \ $$| $$| $$  | $$| $$  | $$ /$$__  $$| $$      | $$    $$ /$$  \ $$ /$$  \ $$
|  $$$$$$/| $$|  $$$$$$/| $$$$$$$/|  $$$$$$$| $$      |  $$$$$$/|  $$$$$$/|  $$$$$$/
 \______/ |__/ \______/ |_______/  \_______/|__/       \______/  \______/  \_____*/ 

:root {
    color-scheme: dark;

    --page_background: #090d0a;
    --surface_background: #101712;
    --terminal_background: #050806;

    --primary_text: #d8dfd2;
    --secondary_text: #8da08f;
    --terminal_green: #72e06a;
    --terminal_green_bright: #9cff85;
    --terminal_green_dark: #315c35;

    --border_light: #657268;
    --border: #445047;
    --border_dark: #232b25;

    --title_bar_background: #17231a;
    --control_background: #263129;
    --control_hover: #354239;

    --focus_color: #9cff85;
    --warning_color: #d8bf72;
    --error_color: #d87872;

    --font_interface: "IBM Plex Mono", monospace;
    --font_body: "IBM Plex Sans", sans-serif;

    --content_width: 1024px;
}

.muted,
.gray,
.grey {
    color: var(--secondary_text);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--page_background);
    font-size: 16px;
}

body {
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    color: var(--primary_text);
    background:
        linear-gradient(rgba(114, 224, 106, 0.018) 1px, transparent 1px),
        var(--page_background);
    background-size: 100% 4px;

    font-family: var(--font_body);
    font-size: 1rem;
    line-height: 1.65;
}

a {
    color: var(--terminal_green);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
    color: var(--terminal_green_bright);
}

a:visited {
    color: var(--terminal_green);
}

h1,
h2,
h3,
h4,
button,
input,
select,
textarea,
code {
    font-family: var(--font_interface);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--terminal_green_bright);
    line-height: 1.2;
}

h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
}

h3 {
    margin-bottom: 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

h4 {
    margin-bottom: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

input,
select,
textarea {
    width: 100%;
    max-width: 28rem;
    margin-top: 0.35rem;
    padding: 0.75rem 0.875rem;

    color: var(--primary_text);
    background: var(--terminal_background);

    border: 1px solid var(--border);
    border-radius: 0;

    font-size: 0.9375rem;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--focus_color);
    outline: 1px solid var(--focus_color);
    outline-offset: 2px;
}

button,
input[type="submit"] {
    padding: 0.7rem 1rem;

    color: var(--page_background);
    background: var(--terminal_green);

    border: 1px solid var(--terminal_green_bright);
    border-radius: 0;

    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
    background: var(--terminal_green_bright);
}

button:focus-visible,
input[type="submit"]:focus-visible {
    outline: 2px solid var(--focus_color);
    outline-offset: 3px;
}

  /*_______      .__                 __  .__               
 /   _____/ ____ |  |   ____   _____/  |_|__| ____   ____  
 \_____  \_/ __ \|  | _/ __ \_/ ___\   __\  |/  _ \ /    \ 
 /        \  ___/|  |_\  ___/\  \___|  | |  (  <_> )   |  \
/_______  /\___  >____/\___  >\___  >__| |__|\____/|___|  /
        \/     \/          \/     \/                   \*/ 

::selection {
    color: var(--page_background);
    background: var(--terminal_green_bright);
}

::-moz-selection {
    color: var(--page_background);
    background: var(--terminal_green_bright);
}

::-webkit-scrollbar {
    width: 0.875rem;
}

  /*_______                   .__  .__   
 /   _____/ ___________  ____ |  | |  |  
 \_____  \_/ ___\_  __ \/  _ \|  | |  |  
 /        \  \___|  | \(  <_> )  |_|  |__
/_______  /\___  >__|   \____/|____/____/
        \/    \*/

::-webkit-scrollbar-track {
    background: var(--page_background);
    border-left: 1px solid var(--border_dark);
}

::-webkit-scrollbar-thumb {
    background: var(--terminal_green_dark);
    border: 3px solid var(--page_background);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terminal_green);
}

/*__                      __   
|   | ____ ______  __ ___/  |_ 
|   |/    \\____ \|  |  \   __\
|   |   |  \  |_> >  |  /|  |  
|___|___|  /   __/|____/ |__|  
         \/|_*/                

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--primary_text);
    -webkit-box-shadow:
        0 0 0 1000px var(--terminal_background) inset;
    caret-color: var(--terminal_green);
}

 /*_____              .__              __  .__               
 \      \ _____ ___  _|__| _________ _/  |_|__| ____   ____  
 /   |   \\__  \\  \/ /  |/ ___\__  \\   __\  |/  _ \ /    \ 
/    |    \/ __ \\   /|  / /_/  > __ \|  | |  (  <_> )   |  \
\____|__  (____  /\_/ |__\___  (____  /__| |__|\____/|___|  /
        \/     \/       /_____/     \/                   \*/ 

.main_nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(calc(100% - 3rem), var(--content_width));
    margin-inline: auto;
    padding-top: 20px;
}

.main_nav .nav_links{
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav_item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 25;

    min-width: 13rem;
    margin: 0;
    padding: 0.5rem 0;

    list-style: none;
    background: var(--surface_background);
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);

    display: none;
}

.dropdown li {
    margin: 0;
}

.dropdown a {
    display: block;
    padding: 0.45rem 0.8rem;
    text-decoration: none;
    white-space: nowrap;
}

.has_dropdown:hover .dropdown,
.has_dropdown:focus-within .dropdown {
    display: block;
}

.logo, .logo img {
    max-width: 300px;
}

  /*_______              __  .__                      
 /   _____/ ____   _____/  |_|__| ____   ____   ______
 \_____  \_/ __ \_/ ___\   __\  |/  _ \ /    \ /  ___/
 /        \  ___/\  \___|  | |  (  <_> )   |  \\___ \ 
/_______  /\___  >\___  >__| |__|\____/|___|  /____  >
        \/     \/     \/                    \/    \*/ 

code {
    color: var(--terminal_green_bright);
    font-weight: 600;
}

section {
    width: min(calc(100% - 3rem), var(--content_width));
    margin-inline: auto;
}

.hero {
    padding-top: clamp(3rem, 2vw, 6rem);
    padding-bottom: 1.5rem;
}

@keyframes cursor_blink {
    50% {
        opacity: 0;
    }
}

.terminal {
    overflow: hidden;

    color: var(--primary_text);
    background: var(--surface_background);

    border: 1px solid var(--border);
    box-shadow:
        0 0 0 1px var(--border_dark),
        0 18px 50px rgba(0, 0, 0, 0.35);
}

.terminal_header {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 0.375rem 0.5rem 0.375rem 0.75rem;

    color: var(--primary_text);
    background: var(--title_bar_background);

    border-bottom: 1px solid var(--border);
}

.terminal_header_label {
    min-width: 0;
}

.terminal_header h2,
.terminal_header h3 {
    overflow: hidden;
    color: var(--primary_text);
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.terminal_header_buttons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.terminal_body {
    min-height: 12rem;
    padding: clamp(1rem, 3vw, 1.5rem);

    color: var(--primary_text);
    background:
        radial-gradient(
            circle at top left,
            rgba(114, 224, 106, 0.035),
            transparent 45%
        ),
        var(--terminal_background);
}

.terminal_body p,
.terminal_body li {
    max-width: 75ch;
}

.terminal_body ul {
    list-style: none;
    margin: 1rem 0 0;
    padding-left: 1.5rem;
}

.terminal_body li {
    position: relative;
    padding-left: 0.85rem;
}

.terminal_body li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--terminal_green);
}

@media (max-width: 640px) {
    .logo{
        display: none;
    }

    section {
        width: min(calc(100% - 1.5rem), var(--content_width));
    }

    .hero {
        padding-top: 25px;
        margin-top: 0;
    }

    .terminal_header {
        min-height: 2.25rem;
    }

    .minimize_icon,
    .maximize_icon,
    .exit_icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .terminal_body {
        padding: 1rem;
        font-size: 0.9375rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1::after,
    .terminal_body::after {
        animation: none;
    }
}

/*__                            
|   | ____  ____   ____   ______
|   |/ ___\/  _ \ /    \ /  ___/
|   \  \__(  <_> )   |  \\___ \ 
|___|\___  >____/|___|  /____  >
         \/           \/    \*/ 

.minimize_icon,
.maximize_icon,
.exit_icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;

    width: 1.75rem;
    height: 1.75rem;

    color: var(--primary_text);
    background: var(--control_background);

    border: 1px solid var(--border);
    cursor: pointer;
}

.minimize_icon:hover,
.maximize_icon:hover,
.exit_icon:hover {
    background: var(--control_hover);
    border-color: var(--border_light);
}

.minimize_icon:focus-visible,
.maximize_icon:focus-visible,
.exit_icon:focus-visible {
    outline: 2px solid var(--focus_color);
    outline-offset: 2px;
}

.minimize_icon::after {
    content: "";
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    left: 0.4rem;
    height: 1px;
    background: currentColor;
}

.maximize_icon::after {
    content: "";
    position: absolute;
    inset: 0.42rem;
    border: 1px solid currentColor;
}

.exit_icon::before,
.exit_icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 0.8rem;
    height: 1px;

    background: currentColor;
    transform-origin: center;
}

.exit_icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.exit_icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.blinking_cursor {
    display: inline-block;
    width: 0.65em;
    height: 1em;
    margin-left: 0.2em;
    vertical-align: -0.12em;

    background: var(--terminal_green);
    box-shadow: 0 0 10px rgba(114, 224, 106, 0.35);

    animation: cursor_blink 1.1s steps(1, end) infinite;
}

@keyframes cursor_blink {
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blinking_cursor {
        animation: none;
    }
}