/* Shared styles for static SEO landing pages.
   Loaded by /public/<slug>/index.html files. Independent of the SPA bundle —
   keeps these pages fast and crawler-friendly. */

:root { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: #0a0a0a;
  color: #e5e5e5;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: #f59e0b; text-decoration: none; }
a:hover { text-decoration: underline; }

header.bf, footer.bf {
  border-bottom: 1px solid #1f1f1f;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer.bf {
  border-bottom: 0;
  border-top: 1px solid #1f1f1f;
  padding: 32px 24px;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  color: #71717a;
  font-size: 14px;
}
header.bf .brand {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
header.bf .brand::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  /* Open-door logo mark — same as the SPA's favicon, so brand recognition
     carries across SPA and SEO landing pages. */
  background-image: url('/logo-mark-cyan.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
header.bf nav a { margin-left: 20px; color: #a1a1aa; font-size: 14px; }

main.bf { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }

h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
}
h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 40px 0 14px;
  color: #fff;
  letter-spacing: -0.015em;
}
h3 { font-size: 18px; margin: 28px 0 8px; color: #fafafa; }
p, li { font-size: 16px; color: #d4d4d8; }
ul, ol { padding-left: 22px; }

.lede { font-size: 18px; color: #fafafa; }

.answer {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.10), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 3px solid #f59e0b;
  padding: 18px 22px;
  border-radius: 12px;
  margin: 24px 0;
}
.answer strong { color: #fff; }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
th, td { border: 1px solid #27272a; padding: 10px 12px; text-align: left; }
th { background: #0f0f10; color: #fff; }
td.y { color: #34d399; font-weight: 600; }
td.n { color: #f87171; font-weight: 600; }

.cta {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 22px;
  background: #f59e0b;
  color: #0a0a0a;
  font-weight: 700;
  border-radius: 10px;
}
.cta:hover { background: #fbbf24; text-decoration: none; }
.cta.secondary { background: transparent; color: #f59e0b; border: 1px solid #f59e0b; }

.related {
  margin-top: 48px;
  padding: 22px;
  background: #0f0f10;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
}
.related h3 { margin-top: 0; }

.meta { color: #71717a; font-size: 13px; margin-bottom: 24px; }
code {
  background: #18181b;
  border: 1px solid #27272a;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}
pre {
  background: #18181b;
  border: 1px solid #27272a;
  padding: 14px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.5;
}
blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  border-left: 3px solid #71717a;
  color: #a1a1aa;
  font-style: italic;
}
