/* ========================================
   HELP / GUIDE PAGES
======================================== */
.page-help-guide #reader-paths,
.page-help-guide #decision-guide,
.page-help-guide #search-help,
.page-help-guide #next-step {
    scroll-margin-top: 100px;
}
/* ========================================
   HELP HUB
======================================== */

.page-help-hub #getting-started,
.page-help-hub #site-guides,
.page-help-hub #account-help,
.page-help-hub #support {
    scroll-margin-top: 100px;
}

.help-hub-layout {
    max-width: 960px;
}

.help-hub-kicker,
.help-card-kicker {
    display: inline-block;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.help-hub-kicker {
    margin-bottom: var(--s-3);
    color: var(--white-72);
}

.help-card-kicker {
    color: var(--accent);
}

.help-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5);
}

.help-card {
    display: grid;
    gap: var(--s-3);
    padding: var(--s-6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        transform 0.08s ease;
}

.help-card:hover {
    border-color: var(--accent-22);
    background: var(--accent-04);
    text-decoration: none;
}

.help-card:active {
    transform: scale(0.995);
}

.help-card-title {
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text);
}

.help-card-copy {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--muted);
}

.help-card .section-link {
    margin-top: var(--s-2);
}

.help-list {
    display: grid;
    gap: var(--s-3);
}

.help-list-row {
    display: flex;
    justify-content: space-between;
    gap: var(--s-5);
    align-items: baseline;
    padding: var(--s-4) 0;
    border-top: 1px solid var(--black-05);
}

.help-list-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.help-list-link {
    min-width: 0;
    font-size: 0.96rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.help-list-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.help-list-meta {
    flex: 0 0 auto;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--muted);
    white-space: nowrap;
}

.help-support-panel {
    display: grid;
    gap: var(--s-5);
    padding: var(--s-6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-subtle);
}

.help-support-title {
    margin-bottom: var(--s-2);
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text);
}

.help-support-copy {
    max-width: 62ch;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
}

.help-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-4);
    align-items: center;
}

.help-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 var(--s-6);
    border-radius: 10px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.08s ease;
}

.help-primary-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    text-decoration: none;
}

.help-primary-btn:active {
    transform: scale(0.98);
}

.help-secondary-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.help-secondary-link:hover {
    text-decoration: underline;
}

/* ========================================
   READING ORDER GUIDE PAGE
======================================== */

.page-reading-order-guide .page {
    padding-top: var(--s-9);
}

.guide-shell {
    max-width: 1000px;
    margin: 0 auto;
}

.guide-intro {
    margin-bottom: var(--s-12);
}

.guide-intro h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 var(--s-5);
}

.guide-lead {
    font-size: 1.08rem;
    line-height: 1.72;
    color: var(--text);
    margin: 0;
}

.guide-intro-text {
    margin-top: var(--s-6);
}

.start-box {
    margin-bottom: var(--s-12);
    background: linear-gradient(
        180deg,
        var(--paper) 0%,
        var(--card) 100%
    );
}

.guide-section {
    margin-bottom: var(--s-12);
}

.guide-section h2,
.start-box h2 {
    font-size: 1.18rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0 0 var(--s-6);
}

.guide-grid {
    display: grid;
    gap: var(--s-6);
}

.guide-grid--choices {
    grid-template-columns: 1fr;
}

.guide-choice-card,
.guide-glance-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.guide-choice-card {
    padding: var(--s-7);
}

.guide-choice-card > strong {
    display: block;
    margin-bottom: var(--s-3);
}

.guide-choice-answer {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.45;
}

.guide-glance-card {
    padding: var(--s-7);
}

.guide-glance-card h3 {
    margin: 0 0 var(--s-3);
    font-size: 0.98rem;
    line-height: 1.3;
}

.guide-glance-card p {
    margin: 0 0 var(--s-2);
}

.guide-glance-card p:last-child {
    margin-bottom: 0;
}

.guide-stack {
    display: grid;
    gap: var(--s-5);
}

.reading-level-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    font-size: 0.92rem;
    line-height: 1;
}

