.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.u-hidden {
    display: none !important;
}

.u-width-full {
    width: 100% !important;
}

.u-display-block {
    display: block !important;
}

.u-text-center {
    text-align: center !important;
}

.u-flex {
    display: flex !important;
}

.u-flex-between-center {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.u-justify-center {
    justify-content: center !important;
}

.u-gap-20 {
    gap: 20px !important;
}

.u-relative-z10 {
    position: relative !important;
    z-index: 10 !important;
}

.u-top-1rem {
    top: 1rem !important;
}

.u-top-neg-1px {
    top: -1px !important;
}

.u-pt-2 {
    padding-top: 2rem !important;
}

.u-pt-30 {
    padding-top: 30px !important;
}

.u-btn-pad-10-20 {
    padding: 10px 20px !important;
}

.u-border-top-none {
    border-top: none !important;
}

.u-bg-transparent {
    background: transparent !important;
}

.u-cursor-pointer {
    cursor: pointer !important;
}

.u-appearance-none,
.u-select-reset {
    appearance: none !important;
    -webkit-appearance: none !important;
}

.u-select-reset {
    cursor: pointer !important;
}

.u-font-heading {
    font-family: var(--font-heading, 'Segoe UI', Tahoma, sans-serif) !important;
}

.u-font-body {
    font-family: var(--font-body, 'Segoe UI', Tahoma, sans-serif) !important;
}

.u-font-mono {
    font-family: monospace !important;
}

.u-italic {
    font-style: italic !important;
}

.u-neon-pink {
    color: var(--neon-pink, #ff2d7b) !important;
}

.u-neon-cyan {
    color: var(--neon-cyan, #00e5ff) !important;
}

.u-color-gold {
    color: var(--color-gold, #c6a15b) !important;
}

.u-color-muted {
    color: var(--text-muted, #888888) !important;
}

.u-heading-brand {
    font-size: 1.5rem !important;
}

.u-heading-2xl {
    font-size: 2.5rem !important;
}

.u-heading-xl {
    font-size: 2.3rem !important;
}

.u-heading-lg {
    font-size: 1.8rem !important;
}

.u-copy-lg {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

.u-text-sm {
    font-size: 14px !important;
}

.u-letter-1 {
    letter-spacing: 1px !important;
}

.u-letter-2 {
    letter-spacing: 2px !important;
}

.u-opacity-50 {
    opacity: 0.5 !important;
}

.u-opacity-60 {
    opacity: 0.6 !important;
}

.u-ml-10 {
    margin-left: 10px !important;
}

.u-mt-half {
    margin-top: 0.5rem !important;
}

.u-mt-1 {
    margin-top: 1rem !important;
}

.u-mb-1 {
    margin-bottom: 1rem !important;
}

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

.u-mt-20 {
    margin-top: 20px !important;
}

.u-mt-40 {
    margin-top: 40px !important;
}

.u-mb-15 {
    margin-bottom: 15px !important;
}

.u-mb-20 {
    margin-bottom: 20px !important;
}

.u-mb-30 {
    margin-bottom: 30px !important;
}

.u-mb-2 {
    margin-bottom: 2rem !important;
}

.u-status-box {
    font-family: var(--font-heading, 'Segoe UI', Tahoma, sans-serif) !important;
    margin-top: 15px !important;
    padding: 15px !important;
}

.u-delay-100 {
    transition-delay: 0.1s !important;
    animation-delay: 0.1s !important;
}

.u-delay-200 {
    transition-delay: 0.2s !important;
    animation-delay: 0.2s !important;
}

.u-delay-300 {
    transition-delay: 0.3s !important;
    animation-delay: 0.3s !important;
}

.u-delay-400 {
    transition-delay: 0.4s !important;
    animation-delay: 0.4s !important;
}

.u-delay-600 {
    transition-delay: 0.6s !important;
    animation-delay: 0.6s !important;
}

.u-delay-800 {
    transition-delay: 0.8s !important;
    animation-delay: 0.8s !important;
}

.u-underline {
    text-decoration: underline !important;
}

body.system-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(125, 180, 255, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(78, 229, 197, 0.12), transparent 28%),
        linear-gradient(180deg, #0c1117 0%, #0a1620 42%, #08111a 100%);
    color: #e8eef8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.system-page * {
    box-sizing: border-box;
}

.system-page__layout {
    min-height: 100vh;
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    display: flex;
    flex-direction: column;
}

.system-page__layout--centered {
    justify-content: center;
}

.system-page__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.system-page__brand,
.system-page__nav-link,
.legal-back-link,
.system-page__button,
.legal-entry a {
    text-decoration: none;
}

.system-page__brand {
    color: #f9fbff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.system-page__nav-link,
.legal-back-link,
.legal-entry a {
    color: #8fdaff;
}

.system-page__card,
.legal-page-card {
    background: rgba(10, 18, 28, 0.82);
    border: 1px solid rgba(159, 215, 255, 0.14);
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.system-page__card {
    padding: 40px min(5vw, 44px);
}

.system-page__card--compact {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.system-page__eyebrow,
.legal-eyebrow {
    margin: 0 0 16px;
    color: #7fb5ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.system-page h1,
.legal-heading-group h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.05;
}

.system-page__lead,
.legal-intro {
    margin: 0;
    color: #c6d1e3;
    line-height: 1.75;
    max-width: 66ch;
}

.system-page__card--compact .system-page__lead {
    margin-right: auto;
    margin-left: auto;
}

.system-page__actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.system-page__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7db4ff, #4ee5c5);
    color: #071018;
    font-weight: 700;
}

.system-page__footer {
    margin-top: auto;
    padding-top: 28px;
    color: #a8b5c8;
    font-size: 0.95rem;
    text-align: center;
}

.legal-page-card {
    padding: min(6vw, 48px);
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-weight: 600;
}

.legal-heading-group {
    margin-bottom: 32px;
}

.legal-updated {
    margin: 0 0 32px;
    color: #8ca0bd;
    font-size: 0.92rem;
}

.legal-entry + .legal-entry {
    margin-top: 28px;
}

.legal-entry h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.legal-entry p,
.legal-entry li {
    margin: 0;
    color: #d7dfeb;
    line-height: 1.82;
}

.legal-entry p + p,
.legal-entry p + ul,
.legal-entry ul + p,
.legal-entry ul + ul {
    margin-top: 14px;
}

.legal-entry ul {
    margin: 0;
    padding-left: 22px;
}

.legal-entry li + li {
    margin-top: 8px;
}

@media (max-width: 720px) {
    .system-page__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .system-page__layout {
        padding: 24px 16px 36px;
    }

    .system-page__card,
    .legal-page-card {
        padding: 28px 20px;
    }
}