/* Page hero */
.page-hero {
    padding: 9rem 4% 3.5rem;
    text-align: center
}

.page-hero-inner {
    max-width: 700px;
    margin: 0 auto
}

.page-title {
    font-family: var(--font-d);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 1rem
}

.page-title span {
    background: linear-gradient(135deg, var(--forest), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.page-sub {
    font-size: 1.15rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto
}

/* TOC */
.toc-section {
    padding: 0 4% 3rem
}

.toc {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem 2.5rem;
    backdrop-filter: blur(10px)
}

.toc-title {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-1)
}

.toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem
}

.toc-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-d);
    font-size: 0.875rem;
    color: var(--text-2);
    text-decoration: none;
    padding: 0.4rem 0;
    transition: 0.2s
}

.toc-list a:hover {
    color: var(--forest)
}

.toc-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--forest-soft);
    display: grid;
    place-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--forest);
    flex-shrink: 0
}

/* Guide sections */
.guide-section {
    padding: 4rem 4%
}

.guide-section:nth-child(even) {
    background: linear-gradient(180deg, transparent, rgba(11, 110, 79, 0.025), transparent)
}

.guide-container {
    max-width: 900px;
    margin: 0 auto
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem
}

.guide-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--forest-dark));
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--font-d);
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(11, 110, 79, 0.25)
}

.guide-step-title {
    font-family: var(--font-d);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em
}

.guide-step-sub {
    font-size: 0.9rem;
    color: var(--text-3)
}

.guide-body {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.75
}

.guide-body p {
    margin-bottom: 1rem
}

.guide-body strong {
    color: var(--text-1)
}

/* Content cards */
.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.75rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm)
}

.content-card-title {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem
}

.cc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-soft), rgba(11, 110, 79, 0.05));
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    vertical-align: middle;
    margin-right: 0.5rem
}

/* Field list */
.field-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem
}

.field-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-cream);
    border-radius: var(--r-sm);
    font-size: 0.9rem
}

.field-name {
    font-family: var(--font-d);
    font-weight: 600;
    color: var(--text-1);
    min-width: 160px;
    flex-shrink: 0
}

.field-desc {
    color: var(--text-2)
}

/* Step flow */
.step-flow {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap
}

.sf-step {
    flex: 1;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.25rem;
    text-align: center;
    position: relative
}

.sf-step::after {
    content: '→';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-d);
    font-size: 1.1rem;
    color: var(--text-3)
}

.sf-step:last-child::after {
    display: none
}

.sf-num {
    font-family: var(--font-d);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--forest);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem
}

.sf-label {
    font-family: var(--font-d);
    font-size: 0.85rem;
    font-weight: 600
}

.sf-desc {
    font-size: 0.8rem;
    color: var(--text-3);
    margin-top: 0.25rem
}

/* Mockup inline */
.mock-inline {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm)
}

.mock-inline-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #fafafa;
    border-bottom: 1px solid #eee
}

.mock-dots {
    display: flex;
    gap: 4px
}

.mock-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%
}

.mock-dots .r { background: #ff5f57 }
.mock-dots .y { background: #ffbd2e }
.mock-dots .g { background: #28c840 }

.mock-inline-body {
    padding: 16px
}

/* Onboarding wizard mockup */
.onboard-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px
}

.ob-step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-family: var(--font-d);
    font-size: 0.6rem;
    font-weight: 600;
    position: relative
}

.ob-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff
}

.ob-dot.done { background: var(--forest) }
.ob-dot.current { background: var(--gold) }
.ob-dot.pending { background: var(--border-md); color: var(--text-3) }

.ob-connector { width: 40px; height: 2px; background: var(--border) }
.ob-connector.done { background: var(--forest) }

/* Cycle pills */
.cycle-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px
}

.cycle-pill {
    padding: 5px 12px;
    border-radius: var(--r-full);
    font-family: var(--font-d);
    font-size: 0.6rem;
    font-weight: 600;
    border: 1.5px solid var(--border);
    cursor: default;
    transition: 0.15s
}

.cycle-pill.selected { background: var(--forest-light); border-color: var(--forest); color: var(--forest) }
.cycle-pill.unselected { background: #fff; color: var(--text-3) }

/* Settings mockup */
.settings-section-mock {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 6px;
    overflow: hidden
}

.ssm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    cursor: default;
    font-family: var(--font-d);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-1)
}

