/**
 * Instagram DM Automation Guide - 2026
 * CreatorFlow Brand-Compliant Styles - COMPLETELY REWRITTEN
 *
 * BRAND RULES (CRITICAL):
 * - NO box-shadows anywhere
 * - ONLY #000000 for dark backgrounds
 * - Lime green #d1fe17 for accents only
 * - Mobile-first CSS
 * - Stack Sans Headline for all headings
 * - NO gradients, NO transforms on hover
 *
 * SPACING SYSTEM (HOMEPAGE-ALIGNED):
 * - Sections: 3rem → 4rem → 5rem (mobile → tablet → desktop)
 * - Padding: 2rem → 3rem → 4rem
 * - Cards: 1.5rem → 2rem → 2.5rem gaps
 * - ALL text left-aligned except hero (centered)
 */

/* ==========================================================================
   BASE STYLES & TYPOGRAPHY (Mobile-First)
   ========================================================================== */

.guide-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    background: #ffffff;
}

/* Ensure ALL text inherits Inter by default */
.guide-page *,
.guide-content *,
.guide-hero *,
.guide-layout * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Stack Sans Headline for ALL headings - OVERRIDE WITH HIGHER SPECIFICITY */
.guide-content h1,
.guide-content h2,
.guide-content h3,
.guide-content h4,
.guide-content h5,
.guide-content h6,
.guide-hero__title,
.section__title,
.subsection__title,
.benefit-card__title,
.use-case-title,
.trend-title,
.tool-card__title,
.step-card__title,
.faq-question,
.toc__title,
.final-cta__title,
.result-title,
.reality-check__title,
.summary-title,
.resources-column__title,
.checklist-label strong,
.stat-value,
.stat-card__value,
.trend-number,
.step-card__number {
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-align: left;
}

.guide-content a {
    color: #000000;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.guide-content a:hover {
    color: #d1fe17;
}

.guide-content strong {
    font-weight: 600;
    color: #000000;
}

.guide-content em {
    font-style: italic;
}

.guide-content code {
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: #000000;
}

/* ==========================================================================
   HERO SECTION - MOBILE FIRST
   ========================================================================== */

.guide-hero {
    background: #ffffff;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.guide-hero__container {
    max-width: 900px;
    margin: 0 auto;
}

.guide-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9fafb;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.badge__separator {
    color: #9ca3af;
}

.badge__date {
    color: #6b7280;
}

.guide-hero__title {
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.guide-hero__description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.guide-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    background: #f9fafb;
    padding: 1.25rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s ease;
}

.stat-item:hover {
    border-color: #d1fe17;
}

.stat-value {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #000000;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.guide-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.cta-button--primary {
    background: #000000;
    color: #ffffff;
}

.cta-button--primary:hover {
    background: #d1fe17;
    color: #000000;
}

.cta-button--secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #e5e7eb;
}

.cta-button--secondary:hover {
    border-color: #d1fe17;
    color: #000000;
}

/* ==========================================================================
   GUIDE LAYOUT (TOC + MAIN CONTENT)
   ========================================================================== */

.guide-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: block;
}

.guide-toc {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid #e5e7eb;
}

.guide-toc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.toc__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-align: left;
}

.toc__toggle {
    display: block;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toc__toggle:hover {
    border-color: #d1fe17;
    background: #ffffff;
}

.toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.toc__item {
    counter-increment: toc-counter;
    margin-bottom: 0.5rem;
}

.toc__link {
    display: block;
    padding: 0.625rem 0.875rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid transparent;
    text-align: left;
}

.toc__link::before {
    content: counter(toc-counter) ". ";
    color: #9ca3af;
    margin-right: 0.5rem;
    font-weight: 600;
}

.toc__link:hover,
.toc__link.active {
    background: #d1fe17;
    color: #000000;
    border-color: #d1fe17;
}

.guide-main {
    width: 100%;
}

/* ==========================================================================
   GUIDE SECTIONS (Common Styles)
   ========================================================================== */

.guide-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e5e7eb;
}

.guide-section:last-child {
    border-bottom: none;
}

