/* Lead gate card for the four free tools, plus the closing "back to the Knowledge hub" line on the pSEO pages.
   Scoped to .lg and .lg-*; uses the tokens of site.css. */
.lg { margin: 24px 0 0; }
.lg[hidden] { display: none !important; }
.lg-card { padding: 28px 28px 26px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel-2); box-shadow: inset 3px 0 0 var(--accent); }
.lg-title { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.lg-title:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 4px; }
.lg-lede { margin: 10px 0 22px; max-width: 44em; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.lg-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.lg-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.lg-f { min-width: 0; }
.lg-f > label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.lg-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.lg-f input { display: block; width: 100%; min-width: 0; height: 48px; margin-top: 6px; padding: 0 14px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 5px; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, background-color .2s; }
.lg-f input:hover { border-color: var(--line-3); }
.lg-f input:focus-visible { border-color: var(--accent-hi); background: var(--bg-3); outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.lg-f input[aria-invalid="true"] { border-color: var(--warn); background: var(--warn-bg); }
.lg-err { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--warn); }
.lg-err[hidden], .lg-fail[hidden] { display: none; }
/* honeypot: off screen, never focusable by a person */
.lg-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lg-check-t { font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.lg-note { margin: 18px 0 0; max-width: 46em; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.lg-fail { margin: 16px 0 0; padding: 12px 14px; border-radius: 5px; background: var(--warn-bg); color: var(--warn); font-size: 14px; line-height: 1.5; }
.lg-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.lg-actions .btn[disabled] { opacity: .65; cursor: progress; }
.lg-live { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.lg-thanks { margin: 0; padding: 12px 14px; border-radius: 5px; background: var(--ok-bg); color: var(--ok); font-size: 14.5px; line-height: 1.5; }
.lg-thanks:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
@media (max-width: 640px) {
  .lg-card { padding: 22px 18px 20px; }
  .lg-grid { grid-template-columns: 1fr; }
  .lg-actions .btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .lg-f input, .lg-box { transition: none; } }

/* closing line on every pSEO page */
.hub-back { padding: 8px 0 72px; }
.hub-back p { max-width: 46em; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
