:root {
    --background: 251, 251, 253;
    --secondBackground: 255, 255, 255;
    --text: 10, 18, 30;
    --textSecondary: 255, 255, 255;
    --primary: 22, 115, 255;
    --secondary: 10, 18, 30;
    --tertiary: 231, 241, 251;
    --cardBackground: 255, 255, 255;
    --inputBackground: 255, 255, 255;
    --navbarBackground: 255, 255, 255;
    --modalBackground: 251, 251, 253;
    --errorColor: 207, 34, 46;
    --logoColor: #243a5a;

    --font: "Poppins", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    --shadow-md: 0 2px 4px 0 rgb(12 0 46 / 4%);
    --shadow-lg: 0 10px 14px 0 rgb(12 0 46 / 6%);

    --z-sticky: 7777;
    --z-navbar: 8888;
    --z-drawer: 9999;
    --z-modal: 9999;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
    margin: 0;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}

html:focus-within {
    scroll-behavior: smooth;
}

html {
    -webkit-font-smoothing: antialiased;
    touch-action: manipulation;
    text-rendering: optimizelegibility;
    text-size-adjust: 100%;
    font-size: 62.5%;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    font-family: var(--font);
    color: rgb(var(--text));
    background: rgb(var(--background));
    font-feature-settings: "kern";
}