.section__title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: left;
}

.section__intro {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: left;
}

.section__content {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    text-align: left;
}

.section__content p {
    margin-bottom: 1.5rem;
    text-align: left;
}

.section__closing {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #4b5563;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    line-height: 1.7;
    text-align: left;
}

.freshness-signal {
    margin-top: 2rem;
    text-align: right;
}

.freshness-signal small {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ==========================================================================
   TL;DR BOX
   ========================================================================== */

.tldr-box {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border: 1px solid #fef3c7;
}

.tldr-box__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tldr-box__header strong {
    font-size: 1rem;
    font-weight: 700;
    color: #78350f;
}

.tldr-icon {
    font-size: 1.25rem;
}

.tldr-box__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #78350f;
    margin: 0;
    text-align: left;
}

/* ==========================================================================
   SUBSECTIONS
   ========================================================================== */

.subsection__title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #000000;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

/* ==========================================================================
   INFO LISTS
   ========================================================================== */

.info-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.info-list__item {
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    line-height: 1.7;
    transition: border-color 0.2s ease;
    text-align: left;
}

.info-list__item:hover {
    border-color: #d1fe17;
}

/* ==========================================================================
   STATS GRID
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: border-color 0.2s ease;
}

.stat-card:hover {
    border-color: #d1fe17;
}

.stat-card__value {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    display: block;
    margin-bottom: 0.75rem;
}

.stat-card__label {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ==========================================================================
   BENEFITS GRID
   ========================================================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
    text-align: left;
}

.benefit-card:hover {
    border-color: #d1fe17;
}

.benefit-card__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-card__title {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    text-align: left;
}

.benefit-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
    text-align: left;
}

/* ==========================================================================
   SECTION CALLOUT
   ========================================================================== */

.section__callout {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
    display: flex;
    gap: 0.75rem;
}

.callout__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.callout__content {
    flex: 1;
    line-height: 1.7;
    color: #78350f;
    text-align: left;
}

.callout__content strong {
    color: #78350f;
    font-weight: 700;
}

/* ==========================================================================
   HOW IT WORKS STEPS
   ========================================================================== */

.how-it-works-steps {
    margin: 2rem 0;
}

.step-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s ease;
}

.step-card:hover {
    border-color: #d1fe17;
}

.step-card__number {
    width: 40px;
    height: 40px;
    background: #d1fe17;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-card__content {
    flex: 1;
    text-align: left;
}

.step-card__title {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
    text-align: left;
}

.step-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
    text-align: left;
}

.step-card__details {
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    border: 1px solid #e5e7eb;
}

.step-card__details strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #000000;
}

.step-card__details ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.step-card__details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    text-align: left;
}

.step-card__note {
    background: #fffbeb;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    border-left: 4px solid #f59e0b;
    border: 1px solid #fef3c7;
    text-align: left;
}

.trigger-types,
.feature-list {
    margin: 1.5rem 0;
}

.trigger-type {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.trigger-type__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trigger-type__info {
    flex: 1;
    line-height: 1.7;
    text-align: left;
}

.trigger-type__info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.7;
    text-align: left;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d1fe17;
    font-weight: 700;
}

.step-card__example {
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    border: 1px solid #e5e7eb;
}

.step-card__example strong {
    display: block;
    margin-bottom: 1rem;
    color: #000000;
}

.message-preview {
    background: #ffffff;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.message-preview p {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: left;
}

.message-preview p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   VISUAL FLOW
   ========================================================================== */

.section__visual {
    margin: 2rem 0;
}

.visual-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.flow-step {
    text-align: center;
}

.flow-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.flow-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
    max-width: 100px;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #d1fe17;
    font-weight: 700;
}

/* ==========================================================================
   USE CASES GRID
   ========================================================================== */

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
    text-align: left;
}

.use-case-card:hover {
    border-color: #d1fe17;
}

.use-case-badge {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.use-case-title {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    text-align: left;
}

.use-case-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
    text-align: left;
}

.use-case-link {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}

