@import url('https://fonts.googleapis.com/css2?family=Benne&display=swap');

:root {
  --bg: #ffffff;
  --text: #383838;
  --heading: #0a0a0a;
  --link: #0c0707;
  --mute: #6d6d6d;
  --border: #ddd;
  --font-primary: 'Benne', Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 24px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-primary);
  font-size: 24px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--heading);
  line-height: 1.3;
  margin-top: 0.875em;
  margin-bottom: 0.875em;
}

h1 {
  font-size: 47px;
  font-weight: 700;
  line-height: 61.1px;
  margin-bottom: 0.4375em;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0.4375em;
}

h3 {
  font-size: 24px;
  font-weight: 700;
}

p {
  margin: 0 0 1.5em;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus {
  color: var(--link);
  text-decoration: underline;
}

a:active {
  color: var(--link);
}

/* Layout */
.site {
  min-height: 100vh;
}

.site-header {
  text-align: center;
  padding: 3.5em 1.75em 1.75em;
}

.site-branding {
  margin-bottom: 1.75em;
}

.site-title {
  font-family: var(--font-primary);
  font-size: 38px;
  font-weight: 700;
  line-height: 45.6px;
  margin: 0.4375em 0 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-title a {
  color: var(--heading);
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: none;
}

.site-description {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--mute);
  margin: 0.4375em 0 0;
}

/* Navigation */
.main-navigation {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 1.75em 0 0;
  padding: 0.875em 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.75em;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.75em;
}

.nav-menu li {
  margin: 0;
  display: inline-block;
}

.nav-menu a {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 22.1px;
  color: var(--link);
  text-decoration: none;
  padding: 0.25em 0;
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-menu a:hover {
  color: var(--heading);
  text-decoration: underline;
  transform: translateY(-2px);
}

/* Content */
.content-wrapper {
  max-width: 740px;
  margin: 0 auto;
  padding: 3.5em 1.75em 0;
}

.entry-header {
  margin-bottom: 1.75em;
}

.entry-title {
  font-family: var(--font-primary);
  font-size: 47px;
  font-weight: 700;
  line-height: 61.1px;
  color: var(--heading);
  margin: 0 0 0.4375em;
}

.entry-content {
  font-family: var(--font-primary);
  font-size: 24px;
  line-height: 36px;
  color: var(--text);
}

.entry-content p {
  margin: 0 0 1.5em;
}

.entry-content h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading);
  margin: 1.75em 0 0.875em;
}

.entry-content h3 {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  margin: 1.75em 0 0.875em;
}

.entry-content strong {
  color: var(--heading);
  font-weight: 700;
}

.entry-content em {
  font-style: italic;
}

/* Lead paragraph */
.lead {
  font-size: 20px;
  color: var(--heading);
  margin-bottom: 1.75em;
}

/* Disclaimer section */
.disclaimer {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.6;
}

/* Table of Contents */
.toc-section {
  margin: 2.625em 0;
  padding: 1.75em 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.toc-section h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.875em;
}

.toc-section p {
  font-style: italic;
  color: var(--mute);
  margin: 0 0 1.75em;
  font-size: 24px;
  line-height: 36px;
}

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

.toc-list p {
  margin: 0 0 1.5em;
  line-height: 1.5;
}

.toc-list p:last-child {
  margin-bottom: 0;
}

.toc-list a {
  color: var(--link);
  text-decoration: none;
  font-weight: 700;
}

.toc-list a:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  margin: 3.5em 0;
  padding: 1.75em 0;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 1.75em;
}

/* Divider */
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.625em 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3.5em;
  padding: 1.75em;
  text-align: center;
}

.site-info {
  font-family: var(--font-primary);
  font-size: 17px;
  color: var(--mute);
  line-height: 1.6;
}

.site-info p {
  margin: 0 0 1em;
}

.site-info p:last-child {
  margin-bottom: 0;
}

/* Author / Date line */
.entry-meta {
  font-family: var(--font-primary);
  font-size: 24px;
  color: var(--mute);
  margin: 0 0 1.75em;
}

/* Quote blocks */
blockquote {
  border-left: 3px solid var(--border);
  margin: 1.75em 0;
  padding: 0 0 0 1.75em;
  font-style: italic;
  color: var(--mute);
  font-size: 24px;
  line-height: 36px;
}

/* Lists */
ul, ol {
  margin: 0 0 1.5em 2em;
  padding: 0;
  font-size: 24px;
  line-height: 36px;
}

li {
  margin: 0.4375em 0;
}

/* Hover float effect for navigation */
.hvr-float {
  display: inline-block;
  vertical-align: middle;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  backface-visibility: hidden;
  transition-duration: 0.3s;
  transition-property: transform;
  transition-timing-function: ease-out;
}

.hvr-float:hover,
.hvr-float:focus,
.hvr-float:active {
  transform: translateY(-4px);
}

/* Mobile */
@media screen and (max-width: 768px) {
  html {
    font-size: 18px;
  }
  
  body {
    font-size: 18px;
    line-height: 1.5;
  }
  
  .site-header {
    padding: 2em 1em 1em;
  }
  
  .site-title {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .site-description {
    font-size: 22px;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
  }
  
  .content-wrapper {
    padding: 2em 1em 0;
  }
  
  h1, .entry-title {
    font-size: 32px;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .entry-content {
    font-size: 18px;
    line-height: 1.5;
  }
  
  .toc-section p,
  blockquote,
  ul, ol {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* Print */
@media print {
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .main-navigation,
  .site-footer {
    display: none;
  }
  
  .content-wrapper {
    max-width: none;
    padding: 0;
  }
}