.guide-glance-card h3,
.level-card h2 {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.level-card {
    height: 100%;
    margin-bottom: 0;
}

.level-card h2 {
    font-size: 1.14rem;
    line-height: 1.25;
    margin-bottom: var(--s-3);
}

.level-card-meta {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: var(--s-4);
}

.level-card-examples {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: var(--s-4);
}

.level-card-examples a {
    color: var(--accent);
    text-decoration: none;
}

.level-card-examples a:hover {
    text-decoration: underline;
}

.level-1 {
    border-top: 3px solid #b65454;
}

.level-2 {
    border-top: 3px solid var(--accent);
}

.level-3 {
    border-top: 3px solid #b6a446;
}

.level-4 {
    border-top: 3px solid #5d8665;
}

.guide-choice-card--level1 {
    border-left: 3px solid #b65454;
}

.guide-choice-card--level2 {
    border-left: 3px solid var(--accent);
}

.guide-choice-card--level3 {
    border-left: 3px solid #b6a446;
}

.guide-choice-card--level4 {
    border-left: 3px solid #5d8665;
}

.key-diff {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--s-8);
    margin-bottom: var(--s-7);
    box-shadow: var(--shadow);
}

.key-diff:last-child {
    margin-bottom: 0;
}

.key-diff h3 {
    margin: 0 0 var(--s-4);
    font-size: 1rem;
    line-height: 1.3;
}

.key-diff p:last-child {
    margin-bottom: 0;
}

.key-diff ul {
    margin: 0 0 var(--s-5);
    padding-left: 1.2rem;
}

.key-diff li + li {
    margin-top: var(--s-2);
}

.summary-list {
    margin: 0;
    padding-left: 1.2rem;
}

.summary-list li + li {
    margin-top: var(--s-3);
}

.faq-shell {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
}

.faq-item--guide {
    margin: 0;
    padding: var(--s-8);
    border-top: 1px solid var(--border);
}

.faq-item--guide:first-child {
    border-top: none;
}

.faq-item--guide h3 {
    margin: 0 0 var(--s-3);
    font-size: 1rem;
    line-height: 1.35;
}

.faq-item--guide p {
    margin: 0;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 767px) {
    .help-card-grid {
        grid-template-columns: 1fr;
    }

    .help-list-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .help-list-meta {
        white-space: normal;
    }
}

@media (min-width: 768px) {
    .guide-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .guide-grid--choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================
   GENERAL HELP GUIDE PAGE
======================================== */

.page-help-guide #overview,
.page-help-guide #quick-start,
.page-help-guide #guide,
.page-help-guide #popular-starting-points {
    scroll-margin-top: 100px;
}

.guide-kicker {
    display: inline-block;
    margin-bottom: var(--s-3);
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white-72);
}

.guide-subtitle {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--white-88);
    max-width: 60ch;
}

.guide-layout {
    max-width: 860px;
}

.guide-intro {
    max-width: 68ch;
}

.guide-intro p + p {
    margin-top: var(--s-4);
}

.guide-quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-4);
}

.guide-quick-link {
    display: block;
    padding: var(--s-5);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    color: var(--text);
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease;
}

.guide-quick-link:hover {
    border-color: var(--accent-22);
    background: var(--accent-04);
    color: var(--accent);
    text-decoration: none;
}

.guide-quick-link-title {
    display: block;
    font-size: 0.94rem;
    line-height: 1.3;
    font-weight: 700;
    color: inherit;
}

.guide-quick-link-copy {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
}

.guide-sections {
    display: grid;
    gap: var(--s-8);
}

.guide-section {
    display: grid;
    gap: var(--s-4);
}

.guide-section h2 {
    margin: 0;
    padding: 0;
    font-size: 1.08rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.guide-section p {
    margin: 0;
    max-width: 72ch;
}

.guide-inline-links {
    display: grid;
    gap: var(--s-3);
    padding-top: var(--s-2);
}

.guide-inline-links a {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
}

.guide-inline-links a:hover {
    text-decoration: underline;
}

.guide-inline-links a::after {
    content: "→";
    font-size: 0.85rem;
}

.guide-callout {
    padding: var(--s-6);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-subtle);
}

.guide-callout-title {
    margin: 0 0 var(--s-2);
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text);
}

.guide-callout p {
    margin: 0;
}

.guide-series-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
}

.guide-series-card {
    display: block;
    padding: var(--s-5);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    color: var(--text);
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease;
}

.guide-series-card:hover {
    border-color: var(--accent-22);
    background: var(--accent-04);
    text-decoration: none;
}

.guide-series-title {
    display: block;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text);
}

.guide-series-card:hover .guide-series-title {
    color: var(--accent);
}

.guide-series-copy {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
}

@media (max-width: 767px) {
    .guide-quick-links,
    .guide-series-grid {
        grid-template-columns: 1fr;
    }
}