.use-case-link:hover {
    color: #d1fe17;
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */

.comparison-intro {
    margin-bottom: 2rem;
    text-align: left;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.comparison-table thead {
    background: #f9fafb;
}

.comparison-table th {
    padding: 1rem 0.875rem;
    text-align: left;
    font-weight: 700;
    color: #000000;
    border-bottom: 2px solid #e5e7eb;
    font-size: 1rem;
}

.comparison-table td {
    padding: 1rem 0.875rem;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.6;
    text-align: left;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #f9fafb;
}

.comparison-reality-check {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
    border-left: 4px solid #d1fe17;
    border: 2px solid #e5e7eb;
}

.reality-check__title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.25rem;
    text-align: left;
}

.reality-check__content {
    text-align: left;
}

.reality-check__content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.reality-check__content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    text-align: left;
}

.section__cta-inline {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
}

.cta-text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #374151;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   TRENDS LIST
   ========================================================================== */

.trends-list {
    margin: 2rem 0;
}

.trend-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s ease;
}

.trend-item:hover {
    border-color: #d1fe17;
}

.trend-item:last-child {
    margin-bottom: 0;
}

.trend-number {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #d1fe17;
    line-height: 1;
    flex-shrink: 0;
    min-width: 50px;
}

.trend-content {
    flex: 1;
    text-align: left;
}

.trend-title {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
    text-align: left;
}

.trend-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 0.75rem;
    text-align: left;
}

.trend-insight {
    background: #fffbeb;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border-left: 4px solid #f59e0b;
    margin-top: 0.75rem;
    border: 1px solid #fef3c7;
    text-align: left;
}

.trends-summary {
    margin-top: 2.5rem;
}

.summary-box {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid #d1fe17;
    border: 2px solid #e5e7eb;
}

.summary-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    text-align: left;
}

.summary-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
    text-align: left;
}

.summary-text:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   TOOLS GRID
   ========================================================================== */

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tool-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
    text-align: left;
}

.tool-card:hover {
    border-color: #d1fe17;
}

.tool-card__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.tool-card__title {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    text-align: left;
}

.tool-card__description {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.25rem;
    text-align: left;
}

.tool-card__meta {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.tool-meta__tag {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.tool-card__cta {
    display: inline-block;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tool-card__cta:hover {
    color: #d1fe17;
}

.tools-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
}

.tools-cta__text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #374151;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-list {
    margin: 2rem 0;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #d1fe17;
}

.faq-item[open] {
    border-color: #d1fe17;
}

.faq-question {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #000000;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
    text-align: left;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
}

.faq-question::before {
    content: "+";
    font-weight: 700;
    margin-right: 1rem;
    color: #d1fe17;
    font-size: 1.5rem;
    line-height: 1;
    float: left;
}

.faq-item[open] .faq-question::before {
    content: "−";
}

.faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
    text-align: left;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-closing {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
}

.faq-closing__text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #374151;
    margin-bottom: 1rem;
}

.faq-closing__link {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-closing__link:hover {
    color: #d1fe17;
}

/* ==========================================================================
   RESOURCES GRID
   ========================================================================== */

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.resources-column__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.25rem;
    text-align: left;
}

.resources-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resources-list li {
    margin-bottom: 0.75rem;
}

.resources-link {
    color: #374151;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    text-align: left;
}

.resources-link:hover {
    background: #ffffff;
    border-color: #d1fe17;
    color: #000000;
}

/* ==========================================================================
   SELF-ASSESSMENT SECTION
   ========================================================================== */

.assessment-checklist {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.checklist-item:hover {
    border-color: #d1fe17;
    background: #f9fafb;
}

.checklist-checkbox {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: #d1fe17;
}

.checklist-label {
    flex: 1;
    cursor: pointer;
    line-height: 1.6;
    text-align: left;
}

.checklist-label strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.checklist-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.assessment-result {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.result-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
    text-align: left;
}

.result-card--high {
    border-color: #d1fe17;
    background: #f9fafb;
}

.result-card--medium {
    border-color: #fbbf24;
    background: #fffbeb;
}

.result-card--low {
    border-color: #e5e7eb;
    background: #ffffff;
}

.result-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: left;
}

