/*
 * critical.css
 *
 * The above-the-fold CSS that used to live in an inline <style> block in
 * frontend/index.html. It is external so that the Content-Security-Policy
 * does not need 'unsafe-inline' in style-src (ZAP finding "CSP: style-src
 * 'unsafe-inline'" — see ZAP_MITIGATION_PLAN.md §2).
 *
 * frontend/scripts/postbuild.js adds the Sub-Resource Integrity hash of
 * this file to the <link> tag in dist/index.html, so a tampered copy of
 * this stylesheet is refused by the browser.
 *
 * The font files are self-hosted from /fonts, so the hero text renders
 * immediately with no invisible-text period and no request to a third party.
 */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('/fonts/QGYvz_MVcBeNP4NJtEtq.woff2') format('woff2');
  ascent-override: 0.716;
  descent-override: 0.207;
  line-gap-override: 0.0;
  size-adjust: 100%;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2') format('woff2');
  ascent-override: 0.716;
  descent-override: 0.207;
  line-gap-override: 0.0;
  size-adjust: 100%;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/aFTU7PB1QTsUX8KYthqQBA.woff2') format('woff2');
  ascent-override: 0.716;
  descent-override: 0.207;
  line-gap-override: 0.0;
  size-adjust: 100%;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2') format('woff2');
  ascent-override: 0.716;
  descent-override: 0.207;
  line-gap-override: 0.0;
  size-adjust: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
}

#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
}

#hero h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

#hero .text-highland-gold {
  color: #C5A059;
}

.font-heading {
  font-family: 'Outfit', sans-serif;
}

.text-highland-gold {
  color: #C5A059;
}