svg {
    color: rgb(var(--text));
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

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

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

input,
button,
textarea,
select {
    font: inherit;
}

.nox-container {
    position: relative;
    max-width: 130em;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.nox-navbar {
    display: flex;
    position: sticky;
    top: 0;
    padding: 1.4rem 0;
    width: 100%;
    height: 9.2rem;
    z-index: var(--z-navbar);
    background-color: rgb(var(--navbarBackground));
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
    visibility: visible;
    transform: translateY(0) translateZ(0) scale(1);
    transition-property: transform, visibility, height, box-shadow, background-color;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
}

.nox-navbar.is-hidden {
    visibility: hidden;
    transform: translateY(-9.2rem) translateZ(0) scale(1);
}

.nox-navbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.2rem;
}

.nox-logo {
    display: flex;
    align-items: center;
    gap: 0;
    margin-right: auto;
    color: rgb(var(--logoColor));
}

.nox-logo-text {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.nox-nav {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.4rem;
}

.nox-nav a {
    display: flex;
    color: rgb(var(--text), 0.75);
    letter-spacing: 0.025em;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    line-height: 2;
}

.nox-nav a:not(:last-child) {
    margin-right: 0;
}

.nox-nav a:hover {
    color: rgb(var(--text));
}

.nox-nav-actions {
    display: inline-flex;
    align-items: center;
    margin-left: 1.8rem;
    gap: 1.2rem;
}

.nox-top-link {
    display: flex;
    color: rgb(var(--text), 0.75);
    letter-spacing: 0.025em;
    text-decoration: none;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 1.35rem;
    text-transform: uppercase;
    line-height: 2;
}

.nox-nav-actions .nox-btn {
    padding: 1rem 1.6rem;
    font-size: 1.15rem;
    line-height: 1.35;
    border-width: 1px;
    border-radius: 0.55rem;
}

.nox-nav-actions .nox-btn span {
    margin-left: 0.9rem;
}

.nox-top-link:hover {
    color: rgb(var(--text));
}

.nox-btn,
.nox-btn--ghost,
.nox-btn--outline-light {
    border: none;
    background: none;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 1.75rem 2.25rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgb(var(--textSecondary));
    text-transform: uppercase;
    font-family: var(--font);
    font-weight: 700;
    border-radius: 0.4rem;
    border: 2px solid rgb(var(--primary));
    transition: transform 0.3s;
    backface-visibility: hidden;
    will-change: transform;
    cursor: pointer;
    white-space: nowrap;
}

.nox-btn {
    background: rgb(var(--primary));
}

.nox-btn span,
.nox-btn--ghost span,
.nox-btn--outline-light span {
    margin-left: 2rem;
}

.nox-btn:hover,
.nox-btn--ghost:hover,
.nox-btn--outline-light:hover {
    transform: scale(1.025);
}

.nox-btn--ghost {
    background: transparent;
    border: none;
    color: rgb(var(--text));
}

.nox-btn--outline-light {
    background: transparent;
    border: 1px solid rgb(var(--textSecondary));
    color: rgb(var(--textSecondary));
}

.nox-main {
    background: rgb(var(--secondBackground));
}

.nox-hero-inner {
    display: flex;
    padding-top: 5rem;
}

.nox-hero-copy {
    flex: 1;
    max-width: 60rem;
}

.nox-over-title {
    display: block;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    line-height: 0;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.nox-over-title::before {
    position: relative;
    bottom: -0.1em;
    content: "";
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    background-color: rgb(var(--primary));
    line-height: 0;
    margin-right: 1em;
}

.nox-hero-copy h1 {
    font-size: 6.2rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
}

.nox-hero-desc {
    font-size: 1.8rem;
    opacity: 0.85;
    line-height: 1.7;
}

.nox-btn-group {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
}

.nox-btn-group > *:not(:last-child) {
    margin-right: 2rem;
}

.nox-btn-group-center {
    justify-content: center;
    margin-top: 0;
}

.nox-hero-media {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: flex-start;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: rgb(var(--cardBackground));
}

.nox-hero-media img {
    width: 100%;
    max-width: 52rem;
    height: auto;
}

.nox-delivery {
    padding-top: 10rem;
    padding-bottom: 12rem;
}

.nox-delivery-grid {
    margin-top: 4.6rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nox-delivery-card {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2.8rem;
    background: rgb(var(--cardBackground));
    border-radius: 0.8rem;
    box-shadow: var(--shadow-md);
}

.nox-step-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2.8rem;
    padding: 0 1.2rem;
    border-radius: 99rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgb(var(--primary));
    background: rgb(var(--tertiary));
}

.nox-delivery-card h3 {
    font-size: 2.2rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.nox-delivery-card p {
    font-size: 1.6rem;
    line-height: 1.65;
    opacity: 0.75;
}

.nox-delivery-actions {
    margin-top: 4rem;
}

.nox-section-title {
    font-size: 5.2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 92rem;
}

.nox-section-desc {
    margin-top: 2.4rem;
    max-width: 78rem;
    font-size: 1.8rem;
    line-height: 1.7;
    opacity: 0.82;
}

.nox-page-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(var(--secondary));
    min-height: 40rem;
    text-align: center;
}

.nox-page-title {
    color: rgb(var(--textSecondary));
    margin-bottom: 2rem;
    font-size: 5.2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.nox-page-desc {
    font-size: 1.8rem;
    color: rgb(var(--textSecondary), 0.8);
    text-align: center;
    max-width: 78rem;
    margin: 0 auto;
}

.nox-features-wrap {
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.nox-features-grid {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
}

.nox-feature-card {
    display: flex;
    padding: 2.5rem;
    background: rgb(var(--cardBackground));
    box-shadow: var(--shadow-md);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    border-radius: 0.6rem;
    color: rgb(var(--text));
    font-size: 1.6rem;
}

.nox-feature-card > *:not(:first-child) {
    margin-top: 1rem;
}

.nox-feature-card img {
    width: 12.8rem;
    height: 12.8rem;
    object-fit: contain;
}

.nox-feature-card h3 {
    font-weight: 700;
    font-size: 2rem;
}

.nox-feature-card p {
    opacity: 0.6;
    line-height: 1.65;
}

.nox-changelog-wrap {
    margin-top: 8rem;
    margin-bottom: 10rem;
}

.nox-changelog-head {
    max-width: 84rem;
}

.nox-changelog-grid {
    margin-top: 4.6rem;
    display: grid;
    gap: 1.8rem;
}

.nox-change-card {
    border-radius: 0.8rem;
    background: rgb(var(--cardBackground));
    box-shadow: var(--shadow-md);
    padding: 2.8rem;
}

.nox-change-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.6rem;
    margin-bottom: 1.8rem;
}

.nox-change-version {
    display: inline-flex;
    align-items: center;
    min-height: 2.8rem;
    padding: 0 1.2rem;
    border-radius: 99rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgb(var(--primary));
    background: rgb(var(--tertiary));
}

.nox-change-head h3 {
    margin-top: 1rem;
    font-size: 2.4rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.nox-change-head time {
    font-size: 1.4rem;
    color: rgb(var(--text), 0.6);
    font-weight: 700;
    white-space: nowrap;
}

.nox-change-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.nox-change-list li {
    position: relative;
    font-size: 1.6rem;
    line-height: 1.65;
    padding-left: 2rem;
    color: rgb(var(--text), 0.82);
}

.nox-change-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgb(var(--primary));
}

.nox-wave-cta svg {
    width: 100%;
    height: auto;
}

.nox-wave-body {
    background: rgb(var(--secondary));
    margin-top: -1rem;
    padding-bottom: 16rem;
}

.nox-wave-title {
    color: rgb(var(--textSecondary));
    text-align: center;
    font-size: 5.2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 4rem;
}

.nox-footer {
    padding-top: 10rem;
    padding-bottom: 4rem;
    background: rgb(var(--secondary));
    color: rgb(var(--textSecondary));
}

.nox-footer-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.nox-footer-col {
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
    margin-right: 5rem;
}

.nox-footer-col h3 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.nox-footer-col a {
    font-size: 1.6rem;
    color: rgb(var(--textSecondary), 0.75);
}

.nox-footer-col a + a {
    margin-top: 1rem;
}

.nox-footer-bottom {
    margin-top: 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nox-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.nox-footer-meta div {
    font-size: 1.6rem;
    font-weight: 700;
}

.nox-footer-meta small {
    font-size: 1.3rem;
    opacity: 0.8;
}

.nox-footer-copy {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

:focus-visible {
    outline: 3px solid rgb(var(--primary), 0.32);
    outline-offset: 2px;
}

@media (max-width: 64em) {
    .nox-navbar {
        height: 8.6rem;
    }

    .nox-navbar.is-hidden {
        transform: translateY(-8.6rem) translateZ(0) scale(1);
    }

    .nox-nav {
        display: none;
    }

    .nox-logo-text {
        font-size: 2.7rem;
    }

    .nox-hero-inner {
        flex-direction: column;
        align-items: center;
    }

    .nox-hero-inner {
        padding-top: 1rem;
    }

    .nox-over-title {
        line-height: 1.5;
    }

    .nox-hero-media {
        margin-top: 2rem;
        justify-content: center;
    }

    .nox-hero-media img {
        max-width: 100%;
    }

    .nox-hero-desc {
        font-size: 1.5rem;
    }

    .nox-section-title,
    .nox-page-title {
        font-size: 4.6rem;
    }

    .nox-page-desc {
        max-width: 100%;
    }

    .nox-delivery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 56.25em) {
    html {
        font-size: 60%;
    }
}

@media (max-width: 48.0625em) {
    html {
        font-size: 55%;
    }

    .nox-nav-actions .nox-top-link {
        display: none;
    }

    .nox-navbar {
        height: 8.8rem;
    }

    .nox-navbar.is-hidden {
        transform: translateY(-8.8rem) translateZ(0) scale(1);
    }

    .nox-logo-text {
        font-size: 2.55rem;
    }

    .nox-nav-actions .nox-btn {
        padding: 1.05rem 1.5rem;
        font-size: 1.2rem;
    }

    .nox-hero-copy h1 {
        font-size: 4.4rem;
        margin-bottom: 2rem;
    }

    .nox-wave-body {
        padding-top: 8rem;
    }

    .nox-wave-title {
        font-size: 4.6rem;
    }

    .nox-btn-group > * {
        width: 100%;
    }

    .nox-btn-group > *:not(:last-child) {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .nox-footer-col {
        flex: 0 40%;
        margin-right: 1.5rem;
    }

    .nox-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nox-section-title,
    .nox-page-title {
        font-size: 4.2rem;
    }

    .nox-section-desc,
    .nox-page-desc {
        font-size: 1.6rem;
    }

    .nox-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    }

    .nox-delivery {
        padding-top: 8rem;
        padding-bottom: 10rem;
    }

    .nox-delivery-grid {
        grid-template-columns: 1fr;
    }

    .nox-changelog-wrap {
        margin-top: 6rem;
        margin-bottom: 8rem;
    }

    .nox-change-head {
        flex-direction: column;
    }
}

@media (max-width: 37.5em) {
    html {
        font-size: 53%;
    }

    .nox-logo-text {
        font-size: 2.45rem;
    }

    .nox-wave-title {
        font-size: 4rem;
    }

    .nox-footer-col {
        flex: 0 100%;
        margin-right: 0;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
