:root {
  --bg: #F7F3EC;
  --surface: #FCFAF6;
  --surface-soft: #EFE7DC;
  --text: #2A2623;
  --muted: #6A625C;
  --accent: #A26143;
  --accent-hover: #8B5237;
  --border: #DED4C8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.section { padding: 44px 28px; }

.section + .section { border-top: 1px solid var(--border); }

.hero + .section { border-top: none; }

.section.soft { background: var(--surface-soft); }

h1, h2 {
  font-family: 'Recoleta', serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.08;
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.home h1 {
  max-width: none;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

.home h1 em,
.brand-link em,
h1 em {
  font-family: 'Recoleta', serif;
  font-style: italic;
  font-weight: 600;
}

.home-subhead {
  font-family: 'Recoleta', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--muted);
  margin-bottom: 38px;
  font-style: normal;
  font-weight: 500;
}

.subhead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 44rem;
  margin: 0 0 24px;
}

p {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.hero p { max-width: 42rem; }

.squiggle {
  display: block;
  margin: 10px 0 24px;
}

.actions,
.home-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.home-actions {
  justify-content: center;
  margin-top: 0;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: 'Recoleta', serif;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button em,
.button-secondary em {
  font-style: italic;
  font-weight: 600;
}

.button {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
}

.button-secondary:hover { background: #f8f4ed; }

.home-actions .button,
.home-actions .button-secondary {
  min-width: 190px;
  font-size: 1.08rem;
}

ul {
  margin: 10px 0 22px 0;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 10px;
  font-size: 1.03rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
  margin-bottom: 18px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(31, 31, 28, 0.25);
  padding-bottom: 2px;
}

nav a:hover { border-bottom-color: rgba(31, 31, 28, 0.7); }

.home {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: gentleFade 1.4s ease-out both;
}

.home-inner {
  width: 100%;
  max-width: 760px;
  padding: 72px 28px;
}

.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

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

@keyframes gentleFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 22px 20px 0;
}

@media (max-width: 700px) {
  .section { padding: 34px 20px; }

  p, li { font-size: 1rem; }

  .actions,
  .home-actions { flex-direction: column; }

  .button,
  .button-secondary { width: 100%; }

  .page-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}