body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f8f8f8;
  font-family: monospace;
  position: relative;
  overflow-x: hidden;
}

.fractal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.015;
}

.container {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

body.homepage .container {
  padding: 0;
}

/* Non-homepage page styling */
body:not(.homepage) .container {
  text-align: left;
  padding-top: 0px;
}

body:not(.homepage) h1 {
  text-align: center;
  margin-top: -30px;
  margin-bottom: 40px;
}

body:not(.homepage) h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}

body:not(.homepage) p {
  margin: 5px 0;
}

body:not(.homepage) hr {
  border: none;
  height: 1px;
  background: #ddd;
  margin: 25px 0;
  opacity: 0.5;
}

.note {
  font-size: 0.9em;
  opacity: 0.7;
  margin-bottom: 30px;
}

.level-1 li {
  color: #222;
}

.level-2 li {
  color: #666;
}

.level-3 li {
  color: #aaa;
  font-style: italic;
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

ul li {
  margin: 8px 0;
  position: relative;
}

#disclaimer {
  font-size: 0.85em;
  opacity: 0.6;
  margin: 50px 0 60px 0;
  line-height: 1.4;
  text-align: center;
}

body.homepage p {
  margin: 15px 0;
}

body.homepage #tagline {
  margin: 25px 0;
}

body.homepage #status {
  margin: 50px 0 40px 0;
}

#dsbl-acronym {
  opacity: 0.7;
  font-size: 0.9em;
  margin-top: -10px;
  margin-bottom: 20px;
}

#protocol-concept {
  opacity: 0.8;
  font-style: italic;
  margin: 20px 0;
  text-align: center;
}

body.homepage p:has(a[href="/symbols.html"]) {
  font-size: 1.3em;
  margin: 50px 0;
}

body.homepage a[href="/symbols.html"] {
  text-decoration: none;
  font-family: inherit;
  color: inherit;
}

/* Project pillars styling */
.project-pillars {
  margin: 60px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pillar {
  margin-bottom: 50px;
  padding: 0 20px;
}

.pillar h2 {
  font-size: 1.3em;
  margin-bottom: 8px;
  color: #222;
}

.pillar p {
  margin: 12px 0;
  line-height: 1.5;
  color: #444;
}

.pillar p:last-child {
  margin-top: 16px;
}

.pillar strong a {
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #ddd;
  transition: border-color 0.2s ease;
}

.pillar strong a:hover {
  border-color: #666;
}

.project-status {
  margin: 60px 0 40px 0;
}

/* Download links */
.download-btn {
  text-decoration: none;
  color: #444;
  font-weight: normal;
  border-bottom: 1px solid #ccc;
  transition: all 0.2s ease;
  margin-right: 20px;
}

.download-btn:hover {
  color: #222;
  border-bottom-color: #888;
}

.paper-actions {
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
