/* DOCS PAGE */

.docs-hero-desc {
    margin-top: 12px;
    color: rgba(255, 255, 255, .5);
    font-size: 15px;
    line-height: 1.6;
    max-width: 560px;
}

.docs-content {
    padding: 56px 0 96px;
}

/* Notice */
.docs-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: var(--r-lg);
    padding: 14px 18px;
    margin-bottom: 40px;
    color: #1D4ED8;
    font-size: 14px;
    line-height: 1.6;
}

.docs-notice svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.docs-notice p {
    margin: 0;
}

/* Section title */
.docs-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--g400);
    margin-bottom: 20px;
}

/* Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}

/* Card */
.docs-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .15s, box-shadow .15s;
}

.docs-card:hover {
    border-color: var(--g300);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.docs-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.docs-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.docs-icon-purple { background: #F5F3FF; color: #7C3AED; }
.docs-icon-green  { background: #F0FDF4; color: #16A34A; }
.docs-icon-blue   { background: #EFF6FF; color: #2563EB; }
.docs-icon-orange { background: #FFF7ED; color: #EA580C; }
.docs-icon-teal   { background: #F0FDFA; color: #0D9488; }
.docs-icon-red    { background: #FEF2F2; color: #DC2626; }
.docs-icon-gray   { background: var(--g100); color: var(--g500); }

.docs-badge-soon {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--g400);
    background: var(--g100);
    border-radius: 99px;
    padding: 3px 8px;
}

.docs-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--g900);
    margin: 0;
}

.docs-card-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--g500);
    margin: 0;
    flex: 1;
}

.docs-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--g100);
}

.docs-article-count {
    font-size: 12px;
    color: var(--g400);
}

.docs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
    transition: color .15s;
}

.docs-card-link:hover { color: #1D4ED8; }

/* CTA */
.docs-cta {
    background: var(--g900);
    border-radius: var(--r-xl);
    padding: 48px 32px;
    text-align: center;
}

.docs-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px;
}

.docs-cta-desc {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    margin: 0 0 24px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.docs-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #7C3AED;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: var(--r-lg);
    text-decoration: none;
    transition: background .15s;
}

.docs-cta-btn:hover { background: #6D28D9; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }

    .docs-cta {
        padding: 32px 20px;
    }
}

/* ═══════════════════════════════════════════════════════════
   GUIDE PAGE
═══════════════════════════════════════════════════════════ */

.guide-intro {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #F5F3FF;
    border: 1px solid #DDD6FE;
    border-radius: var(--r-lg);
    padding: 14px 18px;
    margin-bottom: 48px;
    color: #5B21B6;
    font-size: 14px;
    line-height: 1.6;
}

.guide-intro svg { flex-shrink: 0; margin-top: 1px; }

.guide-steps {
    display: flex;
    flex-direction: column;
    margin-bottom: 56px;
}

.guide-step {
    display: flex;
    gap: 24px;
}

.guide-step-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.guide-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #7C3AED;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-step-line {
    width: 2px;
    flex: 1;
    min-height: 32px;
    background: var(--g200);
    margin: 6px 0;
}

.guide-step-body {
    padding-bottom: 40px;
    flex: 1;
}

.guide-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--g100);
    border-radius: var(--r-lg);
    color: var(--g500);
    margin-bottom: 12px;
}

.guide-step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--g900);
    margin: 0 0 8px;
}

.guide-step-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--g500);
    margin: 0;
    max-width: 600px;
}

.guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: var(--r-md);
    padding: 10px 14px;
    margin-top: 14px;
    font-size: 13px;
    color: #92400E;
    line-height: 1.55;
    max-width: 600px;
}

.guide-tip svg { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 600px) {
    .guide-step { gap: 16px; }
    .guide-step-body { padding-bottom: 28px; }
}

/* ═══════════════════════════════════════════════════════════
   CHANGELOG PAGE
═══════════════════════════════════════════════════════════ */

.cl-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 56px;
}

.cl-entry {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    padding: 28px 32px;
}

.cl-entry--upcoming {
    border-color: #DDD6FE;
    background: #FAFAF9;
}

.cl-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.cl-entry-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cl-version-badge {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--g900);
    font-family: var(--font-mono, monospace);
}

.cl-version--upcoming { color: #7C3AED; }

.cl-upcoming-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #7C3AED;
    background: #F5F3FF;
    border: 1px solid #DDD6FE;
    border-radius: 99px;
    padding: 2px 8px;
}

.cl-entry-date {
    font-size: 13px;
    color: var(--g400);
}

.cl-group { margin-bottom: 16px; }
.cl-group:last-child { margin-bottom: 0; }

.cl-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: 99px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.cl-tag--new      { background: #DCFCE7; color: #15803D; }
.cl-tag--improved { background: #DBEAFE; color: #1D4ED8; }
.cl-tag--fix      { background: #FEF2F2; color: #B91C1C; }
.cl-tag--soon     { background: #F5F3FF; color: #6D28D9; }

.cl-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cl-items li {
    font-size: 14px;
    color: var(--g600);
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
}

.cl-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g300);
}

.cl-entry--upcoming .cl-items li::before { background: #C4B5FD; }

@media (max-width: 600px) {
    .cl-entry { padding: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   STATUS PAGE
═══════════════════════════════════════════════════════════ */

.status-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: var(--r-xl);
    padding: 20px 24px;
    margin-bottom: 8px;
}

.status-banner--ok   { background: #F0FDF4; border: 1px solid #BBF7D0; }
.status-banner--warn { background: #FFFBEB; border: 1px solid #FDE68A; }

.status-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-banner--ok   .status-banner-icon { background: #DCFCE7; color: #15803D; }
.status-banner--warn .status-banner-icon { background: #FEF3C7; color: #B45309; }

.status-banner-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px;
}

.status-banner--ok   .status-banner-title { color: #15803D; }
.status-banner--warn .status-banner-title { color: #92400E; }

.status-banner-updated {
    font-size: 12px;
    margin: 0;
    color: var(--g400);
}

.status-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: 48px;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--g100);
    background: var(--white);
    transition: background .12s;
}

.status-row:last-child { border-bottom: none; }
.status-row:hover { background: var(--g50, #F9FAFB); }

.status-row-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--g700);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 99px;
    padding: 4px 10px;
}

.status-indicator--ok   { background: #F0FDF4; color: #15803D; }
.status-indicator--warn { background: #FFFBEB; color: #92400E; }
.status-indicator--down { background: #FEF2F2; color: #B91C1C; }

.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator--ok   .status-indicator-dot { background: #22C55E; }
.status-indicator--warn .status-indicator-dot { background: #F59E0B; }
.status-indicator--down .status-indicator-dot { background: #EF4444; }

.status-incidents {
    margin-bottom: 56px;
}

.status-no-incident {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 20px;
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    text-align: center;
}

.status-no-incident p {
    font-size: 14px;
    color: var(--g400);
    margin: 0;
}
