
:root {
    --surface: #171d24;
    --text: #dce3e9;
    --blue: #73a7ff;
    --shadow: 0 5px 48px rgba(0,0,0,.32);
}

.titlebar {
	position: sticky;
	top: 0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #101418;
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
}

.titlebar {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
	z-index: 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
}

.logo {
    height: 60px;
}

.desktop-menu {
    margin-left: auto;
    display: flex;
    gap: 25px;
}

.desktop-menu a,
.mobile-sidebar a {
    color: var(--text);
    text-decoration: none;
}

.desktop-menu a:hover,
.mobile-sidebar a:hover {
    color: var(--blue);
}

.menu-button {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text);
    font-size: 32px;
    cursor: pointer;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100dvh;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    transition: left .3s ease;
    z-index: 1000;
}

.mobile-sidebar.open {
    left: 0;
}

.sidebar-spacer {
    flex: 1;
}

.close-menu {
    background: none;
    border: 1px solid var(--text);
    color: var(--text);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.close-menu:hover {
    color: var(--blue);
}

.sidebar-logo {
    width: 200px;
    margin-bottom: 20px;
}

@media (max-width: 700px) {

    .titlebar {
        display: none;
    }

    .menu-button {
        display: block;
        position: absolute;
        top: 28px;
        left: 15px;
        z-index: 999;
        height: fit-content !important;
        margin: 0;
        padding: 0;
    }

}


:root {
    color-scheme: light;
    --bg: #101418;
    --surface: #ffffff;
    --surface-2: #202833;
    --surface-3: #dde8f2;
    --text: #213044;
    --text2: #000000;
    --text3: var(--muted);
    --text4: #435368;
    --muted: #66778c;
    --line: #b7c5d6;
    --line-strong: #4c5867;
    --blue: #73a7ff;
    --blue-soft: #d7e8ff;
    --blue-softer: #eaf3ff;
    --lime: #9cff35;
    --lime-soft: #dcffb5;
    --penciaalerasebutton: #d7e1ee;
    --lime-text: #195700;
    --lime-glow: rgba(156, 255, 53, .56);
    --danger: #d93025;
    --danger-soft: #ffe7e5;
    --shell: rgba(255, 255, 255, .48);
    --shadow: 0 0px 46px rgba(28, 48, 74, .12);
    --radius: 999px;
    --shadow-color: #bebebe;
    --shadow-color2: #bebebe;
    --cell-size: clamp(34px, 8.2vmin, 64px);
    --board-size: calc(var(--cell-size) * 9);

    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.dark,
body.dark {
    color-scheme: dark;
    --bg: #101418;
    --surface: #171d24;
    --surface-2: #202833;
    --surface-3: #2a3442;
    --text: #95a4b6;
    --muted: #98a7b8;
    --line: #4e6177;
    --blue: #73a7ff;
    --blue-soft: #203a5f;
    --blue-softer: #1b2c45;
    --lime: #a7ff48;
    --pencilerasebutton: #26313f;
    --lime-soft: #263d1d;
    --text2: #dce3e9;
    --text3: #bec9da;
    --text4: #bbc6d4;
    --lime-text: #bcff76;
    --lime-glow: rgba(167, 255, 72, .46);
    --danger: #ff8a80;
    --shadow-color: #232930;
    --shadow-color2: #343c45;
    --danger-soft: #4c2424;
    --shell: rgba(255, 255, 255, .045);
    --shadow: 0 5px 48px rgba(0, 0, 0, .32);
}

* {
    box-sizing: border-box;
}

a,
a:visited {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
    cursor: pointer;
}

a:hover,
a:focus-visible {
    color: var(--blue);
}

a:active {
    color: var(--blue);
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 15% 15%,
            color-mix(in srgb, var(--blue) 10%, transparent),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--bg),
            color-mix(in srgb, var(--surface-2) 40%, var(--bg))
        );
    color: var(--text);
    display: grid;
    place-items: center;
    letter-spacing: 0;
    padding-bottom: 5px !important;
}

html {
    min-height: 100%;
    background:
        radial-gradient(
            circle at 15% 15%,
            color-mix(in srgb, var(--blue) 10%, transparent),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--bg),
            color-mix(in srgb, var(--surface-2) 40%, var(--bg))
        );
}

