:root {
  --bg: #ffffff;
  --text: #222;
  --accent: #666;
  --link: #006666;
  --quote-bg: #eaf7ea;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 2;
  padding: 2rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

header {
  margin-bottom: 2rem;
  display: grid;
  align-items: left;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}


.subtitle {
  color: var(--accent);
  font-size: 1rem;
  font-style: italic;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--link);
}

section {
  margin-top: 2rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

article h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.2rem;
  text-indent: 2em;
}

a {
  font-family: 'Courier New', Courier, monospace;
  color: var(--link)
}

.salutation {
  text-indent: 0;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.quote {
  background-color: var(--quote-bg);
  padding: 0.75rem 1rem;
  border-left: 4px solid #b0d8b0;
  margin: 1rem 0;
  font-style: italic;
  text-indent: 0;
}

.inline-en {
  font-family: "Courier New", Courier, monospace;
  background-color: #f0f0f0;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  word-break: break-word;
}

.subhead {
  border-top: 1px solid #ddd;
  margin-top: 2rem;
  padding-top: 1rem;
  font-weight: bold;
  color: var(--accent);
}

footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--accent);
  border-top: 1px solid #ccc;
  padding-top: 1rem;
  text-align: center;
}

.illustration {
  margin: 2rem 0;
  text-align: center;
}

.illustration img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.illustration figcaption {
  margin-top: 0.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-style: italic;
}

.audio-button {
  background: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border: none;
  margin-bottom: 1rem;
}

.audio-button img {
  width: 32px;
  height: 32px;
}