html {
  box-sizing: border-box;
  font-size: clamp(14px, 1.2vw, 16px);
}
body {
  font-family: 'Merriweather', serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation styles */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  width: auto;
  padding: 1.2rem 2rem 0 0;
  background: transparent;
  height: auto;
  transition: transform 0.3s;
  z-index: 100;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-end;
}
.nav li {
  margin-bottom: 0;
}
.nav a {
  color: #222;
  text-decoration: none;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  font-weight: 400;
  transition: color 0.2s;
}
.nav a.active,
.nav a:hover,
.nav a:focus {
  color: #e63946;
  font-weight: bold;
}

/* Hamburger Button for mobile */
.nav-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 200;
  background: none;
  border: 1px solid #222;
  border-radius: 5px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.hamburger,
.hamburger:before,
.hamburger:after {
  display: block;
  width: 28px;
  height: 4px;
  background: #222;
  border-radius: 2px;
  transition: all 0.3s;
  position: relative;
}
.hamburger:before,
.hamburger:after {
  content: "";
  position: absolute;
}
.hamburger:before {
  top: -10px;
}
.hamburger:after {
  top: 10px;
}
/* No cross/X transformation for hamburger */

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: auto;
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
    transform: translateY(-120%);
    padding: 0.8rem 0 0.8rem 0;
    z-index: 100;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav ul {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0.8rem;
    padding-right: 2rem;
  }
  .nav li {
    margin-bottom: 0;
    display: block;
  }
  .nav-toggle {
    display: flex;
  }
}

/* Center main content */
.content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Heading (h1) */
.content h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #111;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Body text (paragraph style) */
.content p {
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

/* Highlighted keyword styles (italic only, no underline, no color) */
.highlight-keyword {
  font-style: italic;
  color: inherit;
  background: none;
  text-decoration: none;
}

/* Remove animation for last line, just italic style */
