/* -------------------------------------------------------------
   Fathom Release Notes styling for GitHub Pages (Jekyll Minimal)
   ------------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;600&display=swap");

/* Core Fathom color variables */
:root {
  --primary-1: #312A44;
  --primary-2: #4B4362;
  --primary-3: #696180;
  --primary-4: #DAD7E2;
  --primary-5: #F2F0F8;
  --accent: #D19900;
  --accent-2: #2B91B1;
  --verified: #37807A;
  --grey-1: #A3A3A3;
  --grey-2: #D6D6D6;
  --grey-3: #E4E3E3;
  --grey-4: #EEEEEE;
  --grey-5: #F8F8F8;
  --grey-6: #F4F4F4;
  --font-family: "Assistant", -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;
  --mono-family: "Inconsolata", ui-monospace, monospace;
}

/* Overall layout */
body {
  background-color: var(--grey-6);
  color: var(--primary-3);
  font-family: var(--font-family), serif;
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

/* Headings */
h1 {
  color: var(--primary-1);
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h2 {
  color: var(--primary-2);
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid var(--grey-3);
  padding-bottom: 0.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

h3 {
  color: var(--primary-3);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

/* Links */
a {
  color: var(--verified);
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
}

/* Lists */
ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Horizontal rules for release separation */
hr {
  border: none;
  border-top: 1px solid var(--grey-2);
  margin: 2rem 0;
}

/* Footer / small text */
footer, small {
  display: block;
  color: var(--grey-1);
  font-size: 0.85rem;
  margin-top: 3rem;
  text-align: center;
}

/* Release note block emphasis */
section.release {
  background-color: white;
  border: 1px solid var(--grey-3);
  border-left: 4px solid var(--primary-2);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Version titles inside each release */
section.release h2 {
  border: none;
  margin-top: 0;
}

/* Date subtitle style */
section.release .date {
  color: var(--primary-3);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* Back link */
a.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--primary-2);
  font-weight: 600;
}
a.back-link:hover {
  color: var(--accent-2);
}

/* Code blocks if needed later */
code, pre {
  font-family: var(--mono-family), monospace;
  background: var(--grey-5);
  border-radius: 3px;
  padding: 0.1em 0.25em;
}
