/* Base page */

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #faf8f4 0%, #f5f1e8 100%);
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

/* Main content shell */

.page-shell {
  max-width: 860px;
  margin: 56px auto;
  padding: 56px 64px;
  background: #fffdf9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

/* Navigation */

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 42px;
  font-size: 0.95rem;
}

.nav a {
  color: #3f5f9a;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

/* Standard links only (exclude buttons) */

a:not(.button) {
  color: #355c96;
}

a:not(.button):hover {
  color: #27436b;
}

/* CTA button */

.button,
.button:visited {
  display: inline-block;
  background: #6b5a43;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.18s ease;
}

.button:hover,
.button:focus {
  background: #49658f;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(73, 101, 143, 0.24);
}

/* Headings */

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #1d1d1b;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

/* Body text */

p,
li,
details,
summary {
  font-size: 1.05rem;
  color: #2c2c2c;
}

p {
  margin: 0 0 1.2rem 0;
}

/* Lists */

ul {
  color: #3b352d;
  padding-left: 1.5rem;
  margin: 0.75rem 0 1.25rem 0;
}

li {
  margin: 0.45rem 0;
  line-height: 1.65;
}

/* Supporting text */

.subtitle {
  font-size: 1rem;
  color: #6b5f4d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Content sections */

.section {
  margin-top: 3rem;
}

/* Rule */

hr {
  border: 0;
  border-top: 1px solid #ece6db;
  margin: 2.5rem 0;
}

/* Footer */

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee6d8;
  font-size: 0.92rem;
  color: #7a6f60;
  text-align: center;
  line-height: 1.4;
}

footer p {
  margin: 0.45rem 0;
}

/* Mobile */

@media (max-width: 768px) {
  .page-shell {
    margin: 24px 16px;
    padding: 32px 22px;
    border-radius: 14px;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .nav {
    gap: 12px;
    margin-bottom: 28px;
  }
}