/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ---------- Page Background ---------- */
body {
  background-color: #0b0d10; /* deep black, not pure */
  color: #d8d8d8;
  font-family: "EB Garamond", serif;
}

/* ---------- Layout ---------- */
.page {
  display: flex;
  justify-content: center;
}

.content {
  width: 100%;
  max-width: 680px; /* slightly narrower than Thinking Machines */
  padding: 4rem 1.5rem 6rem;
}

/* ---------- Typography ---------- */
p {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

/* Bullet points */
ul {
  margin: 2rem 0 2.2rem;
  padding-left: 1.2rem;
}

li {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  p,
  li {
    font-size: 1.3rem;
    line-height: 1.75;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.7rem;
  }
}

/* ---------- Back / Home Navigation ---------- */
.nav-back {
  position: absolute;
  top: 1.8rem;
  left: 4.5rem;
}

.nav-back a {
  font-size: 1.2rem;
  color: #9a9a9a;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-back a:hover {
  color: #d8d8d8;
  transform: translateX(2px);
}

.content a {
  color: inherit;
  text-decoration: underline;  
  text-decoration-color: white; 
  display: inline;       
  text-underline-offset: 0.15em;
  transition: text-decoration 0.2s ease;
}

.content a:hover {
  text-decoration: underline;
}