/* Shared styles for SEO landing pages (one page per diagram type).
   Reuses the site's editorial design tokens defined in styles.css. */

.lp-main { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.lp-hero { padding: 72px 0 40px; max-width: 780px; }
.lp-kicker {
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal, #b5451b);
  margin: 0 0 14px;
}
.lp-h1 {
  font-family: var(--f-serif, Georgia, serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  color: var(--ink, #1a1a1a);
  margin: 0 0 18px;
}
.lp-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-3, #55524d);
  margin: 0 0 28px;
  max-width: 640px;
}
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-btn {
  display: inline-block;
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lp-btn--primary { background: var(--ink, #1a1a1a); color: var(--paper, #fbfaf7); border: 1px solid var(--ink, #1a1a1a); }
.lp-btn--primary:hover { background: var(--signal, #b5451b); border-color: var(--signal, #b5451b); }
.lp-btn--ghost { background: transparent; color: var(--ink, #1a1a1a); border: 1px solid var(--rule-strong, #cfc9bf); }
.lp-btn--ghost:hover { background: var(--ink, #1a1a1a); color: var(--paper, #fbfaf7); }
.lp-note { font-family: var(--f-mono, ui-monospace, monospace); font-size: 0.72rem; color: var(--ink-4, #8a857c); letter-spacing: 0.04em; }

.lp-section { padding: 44px 0; border-top: 1px solid var(--rule, #e7e2d8); }
.lp-section-title {
  font-family: var(--f-serif, Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--ink, #1a1a1a);
  margin: 0 0 24px;
}

/* Worked example: prose in → diagram out */
.lp-example { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
@media (max-width: 760px) { .lp-example { grid-template-columns: 1fr; } .lp-example-arrow { transform: rotate(90deg); } }
.lp-panel { border: 1px solid var(--rule-strong, #cfc9bf); background: var(--surface, #fff); padding: 20px; }
.lp-panel-label {
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-4, #8a857c); margin: 0 0 12px;
}
.lp-prompt { font-size: 0.95rem; line-height: 1.6; color: var(--ink-2, #333); margin: 0; }
.lp-example-arrow { font-family: var(--f-mono, monospace); font-size: 1.4rem; color: var(--signal, #b5451b); text-align: center; }
.lp-diagram { display: flex; align-items: center; justify-content: center; min-height: 150px; color: var(--ink, #1a1a1a); }
.lp-diagram svg { width: 100%; max-width: 320px; height: auto; }

.lp-steps, .lp-features, .lp-related-grid {
  display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 760px) { .lp-steps, .lp-features, .lp-related-grid { grid-template-columns: 1fr; } }
.lp-card { border: 1px solid var(--rule-strong, #cfc9bf); padding: 22px; background: var(--surface, #fff); }
.lp-card .num { font-family: var(--f-mono, monospace); font-size: 0.72rem; color: var(--signal, #b5451b); letter-spacing: 0.14em; margin-bottom: 10px; }
.lp-card h3 { font-family: var(--f-serif, Georgia, serif); font-weight: 500; font-size: 1.12rem; margin: 0 0 8px; color: var(--ink, #1a1a1a); }
.lp-card p { font-size: 0.9rem; line-height: 1.6; color: var(--ink-3, #55524d); margin: 0; }

.lp-related-grid a.lp-card { text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.lp-related-grid a.lp-card:hover { border-color: var(--ink, #1a1a1a); box-shadow: 4px 4px 0 var(--signal-wash, #f2e6df); }
.lp-related-grid a.lp-card span.arrow { color: var(--signal, #b5451b); font-family: var(--f-mono, monospace); }

.lp-faq { max-width: 720px; }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--rule, #e7e2d8); }
.faq-item:first-of-type { border-top: 1px solid var(--rule, #e7e2d8); }
.faq-q { font-family: var(--f-serif, Georgia, serif); font-weight: 500; font-size: 1.05rem; color: var(--ink, #1a1a1a); margin: 0 0 8px; }
.faq-a { font-size: 0.95rem; line-height: 1.65; color: var(--ink-3, #55524d); margin: 0; }

/* Competitor comparison table (alternative pages) */
.lp-compare { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 0.95rem; }
.lp-compare th, .lp-compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule, #e7e2d8); vertical-align: top; }
.lp-compare thead th { font-family: var(--f-mono, ui-monospace, monospace); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4, #8a857c); }
.lp-compare tbody td:first-child { font-family: var(--f-mono, ui-monospace, monospace); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-4, #8a857c); text-transform: uppercase; width: 130px; }
.lp-compare tbody td:nth-child(2) { color: var(--ink, #1a1a1a); font-weight: 500; }
.lp-compare tbody td:nth-child(3) { color: var(--ink-3, #55524d); }
.lp-fineprint { font-size: 0.75rem; line-height: 1.55; color: var(--ink-4, #8a857c); margin: 0; }

.lp-cta-band { text-align: center; padding: 56px 0 72px; border-top: 1px solid var(--rule, #e7e2d8); }
.lp-cta-band h2 { font-family: var(--f-serif, Georgia, serif); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 20px; color: var(--ink, #1a1a1a); }
