/* SEO pages in the ad-landing look. Loaded after each page's inline <style> and lp.css; body gets .seo-x. */

/* ---------- Hero ---------- */
.seo-x .hero { padding: 4rem 0 4.5rem; }
.seo-x .hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.04em; }
.seo-x .hero .hero-lead { font-size: 1.15rem; }
.seo-visual { position: relative; padding: 1.5rem 1rem 2.5rem; }
.seo-shot {
    margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem;
    box-shadow: var(--shadow-lg); transform: rotate(-1.5deg);
}
.seo-shot img { width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: top; display: block; border-radius: 10px; }
.seo-shot figcaption { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.6rem; }
.seo-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 0.6rem; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 0.6rem 0.9rem; box-shadow: var(--shadow-md); font-weight: 800; font-size: 0.9rem; color: var(--ink);
}
.seo-chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--g-soft); color: var(--g-dark); }
.seo-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.seo-chip-1 { top: 0; right: 0; }
.seo-chip-2 { bottom: 0.5rem; left: 0; }
.seo-visual .lp-clip { transform: rotate(-1deg); }

/* ---------- Article body ---------- */
.seo-x .seo-content { max-width: 800px; margin: 0 auto; padding: 4.5rem var(--page-gutter) 3rem; }
.seo-x .seo-content > p:first-child { font-size: 1.15rem; }
.seo-x .seo-content h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.25rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.12;
    color: var(--ink); margin: 3.5rem 0 1.1rem; position: relative; padding-top: 1.1rem;
}
.seo-x .seo-content h2::before { content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--g), var(--g2)); }
.seo-x .seo-content h2:first-child, .seo-x .seo-content h2:first-of-type { margin-top: 0; }
.seo-x .seo-content h3 { color: var(--ink); letter-spacing: -0.015em; }
.seo-x .seo-content p, .seo-x .seo-content li { color: #374151; font-size: 1.07rem; line-height: 1.7; }
.seo-x .seo-content strong { color: var(--ink); font-weight: 700; }
.seo-x .seo-content a { color: var(--g-dark); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(5, 150, 105, 0.35); text-underline-offset: 3px; }
.seo-x .seo-content a:hover { text-decoration-color: var(--g); }

.seo-x .seo-content ul { list-style: none; padding-left: 0; margin: 1.3rem 0 1.6rem; }
.seo-x .seo-content ul > li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
.seo-x .seo-content ul > li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 0.28em;
    width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--g-soft); color: var(--g); font-size: 0.68rem;
    display: grid; place-items: center;
}
.seo-x .seo-content ol { padding-left: 1.4rem; }
.seo-x .seo-content ol > li { margin-bottom: 0.7rem; padding-left: 0.3rem; }
.seo-x .seo-content ol > li::marker { color: var(--g); font-weight: 900; }

/* Cards */
.seo-x .use-case-box, .seo-x .step-box, .seo-x .pain-point-box, .seo-x .checklist-box, .seo-x .highlight-box,
.seo-x .example-box, .seo-x .cause-box, .seo-x .fix-box, .seo-x .category-box, .seo-x .report-field-box, .seo-x .formula-box {
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--g); border-radius: 16px;
    padding: 1.4rem 1.5rem; margin: 1.2rem 0; box-shadow: 0 6px 20px -12px rgba(11, 18, 32, 0.2);
}
.seo-x .use-case-box h3, .seo-x .step-box h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 0.5rem; }
.seo-x .use-case-box p, .seo-x .step-box p { margin: 0; }
.seo-x .pain-point-box, .seo-x .cause-box { border-left-color: #ef4444; }
.seo-x .warning-box, .seo-x .disclaimer-box, .seo-x .top-disclaimer, .seo-x .not-this-box {
    background: var(--orange-soft); border: 1px solid #fde3b0; border-left: 4px solid var(--orange); border-radius: 16px;
    padding: 1.2rem 1.4rem; margin: 1.6rem 0;
}
.seo-x .disclaimer-box p, .seo-x .top-disclaimer p { margin: 0; font-size: 0.98rem; }

.seo-x .feature-grid, .seo-x .field-grid, .seo-x .who-grid, .seo-x .category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.seo-x .feature-card, .seo-x .field-card, .seo-x .who-card, .seo-x .category-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; transition: transform 0.2s ease, box-shadow 0.2s ease; margin: 0;
}
.seo-x .feature-card:hover, .seo-x .field-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.seo-x .feature-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 0.45rem; display: flex; align-items: center; gap: 0.6rem; }
.seo-x .feature-card h3 i { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--g-soft); color: var(--g-dark); font-size: 0.95rem; flex-shrink: 0; }
.seo-x .feature-card p { margin: 0; font-size: 0.98rem; }