.ssm-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-soft), rgba(11, 110, 79, 0.05));
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    vertical-align: middle;
    margin-right: 6px
}

.ssm-chevron { color: var(--text-3); font-size: 0.7rem }

.ssm-body {
    padding: 10px 14px;
    background: var(--bg-cream);
    display: none;
    font-family: var(--font-d);
    font-size: 0.55rem;
    color: var(--text-2)
}

.ssm-body.open { display: block }

.ssm-field {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px
}

.ssm-field-label { min-width: 100px; font-weight: 500; color: var(--text-2) }
.ssm-field-input { flex: 1; padding: 4px 8px; border: 1px solid var(--border); border-radius: 5px; background: #fff; font-family: var(--font-d); font-size: 0.55rem; color: var(--text-1) }

/* Checklist */
.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 1rem 0
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-2)
}

.checklist li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--forest-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230b6e4f' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center
}

/* Tip box */
.tip {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--forest-soft);
    border: 1px solid var(--forest-light);
    border-radius: var(--r-sm);
    margin: 1.25rem 0;
    font-size: 0.9rem;
    color: var(--text-2)
}

.tip-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-light), rgba(11, 110, 79, 0.1));
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    vertical-align: middle;
    margin-right: 0.75rem
}

/* Module grid in guide */
.guide-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.25rem 0
}

.gm-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.75rem 1rem;
    font-family: var(--font-d);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem
}

.gm-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-soft), rgba(11, 110, 79, 0.05));
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    vertical-align: middle
}

.gm-name { font-weight: 600; font-size: 0.8rem }

/* CTA section */
.cta-section { padding: 4rem 4% }
.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 55%),
        linear-gradient(135deg, var(--mint-50) 0%, var(--mint-100) 55%, var(--mint-200) 100%);
    border: 1px solid var(--mint-200);
    border-radius: var(--r-xl);
    padding: 3.5rem 2.5rem;
    text-align: center;
    color: var(--mint-900);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg)
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 30%, rgba(14, 122, 88, 0.08) 100%);
    pointer-events: none;
}

.cta-box h2 { font-family: var(--font-d); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--mint-900); letter-spacing: -0.02em; margin-bottom: 0.75rem; position: relative }
.cta-box p { font-family: var(--font-b); font-size: 1.05rem; color: var(--text-2); max-width: 500px; margin: 0 auto 1.5rem; position: relative }

/* Final CTA for guide/aide — mint surface variant (matches globals.css) */
.final-cta {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 4.5rem 3rem;
    border-radius: var(--r-xl);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 55%),
        linear-gradient(135deg, var(--mint-50) 0%, var(--mint-100) 55%, var(--mint-200) 100%);
    border: 1px solid var(--mint-200);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 30%, rgba(14, 122, 88, 0.08) 100%);
    pointer-events: none;
}

.final-cta h2 {
    font-family: var(--font-d);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--mint-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
}

.final-cta p {
    font-family: var(--font-b);
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 560px;
    margin: 0 auto 2rem;
    position: relative;
}

.final-cta-btns {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

/* ============================================================================
 *  AIDE / HELP CENTER — Hero
 * ============================================================================ */
.hero {
    padding: 8rem 4% 3rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-d);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

/* ── Quick links row ── */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.quick-link {
    font-family: var(--font-d);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-2);
    padding: 0.45rem 1rem;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.quick-link:hover {
    color: var(--mint-700);
    border-color: var(--mint-700);
    background: var(--mint-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ============================================================================
 *  Popular articles
 * ============================================================================ */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.popular-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(10px);
}

.popular-item:hover {
    border-color: var(--mint-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.popular-item h4 {
    font-family: var(--font-d);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.popular-item p {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.55;
    margin-bottom: 0.65rem;
}

.popular-tag {
    display: inline-block;
    font-family: var(--font-d);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--mint-700);
    background: var(--mint-soft);
    padding: 0.25rem 0.7rem;
    border-radius: var(--r-full);
    letter-spacing: 0.02em;
}

/* ============================================================================
 *  Search results dropdown
 * ============================================================================ */
.search-box { max-width: 560px; margin: 0 auto 1.5rem; position: relative }
.search-box input { width: 100%; padding: 1rem 1.4rem 1rem 3.2rem; font-family: var(--font-d); font-size: 1rem; border: 2px solid var(--border-md); border-radius: var(--r-full); background: var(--bg-card); backdrop-filter: blur(12px); color: var(--text-1); outline: none; transition: 0.3s var(--ease) }
.search-box input:focus { border-color: var(--mint-700); box-shadow: 0 0 0 4px rgba(14, 122, 88, 0.1) }
.search-box input::placeholder { color: var(--text-3) }
.search-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg-card-solid); border: 1px solid var(--border-md); border-radius: var(--r-md); box-shadow: var(--shadow-md); max-height: 320px; overflow-y: auto; display: none; z-index: 100 }
.search-results.show { display: block }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s var(--ease);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-d);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-1);
}

