.quote-poster-page {
    background: #fffaf3;
}

.poster-hero {
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 28rem),
        linear-gradient(180deg, #fff7ed 0%, #fffaf3 58%, #ffffff 100%);
}

.poster-hero-header {
    max-width: 860px;
    margin: 0 auto 34px;
}

.poster-eyebrow,
.poster-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.09);
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    padding: 7px 12px;
}

.poster-hero h1 {
    color: #1c1917;
    font-size: clamp(2.4rem, 6vw, 4.75rem);
    line-height: 1.02;
    letter-spacing: 0;
    margin: 18px 0;
}

.poster-hero-header p,
.poster-section-heading p {
    color: #57534e;
    font-size: 1.08rem;
    margin: 0 auto;
    max-width: 760px;
}

.poster-tool-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 24px;
    align-items: stretch;
    min-width: 0;
}

.poster-control-panel,
.poster-preview-panel,
.poster-stat-card,
.poster-step-card,
.poster-feature-card,
.poster-use-card,
.poster-faq-item,
.poster-cta {
    background: #ffffff;
    border: 1px solid rgba(120, 113, 108, 0.18);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(28, 25, 23, 0.08);
}

.poster-control-panel,
.poster-preview-panel {
    min-width: 0;
    padding: 24px;
}

.poster-panel-heading h2 {
    color: #1c1917;
    font-size: 1.5rem;
    margin: 14px 0 8px;
}

.poster-panel-heading p,
.poster-note,
.poster-field small,
.poster-stat-card p,
.poster-step-card p,
.poster-feature-card p,
.poster-use-card p,
.poster-faq-item p,
.poster-cta p {
    color: #57534e;
}

.poster-form-stack {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.poster-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.poster-field label {
    color: #292524;
    font-weight: 700;
    font-size: 0.92rem;
}

.poster-field textarea,
.poster-field input,
.poster-field select {
    width: 100%;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    background: #fff;
    color: #1c1917;
    font: inherit;
    padding: 12px 14px;
    min-width: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.poster-field textarea {
    resize: vertical;
    min-height: 128px;
}

.poster-field textarea:focus,
.poster-field input:focus,
.poster-field select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.poster-form-row,
.poster-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.poster-primary-btn,
.poster-secondary-btn,
.poster-primary-link,
.poster-icon-btn {
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    min-height: 46px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.poster-primary-btn,
.poster-primary-link {
    background: #f97316;
    color: #fff;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.poster-secondary-btn,
.poster-icon-btn {
    background: #f5f5f4;
    color: #292524;
    border: 1px solid #e7e5e4;
}

.poster-primary-btn:hover,
.poster-secondary-btn:hover,
.poster-primary-link:hover,
.poster-icon-btn:hover {
    transform: translateY(-1px);
}

.poster-primary-link:hover {
    color: #fff;
    background: #ea580c;
}

.poster-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #44403c;
    font-weight: 700;
    margin-bottom: 16px;
}

.poster-download-actions {
    display: flex;
    gap: 8px;
}

.poster-icon-btn {
    width: 42px;
    min-height: 42px;
}

.quote-poster-frame {
    background: #292524;
    border-radius: 18px;
    display: grid;
    min-height: 520px;
    overflow: auto;
    padding: 22px;
    place-items: center;
}

.quote-poster-canvas {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: min(100%, 520px);
    overflow: hidden;
    padding: clamp(28px, 5vw, 56px);
    position: relative;
    width: 100%;
}

.quote-poster-canvas::before {
    content: "";
    inset: 0;
    opacity: 0.2;
    position: absolute;
}

.quote-poster-canvas > * {
    position: relative;
    z-index: 1;
}

.quote-poster-mark {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0;
    opacity: 0.82;
    text-transform: uppercase;
}

.quote-poster-canvas blockquote {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1.9rem, 4.7vw, 3.65rem);
    font-weight: 700;
    line-height: 1.08;
    margin: 30px 0;
    overflow-wrap: anywhere;
}

.quote-poster-author {
    font-size: clamp(1rem, 2.2vw, 1.32rem);
    font-weight: 700;
    margin: 0;
    opacity: 0.9;
}

.theme-sunrise {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 48%, #7c2d12 100%);
}

.theme-sunrise::before {
    background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.88), transparent 8rem);
}

