<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?= htmlspecialchars($pageTitle ?? 'Helmyx — Steer. Plan. Deliver.') ?></title>
    <meta name="description" content="<?= htmlspecialchars($metaDescription ?? "Helmyx is a project management platform for organisations that run work through other people. Projects, contractors, suppliers, budgets and invoices — one system.") ?>">

    <link rel="icon" type="image/png" sizes="32x32" href="<?= APP_URL ?>/assets/brand/favicon/helmyx-icon-32.png">
    <link rel="apple-touch-icon" sizes="180x180" href="<?= APP_URL ?>/assets/brand/favicon/helmyx-icon-180.png">

    <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=Montserrat:wght@600;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">

    <link rel="stylesheet" href="<?= APP_URL ?>/assets/css/hx-tokens.css">
    <link rel="stylesheet" href="<?= APP_URL ?>/assets/css/marketing.css?v=<?= @filemtime(ROOT_PATH . '/assets/css/marketing.css') ?: APP_VERSION ?>">
</head>
<body class="hx">
<?= $content ?? '' ?>
<script src="<?= APP_URL ?>/assets/js/marketing.js?v=<?= @filemtime(ROOT_PATH . '/assets/js/marketing.js') ?: APP_VERSION ?>"></script>
</body>
</html>