button,
input[type="button"],
input[type="submit"] {
    cursor: pointer;
}

@media (orientation: portrait) and (max-width: 700px) {

    ul {
        padding-left: 25px;
        padding-right: 5px;
    }

    li {
        margin-bottom: 5px;
    }

    li:last-child {
        margin-bottom: 0;
    }

    .card {
        padding-top: 0px !important;
    }

    .why {
        margin-top: 15px !important;
    }

    button {
        height: 100px;
    }

    .whatamidoingwithmylife {
        height: fit-content !important;
        flex-direction: column;
    }

    .img {
        width: 80%;
        transform: translatex(55px);
        margin-top: 23px;
    }

    .close-menu {
        height: fit-content;
    }
}


.home-container {
    width: min(1100px, calc(100dvw - 20px));
    margin: 0 auto;
    padding: 30px 0;
}

.hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    width: min(500px, 85%);
    max-width: 100%;
    margin-bottom: 20px;
}

.hero .h1 {
    color: var(--text2);
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 12px;
}

.hero p {
    color: var(--text3);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto 25px;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.home-button {
    min-height: 52px;
    padding: 10px 25px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text2);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.home-button:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    color: var(--blue);
}

.home-button.primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
	width: 161px;
}

.home-button.primary:hover {
    color: #fff;
}

.logo {
	transform: translatey(2px)
}
.home-section {
    margin-top: 20px;
}

.home-section h2 {
    color: var(--text2);
    margin: 0 0 10px;
}

.home-card {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--line);
    padding: 25px;
    box-shadow: var(--shadow);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.highlight {
    background: var(--surface-2);
    border-radius: 15px;
    padding: 20px;
}

.highlight strong {
    display: block;
    color: var(--text2);
    margin-bottom: 6px;
}

.highlight span {
    color: var(--text3);
}

.install-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.install-option {
    flex: 1;
    min-width: 180px;
    min-height: 55px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text2);
    cursor: pointer;
}

