/* Stylesheet for the bilingual not-found page (src/app/not-found.tsx).
   Kept as an external file rather than a CSS module so the page has no build or
   runtime dependency beyond one <link>: if anything about the app is broken, the
   404 still renders. If this file itself fails to load the page degrades to
   readable semantic HTML. Self-contained on purpose — it does not share the
   landing styles.css. See docs/explanation/layout-strategy.md. */

@font-face {
  font-family: 'DM Serif Display';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/dmserifdisplay-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url('/fonts/instrumentsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --accent: #0F6E5C;
  --accent-deep: #0B574A;
  --ink: #14181C;
  --ink-light: #3F454D;
  --ink-muted: #646B73;
  --white: #FFFFFF;
  --off-white: #FBFBF9;
}
body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--off-white);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  -webkit-font-smoothing: antialiased;
}
.brandmark {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.7rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 2rem;
  display: inline-block;
}
.code {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(4rem, 14vw, 7rem);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}
p { color: var(--ink-light); max-width: 420px; margin: 0 auto 2rem; }
p[lang="en"] { margin-top: -0.5rem; } /* tighten the English line under the Norwegian one */
a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
a.btn:hover { background: var(--accent-deep); }
a.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
