/* Shared styles for tool, guide and legal pages (layouts: tool, page).
   Per-page rules are scoped under .kt by the page itself. */
.kt-wrap{max-width:720px;margin:0 auto;padding:40px 20px 24px}
.kt{
  --bg:#0d1117;--card:#161b22;--text:#fff;--dim:#a0a0a0;--accent:#dc2626;--border:#2a2f37;
  --safe:#22c55e;--danger:#ef4444;
  --bg-color:#0d1117;--card-bg:#161b22;--text-main:#fff;--text-dim:#a0a0a0;--border-color:#2a2f37;--hover-bg:#1d232b;
  color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.6;
}
.kt *,.kt *::before,.kt *::after{box-sizing:border-box}
.kt a{color:#ef4444}
.kt a:hover{color:#f87171}
.kt-section-label{font-family:'JetBrains Mono',monospace;font-weight:600;font-size:.72rem;letter-spacing:.07em;text-transform:uppercase;color:#71717a;margin-bottom:12px}
.kt-more{max-width:720px;margin:0 auto;padding:0 20px 40px}
.kt-more section{margin-top:30px}
.kt-guide-list{display:flex;flex-direction:column;gap:8px}
.kt-guide-list a{color:#ef4444;text-decoration:none;font-size:.95rem}
.kt-guide-list a:hover{color:#f87171;text-decoration:underline}
.kt-chips{display:flex;flex-wrap:wrap;gap:8px}
.kt-chips a{display:inline-block;background:#000;border:1px solid #27272a;color:#e4e4e7;text-decoration:none;font-weight:600;font-size:.85rem;padding:10px 14px;border-radius:10px;transition:all .15s}
.kt-chips a:hover{border-color:#b91c1c;color:#ef4444}
.kt-crumbs{font-family:'JetBrains Mono',monospace;font-size:.75rem;color:#71717a;margin:0 0 20px}
.kt-crumbs a{color:#a1a1aa;text-decoration:none}
.kt-crumbs a:hover{color:#fff}

/* Footer contact email: thin boxed frame with a light that chases around it, like a loading cursor. */
@property --snake-angle{syntax:'<angle>';inherits:false;initial-value:0deg}
.email-box{
  position:relative;padding:.8rem 1.25rem;border-radius:6px;background:#000;
  border:1px solid #3f3f46;text-decoration:none;transition:background .2s;
}
.email-box:hover{background:#0a0a0a;color:#fff}
.email-box::before{
  content:"";position:absolute;inset:-1px;padding:2px;border-radius:7px;pointer-events:none;
  background:conic-gradient(from var(--snake-angle),
    transparent 0deg,transparent 170deg,
    rgba(153,27,27,.18) 200deg,rgba(185,28,28,.5) 290deg,rgba(220,38,38,.9) 345deg,#e11d48 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  animation:snakeRun 3.4s linear infinite;
}
.email-box-sm{padding:.65rem 1rem;border-radius:6px}
.email-box-sm::before{border-radius:6px;padding:1.5px}
@keyframes snakeRun{to{--snake-angle:360deg}}
@media (prefers-reduced-motion:reduce){.email-box::before{animation:none;background:none}}

/* Tool pages were built to sit in a centered flex column; keep that behavior (exif opts out with `flat: true`). */
.kt.kt-center{display:flex;flex-direction:column;align-items:center}

/* Tailwind's preflight (loaded by the site header) strips browser defaults that these pages were
   written against. Restore them inside .kt; page-level rules still override. */
.kt svg{display:inline-block}
.kt h1{font-size:2em;font-weight:700;margin:.67em 0}
.kt h2{font-size:1.5em;font-weight:700;margin:.83em 0}
.kt h3{font-size:1.17em;font-weight:700;margin:1em 0}
.kt h4{font-size:1em;font-weight:700;margin:1.33em 0}
.kt p{margin:1em 0}
.kt ul,.kt ol{margin:1em 0;padding-left:40px}
.kt ul{list-style:disc}
.kt ol{list-style:decimal}
.kt li{display:list-item}
.kt a{text-decoration:underline}
.kt-guide-list a,.kt-chips a,.kt-crumbs a{text-decoration:none}
