.comm-page {
    --comm-bg: #f8f0e6;
    --comm-panel: #fffaf3;
    --comm-panel-2: #f0e2d0;
    --comm-ink: #3b2620;
    --comm-muted: #8a6f5c;
    --comm-line: #e3d2ba;
    --comm-wine: #7a2035;
    --comm-wine-hover: #5e1727;
    --comm-scripture: #9c7a3c;
    --comm-scripture-soft: #f3ead4;
    --comm-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
    --comm-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--comm-bg);
    color: var(--comm-ink);
    font-family: var(--comm-sans);
    padding-bottom: 40px;
}

.comm-page a {
    color: var(--comm-wine);
}

.comm-page a:hover {
    color: var(--comm-wine-hover);
}

.comm-page .comm-level {
    max-width: 800px;
    margin: 0 auto;
    padding: 18px 24px;
    border-bottom: 1px solid var(--comm-line);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.comm-page .comm-level-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--comm-muted);
}

.comm-page .comm-level-pills {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    background: var(--comm-panel);
    border: 1px solid var(--comm-line);
    border-radius: 8px;
    padding: 5px;
}

.comm-page .family-age-pill {
    font-family: var(--comm-sans);
    background: var(--comm-panel-2);
    border: 1px solid transparent;
    color: var(--comm-ink);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.comm-page .family-age-pill:hover:not(.active) {
    background: #e6d3b8;
}

.comm-page .family-age-pill.active {
    background: var(--comm-wine);
    color: #ffffff;
}

.comm-page .family-age-pill:focus-visible {
    outline: 2px solid var(--comm-wine);
    outline-offset: 2px;
}

.comm-page .comm-breadcrumb {
    max-width: 800px;
    margin: 0 auto;
    padding: 14px 24px 0 24px;
    font-family: var(--comm-sans);
    font-size: 0.8rem;
    font-weight: 600;
}

.comm-page .comm-breadcrumb a {
    color: var(--comm-muted);
}

.comm-page .comm-breadcrumb a:hover {
    color: var(--comm-wine-hover);
}

.comm-page .comm-breadcrumb .comm-breadcrumb-sep {
    margin: 0 8px;
    color: var(--comm-line);
}

.comm-page .comm-breadcrumb .comm-breadcrumb-current {
    color: var(--comm-muted);
}

.comm-page .comm-hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 28px 24px;
}

.comm-page .comm-kicker {
    display: inline-block;
    font-family: var(--comm-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--comm-wine);
    margin-bottom: 14px;
}

.comm-page .comm-hero h1 {
    font-family: var(--comm-serif);
    font-size: 2.4rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 14px 0;
    color: var(--comm-ink);
}

.comm-page .comm-hero-meta {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--comm-muted);
    text-transform: uppercase;
    margin: 0 0 18px 0;
}

.comm-page .comm-hero p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--comm-muted);
    margin: 0 0 12px 0;
    max-width: 68ch;
}

.comm-page .comm-hero p:last-child {
    margin-bottom: 0;
}

.comm-page .comm-tokens {
    max-width: 800px;
    margin: 0 auto;
    padding: 8px 24px 36px 24px;
}

.comm-page .comm-tokens ol {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.comm-page .comm-token-step {
    flex: 1;
    display: flex;
}

.comm-page .comm-token-step a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-decoration: none !important;
    border-bottom: none !important;
    padding: 4px;
    border-radius: 8px;
    transition: transform 0.15s ease;
}

.comm-page .comm-token-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--comm-panel);
    border: 2px solid var(--comm-line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.comm-page .comm-token-badge svg {
    width: 26px;
    height: 26px;
    color: var(--comm-muted);
    transition: color 0.15s ease;
}

.comm-page .comm-token-label {
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--comm-ink);
    text-align: center;
    max-width: 130px;
}

.comm-page .comm-token-step a:hover {
    transform: translateY(-3px);
}

.comm-page .comm-token-step a:hover .comm-token-badge {
    border-color: var(--comm-wine);
    box-shadow: 0 6px 14px rgba(122, 32, 53, 0.18);
}

.comm-page .comm-token-step.is-complete .comm-token-badge {
    background: var(--comm-wine);
    border-color: var(--comm-wine);
}

.comm-page .comm-token-step.is-complete .comm-token-badge svg {
    color: #ffffff;
}

.comm-page .comm-token-step.is-current .comm-token-badge {
    background: var(--comm-panel);
    border-color: var(--comm-wine);
    border-width: 3px;
    box-shadow: 0 0 0 4px var(--comm-scripture-soft);
}

.comm-page .comm-token-step.is-current .comm-token-badge svg {
    color: var(--comm-wine);
}

.comm-page .comm-token-step a:focus-visible {
    outline: 2px solid var(--comm-wine);
    outline-offset: 3px;
}

.comm-page .comm-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.comm-page .comm-block {
    margin-bottom: 48px;
}

