---
interface Props {
  title: string;
  description?: string;
}

const { title, description = 'Security scanner as fast as a linter. 100+ built-in rules across 10 languages, secrets scanning, and Semgrep-compatible YAML. Written in Rust.' } = Astro.props;
---

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content={description} />
    <meta name="theme-color" content="#0C0A09" />
    <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Martian+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
    <title>{title}</title>
  </head>
  <body class="site-shell bg-noir-950 text-noir-300 font-body antialiased min-h-screen">
    <div class="ambient-orb ambient-orb-fox"></div>
    <div class="ambient-orb ambient-orb-slate"></div>
    <div class="page-noise"></div>
    <slot />
  </body>
</html>

<style is:global>
  @import '../styles/global.css';
</style>
