.help-main {
    margin-top: 56px;
}

/* ── HEADER ── */

.help-header-section {
    border-bottom: var(--border-heavy);
    overflow: hidden;
}

.help-header-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px var(--space-lg);
    border-bottom: var(--border);
    background: var(--g50);
}

.help-breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--g500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-breadcrumb a {
    color: var(--g500);
    text-decoration: none;
    transition: color var(--transition);
}

.help-breadcrumb a:hover {
    color: var(--black);
}

.help-doc-count {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--g400);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.help-header-body {
    position: relative;
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
}

.help-watermark {
    position: absolute;
    top: 50%;
    right: var(--space-lg);
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: clamp(8rem, 22vw, 20rem);
    font-weight: 800;
    line-height: 1;
    color: var(--g100);
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
}

.help-giant-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--black);
    margin: 0;
    position: relative;
    z-index: 1;
}

.help-search-wrap {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.help-search-box {
    display: flex;
    align-items: center;
    gap: 0;
    border: var(--border-heavy);
    background: var(--white);
    padding: 0;
    height: 48px;
}

.help-search-prompt {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--g400);
    padding: 0 0 0 var(--space-md);
    line-height: 48px;
    flex-shrink: 0;
    user-select: none;
}

.help-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--black);
    outline: none;
    padding: 0 var(--space-md);
    height: 100%;
}

.help-search-box input::placeholder {
    color: var(--g400);
    font-family: var(--font-mono);
}

.help-cursor-blink {
    width: 2px;
    height: 20px;
    background: var(--black);
    margin-right: var(--space-md);
    flex-shrink: 0;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.help-search-box:focus-within .help-cursor-blink {
    display: none;
}

/* ── FILE TREE INDEX ── */

.help-nav-section {
    padding: var(--space-3xl) 0;
    border-bottom: var(--border-heavy);
}

.help-tree {
    border: var(--border-heavy);
    background: var(--white);
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1;
}

.help-tree-group {
    margin-bottom: 2px;
}

.help-tree-group:last-child {
    margin-bottom: 0;
}

.help-tree-dir {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 0;
    font-weight: 800;
    color: var(--black);
    letter-spacing: 0.02em;
}

.tree-char {
    color: var(--g400);
    white-space: pre;
    font-weight: 400;
    flex-shrink: 0;
    margin-right: 8px;
}

.tree-dir-name {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
}

.help-tree-files {
    display: flex;
    flex-direction: column;
}

.help-tree-file {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 0;
    text-decoration: none;
    color: var(--g700);
    transition: color var(--transition), background-color var(--transition);
    margin-left: 0;
}

.help-tree-file:hover {
    color: var(--black);
}

.help-tree-file:hover .tree-file-name {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tree-file-name {
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

/* ── DOCUMENT DETAIL BLOCKS ── */

.help-content-section {
    padding: var(--space-3xl) 0;
    border-bottom: var(--border-heavy);
}

.help-docs-archive {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.help-doc-block {
    border: var(--border-heavy);
    margin-bottom: -2px;
    scroll-margin-top: 72px;
}

.help-doc-block:last-child {
    margin-bottom: 0;
}

.help-doc-block-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 12px var(--space-lg);
    background: var(--g800);
    color: var(--white);
    border-bottom: var(--border-heavy);
}

.hdoc-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--g400);
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.help-doc-block-header h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    color: var(--white);
    line-height: 1.3;
}

.help-doc-block-body {
    padding: var(--space-lg);
    background: var(--white);
}

.help-doc-block-body p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--g700);
    margin: 0;
}

.help-doc-block:hover .help-doc-block-body {
    background: var(--g50);
}

/* ── SUPPORT BAR ── */

.help-support-section {
    padding: var(--space-2xl) 0;
    border-bottom: var(--border-heavy);
}

.help-support-bar {
    border: var(--border-heavy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding: var(--space-lg) var(--space-xl);
}

.help-support-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.help-support-label {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.02em;
}

.help-support-left p {
    font-size: 0.8rem;
    color: var(--g600);
    margin: 0;
}

.help-support-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-shrink: 0;
}

.help-contact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.help-contact-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--g400);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.help-contact-value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--black);
    font-weight: 700;
}

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
    .help-header-body {
        padding: var(--space-2xl) var(--space-lg);
    }

    .help-watermark {
        font-size: clamp(6rem, 18vw, 14rem);
    }

    .help-nav-section,
    .help-content-section {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 768px) {
    .help-header-top-bar {
        padding: 10px var(--space-md);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .help-header-body {
        padding: var(--space-xl) var(--space-md);
    }

    .help-watermark {
        font-size: clamp(4rem, 28vw, 10rem);
        right: var(--space-md);
    }

    .help-search-wrap {
        max-width: 100%;
    }

    .help-tree {
        padding: var(--space-md);
        font-size: 0.75rem;
        overflow-x: auto;
    }

    .tree-dir-name {
        font-size: 0.7rem;
    }

    .tree-file-name {
        font-size: 0.73rem;
    }

    .help-doc-block-header {
        padding: 10px var(--space-md);
        gap: var(--space-sm);
    }

    .help-doc-block-body {
        padding: var(--space-md);
    }

    .help-support-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-md);
    }

    .help-support-right {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        width: 100%;
    }
}
