
@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

body {
  font-family: 'Inter', -apple-system, sans-serif;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  color: #2b2620;
  background: #F5F2EC;
  box-sizing: border-box;
  overflow-x: hidden;
  font-size: 17px;
}
@media (min-width: 700px) {
  body {
    max-width: 640px;
    font-size: 18px;
  }
}


h1, h2 {
  font-family: 'Roboto Serif', serif;
  font-weight: 500;
}
.card .name {
  font-family: 'Roboto Serif', serif;
}

h1 {
  font-weight: 400;
  text-align: center;
}

a { color: #2b2620; }
button, .btn {
  background: #2b2620;
  color: #FAF8F3;
  border: none;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 15px;
  cursor: pointer;
}
button:hover, .btn:hover { background: #454034; }
input, select, textarea {
  border: 1px solid #E3DED2;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  background: #FAF8F3;
  color: #2b2620;
}
input[type="checkbox"] {
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}


ul {
  padding-left: 0;
}
.card {
  list-style: none;
  background: #FAF8F3;
  border: 1px solid #E3DED2;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  transition: border-color 0.15s;
}
.card:hover {
  border-color: #2b2620;
}
.card a.card-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.card .view-profile {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #2b2620;
}



.card .name {
  font-size: 18px;
  font-weight: 600;
  color: #2b2620;
  display: block;
  margin-bottom: 6px;
}

.card .subject {
  display: inline-block;
  border: 1px solid #2b2620;
  color: #2b2620;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.card .bio {
  display: block;
  color: #2b2620;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.card .availability {
  display: block;
  color: #2b2620;
  font-size: 15px;
  margin-bottom: 8px;
}

.card .rate {
  font-weight: 700;
  font-size: 16px;
  color: #2b2620;
}



.pill {
  display: inline-block;
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  margin-right: 6px;
}
nav {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}
nav a { color: #111; text-decoration: none; }