.install-option:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.latest-release {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.latest-release p {
    margin: 0;
}

@media (max-width: 700px) {

	.home-card button,
	.open-source-card button {
		width: 100%;
	}

    .home-container {
        padding-top: 70px;
    }

    .hero {
        min-height: 350px;
        padding: 25px 10px;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .latest-release {
        flex-direction: column;
        align-items: stretch;
    }

    .install-options {
        flex-direction: column;
    }

    .install-option {
        width: 100%;
    }

}

.home-button,
.install-option {
    transition:
        transform .1s ease,
        box-shadow .2s ease,
        border-color .15s ease,
        color .15s ease,
        background-color .15s ease;
}

.home-button::active,
.install-option:active {
    transform: scale(0.96);
}

.home-card {
    border-radius: clamp(14px, 1.8vw, 20px);
    overflow: hidden;
    transition:
        box-shadow .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.home-card:focus,
.home-card:focus-visible {
    outline: none;
}

.highlight {
    border: 1px solid transparent;
    border-radius: clamp(10px, 1.2vw, 15px);
    transition:
        transform .15s ease,
        box-shadow .2s ease,
        border-color .2s ease,
        background-color .2s ease;
}

.highlight:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow:
        0 0 12px color-mix(in srgb, var(--blue) 35%, transparent),
        0 0 30px color-mix(in srgb, var(--blue) 18%, transparent);
}

.highlight:focus,
.highlight:focus-visible {
    outline: none;
}

.home-button:hover,
.install-option:hover {
    box-shadow:
        0 0 12px color-mix(in srgb, var(--blue) 25%, transparent);
}
.titlebar {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.menu-button {
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-button:focus,
.home-button:focus-visible,
.install-option:focus,
.install-option:focus-visible {
    outline: none;
}
body {
	background-attachment: fixed
}

/* New navbar compatibility fixes */

.titlebar {
    position: sticky;
    top: 0;
    z-index: 100000;
    width: 100%;
    flex-shrink: 0;
    justify-content: space-between;
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 160px;
    max-width: 100%;
    height: auto;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--blue);
}

/* Mobile menu button */

.menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: var(--surface);
    border: none;
    color: var(--text);
    cursor: pointer;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.menu-button svg {
    width: 24px;
    height: 24px;
}

/* Mobile sidebar */

.mobile-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 85vw);
    height: 100dvh;
    overflow-y: auto;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    transform: translateX(-105%);
    visibility: hidden;
    transition:
        transform .3s ease,
        visibility .3s ease;
    z-index: 100001;
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
}

body.menu-open .mobile-sidebar {
    transform: translateX(0);
    visibility: visible;
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.sidebar-top img {
    display: block;
    width: min(200px, 100%);
    height: auto;
}

.sidebar-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
}

.sidebar-close svg {
    width: 20px;
    height: 20px;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .3s ease,
        visibility .3s ease;
}

body.menu-open .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* Responsive navbar */

@media (max-width: 700px) {
    .titlebar {
        display: none;
    }

    .menu-button {
        display: flex;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 99999;
        width: 44px;
        height: 44px;
        padding: 10px;
        margin: 0;
        border: 1px solid var(--line);
        border-radius: 12px;
    }
}
/* Active page — desktop navbar */
.nav-links a[aria-current="page"] {
  background: var(--accent, #73a7ff);
  color: #0b0d11;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
}

/* Active page — mobile sidebar */
.mobile-sidebar > a[aria-current="page"] {
  background: var(--accent, #73a7ff);
  color: #0b0d11;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
}

/* Smooth hover effect for other navigation links */
.nav-links a,
.mobile-sidebar > a {
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.mobile-sidebar > a:hover {
  background: var(--surface-hover, #252c36);
}

/* Keep the active link highlighted when hovered */
.nav-links a[aria-current="page"]:hover,
.mobile-sidebar > a[aria-current="page"]:hover {
  background: var(--accent, #73a7ff);
  color: #0b0d11;
}
/* Match Feedback page navbar styling */

.titlebar {
height: 80px;
padding: 0 28px;
justify-content: space-between;
gap: 24px;
background: rgba(16, 20, 24, 0.88);
border-bottom: 1px solid rgba(78, 97, 119, 0.3);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
}

.brand {
display: inline-flex;
align-items: center;
min-width: 0;
}

.brand img {
display: block;
width: 160px;
max-width: 100%;
height: auto;
object-fit: contain;
}

.nav-links {
display: flex;
align-items: center;
gap: 8px;
}

.nav-links a {
padding: 10px 13px;
border-radius: 10px;
color: var(--text);
font-size: 14px;
font-weight: 550;
transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
color: var(--text2);
background: var(--surface-2);
}

.nav-links a[aria-current="page"] {
color: var(--blue);
}

/* Mobile sidebar links */

.mobile-sidebar {
gap: 8px;
padding: 24px 18px;
background: var(--surface);
border-right: 1px solid var(--line);
box-shadow: var(--shadow);
}

.sidebar-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 20px;
}

.sidebar-top img {
width: 145px;
max-width: 75%;
height: auto;
}

.sidebar-close {
width: 40px;
height: 40px;
display: grid;
place-items: center;
color: var(--text2);
background: var(--surface-2);
border: 1px solid var(--line);
border-radius: 10px;
cursor: pointer;
}

.sidebar-close svg {
width: 20px;
height: 20px;
}

.mobile-sidebar > a {
padding: 13px 14px;
border-radius: 10px;
color: var(--text);
font-size: 15px;
transition: color 160ms ease, background 160ms ease;
}

.mobile-sidebar > a:hover,
.mobile-sidebar > a[aria-current="page"] {
color: var(--text2);
background: var(--surface-2);
}

.mobile-sidebar > a[aria-current="page"] {
color: var(--blue);
}

/* Mobile menu button */

.menu-button {
width: 44px;
height: 44px;
padding: 10px;
align-items: center;
justify-content: center;
color: var(--text2);
background: var(--surface);
border: 1px solid var(--line);
border-radius: 12px;
}

.menu-button svg {
width: 22px;
height: 22px;
}

@media (max-width: 700px) {
.menu-button {
position: fixed;
top: 14px;
left: 14px;
z-index: 15;
display: flex;
background: rgba(23, 29, 36, 0.92);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
}

