/* know-know.org brand: see docs/brand/README.md for source values. */

@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/epilogue_300.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Epilogue";
  font-style: italic;
  font-weight: 300;
  src: url("fonts/epilogue_300italic.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/epilogue_500.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Epilogue";
  font-style: italic;
  font-weight: 500;
  src: url("fonts/epilogue_500italic.ttf") format("truetype");
  font-display: swap;
}

:root {
  --kk-background: #f5f5f5;
  --kk-foreground: #000000;
  --kk-secondary: #767676;
  --kk-tertiary: #e6e6e6;
  --kk-accent: #1c5191;
  --kk-font: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body {
  position: relative;
  font-family: var(--kk-font);
  font-weight: 300;
  max-width: 640px;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.6;
  background: var(--kk-background);
  color: var(--kk-foreground);
}

/* Persistent corner mark, decoupled from the centered content column so it
   never crowds the page title (matches the reveal.js template's approach). */
.brand-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  height: 32px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

strong, b {
  font-weight: 500;
}

a {
  color: var(--kk-accent);
}

a:hover {
  color: var(--kk-foreground);
}

.back-link {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-header .subtitle {
  color: var(--kk-secondary);
  margin-top: 0.25rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--kk-tertiary);
}

.nav-list .row-label {
  display: block;
  margin-bottom: 0.35rem;
}

.nav-list .links a {
  margin-right: 0.75rem;
}

.nav-list .project-title {
  font-size: 1.1rem;
}

.nav-list .project-subtitle {
  color: var(--kk-secondary);
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}
