:root {
    color-scheme: dark;
    scroll-padding-top: var(--navbar-height, 85px);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #111214;
    color: #f4f4f5;
    font-family: system-ui, sans-serif;
}

.navcontainer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
    gap: 12px 40px;
    padding: 24px 48px;
    background: #1b1d21;
    border-bottom: 1px solid #303238;
    position: sticky;
    z-index: 1000;
    top: 0;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

#navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 20px;
}

#navbar a {
    position: relative;
    color: #c9cbd1;
    font-weight: 700;
}

#navbar a::after {
    content: "";
    position: absolute;
    inset: auto 0 -3px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

#navbar a:is(:hover, [aria-current="location"]) {
    color: #fff;
}

#navbar a:is(:hover, [aria-current="location"])::after {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        scroll-behavior: auto;
    }

    #navbar a::after {
        transition: none;
    }
}

.hero {
    box-sizing: border-box;
    min-height: calc(96svh - 85px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    place-items: center;
    gap: 40px;
    padding: 48px;
}

.navcontainer .logo, .hero-text {
    width: min(100%, 28rem);
}

.hero-text {
    font-size: 1.125rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.hero-text h1 {
    margin: 0 0 16px;
    font-size: 5rem;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hero-text p {
    margin: 0 0 10px;
    color: #bfc2cb;
}

.hero-text h1 + p {
    color: #e3e5ea;
    font-size: 1.25rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.hero-buttons a {
    padding: 10px 18px;
    border: 1px solid #535865;
    border-radius: 8px;
    color: #f4f4f5;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.hero-buttons a:first-child {
    border-color: #b9ceff;
    background: #b9ceff;
    color: #111827;
}

.hero-buttons a:hover {
    border-color: #e3ebff;
}

.hero-buttons a:first-child:hover {
    background: #e3ebff;
}

.hero-buttons a:focus-visible {
    outline: 2px solid #b9ceff;
    outline-offset: 3px;
}

.hero-image {
    width: min(100%, 33rem);
}

.hero-image img {
    display: block;
    width: 100%;
    max-height: 62svh;
    object-fit: contain;
    height: auto;
}

.site-footer {
    padding: 20px 48px;
    border-top: 1px solid #303238;
    color: #939baa;
    font-size: 0.875rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
}
