:root {
    --primary-background: #0b0c10;
    --secondary-background: #14161d;
    --card-background: #1a1d26;
    --accent-orange: #ff6b00;
    --accent-orange-hover: #e05e00;
    --accent-orange-subtle: rgba(255, 107, 0, 0.12);
    --border-dark: #272a38;
    --border-highlight: rgba(255, 107, 0, 0.35);
    --text-primary: #ffffff;
    --text-secondary: #9aa2b1;
    --text-muted: #646d7e;
    --status-active: #22c55e;
    --status-pending: #f59e0b;
    --status-idle: #64748b;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-background);
    color: var(--text-secondary);
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    p,
    span,
    input,
    button,
    a {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* ===== nebulfuryareq_header ===== */
#header {
    width: 100%;
    box-sizing: border-box;
}

#mobile-nav-menu.open {
    display: flex !important;
}

/* ===== nebulfuryareq_hero ===== */
#hero input.placeholder-\[\#9aa2b1\]::placeholder {
    color: #9aa2b1;
    opacity: 1;
}

#hero {
    hyphens: auto;
}

/* ===== nebulfuryareq_about ===== */
#about {
    overflow: hidden;
    background-color: #0b0c10;
    color: #ffffff
}

#about .js-roadmap-item {
    min-height: 220px
}

#about .js-roadmap-item:hover {
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.12)
}

/* ===== nebulfuryareq_system_workflow ===== */
#system_workflow {
    hyphens: auto;
    box-sizing: border-box;
}

#system_workflow h2,
#system_workflow h3 {
    line-height: 1.25;
}

/* ===== nebulfuryareq_profiles ===== */
#profiles input.js-profile-search::placeholder {
    color: #9aa2b1;
}

#profiles .js-tag-filter.active {
    background-color: #ff6b00;
    color: #ffffff;
    border-color: #ff6b00;
}

/* ===== nebulfuryareq_catalog ===== */
#catalog {
    word-break: break-word;
    hyphens: auto;
}

/* ===== nebulfuryareq_activity ===== */
#activity {
    overflow: hidden;
}

#activity .js-log-card {
    will-change: border-color;
}

/* ===== nebulfuryareq_dashboard ===== */
#dashboard {
    overflow: hidden;
}

#dashboard .js-metric-card {
    will-change: transform, border-color;
}

#dashboard .js-metric-card:hover {
    transform: translateY(-2px);
}

/* ===== nebulfuryareq_automation ===== */
#automation {
    overflow: hidden;
    hyphens: auto;
}

#automation .js-feature-card {
    will-change: transform, border-color;
}

/* ===== nebulfuryareq_stats ===== */
#stats {
    background-color: var(--primary-background);
    color: var(--text-primary);
}

#stats .text-secondary {
    color: var(--text-secondary);
}

#stats .border-dark {
    border-color: var(--border-dark);
}

/* ===== nebulfuryareq_architecture ===== */
#architecture {
    overflow: hidden;
}

#architecture * {
    box-sizing: border-box;
    hyphens: auto;
}

/* ===== nebulfuryareq_info_overview ===== */
#info_overview {
    overflow: hidden;
}

#info_overview h2,
#info_overview h3 {
    hyphens: auto;
}

#info_overview .js-info-tab {
    transition: all 0.2s ease-in-out;
}

/* ===== nebulfuryareq_footer ===== */
#footer {
    width: 100%;
    background-color: var(--primary-background, #0b0c10);
    border-top-color: var(--border-dark, #272a38);
    hyphens: auto;
}

#footer a {
    transition: color 0.2s ease-in-out;
}