.comm-page .comm-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--comm-wine);
    margin: 0 0 8px 0;
}

.comm-page .comm-block h2 {
    font-family: var(--comm-serif);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 18px 0;
    color: var(--comm-ink);
}

.comm-page .comm-block p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 18px 0;
    color: var(--comm-ink);
}

.comm-page .comm-block p:last-child {
    margin-bottom: 0;
}

.comm-page .comm-scripture {
    position: relative;
    max-width: 800px;
    margin: 24px auto;
    padding: 18px 24px 18px 58px;
    background: var(--comm-scripture-soft);
    border-left: 4px solid var(--comm-scripture);
    border-radius: 0 4px 4px 0;
    box-sizing: border-box;
}

.comm-page .comm-scripture::before {
    content: "\275D";
    position: absolute;
    left: 18px;
    top: 8px;
    font-family: Georgia, serif;
    font-size: 2.1rem;
    line-height: 1;
    color: var(--comm-scripture);
    opacity: 0.55;
}

.comm-page .comm-scripture p {
    font-family: var(--comm-serif);
    font-style: italic;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--comm-ink);
    margin: 0 0 8px 0;
}

.comm-page .comm-scripture cite {
    display: block;
    font-family: var(--comm-sans);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--comm-scripture);
}

.comm-page .comm-pause {
    max-width: 800px;
    margin: 8px auto 56px auto;
    padding: 28px;
    background: var(--comm-panel);
    border: 1px solid var(--comm-line);
    border-radius: 4px;
}

.comm-page .comm-pause .comm-eyebrow {
    color: var(--comm-wine-hover);
}

.comm-page .comm-pause p {
    font-family: var(--comm-serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    color: var(--comm-ink);
}

.comm-page .comm-next {
    max-width: 800px;
    margin: 0 auto 64px auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.comm-page .comm-next-back {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--comm-muted);
    text-decoration: none !important;
    border-bottom: none !important;
    padding: 4px 2px;
    transition: color 0.15s ease;
}

.comm-page .comm-next-back:hover {
    color: var(--comm-wine-hover);
    text-decoration: underline !important;
}

.comm-page .comm-next-forward {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.comm-page .comm-next-context {
    font-size: 0.85rem;
    color: var(--comm-muted);
}

.comm-page .comm-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--comm-wine);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 14px 26px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    border-bottom: none !important;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.comm-page .comm-next-btn:hover {
    background: var(--comm-wine-hover);
    border-bottom: none !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(59, 38, 32, 0.22);
}

.comm-page .comm-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 8px 24px 60px 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--comm-line);
    border: 1px solid var(--comm-line);
}

.comm-page .comm-card {
    background: var(--comm-panel);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-decoration: none !important;
    color: var(--comm-ink) !important;
    border-bottom: none !important;
    transition: background 0.15s ease;
}

.comm-page .comm-card:hover {
    background: var(--comm-panel-2);
}

.comm-page .comm-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--comm-panel-2);
    border: 1px solid var(--comm-line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comm-page .comm-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--comm-wine);
}

.comm-page .comm-card h2 {
    font-family: var(--comm-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--comm-ink);
}

.comm-page .comm-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--comm-muted);
    margin: 0;
}

@media (max-width: 640px) {
    .comm-page .comm-level {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 20px;
    }
    .comm-page .comm-level-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        gap: 4px;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .comm-page .comm-level-pills::-webkit-scrollbar {
        display: none;
    }
    .comm-page .family-age-pill {
        flex: 0 0 auto;
        padding: 6px 11px;
        font-size: 0.72rem;
        white-space: nowrap;
    }
    .comm-page .comm-hero {
        padding: 28px 20px 20px 20px;
    }
    .comm-page .comm-hero h1 {
        font-size: 1.85rem;
    }
    .comm-page .comm-tokens {
        padding: 8px 16px 28px 16px;
    }
    .comm-page .comm-token-badge {
        width: 48px;
        height: 48px;
    }
    .comm-page .comm-token-badge svg {
        width: 20px;
        height: 20px;
    }
    .comm-page .comm-token-label {
        font-size: 0.68rem;
        max-width: 90px;
    }
    .comm-page .comm-block h2 {
        font-size: 1.32rem;
    }
    .comm-page .comm-content {
        padding: 0 20px;
    }
    .comm-page .comm-scripture {
        margin: 20px auto;
        padding: 16px 18px 16px 46px;
    }
    .comm-page .comm-scripture::before {
        font-size: 1.6rem;
        left: 14px;
        top: 10px;
    }
    .comm-page .comm-card {
        flex-direction: column;
        gap: 10px;
        padding: 22px 20px;
    }
    .comm-page .comm-next {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .comm-page .family-age-pill,
    .comm-page .comm-token-step a,
    .comm-page .comm-token-badge,
    .comm-page .comm-card,
    .comm-page .comm-next-btn,
    .comm-page .comm-next-back {
        transition: none;
    }
}
