@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-v19-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-v19-latin_latin-ext-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-v19-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Share Tech Mono";
  src: url("../fonts/share-tech-mono-v16-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Bas: håll enkel och lätt att bygga vidare på --- */
:root{
  --maxw: 1100px;
  --gutter: 24px;

  --text: #111;
  --muted: #555;
  --rule: #ddd;
  --bg: #fff;

  --BlackanOrange: #FF801A;

  --sidebar-border: #d6d6d6;

  /* Typografiska “rattar” du kan tweaka */
  --base: 16px;
  --leading: 1.6;
}

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

body{
  background: var(--bg);
  color: var(--text);

  /* Default: allt blir Source Sans 3 om inget annat anges */
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: var(--base);
  line-height: var(--leading);
  font-weight: 400;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Generell typografi (håll snålt) */
h1, h2, h3{
  margin: 0 0 0.6em;
  line-height: 1.15;
  font-weight: 700;
}
p{ margin: 0 0 0.9em; }
p:last-child{ margin-bottom: 0; }

a{ color: inherit; }
a:hover{ text-decoration: underline; }

/* Utility */
.muted{ color: var(--muted); }

.site-title {
  font-family: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.02em;
}
