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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Garamond', serif;
  background-color: #faf8f3;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(201, 145, 94, 0.03) 2px,
      rgba(201, 145, 94, 0.03) 4px
    );
  color: #2c2c2c;
  line-height: 1.7;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  flex: 1;
}

header {
  margin-bottom: 40px;
  border-bottom: 2px solid #d4a574;
  padding-bottom: 20px;
  text-align: center;
}

header h1 {
  font-size: 3em;
  color: #8b6f47;
  margin-bottom: 5px;
  font-weight: normal;
  letter-spacing: 3px;
  text-decoration: underline wavy #c9915e;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.subtitle {
  font-size: 0.95em;
  color: #a38968;
  font-style: italic;
  margin-top: 8px;
}

nav {
  margin-bottom: 40px;
  text-align: center;
  padding: 15px;
  border: 1px dashed #d4a574;
  background-color: rgba(255, 249, 240, 0.5);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #8b6f47;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  font-size: 0.95em;
  font-weight: 500;
  position: relative;
}

nav a:hover {
  color: #c9915e;
  border-bottom: 2px dashed #c9915e;
}

nav a:active {
  color: #6b4f27;
}

main {
  flex: 1;
}

.card {
  background-color: #fff9f0;
  border-left: 4px solid #c9915e;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-left-color: #8b6f47;
}

.card.intro {
  border-left: none;
  border: 2px solid #8b6f47;
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #fff9f0 0%, #fef5ed 100%);
}

.card.intro p:first-child {
  font-size: 2em;
  color: #8b6f47;
  margin-bottom: 15px;
  font-weight: normal;
}

.card.intro p {
  font-size: 1.05em;
  margin-bottom: 12px;
  line-height: 1.8;
}

.card h2 {
  color: #8b6f47;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: normal;
  border-bottom: 1px dashed #d4a574;
  padding-bottom: 10px;
}

.card h3 {
  color: #a38968;
  font-size: 1.1em;
  margin-bottom: 8px;
  font-weight: normal;
  text-transform: lowercase;
}

.card p {
  margin-bottom: 12px;
  text-align: left;
}

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

.card a {
  color: #8b6f47;
  text-decoration: underline;
  transition: color 0.2s;
}

.card a:hover {
  color: #c9915e;
  text-decoration-style: wavy;
}

.thought-list {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.thought-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.95em;
}

.thought-list li:before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #c9915e;
  font-size: 1.1em;
}

.vows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 15px 0;
}

.vow {
  padding: 15px;
  background-color: #fef5ed;
  border-radius: 0;
  border-left: 2px solid #d4a574;
  border-top: 1px dashed #d4a574;
}

.vow h3 {
  margin-bottom: 6px;
  font-size: 1em;
  color: #8b6f47;
}

.vow p {
  font-size: 0.9em;
  color: #4a4a4a;
  margin: 0;
  line-height: 1.5;
}

.principles {
  display: grid;
  gap: 15px;
  margin: 15px 0;
}

.principle {
  padding: 15px;
  background-color: #fef5ed;
  border-radius: 0;
  border-left: 2px solid #d4a574;
  border-top: 1px dashed #d4a574;
}

.principle h3 {
  margin-bottom: 6px;
}

.principle p {
  font-size: 0.95em;
  color: #4a4a4a;
  margin-bottom: 0;
}

.footer-note {
  text-align: center;
  font-style: italic;
  border-left: none;
  border-top: 2px dashed #d4a574;
  border-bottom: 2px dashed #d4a574;
  background-color: #fef5ed;
}

.signature {
  margin-top: 10px;
  font-size: 1.3em;
  display: block;
  color: #8b6f47;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px dashed #d4a574;
  text-align: center;
  font-size: 0.85em;
  color: #a38968;
}

.footer-text a {
  color: #8b6f47;
  text-decoration: none;
  border-bottom: 1px dashed #d4a574;
}

.footer-text a:hover {
  color: #c9915e;
}

blockquote {
  margin: 20px 0;
  padding: 15px 0 15px 20px;
  border-left: 3px solid #c9915e;
  color: #4a4a4a;
  font-style: italic;
  font-size: 0.95em;
}

em {
  color: #c9915e;
  font-style: italic;
  font-weight: 500;
}

strong {
  color: #8b6f47;
  font-weight: 600;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2em;
    letter-spacing: 2px;
  }

  nav ul {
    gap: 12px;
    font-size: 0.9em;
  }

  .card {
    padding: 18px;
    margin-bottom: 20px;
  }

  .card h2 {
    font-size: 1.3em;
  }

  .card.intro {
    padding: 20px;
  }

  .card.intro p:first-child {
    font-size: 1.5em;
  }

  .vows-grid {
    grid-template-columns: 1fr;
  }

  .thought-list li {
    padding-left: 20px;
  }
}