/* -- Reset & Base -- */
*, *::before, *::after {
    box-sizing: :border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    color: #111111;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* -- Layout -- */
main{
    max-width: 640px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* -- Typography -- */
h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 16px;
}

p {
    color: #555;
}

/* -- Sections --*/
section{
    margin-bottom: 56px;
}

h2 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
}

ul{
    list-style: none;
}

ul li {
    margin-bottom: 12px;
    color: #a0a0a0;
}

strong { 
    color: #111;
    font-weight: 500;
}

/* -- Links --*/
a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

a.hober {
    border-color: #e8e8e8;
}

/* -- Footer -- */
footer { 
    display: flex;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

footer a {
    border-bottom: none;
    color: #999;
    font size: 0.9rem;
}

footer a:hover {
    color: #e8e8e8;
}

/* Nav */
nav {
  margin-bottom: 48px;
}

/* Writing page */
.subtitle {
  color: #999;
  margin-bottom: 40px;
}

.quote-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.quote p {
  color: #111;
  font-style: italic;
}

.author {
  font-size: 0.85rem;
  color: #999;
}