/* ZeroFee Tools family theme - Guest Post Finder */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #1d4ed8; --purple: #7c3aed; --ink: #1e293b; --muted: #64748b;
  --line: #e2e8f0; --bg: #f8fafc; --card: #ffffff; --ok: #16a34a;
  --warn: #d97706; --bad: #dc2626;
}
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: .85rem; }

#siteHeader { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; padding: 26px 0 0; }
.header-inner { display: flex; align-items: center; }
.hub-link { color: #fff; text-decoration: none; font-size: .85rem; opacity: .85; display: block; margin-bottom: 2px; }
.hub-link:hover { opacity: 1; text-decoration: underline; }
.brand-name { font-size: 1.7rem; line-height: 1.1; }
.brand-tag { opacity: .9; font-size: .9rem; }
.free-banner { text-align: center; font-size: .82rem; padding: 10px 16px 14px; opacity: .95; }

#main { padding: 26px 0 10px; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; color: var(--muted); }
.breadcrumb a { color: var(--blue); }
.intro h2 { font-size: 1.5rem; margin-bottom: 8px; }
.intro { margin-bottom: 22px; }
.intro p { margin-bottom: 10px; }
.accuracy-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 12px 16px; font-size: .92rem; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 18px; }
.card-title { font-size: 1.1rem; margin-bottom: 6px; }
.card-sub { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
label { display: block; font-size: .88rem; font-weight: 600; }
input[type="text"], textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font-size: .95rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 400; font-family: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.field-hint { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: 4px; }

.btn { border: none; border-radius: 10px; padding: 11px 22px; font-size: .95rem; font-weight: 700; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: #eef2ff; color: var(--blue); }
.btn-ghost:hover { background: #e0e7ff; }
.btn-sm { padding: 7px 14px; font-size: .82rem; border-radius: 8px; }
.btn-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 16px; }

/* Engine switcher */
.engine-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.engine-switch legend { font-size: .88rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.engine-pill input { position: absolute; opacity: 0; pointer-events: none; }
.engine-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--muted); transition: all .15s; }
.engine-pill:hover { border-color: #c7d2fe; }
.engine-pill:has(input:checked) { border-color: var(--blue); color: var(--blue); background: #eef2ff; }
.engine-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.engine-pill:has(input:checked) .engine-dot { background: var(--blue); }

/* Query groups */
.qgroup { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 16px; background: #fbfcff; }
.qgroup-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.qgroup-head h3 { font-size: 1.02rem; color: #1e1b4b; }
.qgroup-head p { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.qrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.qcode { flex: 1; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .85rem; color: #312e81; word-break: break-all; }
.qopen { display: inline-block; text-decoration: none; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 700; padding: 7px 14px; border-radius: 8px; white-space: nowrap; }
.qopen:hover { filter: brightness(1.1); }
.qcopy { background: #eef2ff; color: var(--blue); border: none; font-size: .8rem; font-weight: 700; padding: 7px 14px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.qcopy:hover { background: #e0e7ff; }
.group-empty { color: var(--muted); font-size: .9rem; padding: 8px 2px; }

/* Recent search chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.chip { background: #f5f3ff; border: 1px solid #ddd6fe; color: #5b21b6; border-radius: 999px; padding: 6px 14px; font-size: .83rem; cursor: pointer; }
.chip:hover { background: #ede9fe; }
.chip-del { margin-left: 6px; color: #7c3aed; font-weight: 700; }

/* Pitch builder */
.pitch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.pitch-out { min-height: 260px; font-family: inherit; font-size: .92rem; line-height: 1.6; }

/* Vetting checklist */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 10px 10px 44px; border-bottom: 1px solid var(--line); color: #334155; font-size: .94rem; line-height: 1.55; }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: "✓"; position: absolute; left: 10px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.checklist strong { color: var(--ink); }

.honesty { margin: 34px 0 8px; }
.honesty h2 { margin-bottom: 10px; font-size: 1.25rem; }
.honest-list { margin-left: 20px; color: #475569; }
.honest-list li { margin-bottom: 8px; }

.faq-sec { margin: 34px 0 40px; }
.faq-sec h2 { margin-bottom: 14px; font-size: 1.3rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--blue); font-weight: 700; }
.faq[open] summary::before { content: "- "; }
.faq p { padding: 0 18px 16px; color: #475569; }

.site-footer { border-top: 1px solid var(--line); padding: 22px 0 34px; margin-top: 10px; }
.site-footer a { color: var(--blue); }

@media (max-width: 560px) {
  .qrow { flex-wrap: wrap; }
  .qcode { flex-basis: 100%; }
}
