/* Shared page styles for ZuperPost landing pages */

/* Page-specific content sections */
.page-section {
    padding: 80px 0;
}

.page-section-alt {
    background: var(--bg-alt);
}

.page-content {
    max-width: 740px;
    margin: 0 auto;
    text-align: left;
}

.page-content h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.page-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
}

.page-content p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.page-content ul,
.page-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Content cards */
.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 32px;
    margin-bottom: 24px;
}

.content-card h3 {
    margin-top: 0;
}

.content-card-alt {
    background: var(--bg-alt);
    border: none;
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.feature-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.feature-item h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 12px;
}

.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* Template cards */
.template-card {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 24px;
}

.template-card h3 {
    font-size: 21px;
    margin: 0 0 12px;
}

.template-card .template-text {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-2);
    margin: 16px 0;
    white-space: pre-wrap;
}

/* Channel grid */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 48px 0;
}

.channel-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
}

.channel-card svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.channel-card h3 {
    font-size: 19px;
    margin: 0 0 8px;
}

.channel-card p {
    font-size: 15px;
    color: var(--muted);
    margin: 0;
}

.channel-card .features {
    margin-top: 16px;
    font-size: 14px;
    color: var(--ink-2);
    text-align: left;
}

.channel-card .features li {
    margin-bottom: 6px;
}

/* Step list */
.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 48px 0;
}

.step-list li {
    counter-increment: step;
    position: relative;
    padding-left: 72px;
    margin-bottom: 40px;
}

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 21px;
}

.step-list h3 {
    margin-top: 0;
}

/* Tool card */
.tool-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 32px;
    margin-bottom: 24px;
}

.tool-card h3 {
    margin: 0 0 16px;
}

.tool-card .tool-interface {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}

.tool-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 15px;
    margin-bottom: 12px;
}

.tool-output {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--ink-2);
}

.character-count {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.char-stat {
    flex: 1;
    min-width: 120px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.char-stat .platform {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 4px;
}

.char-stat .count {
    font-size: 19px;
    font-weight: 700;
}

.char-stat.over-limit .count {
    color: var(--err);
}

/* Responsive */
@media (max-width: 768px) {
    .page-section {
        padding: 60px 0;
    }
    
    .content-card {
        padding: 24px;
    }
    
    .feature-grid,
    .channel-grid {
        grid-template-columns: 1fr;
    }
    
    .step-list li {
        padding-left: 64px;
    }
    
    .step-list li::before {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }
}

/* Related guides (scheduler pages) */
.related-guides-list{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:12px}
.related-guides-list a{display:block;padding:16px 20px;border:1px solid var(--line,#e5e7eb);border-radius:12px;color:inherit;text-decoration:none;font-weight:600}
.related-guides-list a:hover,.related-guides-list a:focus-visible{border-color:#F58345;color:#F58345}
@media(min-width:768px){.related-guides-list{grid-template-columns:repeat(3,1fr)}}

/* ---- Scheduler landing refresh: status badge, icon cards, FAQ accordion ---- */
.lc-badge-row{margin:12px 0 0}
.lc-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;font-size:14px;font-weight:600;line-height:1.2}
.lc-badge .lc-dot{width:8px;height:8px;border-radius:50%;background:currentColor}
.lc-badge-live{background:#DCFCE7;color:#166534}
.lc-badge-soon{background:#FEF3C7;color:#92400E}
.lc-grid{display:grid;gap:20px;margin-top:48px;text-align:left}
.lc-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.lc-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.lc-card{position:relative;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:24px;min-width:0}
.lc-card h3{font-size:18px;margin:14px 0 6px;font-weight:600}
.lc-card p{color:var(--muted);font-size:16px;line-height:1.55;margin:0;overflow-wrap:anywhere}
.lc-icon{display:inline-flex;width:44px;height:44px;border-radius:12px;align-items:center;justify-content:center;background:#EEF2FF;color:#4F46E5}
.lc-planned{position:absolute;top:20px;right:20px;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:#F3F4F6;color:#4B5563}
.lc-faq{margin-top:40px;text-align:left;display:flex;flex-direction:column;gap:12px}
.lc-faq-item{border:1px solid rgba(0,0,0,.1);border-radius:14px;background:#fff}
.lc-faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:14px 20px}
.lc-faq-item summary::-webkit-details-marker{display:none}
.lc-faq-item summary h3{font-size:17px;font-weight:600;margin:0;line-height:1.4}
.lc-faq-item summary:focus-visible{outline:2px solid #4F46E5;outline-offset:2px;border-radius:14px}
.lc-chev{flex:0 0 auto;width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s;margin-top:-4px}
.lc-faq-item[open] .lc-chev{transform:rotate(-135deg);margin-top:4px}
.lc-faq-item p{color:var(--muted);padding:0 20px 18px;margin:0;line-height:1.6;overflow-wrap:anywhere}
@media (max-width:899px){.lc-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .lc-grid-3,.lc-grid-2{grid-template-columns:1fr}
  .lc-card{padding:20px}
  .btn-row .btn,.btn-row .chev{min-height:44px;display:inline-flex;align-items:center}
}
