/* Legacy SEO shell for pages created after the pre-rebuild reference commit. */
:root {
  --legacy-bg: #08090c;
  --legacy-surface: #101218;
  --legacy-surface-raised: #171a22;
  --legacy-line: #252a36;
  --legacy-text: #f8fafc;
  --legacy-muted: #a7adba;
  --legacy-blue: #3b82f6;
  --legacy-blue-strong: #2563eb;
  --legacy-content: 1180px;
}

body {
  min-width: 320px;
  background: var(--legacy-bg);
  color: var(--legacy-text);
  font-family: Inter, sans-serif;
}

.wrap {
  width: min(calc(100% - 48px), var(--legacy-content));
  margin-inline: auto;
}

.skip-link {
  z-index: 100;
  color: #fff;
  background: var(--legacy-blue);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  width: 100%;
  margin: 0;
  padding: 10px max(24px, calc((100vw - var(--legacy-content)) / 2));
  border: 0;
  border-bottom: 1px solid var(--legacy-line);
  border-radius: 0;
  background: rgba(8, 9, 12, .97);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.brand { justify-self: start; }
.brand img { width: 158px; height: 44px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; gap: 28px; color: var(--legacy-muted); font-size: .9375rem; font-weight: 500; }
.main-nav a:hover { color: var(--legacy-text); }
.header-cta { justify-self: end; }

.button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 700;
}
.button.primary { background: var(--legacy-blue); color: #fff; }
.button.primary:hover { background: var(--legacy-blue-strong); }
.button.secondary { border-color: var(--legacy-line); background: transparent; color: var(--legacy-text); }
.button.secondary:hover { border-color: var(--legacy-blue); background: #111b2e; }
.button.light { background: #fff; color: #0b0d12; }

.breadcrumbs { margin-top: 30px; color: var(--legacy-muted); }
.breadcrumbs a:hover { color: var(--legacy-blue); }
.hero { padding: 70px 0 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 52px; align-items: center; }
.eyebrow { color: #82b4ff; }
.eyebrow::before { background: currentColor; }
h1, h2, h3 { color: var(--legacy-text); }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.hero-copy > p, .section-head > p { color: var(--legacy-muted); }
.proof-line { display: flex; flex-wrap: wrap; gap: 11px 22px; margin-top: 24px; color: var(--legacy-muted); font-size: 13px; font-weight: 700; }
.proof-line span { display: inline-flex; align-items: center; gap: 8px; }
.proof-line i { background: var(--legacy-blue); }

.comparison, .seo-upload { position: relative; overflow: hidden; width: min(100%, 360px); aspect-ratio: 9 / 16; justify-self: end; border: 1px solid var(--legacy-line); border-radius: 12px; background: #0d1016; box-shadow: 0 18px 44px rgba(0, 0, 0, .32); }
.comparison figure { position: absolute; inset: 0; margin: 0; }
.comparison img { width: 100%; height: 100%; object-fit: contain; }
.comparison .clean { clip-path: inset(0 50% 0 0); }
.comparison-divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.comparison-label { position: absolute; z-index: 4; top: 16px; padding: 7px 11px; border-radius: 8px; color: #fff; background: rgba(8, 9, 12, .8); font-size: 11px; font-weight: 800; }
.comparison-label.before { right: 16px; }
.comparison-label.after { left: 16px; }
.comparison input { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

.intent-strip { border-block: 1px solid var(--legacy-line); background: #0f1a2e; color: var(--legacy-text); }
.intent-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.intent-item { padding: 28px 30px; border-right: 1px solid var(--legacy-line); }
.intent-item:last-child { border-right: 0; }
.intent-item b { display: block; margin-bottom: 4px; font-size: 14px; }
.section.paper { border-color: var(--legacy-line); background: var(--legacy-surface); }
.section { padding: 78px 0; }
.section.navy, .final-cta { background: #101a2d; }
.section-head { max-width: 780px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 0; font-size: clamp(2rem, 4.6vw, 3.75rem); line-height: 1.08; letter-spacing: -.045em; }
.section-head > p { margin: 18px 0 0; font-size: 18px; }
.steps, .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seo-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.seo-detail-card { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 28px; }
.seo-detail-card h3 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.2; }
.seo-detail-card p { margin: 0; line-height: 1.7; }
.seo-detail-card p + p { margin-top: 12px; }
.seo-detail-card ul { margin: 16px 0 0; padding-left: 18px; }
.intent-item, .step, .case-card, .seo-detail-card, .quality-point, .related-card, .faq-list details { border-color: var(--legacy-line); background: var(--legacy-surface-raised); color: var(--legacy-text); }
.step, .case-card { padding: 28px; border: 1px solid var(--legacy-line); border-radius: 12px; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 46px; border-radius: 8px; background: var(--legacy-blue); color: #fff; font-size: 13px; font-weight: 900; }
.step h3, .case-card h3 { margin: 0 0 9px; font-size: 1.2rem; }
.intent-item span, .step p, .case-card p, .seo-detail-card p, .quality-point span, .related-card small, .related-card span, .faq-list p { color: var(--legacy-muted); }
.seo-detail-card > span { color: #8cb8ff; }
.related-card:hover { border-color: var(--legacy-blue); background: #14203a; }
.quality-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.quality-points { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--legacy-line); border-radius: 12px; }
.quality-point { padding: 22px 24px; }
.quality-point b { display: block; margin-bottom: 5px; }
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-list details { padding: 20px 22px; border: 1px solid var(--legacy-line); border-radius: 12px; }
.faq-list summary { color: var(--legacy-text); }
.faq-list details[open] { background: #131925; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; border: 1px solid var(--legacy-line); border-radius: 12px; }

.footer { border-top: 1px solid var(--legacy-line); background: #08090c; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--legacy-muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; font-weight: 700; }
.footer img { width: 140px; height: auto; }
.footer a:hover { color: var(--legacy-text); }

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 32px), var(--legacy-content)); }
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 10px 16px; }
  .brand img { width: 126px; height: 36px; }
  .main-nav { display: none; }
  .header-cta { font-size: .82rem; min-height: 38px; padding-inline: 12px; }
  .hero { padding: 48px 0 56px; }
  .hero-grid, .quality-grid { grid-template-columns: 1fr; gap: 34px; }
  .comparison { justify-self: center; }
  .intent-grid, .steps, .case-grid, .related-grid, .seo-detail-grid { grid-template-columns: 1fr; }
  .intent-item { border-right: 0; border-bottom: 1px solid var(--legacy-line); }
  .intent-item:last-child { border-bottom: 0; }
  .seo-detail-card { grid-template-columns: 32px 1fr; gap: 12px; padding: 22px; }
  .section { padding: 56px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