.search-result-item:last-child { border-bottom: none }
.search-result-item:hover { background: var(--mint-soft) }

.sr-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--mint-soft);
    display: grid; place-items: center;
    flex-shrink: 0;
    color: var(--mint-700);
}

.sr-cat {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-3);
    margin-top: 0.15rem;
}

.search-no-result {
    padding: 1.5rem;
    text-align: center;
    font-family: var(--font-d);
    font-size: 0.88rem;
    color: var(--text-3);
}

/* ============================================================================
 *  Category grid & expanded panels
 * ============================================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem }
.cat-card { background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: var(--r-md); padding: 2rem 1.5rem 1.5rem; transition: 0.35s var(--ease); cursor: pointer; text-decoration: none; color: inherit; display: block }
.cat-card:hover { border-color: var(--mint-700); box-shadow: var(--shadow-md); transform: translateY(-4px) }
.cat-card h3 { font-family: var(--font-d); font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem }
.cat-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.5; margin-bottom: 0.6rem }

.cat-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,0.12), inset 0 2px 4px rgba(255,255,255,0.3); border: 2px solid rgba(255,255,255,0.4); transition: all 0.3s var(--ease) }
.ci-green  { background: linear-gradient(135deg, var(--mint-50), var(--mint-100)); color: var(--mint-700) }
.ci-blue   { background: linear-gradient(135deg, #e8f4fd, #d1ecf9); color: #1976d2 }
.ci-purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #7c3aed }
.ci-amber  { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309 }
.ci-red    { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c62828 }

.cat-article-count {
    font-family: var(--font-d);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-3);
}

.cat-expanded { display: none; background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--r-lg); margin-top: 2rem; padding: 2.5rem; box-shadow: var(--shadow-sm); animation: fadeUp 0.4s var(--ease) }
.cat-expanded.show { display: block }

.cat-expanded-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.cat-expanded-header h2 {
    font-family: var(--font-d);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.close-cat {
    background: none;
    border: 1px solid var(--border);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: grid; place-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-3);
    transition: all 0.2s var(--ease);
}

.close-cat:hover { background: var(--mint-soft); color: var(--mint-700); border-color: var(--mint-700) }

/* ── Article list inside expanded panel ── */
.article-list { list-style: none }

.article-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background 0.2s var(--ease);
    border-bottom: 1px solid var(--border);
}

.article-item:last-child { border-bottom: none }
.article-item:hover { background: rgba(14, 122, 88, 0.04) }

.article-num {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--mint-soft);
    display: grid; place-items: center;
    font-family: var(--font-d);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--mint-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.article-title {
    font-family: var(--font-d);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 0.2rem;
}

.article-desc {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.5;
}

.article-detail {
    display: none;
    margin-top: 1rem;
    padding: 1.25rem;
    background: var(--bg-cream);
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.7;
}

.article-detail.show { display: block; animation: fadeUp 0.3s var(--ease) }
.article-detail p { margin-bottom: 0.75rem }
.article-detail ul,
.article-detail ol { padding-left: 1.25rem; margin-bottom: 0.75rem }
.article-detail li { margin-bottom: 0.35rem }
.article-detail strong { color: var(--text-1) }

.detail-steps { padding-left: 1.25rem }
.detail-steps li { margin-bottom: 0.5rem }

.tip-box {
    padding: 0.85rem 1rem;
    background: var(--mint-soft);
    border: 1px solid var(--mint-100);
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    color: var(--text-2);
}

