/* Lordevo growth add-on: the free Website Health Check and the /guides/ library.
   Loaded after style.css, so it only adds the handful of components those pages need and reuses
   every existing token (--line, --soft, --card, --brand, --accent, …). Light and dark both work
   through the variables; only the places that need a different value get an override at the end. */

/* ---------- guide cards (a whole card that is one link) ---------- */
.guide-card{display:flex;flex-direction:column;gap:9px;text-decoration:none;color:inherit}
.guide-card .tag{margin-bottom:0}
.guide-card h3{margin:0;font-size:1.1rem;color:var(--ink)}
.guide-card p{margin:0;flex:1}
.guide-card .small{display:inline-flex;align-items:center;gap:6px;color:var(--brand);font-weight:700}
.guide-card .small .ico-svg{width:16px;height:16px}
.guide-card:hover h3{color:var(--brand)}
.guide-card:hover .small{text-decoration:underline}

/* ---------- breadcrumbs ---------- */
.crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;font-size:.9rem;color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--brand);text-decoration:underline}
.crumbs .ico-svg{width:14px;height:14px;opacity:.55}
.crumbs span[aria-current]{color:var(--ink2);font-weight:600}

/* ---------- guide body ---------- */
.prose.guide h2{margin-top:38px}
.prose.guide h2+p{margin-top:0}
.prose.guide ol,.prose.guide ul{padding-left:24px}
.prose.guide li{margin-bottom:10px}
.prose.guide .mono{background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:1px 6px;font-size:.86em}
.prose.guide p>.mono{white-space:nowrap}
.prose.guide pre{margin:14px 0 18px;padding:12px 14px;overflow-x:auto;background:var(--soft);border:1px solid var(--line);border-radius:8px;font-size:.84rem;line-height:1.5}

/* An in-article call to action: the same scan box, inside the prose column. */
.inline-cta{margin:36px 0;padding:clamp(20px,3vw,28px);border:1px solid var(--line);border-radius:var(--radius);background:var(--soft)}
.inline-cta h3{margin:0 0 6px;font-size:1.15rem}
.inline-cta p{margin:0 0 14px}
.inline-cta .scanbox{max-width:none;box-shadow:none;background:var(--card)}

/* ---------- the check result: locked findings ---------- */
.locked-group>p.small{margin:4px 0 14px}
.item.locked h3{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--ink2)}
.lockpill{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border:1px solid var(--line);border-radius:999px;background:var(--soft);color:var(--muted);font-size:.67rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.lockpill .ico-svg{width:13px;height:13px}
/* Placeholder bars. The locked text is never sent to the browser, so there is nothing to reveal
   by turning the blur off — these bars stand in for it. */
.redact{display:flex;flex-direction:column;gap:7px;margin:9px 0 0;filter:blur(2.5px);user-select:none}
.redact span{display:block;height:11px;border-radius:999px;background:linear-gradient(90deg,var(--soft) 0%,var(--line) 50%,var(--soft) 100%)}
.redact span:nth-child(1){width:92%}
.redact span:nth-child(2){width:79%}
.redact span:nth-child(3){width:46%}

.unlock{margin:26px 0 12px;padding-top:24px;border-top:1px solid var(--line)}
.unlock>h3{margin:0 0 6px;font-size:1.3rem}
.unlock>p{margin:0}
.unlock .grid{margin-top:20px}
.unlock .card{display:flex;flex-direction:column}
.unlock .card h3{margin:0 0 8px;font-size:1.05rem}
.unlock .card .btn{margin-top:auto;width:100%}
ul.ticks{list-style:none;padding:0;margin:4px 0 20px;display:grid;gap:8px}
ul.ticks li{position:relative;padding-left:26px;font-size:.95rem;margin:0}
ul.ticks li::before{content:"\2713";position:absolute;left:2px;top:0;color:var(--accent);font-weight:800}

/* ---------- the lead form ---------- */
.lead-form{max-width:560px}
.lead-form label.check{display:flex;gap:10px;align-items:flex-start;font-size:.93rem;line-height:1.5}
.lead-form label.check input{margin-top:4px;flex:none}

/* ---------- a fourth footer column for the guides ---------- */
footer.site .wrap{grid-template-columns:1.25fr 1fr 1fr 1fr}
@media (max-width:980px){
  footer.site .wrap{grid-template-columns:1fr 1fr}
  footer.site .brandcol{grid-column:1/-1}
}
@media (max-width:640px){
  footer.site .wrap{grid-template-columns:1fr}
  .unlock .card .btn{width:100%}
  .redact span{height:10px}
}

/* ---------- dark mode: the few values that cannot come from a variable ---------- */
html[data-theme=dark] .redact span{background:linear-gradient(90deg,var(--soft) 0%,#2b3a58 50%,var(--soft) 100%)}
html[data-theme=dark] .inline-cta{background:var(--soft)}
html[data-theme=dark] .prose.guide .mono{background:#0e1730}
@media (prefers-color-scheme:dark){
  html:not([data-theme=light]) .redact span{background:linear-gradient(90deg,var(--soft) 0%,#2b3a58 50%,var(--soft) 100%)}
  html:not([data-theme=light]) .inline-cta{background:var(--soft)}
  html:not([data-theme=light]) .prose.guide .mono{background:#0e1730}
}
