/* SEO landing pages (/free-ai-api, /ai-api-india, /openrouter-alternative) — shared layout on top of fm.css */
.lp-hero { position: relative; overflow: hidden; padding: 76px 0 36px; }
.lp-hero .container { position: relative; max-width: 1040px; }
.lp-hero .h1 { margin-top: 14px; max-width: 860px; }
.lp-hero .lead { margin-top: 16px; max-width: 700px; }
.lp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.lp-crumbs a:hover { color: var(--text); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding: 0; font-size: 13.5px; color: var(--text-3); }
.lp-meta li { display: inline-flex; align-items: center; gap: 7px; }
.lp-meta svg { width: 14px; height: 14px; color: var(--mint); }
.lp-body { max-width: 1040px; padding-bottom: 96px; }
.lp-sec { margin-top: 64px; }
.lp-sec > .h2 { max-width: 760px; }
.lp-sec > p.lead { margin-top: 12px; max-width: 760px; }
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.lp-card { padding: 24px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.lp-card h3 { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.lp-card p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.lp-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: var(--grad); }
.lp-ic svg { width: 20px; height: 20px; }
.lp-steps { counter-reset: s; display: grid; gap: 14px; margin-top: 24px; padding: 0; list-style: none; }
.lp-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); line-height: 1.6; }
.lp-steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); }
.lp-steps b { color: var(--text); }
.lp-code { margin-top: 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--code-bg); }
.lp-code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 13.5px/1.7 var(--font-mono); color: var(--code-text); }
.lp-code .c { color: #7d8597; } .lp-code .s { color: #8bd5a6; } .lp-code .k { color: #b79bff; }
.lp-table { width: 100%; margin-top: 24px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; font-size: 14.5px; }
.lp-table th, .lp-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.lp-table thead th { background: var(--bg-2); font-weight: 650; }
.lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table td:first-child { color: var(--text-2); }
.lp-table .yes { color: var(--mint); font-weight: 650; }
.lp-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-faq { margin-top: 22px; display: grid; gap: 10px; }
.lp-faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 0 18px; }
.lp-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 20px; line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details > div { padding: 0 0 18px; color: var(--text-2); line-height: 1.65; }
.lp-band { margin-top: 72px; padding: 36px; border-radius: 24px; border: 1px solid var(--border); background: var(--grad-soft); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.lp-band h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -.025em; }
.lp-band p { margin-top: 6px; color: var(--text-2); }
.lp-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lp-note { margin-top: 28px; font-size: 13px; color: var(--text-3); line-height: 1.6; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .lp-hero { padding: 48px 0 20px; }
  .lp-sec { margin-top: 48px; }
  .lp-cta .btn { flex: 1 1 100%; }
  .lp-band { padding: 24px; }
  .lp-band .btn { width: 100%; }
  .lp-steps li { padding: 16px 16px 16px 58px; }
}