.seo-x .receipt-showcase, .seo-x .image-showcase, .seo-x .output-showcase {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-md); margin: 2rem 0;
}

/* Tables */
.seo-x .seo-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 1.5rem 0 2rem; font-size: 0.97rem; }
.seo-x .seo-content th { background: #0b1220; color: #fff; font-weight: 800; text-align: left; padding: 0.75rem 0.9rem; }
.seo-x .seo-content td { padding: 0.7rem 0.9rem; border-top: 1px solid var(--line); color: #374151; vertical-align: top; }
.seo-x .seo-content tr:nth-child(even) td { background: #f9fafb; }

/* In-article CTA */
.seo-x .cta-box {
    background: radial-gradient(600px 260px at 90% 0%, rgba(110, 231, 183, 0.35), transparent 60%), linear-gradient(140deg, #064e3b, #059669);
    border-radius: 22px; padding: 2.3rem 2rem; margin: 3rem 0; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.seo-x .cta-box h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; letter-spacing: -0.03em; color: #fff; margin: 0 0 0.6rem; }
.seo-x .cta-box p { color: rgba(255, 255, 255, 0.9); margin: 0 auto 1.4rem; max-width: 34rem; }
.seo-x .cta-box .btn, .seo-x .cta-box a.btn {
    display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--g-dark); border-radius: 999px;
    padding: 0.95rem 1.8rem; font-weight: 800; font-size: 1.05rem; text-decoration: none; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.35);
}
.seo-x .cta-box .btn:hover { transform: translateY(-2px); }

/* FAQ */
.seo-x .faq-section { margin: 3.5rem 0 1rem; }
.seo-x .faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.4rem; margin: 0 0 0.8rem; }
.seo-x .faq-item h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 0.45rem; display: flex; gap: 0.6rem; }
.seo-x .faq-item h3::before { content: 'Q'; flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 8px; background: var(--g-soft); color: var(--g-dark); font-size: 0.8rem; display: grid; place-items: center; }
.seo-x .faq-item p { margin: 0; font-size: 1rem; }

/* Related */
.seo-x .related-resources { margin: 3.5rem 0 1rem; }
.seo-x .related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.seo-x .related-card {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.seo-x .related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(5, 150, 105, 0.4); }
.seo-x .related-card h3, .seo-x .related-card h4, .seo-x .related-card strong { color: var(--ink); font-size: 1rem; margin: 0 0 0.25rem; }
.seo-x .related-card p { font-size: 0.92rem; margin: 0; color: var(--muted); font-weight: 500; }

@media (max-width: 980px) {
    .seo-x .hero .wrap { grid-template-columns: 1fr; }
    .seo-visual { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
    .seo-x .hero { padding: 2.5rem 0 3rem; }
    .seo-x .seo-content { padding: 3rem var(--page-gutter) 2rem; }
    .seo-x .feature-grid, .seo-x .field-grid, .seo-x .who-grid, .seo-x .category-grid, .seo-x .related-grid { grid-template-columns: 1fr; }
    .seo-x .cta-box { padding: 1.8rem 1.2rem; }
    .seo-chip { font-size: 0.8rem; padding: 0.45rem 0.7rem; }
    .seo-chip .ic { width: 26px; height: 26px; }
    .seo-x .seo-content table { display: block; overflow-x: auto; }
}