.warn-box {
    padding: 0.85rem 1rem;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    color: var(--text-2);
}

/* ============================================================================
 *  FAQ accordion
 * ============================================================================ */
.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    backdrop-filter: blur(10px);
}

.faq-item:hover { border-color: rgba(14, 122, 88, 0.2) }
.faq-item.open { border-color: var(--mint-200); box-shadow: var(--shadow-sm) }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-d);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-1);
    transition: color 0.2s var(--ease);
    user-select: none;
}

.faq-q:hover { color: var(--mint-700) }

.faq-arrow {
    flex-shrink: 0;
    color: var(--text-3);
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--mint-700);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-a { max-height: 300px }

.faq-a-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.92rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ============================================================================
 *  Support section
 * ============================================================================ */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease);
    text-align: left;
}

.support-card:hover {
    border-color: var(--mint-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.support-emoji {
    width: 52px; height: 52px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--mint-soft), rgba(14, 122, 88, 0.04));
    display: grid; place-items: center;
    margin-bottom: 1rem;
    color: var(--mint-700);
}

.support-card h3 {
    font-family: var(--font-d);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.support-card p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.support-link {
    font-family: var(--font-d);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mint-700);
    transition: color 0.2s var(--ease);
}

.support-link:hover { color: var(--mint-900) }

/* ── Status banner ── */
.status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--mint-100);
    border-radius: var(--r-md);
    font-family: var(--font-d);
    font-size: 0.88rem;
    backdrop-filter: blur(10px);
}

.status-banner > div { display: flex; align-items: center; gap: 0.5rem }

.status-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.5) }
    50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.7) }
}

.status-text { font-weight: 600; color: var(--text-1) }
.status-sub { font-size: 0.8rem; color: var(--text-3) }

/* ============================================================================
 *  RESPONSIVE — Aide + Guide
 * ============================================================================ */
@media(max-width:1024px) {
    .toc-list { grid-template-columns: 1fr }
    .guide-modules { grid-template-columns: repeat(2, 1fr) }
    .cat-grid { grid-template-columns: repeat(2, 1fr) }
    .support-grid { grid-template-columns: repeat(2, 1fr) }
}

@media(max-width:768px) {
    .hero { padding: 7rem 5% 2rem }
    .hero h1 { font-size: 1.8rem }
    .page-hero { padding: 7rem 5% 2.5rem }
    .page-title { font-size: 2rem }
    .step-flow { flex-direction: column }
    .sf-step::after { display: none }
    .guide-modules { grid-template-columns: 1fr }
    .cat-grid { grid-template-columns: 1fr }
    .cat-expanded { padding: 1.25rem }
    .cat-expanded-header h2 { font-size: 1.15rem }
    .popular-grid { grid-template-columns: 1fr; gap: 1rem }
    .support-grid { grid-template-columns: 1fr }
    .faq-q { padding: 1rem 1.15rem; font-size: 0.88rem }
    .faq-a-inner { padding: 0 1.15rem 1rem; font-size: 0.85rem }
    .final-cta { padding: 3rem 1.5rem; margin-bottom: 2rem }
    .final-cta h2 { font-size: 1.5rem }
    .cta-box { padding: 2.5rem 1.5rem }
    .cta-box h2 { font-size: 1.4rem }
    .search-box input { font-size: 0.9rem; padding: 0.85rem 1.2rem 0.85rem 2.8rem }
    .quick-links { gap: 0.35rem }
    .quick-link { font-size: 0.72rem; padding: 0.35rem 0.75rem }
    .toc { padding: 1.5rem }
    .guide-section { padding: 2.5rem 5% }
    .guide-header { gap: 0.75rem }
    .guide-step-num { width: 40px; height: 40px; font-size: 1rem }
    .guide-step-title { font-size: 1.25rem }
    .content-card { padding: 1.25rem }
    .field-item { flex-direction: column; gap: 0.25rem }
    .field-name { min-width: 0 }
    .status-banner { flex-direction: column; text-align: center; gap: 0.5rem }
    .status-banner > div { justify-content: center }
    .article-item { gap: 0.75rem; padding: 1rem 0.75rem }
    .section { padding: 4rem 5% }
}