.theme-forest {
    background: linear-gradient(135deg, #064e3b 0%, #0f766e 56%, #312e81 100%);
}

.theme-forest::before {
    background: radial-gradient(circle at 82% 15%, rgba(134, 239, 172, 0.65), transparent 10rem);
}

.theme-ink {
    background: linear-gradient(135deg, #111827 0%, #292524 58%, #000000 100%);
}

.theme-ink::before {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 16px);
}

.theme-linen {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 54%, #f5f5f4 100%);
    color: #292524;
}

.theme-linen::before {
    background: radial-gradient(circle at 75% 25%, rgba(249, 115, 22, 0.35), transparent 8rem);
}

.size-story {
    aspect-ratio: 9 / 16;
    max-height: 680px;
    max-width: min(100%, 390px);
}

.size-wide {
    aspect-ratio: 16 / 9;
    max-width: min(100%, 680px);
}

.size-wide blockquote {
    font-size: clamp(1.55rem, 4vw, 3.1rem);
}

.poster-section {
    padding: 62px 0;
    background: #ffffff;
}

.poster-section-muted {
    background: #fffaf3;
}

.poster-section-heading {
    margin: 0 auto 26px;
    max-width: 820px;
    text-align: center;
}

.poster-section-heading h2 {
    color: #1c1917;
    font-size: clamp(1.8rem, 3.2vw, 2.55rem);
    line-height: 1.1;
    margin: 14px 0 10px;
}

.poster-stat-grid,
.poster-step-grid,
.poster-feature-grid,
.poster-use-grid {
    display: grid;
    gap: 18px;
}

.poster-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.poster-step-grid,
.poster-feature-grid,
.poster-use-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.poster-stat-card,
.poster-step-card,
.poster-feature-card,
.poster-use-card,
.poster-faq-item {
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.06);
    padding: 22px;
}

.poster-stat-card span,
.poster-step-card span {
    color: #f97316;
    display: inline-block;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
}

.poster-stat-card h3,
.poster-step-card h3,
.poster-feature-card h3,
.poster-use-card h3,
.poster-faq-item h3 {
    color: #1c1917;
    font-size: 1.08rem;
    margin: 0 0 8px;
}

.poster-feature-card i {
    color: #0f766e;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.poster-table-wrap {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.06);
    overflow-x: auto;
}

.poster-table {
    border-collapse: collapse;
    margin: 0;
    min-width: 760px;
    width: 100%;
}

.poster-table th,
.poster-table td {
    border-bottom: 1px solid #e7e5e4;
    color: #292524;
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
}

.poster-table th {
    background: #f5f5f4;
    font-weight: 800;
}

.poster-table tr:last-child td {
    border-bottom: 0;
}

.poster-faq-list {
    display: grid;
    gap: 14px;
    margin: 0 auto;
    max-width: 900px;
}

.poster-cta {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 28px;
}

.poster-cta h2 {
    color: #1c1917;
    margin: 12px 0 8px;
}

.poster-primary-link {
    flex: 0 0 auto;
    padding: 14px 20px;
}

@media (max-width: 991px) {
    .poster-tool-grid {
        grid-template-columns: 1fr;
    }

    .poster-step-grid,
    .poster-feature-grid,
    .poster-use-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .poster-hero {
        padding-top: 48px;
    }

    .poster-hero-header {
        max-width: min(calc(100vw - 32px), 340px);
    }

    .poster-control-panel,
    .poster-preview-panel {
        max-width: min(calc(100vw - 32px), 340px);
        margin-left: auto;
        margin-right: auto;
        padding: 18px;
        width: 100%;
    }

    .poster-hero h1 {
        font-size: 2.08rem;
        max-width: 12ch;
        margin-left: auto;
        margin-right: auto;
    }

    .poster-hero-header p {
        font-size: 1rem;
        max-width: 32ch;
    }

    .poster-form-row,
    .poster-action-row,
    .poster-stat-grid,
    .poster-step-grid,
    .poster-feature-grid,
    .poster-use-grid {
        grid-template-columns: 1fr;
    }

    .quote-poster-frame {
        min-height: 420px;
        padding: 14px;
    }

    .quote-poster-canvas {
        border-radius: 14px;
        padding: 28px;
    }

    .poster-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .poster-primary-link {
        width: 100%;
    }
}
