.atlas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.atlas-badge-row {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.atlas-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: #f0f0f0;
    color: #555;
    border-radius: 4px;
    padding: 0.18rem 0.55rem;
}

.atlas-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
}

.atlas-tagline {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.atlas-header-links {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.atlas-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    background: #222;
    color: #fff;
    border: 1.5px solid #222;
    transition: background 0.15s, border-color 0.15s;
}

.atlas-btn:hover {
    background: #000;
    border-color: #000;
}

.atlas-terminal {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid #d0d0d0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    font-family: 'Courier New', Courier, monospace;
}

.atlas-terminal-bar {
    background: #e0e0e0;
    padding: 0.55rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.atlas-terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.atlas-terminal-dot--red {
    background: #ff5f57;
}

.atlas-terminal-dot--yellow {
    background: #febc2e;
}

.atlas-terminal-dot--green {
    background: #28c840;
}

.atlas-terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    margin-left: -42px;
}

.atlas-terminal-body {
    background: #1a1a1a;
    padding: 1.1rem 1.4rem 1.3rem;
    color: #d4d4d4;
    font-size: 0.85rem;
    line-height: 1.7;
}

.atlas-terminal-line {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
}

.atlas-terminal-line--blank {
    height: 0.6em;
}

.atlas-t-green {
    color: #4ec94e;
    font-weight: 600;
}

.atlas-t-white {
    color: #fff;
    font-weight: 600;
}

.atlas-t-dim {
    color: #666;
}

.atlas-t-cursor {
    animation: blink 1.1s step-end infinite;
    color: #d4d4d4;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.atlas-section {
    margin-bottom: 2.5rem;
}

.atlas-section-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.atlas-bio-card {
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.atlas-bio-card--mt {
    margin-top: 1.25rem;
}

.atlas-bio-card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    border-color: #bbb;
}

.atlas-bio-card p {
    margin: 0 0 0.9rem 0;
    font-size: 0.96rem;
    color: #333;
    line-height: 1.75;
}

.atlas-bio-card p:last-child {
    margin-bottom: 0;
}

.atlas-bio-card code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85em;
    background: #f2f2f2;
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

.atlas-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.atlas-feature-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    padding: 1.25rem;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.atlas-feature-card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    border-color: #bbb;
}

.atlas-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #f4f4f4;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    margin-top: 0.05rem;
}

.atlas-feature-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
}

.atlas-feature-body p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.atlas-feature-body code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.83em;
    background: #f2f2f2;
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

.atlas-arch-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 560px;
}

.atlas-arch-layer {
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.atlas-arch-layer:hover {
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.07);
    border-color: #bbb;
}

.atlas-arch-layer--top {
    background: #222;
    border-color: #222;
}

.atlas-arch-layer--top .atlas-arch-label {
    color: #fff;
}

.atlas-arch-layer--top .atlas-arch-desc {
    color: #999;
}

.atlas-arch-layer--bottom {
    background: #f6f6f6;
}

.atlas-arch-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
}

.atlas-arch-desc {
    font-size: 0.78rem;
    color: #888;
    font-family: 'Courier New', Courier, monospace;
}

.atlas-arch-arrow {
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.4;
    padding: 0.1rem 0;
}

.atlas-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.atlas-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.atlas-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #222;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.05rem;
}

.atlas-step-body {
    flex: 1;
}

.atlas-step-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.atlas-step-note {
    font-size: 0.83rem;
    color: #777;
    margin: 0.4rem 0 0 0;
    line-height: 1.55;
}

.atlas-step-note code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85em;
    background: #f2f2f2;
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

.atlas-code-block {
    background: #1a1a1a;
    border-radius: 7px;
    padding: 0.75rem 1rem;
    overflow-x: auto;
}

.atlas-code-block pre {
    margin: 0;
}

.atlas-code-block code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #d4d4d4;
    background: none;
    padding: 0;
}

@media (max-width: 600px) {
    .atlas-title {
        font-size: 1.5rem;
    }

    .atlas-features-grid {
        grid-template-columns: 1fr;
    }

    .atlas-arch-grid {
        max-width: 100%;
    }

    .atlas-terminal-body {
        font-size: 0.75rem;
    }
}