/* Evidence-led landing content. Editor styling is scoped to the opacity page. */
.seo-home .hero h1 {
    font-size: clamp(3rem, 5.4vw, 5rem);
}

.example-section {
    padding: 88px 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.example-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.example-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}

.example-stage {
    overflow: hidden;
    background-color: #fff;
    background-image: conic-gradient(#e7e5ed 25%, transparent 0 50%, #e7e5ed 0 75%, transparent 0);
    background-size: 20px 20px;
}

.example-stage img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.example-stage--dark {
    background: #242635;
}

.example-card figcaption {
    padding: 16px;
    line-height: 1.55;
}

.example-card figcaption strong,
.example-card figcaption span {
    display: block;
}

.example-card figcaption strong {
    font-size: 0.88rem;
}

.example-card figcaption span,
.example-note {
    margin-top: 7px;
    color: var(--ink-soft);
    font-size: 0.75rem;
    line-height: 1.7;
}

.example-note {
    margin-top: 18px;
}

.alpha-proof {
    margin-top: 44px;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    align-items: center;
    gap: 38px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
}

.alpha-proof .example-stage {
    border-radius: 14px;
}

.alpha-proof h3 {
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    letter-spacing: -0.03em;
}

.alpha-proof p:not(.eyebrow) {
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.8;
}

.mode-guide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
    margin-top: 36px;
}

.mode-guide a {
    display: block;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.mode-guide strong,
.mode-guide span {
    display: block;
}

.mode-guide strong {
    margin-bottom: 8px;
    color: var(--violet-deep);
    font-size: 1rem;
}

.mode-guide span {
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.8;
}

.mode-guide a:hover strong {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq-list a,
.seo-copy__body a {
    color: var(--violet-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.opacity-intro {
    padding: 26px 0 12px;
}

.opacity-intro .breadcrumb {
    margin-bottom: 16px;
}

.opacity-intro h1 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 620;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.opacity-intro p {
    max-width: 780px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.opacity-page .landing-tool {
    padding: 16px 0 44px;
}

.opacity-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 20px;
}

.opacity-page .editor-mount {
    min-height: 0;
}

.opacity-page:not(.is-editor-active) .editor-topbar {
    display: none;
}

.opacity-page .editor-empty {
    min-height: 320px;
    padding: 18px;
}

.opacity-page .drop-zone {
    min-height: 280px;
    padding: 24px;
}

.opacity-page .drop-zone__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    font-size: 1.6rem;
}

.opacity-empty-example {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
}

.opacity-empty-example .eyebrow {
    margin-bottom: 10px;
    font-size: 0.65rem;
}

.opacity-empty-example .example-stage {
    max-width: 150px;
    margin: 0 auto 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.opacity-empty-example label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.opacity-empty-example input {
    width: 100%;
    accent-color: var(--violet);
}

.opacity-empty-example > p:last-child,
.opacity-tool-note {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 0.72rem;
    line-height: 1.6;
}

.opacity-page.is-editor-active .opacity-workbench {
    display: block;
}

.opacity-page.is-editor-active .opacity-empty-example {
    display: none;
}

@media (max-width: 920px) {
    .example-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .alpha-proof {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        gap: 22px;
    }
}

@media (max-width: 760px) {
    .example-section {
        padding: 58px 0;
    }
    .example-grid {
        gap: 12px;
    }
    .example-card figcaption {
        padding: 12px;
    }
    .example-card figcaption strong {
        font-size: 0.8rem;
    }
    .example-card figcaption span {
        font-size: 0.7rem;
    }
    .alpha-proof {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    .alpha-proof .example-stage {
        max-width: 280px;
        width: 100%;
        margin-inline: auto;
    }
    .mode-guide {
        grid-template-columns: 1fr;
    }
    .opacity-intro {
        padding-top: 18px;
    }
    .opacity-intro .breadcrumb {
        margin-bottom: 12px;
    }
    .opacity-intro p {
        font-size: 0.85rem;
    }
    .opacity-workbench {
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 10px;
    }
    .opacity-page .editor-empty {
        min-height: 292px;
        padding: 10px;
    }
    .opacity-page .drop-zone {
        min-height: 270px;
        padding: 16px 10px;
        border-radius: 12px;
    }
    .opacity-page .drop-zone h3 {
        font-size: 1.22rem;
    }
    .opacity-page .drop-zone p {
        font-size: 0.74rem;
    }
    .opacity-page .drop-zone__meta {
        flex-wrap: wrap;
        gap: 4px;
    }
    .opacity-page .drop-zone__meta span {
        padding: 3px 6px;
    }
    .opacity-empty-example {
        padding: 12px 10px;
        border-radius: 16px;
    }
    .opacity-empty-example label {
        display: block;
        font-size: 0.74rem;
    }
    .opacity-empty-example label strong {
        float: right;
    }
    .opacity-empty-example > p:last-child {
        font-size: 0.67rem;
    }
}

@media (forced-colors: active) {
    .example-card,
    .alpha-proof,
    .opacity-empty-example {
        border-color: CanvasText;
    }
}
