/* DocStrike SEO Landing Pages — lightweight, zero-dependency stylesheet matching DocStrike brand */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --surface: #f8fafc;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --red-soft: #fef2f2;
  --green: #15803d;
  --green-soft: #f0fdf4;
  --amber-soft: #fefce8;
  --amber-line: #fde047;
  --radius: 12px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
.ds-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.ds-nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ds-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.ds-brand img { display: block; height: 26px; width: auto; }
.ds-nav-links { display: flex; align-items: center; gap: 20px; font-size: 0.9rem; }
.ds-nav-links a { color: var(--ink-2); font-weight: 500; }
.ds-nav-links a:hover { color: var(--ink); text-decoration: none; }
.ds-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 8px;
  background: var(--ink); color: #fff !important; font-weight: 600; font-size: 0.875rem;
}
.ds-nav-cta:hover { background: #1e293b; text-decoration: none; }

/* Breadcrumb */
.ds-crumb {
  max-width: var(--max); margin: 0 auto; padding: 18px 24px 0;
  font-size: 0.82rem; color: var(--muted);
}
.ds-crumb a { color: var(--muted); }
.ds-crumb span { margin: 0 6px; color: #cbd5e1; }

/* Hero */
.ds-hero {
  max-width: var(--max); margin: 0 auto; padding: 36px 24px 48px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 36px; align-items: center;
}
.ds-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--red); background: var(--red-soft); border: 1px solid #fecaca;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 16px;
}
.ds-hero h1 {
  margin: 0 0 16px; font-size: clamp(2rem, 4vw, 2.85rem); line-height: 1.12;
  letter-spacing: -0.025em; font-weight: 800; color: var(--ink);
}
.ds-hero h1 .strike {
  color: var(--red); text-decoration: line-through; text-decoration-thickness: 3px;
}
.ds-hero p.lead {
  margin: 0 0 24px; font-size: 1.08rem; color: var(--ink-2); max-width: 58ch;
}
.ds-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.ds-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 9px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: background 0.15s, border-color 0.15s;
}
.ds-btn:hover { text-decoration: none; }
.ds-btn-primary { background: var(--red); color: #fff; }
.ds-btn-primary:hover { background: var(--red-dark); color: #fff; }
.ds-btn-secondary { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.ds-btn-secondary:hover { background: var(--surface); border-color: #94a3b8; }
.ds-micro { font-size: 0.82rem; color: var(--muted); }

/* Redline preview window */
.ds-window {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15,23,42,0.07); overflow: hidden;
}
.ds-window-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line);
  font-size: 0.78rem; color: var(--muted); font-weight: 600;
}
.ds-dots { display: flex; gap: 6px; }
.ds-dots i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; display: block; }
.ds-window-body { padding: 20px 22px; font-size: 0.92rem; line-height: 1.75; color: var(--ink); }
.ds-window-body p { margin: 0 0 12px; }
.ds-window-body p:last-child { margin-bottom: 0; }
.del {
  background: var(--red-soft); color: var(--red-dark);
  text-decoration: line-through; padding: 1px 4px; border-radius: 3px;
}
.ins {
  background: var(--green-soft); color: var(--green);
  text-decoration: underline; text-underline-offset: 2px; padding: 1px 4px; border-radius: 3px;
}
.cmt {
  background: var(--amber-soft); border-bottom: 2px solid var(--amber-line);
  padding: 1px 4px; border-radius: 3px;
}
.sig-chip {
  display: inline-block; margin-top: 6px; padding: 5px 12px; border-radius: 7px;
  border: 1.5px dashed #2563eb; background: #eff6ff; color: #1d4ed8;
  font-size: 0.82rem; font-weight: 600;
}

/* Main content sections */
.ds-section {
  max-width: var(--max); margin: 0 auto; padding: 48px 24px;
  border-top: 1px solid var(--line);
}
.ds-section-label {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.ds-section h2 {
  margin: 0 0 14px; font-size: clamp(1.45rem, 2.5vw, 1.95rem); line-height: 1.2;
  letter-spacing: -0.02em; font-weight: 750;
}
.ds-section p.sub { margin: 0 0 28px; color: var(--ink-2); max-width: 66ch; }

/* Grids */
.ds-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ds-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ds-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.ds-card h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 700; }
.ds-card p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.ds-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px; margin-bottom: 12px;
  background: var(--red-soft); color: var(--red); font-weight: 700; font-size: 0.82rem;
}

/* Comparison table */
.ds-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.ds-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; }
.ds-table th, .ds-table td {
  text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.ds-table thead th { background: var(--surface); font-weight: 700; color: var(--ink); }
.ds-table tbody tr:last-child td { border-bottom: 0; }
.ds-table td.good { color: var(--green); font-weight: 600; }
.ds-table td.warn { color: var(--muted); }

/* Checklist / Guide prose */
.ds-prose { max-width: 74ch; }
.ds-prose h3 { margin: 24px 0 8px; font-size: 1.1rem; font-weight: 700; }
.ds-prose p { margin: 0 0 14px; color: var(--ink-2); }
.ds-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ds-checklist li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px;
}
.ds-checklist li strong { display: block; margin-bottom: 4px; color: var(--ink); }
.ds-checklist li span { font-size: 0.92rem; color: var(--ink-2); }

/* FAQ */
.ds-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ds-faq-item {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff;
}
.ds-faq-item h3 { margin: 0 0 8px; font-size: 0.98rem; font-weight: 700; }
.ds-faq-item p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }

/* CTA banner */
.ds-cta {
  max-width: var(--max); margin: 16px auto 48px; padding: 0 24px;
}
.ds-cta-box {
  background: var(--ink); color: #fff; border-radius: 16px; padding: 40px 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.ds-cta-box h2 { margin: 0 0 8px; font-size: 1.6rem; color: #fff; }
.ds-cta-box p { margin: 0; color: #cbd5e1; max-width: 54ch; font-size: 0.95rem; }
.ds-cta-box .ds-btn-secondary {
  background: transparent; color: #fff; border-color: #475569;
}
.ds-cta-box .ds-btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: #94a3b8; }

/* Related links */
.ds-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ds-related a {
  display: block; padding: 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
}
.ds-related a:hover { border-color: #cbd5e1; background: var(--surface); text-decoration: none; }
.ds-related strong { display: block; font-size: 0.92rem; margin-bottom: 4px; color: var(--ink); }
.ds-related span { display: block; font-size: 0.82rem; color: var(--muted); }

/* Footer */
.ds-footer {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 40px 24px; font-size: 0.86rem; color: var(--muted);
}
.ds-footer-inner { max-width: var(--max); margin: 0 auto; }
.ds-footer-cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px;
}
.ds-footer h4 {
  margin: 0 0 10px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink); font-weight: 700;
}
.ds-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ds-footer ul a { color: var(--ink-2); }
.ds-footer ul a:hover { color: var(--red); }
.ds-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .ds-hero { grid-template-columns: 1fr; padding-top: 24px; }
  .ds-grid-3, .ds-faq, .ds-related { grid-template-columns: 1fr; }
  .ds-grid-2 { grid-template-columns: 1fr; }
  .ds-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ds-nav-links a:not(.ds-nav-cta) { display: none; }
  .ds-footer-cols { grid-template-columns: 1fr; }
}
@media print { [data-ft-review] { display: none !important; } }
