/* Minimal, clean corporate style */
@import url('https://fonts.googleapis.com/css2?family=Coustard&family=Lora:ital,wght@0,400..700;1,400..700&family=UnifrakturMaguntia&display=swap');
@import url(lib.css);
/* @font-face {
  font-family: 'Coustard';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/coustard/v17/3XFpErgg3YsZ5fqUU-UIt2TMR_Tc.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;
} */
:root {
  --bg: #ffffff;
  --bg-negative: #000000;
  --text: #444444;
  --muted: #6b7280; /* gray-500 */
  --brand: #212529; /* gray-800 */
  --brand-2: #6c757d; /* gray-600 */
  --surface: #f8fafc; /* slate-50 */
  --border: #e5e7eb;
  --link: #004e98;
  --font-coustard: 'Coustard', Georgia, serif;
  --font-lora: 'Lora', Georgia, serif;
  --font-unifrakturmaguntia: 'UnifrakturMaguntia', Georgia, serif;
}

* {
  box-sizing: border-box;
}
html { font-size:100%; }
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}
body { 
  line-height:1.6; 
  overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.5;
  margin-top: 0;
  color: var(--text);
}
/* FONTS */
html, button, input, select, textarea, .toggle h4 { font-family: var(--font-lora) }
h1, h2, h3, h4, h5, h6, .main-navigation ul li, dt { font-family: var(--font-coustard); }
h1.site-title, h1.site-title a { font-family: var(--font-unifrakturmaguntia) }

/* TYPOGRAPHY */
h1 { font-size: 2.20rem; margin: 0.8rem 0 0.4rem 0; }
h2 { font-size: 1.60rem; margin: 1.4rem 0 0.8rem 0; }
h3 { font-size: 1.20rem; margin: 1.0rem 0 .6rem 0; }
h4 { font-size: 0.90rem; margin: 1.0rem 0 .6rem 0; }
h5 { font-size: 0.90rem; margin: 1.0rem 0 .8rem 0; }
h6 { font-size: 0.85rem; margin: 1.0rem 0 .8rem 0; }
a {
  border-bottom: 1px dotted var(--link);
  color: var(--link);
  text-decoration: none;
}

blockquote {
  padding: 1em 0;
  border: 1px dotted var(--muted);
  border-left: 0;
  border-right: 0;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  width: 90%;
}

img {
    max-width: 100%;
    height: auto;
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  padding-bottom: 1rem;
  padding-top: 0.250rem;
  z-index: 20;
}
header .site-description {
  font-family: var(--font-coustard);
  font-size: .8rem;
  font-weight: 400;
  margin: 0.23rem 0;
  text-align: center;
}

.navbar {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.navbar hgroup {
  padding: .875rem 0;
}
.brand {
  align-items: center;
  border-width: 0;
  color: var(--text);
  display: flex;
  flex-direction: column;
  font-family: var(--font-coustard);
  font-size: 1.4rem;
  font-weight: 700;
  gap: 12px;
  margin-bottom: 0.625rem;
  text-decoration: none;
}
.brand .logo {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--surface);
  display: inline-block;
  font-family: var(--font-unifrakturmaguntia);
  line-height: 1;
  padding: .5rem;
}
nav.main-navigation {
  border-style: solid;
  border-width: 1px 0;
  border-color: var(--border);
  text-align: center;
  width: 100%;

}
nav.main-navigation ul {
  display: block;
  font-family: var(--font-coustard);
  font-size: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main-navigation ul li { 
  display:inline-block; 
  margin:0 1.25em; 
  padding:1em 0;
  font-size:.9em; 
}
nav.main-navigation ul li a {
  border-bottom: 1px dotted var(--bg);
  color: var(--text);
  display: inline-block;
  text-decoration: none;
}
nav.main-navigation ul li a.active,
nav.main-navigation ul li a:hover {
  border-bottom: 1px dotted var(--link);
  color: var(--link);
}

.hero {
  background: linear-gradient(180deg, var(--surface), transparent);
  border-bottom: 1px solid var(--border);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
}
.hero p {
  color: var(--muted);
  margin: 0;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 24px;
}

main {
  min-height: 50vh;
}
#content .markdown-body {
  max-width: 800px;
  margin: 0 auto;
}
#content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  nav ul {
    gap: 8px;
  }
}
@media screen and (min-width: 1024px) {
  header {
    padding-bottom: 2rem;
    padding-top: 1.250rem;
  }
  header .site-description {
    margin: 1.4em 0 0.8em 0;
    margin-top: 4px;
  }
  .navbar hgroup {
    padding: 2.5rem 0 1.875rem 0; 
  }
  .brand {
    font-size: 2.4rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    margin-top: 0;
  }
  nav.main-navigation ul li {
    padding: 1em 0;
  }
  img { 
    width: auto; 
    height: 280px; 
  }
}
