/* ============================================================
 * Hostelova — content page styles
 * ------------------------------------------------------------
 * Used by the static, crawlable content pages (how-it-works,
 * hostels-in-lucknow, list-your-hostel, faq).
 *
 * WHY THESE PAGES ARE STATIC HTML
 * The pages under /pages/*.html render their body from JS
 * (page-controller.js writes into an empty #page-root). Google
 * can usually render that, but the AI answer engines the
 * robots.txt explicitly invites — GPTBot, PerplexityBot,
 * ClaudeBot — fetch raw HTML and do not execute JavaScript. To
 * those crawlers every one of those pages is blank, which is a
 * large part of why the site is invited to be cited and never
 * is. Content that is meant to rank or be quoted ships as HTML
 * in the response body.
 *
 * Inherits the design tokens from styles.css; only adds the
 * long-form article furniture.
 * ========================================================== */

.seo-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }

.seo-hero { padding: 56px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.seo-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); background: var(--primary-50);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.seo-hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; color: var(--ink); }
.seo-lede { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.6; color: var(--muted); margin: 0; max-width: 68ch; }

.seo-body { padding-bottom: 64px; }
.seo-body h2 { font-size: clamp(21px, 3vw, 27px); line-height: 1.25; letter-spacing: -.01em; margin: 40px 0 12px; color: var(--ink); }
.seo-body h3 { font-size: 17px; margin: 26px 0 8px; color: var(--ink); }
.seo-body p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px; max-width: 72ch; }
.seo-body ul, .seo-body ol { margin: 0 0 16px; padding-left: 22px; }
.seo-body li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; max-width: 70ch; }
.seo-body a { color: var(--primary); }

.seo-steps { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: step; }
.seo-steps li {
  position: relative; padding: 16px 18px 16px 60px; margin-bottom: 12px; max-width: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.seo-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 16px; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 800;
}
.seo-steps strong { display: block; margin-bottom: 3px; color: var(--ink); }

.seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 0 22px; }
.seo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.seo-card h3 { margin: 0 0 6px; font-size: 16px; }
.seo-card p { font-size: 14.5px; margin: 0; color: var(--muted); }

.seo-faq { border-top: 1px solid var(--line); margin-top: 12px; }
.seo-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.seo-faq summary { font-weight: 700; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: '+'; float: right; color: var(--primary); font-size: 20px; line-height: 1; }
.seo-faq details[open] summary::after { content: '\2212'; }
.seo-faq details p { margin: 10px 0 0; color: var(--muted); }

.seo-cta {
  margin: 44px 0 0; padding: 28px; border-radius: 20px; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: #fff;
}
.seo-cta h2 { color: #fff; margin: 0 0 8px; }
.seo-cta p { color: rgba(255,255,255,.88); margin: 0 auto 18px; max-width: 52ch; }
.seo-btn {
  display: inline-block; background: #fff; color: var(--primary); font-weight: 800;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; font-size: 15px;
}

.seo-nav { border-bottom: 1px solid var(--line); background: var(--surface); }
.seo-nav-inner { max-width: 900px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.seo-brand { font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.seo-nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.seo-nav a:hover { color: var(--primary); }

.seo-crumbs { font-size: 13px; color: var(--muted-2); padding: 18px 0 0; }
.seo-crumbs a { color: var(--muted); text-decoration: none; }

.seo-foot { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 13.5px; color: var(--muted); }
.seo-foot a { color: var(--muted); text-decoration: none; margin-right: 16px; }
.seo-foot a:hover { color: var(--primary); }

@media (max-width: 640px) {
  .seo-hero { padding: 34px 0 24px; margin-bottom: 26px; }
}
