/* Product and guide pages (/link-blog, /guides/*, /examples, /pricing). Loaded after app.css; tokens and base styles come from there (see DESIGN.md). */

.seo-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 16px 40px;
}

.seo-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding-bottom: 16px;
}

.seo-header .wordmark {
    margin: 0;
}

.seo-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
}

/* The sibling pages: a quiet mono row under the header, ink rule below. The current page gets the pop underline. */
.seo-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    padding-bottom: 4px;
    border-bottom: var(--line);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.seo-nav a,
.seo-related a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.seo-nav a {
    text-decoration: none;
}

.seo-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--pop);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.seo-breadcrumb {
    margin: 20px 0 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.seo-page h1 {
    margin: 12px 0 16px;
    font-size: clamp(2rem, 6vw, 3rem);
}

.seo-page h2 {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 4vw, 1.75rem);
}

.seo-page header p {
    margin: 0;
    font-size: 1.125rem;
    max-width: 60ch;
}

.seo-page section {
    margin: 40px 0;
}

.seo-page section p,
.seo-page section li {
    max-width: 65ch;
    line-height: 1.65;
}

.seo-page section li {
    margin-bottom: 12px;
}

.seo-page a {
    overflow-wrap: anywhere;
}

/* Screenshot: an object on the shelf, like a card. */
.seo-page figure {
    margin: 24px 0;
}

.seo-page figure img {
    display: block;
    width: 100%;
    height: auto;
    border: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.seo-page figcaption {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--muted);
}

.seo-related {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

/* The one call to action: a feature surface, so it gets the coloured shadow. */
.seo-cta {
    padding: 24px;
    background: var(--surface);
    border: var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
}

.seo-cta p {
    margin: 0 0 16px;
}

.seo-cta .btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

.seo-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 16px;
    border-top: var(--line);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
}

@media (max-width: 480px) {
    .seo-cta {
        padding: 16px;
    }
}