.result-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
    text-align: left;
}

.result-cta {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.result-cta:hover {
    background: #d1fe17;
    color: #000000;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.guide-final-cta {
    background: #000000;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 20px;
    margin: 3rem auto 2rem;
    max-width: 1400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-final-cta__container {
    max-width: 900px;
    margin: 0 auto;
}

.final-cta__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-align: center;
}

.final-cta__description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: center;
}

.final-cta__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    flex-shrink: 0;
    color: #d1fe17;
}

.feature-text {
    flex: 1;
    color: #ffffff;
    line-height: 1.6;
    text-align: left;
}

.final-cta__button {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.final-cta__button:hover {
    background: #ffffff;
    color: #000000;
}

.final-cta__microcopy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* ==========================================================================
   RESPONSIVE: TABLET (640px and up)
   ========================================================================== */

@media (min-width: 640px) {
    .guide-hero {
        padding: 3rem 1.5rem;
    }

    .guide-hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .guide-hero__cta {
        flex-direction: row;
        justify-content: center;
    }

    .guide-layout {
        padding: 3rem 1.5rem;
    }

    .guide-toc {
        padding: 1.75rem;
    }

    .guide-section {
        margin-bottom: 4rem;
        padding-bottom: 4rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-card {
        padding: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .benefit-card {
        padding: 2rem;
    }

    .step-card {
        gap: 1.25rem;
        padding: 2rem;
    }

    .step-card__number {
        width: 48px;
        height: 48px;
        font-size: 1.375rem;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .use-case-card {
        padding: 2rem;
    }

    .trend-item {
        gap: 2rem;
        padding: 2rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .tool-card {
        padding: 2rem;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .checklist-item {
        padding: 1.25rem;
    }

    .checklist-checkbox {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    .result-card {
        padding: 2rem;
    }

    .result-title {
        font-size: 1.375rem;
    }

    .final-cta__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .guide-final-cta {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .toc__toggle {
        display: none;
    }
}

/* ==========================================================================
   RESPONSIVE: DESKTOP (1024px and up)
   ========================================================================== */

@media (min-width: 1024px) {
    .guide-hero {
        padding: 4rem 2rem;
    }

    .guide-hero__stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .guide-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 3rem;
        padding: 4rem 2rem;
    }

    /* Fix for sections being siblings of .guide-main instead of children */
    /* Make TOC span all rows to act as persistent sidebar */
    .guide-toc {
        grid-column: 1;
        grid-row: 1 / -1;
        position: sticky;
        top: 100px;
        height: fit-content;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        margin-bottom: 0;
        padding: 2rem;
        align-self: start;
    }

    /* Place .guide-main and all sections in the second column */
    .guide-main,
    .guide-section,
    section.guide-final-cta {
        grid-column: 2;
    }

    .guide-section {
        margin-bottom: 5rem;
        padding-bottom: 5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2.5rem;
    }

    .stat-card {
        padding: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .benefit-card {
        padding: 2.5rem;
    }

    .step-card {
        gap: 1.5rem;
        padding: 2.5rem;
    }

    .step-card__number {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .use-case-card {
        padding: 2.5rem;
    }

    .trend-item {
        padding: 2.5rem;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .tool-card {
        padding: 2.5rem;
    }

    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .checklist-item {
        padding: 1.5rem;
    }

    .checklist-checkbox {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .result-card {
        padding: 2.5rem;
    }

    .result-title {
        font-size: 1.5rem;
    }

    .guide-final-cta {
        padding: 4rem 2rem;
        border-radius: 32px;
    }
}

/* ==========================================================================
   LARGE DESKTOP (1280px and up)
   ========================================================================== */

@media (min-width: 1280px) {
    .guide-layout {
        grid-template-columns: 300px 1fr;
        gap: 4rem;
    }
}

/* ==========================================================================
   NO BOX-SHADOW (Brand Compliance)
   ========================================================================== */

.guide-content *,
.guide-hero *,
.guide-layout * {
    box-shadow: none !important;
}
